[openstack-dev] FW: how to configure cisco plugin in devstack environment

Robert Li (baoli) baoli at cisco.com
Tue May 7 13:42:18 UTC 2013


Hi Yuling,

See below for the response from Rich.

Thanks,
Robert

On 5/7/13 9:33 AM, "Rich Curran (rcurran)" <rcurran at cisco.com> wrote:

>
>
>-----Original Message-----
>From: Rich Curran (rcurran)
>Sent: Tuesday, May 07, 2013 9:29 AM
>To: Kyle Mestery (kmestery); OpenStack Development Mailing List
>Subject: RE: [openstack-dev] how to configure cisco plugin in devstack
>environment
>
>Hi Yuling -
>
>I think there's at least one major mismatch going on here.
>
>If you're using Robert's devstack change
>(https://review.openstack.org/#/c/25378/) then this assumes another
>change (cisco-single-config blueprint) that was committed to the
>openstack master branch but didn't make it into stable/grizzly.
>
>If you want to continue to use Robert's devstack changes then please
>comment out this line from your localrc file:
>#QUANTUM_BRANCH=stable/grizzly
>
>./unstack.sh and then ./stack.sh again
>
>This should pick up the master version of quantum. To check verify that
>the only file under:
>etc/quantum/plugins/cisco/ is the cisco_plugins.ini file.
>
>Thanks,
>Rich
>
>-----Original Message-----
>From: Kyle Mestery (kmestery)
>Sent: Tuesday, May 07, 2013 9:07 AM
>To: OpenStack Development Mailing List
>Cc: Rich Curran (rcurran)
>Subject: Re: [openstack-dev] how to configure cisco plugin in devstack
>environment
>
>Did you do a "git fetch"? I think you may want to do that to ensure you
>get the entire change set.
>
>Can you paste the contents of your
>/etc/quantum/plugins/cisco/cisco_plugins.ini file?
>
>On May 7, 2013, at 1:39 AM, Yuling_C at DELL.com wrote:
>
>> Actually, I just followed the instruction on devstack grizzly
>> installation 
>> link:http://networkstatic.net/installing-openstack-grizzly-with-devsta
>> ck/ and installed again. I copied over the 'cisco' file from the link
>> https://review.openstack.org/#/c/25378/ to lib/quantum_plugins/ and set
>>Q_plugin = cisco.
>> 
>> However, when I run stack.sh, Quantum server was not able to start with
>>the following error in screen-q-svc.log:
>> 
>>    __import__(mod_str)
>>  File "/opt/stack/quantum/quantum/plugins/cisco/network_plugin.py",
>>line 30, in <module>
>>    from quantum.plugins.cisco.common import cisco_utils as cutil  File
>> "/opt/stack/quantum/quantum/plugins/cisco/common/cisco_utils.py", line
>>23, in <module>
>>    from quantum.plugins.cisco.db import l2network_db as cdb  File
>> "/opt/stack/quantum/quantum/plugins/cisco/db/l2network_db.py", line 24,
>>in <module>
>>    from quantum.plugins.cisco import l2network_plugin_configuration as
>> conf  File 
>>"/opt/stack/quantum/quantum/plugins/cisco/l2network_plugin_configuration.
>>py", line 21, in <module>
>>    from quantum.plugins.cisco.common import cisco_configparser as
>> confp  File 
>>"/opt/stack/quantum/quantum/plugins/cisco/common/cisco_configparser.py",
>>line 19, in <module>
>>    from configobj import ConfigObj
>> ImportError: No module named configobj
>> ERROR: Unable to load quantum from configuration file
>>/etc/quantum/api-paste.ini.
>> 
>> Any idea why there's an input error for loading 'configobj'? this file
>>should be under /usr/lib/python2.7/dist-packages/landscape/lib. Why
>>quantum cannot load this file?
>> 
>> Thanks,
>> 
>> YuLing
>> 
>> ________________________________________
>> From: C, Yuling
>> Sent: Monday, May 06, 2013 7:58 PM
>> To: openstack-dev at lists.openstack.org
>> Cc: rcurran at cisco.com
>> Subject: Re: [openstack-dev] how to configure cisco plugin in devstack
>> environment
>> 
>> Thanks Kyle and Robert very much for all these information.
>> 
>> So, it seems that the new devstack version that contains Cisco plugin
>>support is already available at https://review.openstack.org/#/c/25378/?
>>Should I just use 'git fetch' to download it and install? Is this Havana
>>version(release)?
>> 
>> After I download, can I just use Q_plugin to configure the core plugin?
>>Do I still need to follow the manual set up steps on
>>https://wiki.openstack.org/wiki/Cisco-quantum#A_Cisco_Plugin_Framework_fo
>>r_Quantum_L2_Network_Overlays_Spanning_Multiple_Physical_Switches_.28Hava
>>na_Release.29?
>> 
>> Thanks,
>> 
>> YuLing
>> 
>> 
>> -----Original Message-----
>> From: Kyle Mestery (kmestery) [mailto:kmestery at cisco.com]
>> Sent: Monday, May 06, 2013 2:09 PM
>> To: OpenStack Development Mailing List
>> Cc: Rich Curran (rcurran)
>> Subject: Re: [openstack-dev] how to configure cisco plugin in devstack
>> environment
>> 
>> I should note Robert's review for adding support to devstack for the
>>Cisco plugin is here:
>> 
>> https://review.openstack.org/#/c/25378/
>> 
>> I've been running with it for a few weeks and it works great!
>> 
>> Thanks,
>> Kyle
>> 
>> On May 6, 2013, at 3:54 PM, Robert Li (baoli) <baoli at cisco.com> wrote:
>> 
>>> Hi YuLing,
>>> 
>>> My guess is that you pulled the code from the master. So please follow
>>>this link 
>>>https://wiki.openstack.org/wiki/Cisco-quantum#A_Cisco_Plugin_Framework_f
>>>or_Quantum_L2_Network_Overlays_Spanning_Multiple_Physical_Switches_.28Ha
>>>vana_Release.29 instead.
>>> 
>>> Currently, configuring Q_PLUGIN to use cisco plugin is not available
>>>in devstack yet, and it's being worked on. Therefore you have to
>>>manually configure it with instructions given in the above link.
>>> 
>>> Thanks,
>>> Robert
>>> 
>>> On 5/6/13 1:50 PM, "Yuling_C at DELL.com" <Yuling_C at DELL.com> wrote:
>>> 
>>>> Hi All,
>>>> 
>>>> I'm new to devstack and would need to configure cisco plugin to work
>>>>in devstack environment. I followed the instruction in the webpage
>>>>(https://wiki.openstack.org/wiki/Cisco-quantum#A_Cisco_Plugin_Framework
>>>>_for_Quantum_L2_Network_Overlays_Spanning_Multiple_Physical_Switches_.2
>>>>8Grizzly_Release.29) to configure cisco plugin. However, devstack
>>>>seems to always pick up OVSQuantumPluginV2 as 'core_plugin'.  Any idea?
>>>> 
>>>> I tried to set up Q_plugin in localrc. However, it seems cisco is not
>>>>one of the plugins supported under
>>>>/opt/stack/devstack/lib/quantum_plugins...do I need to configure this
>>>>variable in localrc? If not, what else I need to do in order for
>>>>openstack to pick up Cisco plugin in devstack environment?
>>>> 
>>>> Thanks,
>>>> 
>>>> YuLing
>>>> 
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> 
>> 
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> 
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> 
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>




More information about the OpenStack-dev mailing list