[openstack-dev] how to configure cisco plugin in devstack environment
Yuling_C at DELL.com
Yuling_C at DELL.com
Tue May 7 17:39:29 UTC 2013
No, I was not able to run the following git fetch command published on https://review.openstack.org/#/c/25378/
git fetch https://review.openstack.org/openstack-dev/devstack refs/changes/78/25378/8 && git checkout FETCH_HEAD
So, I just downloaded one file lib/quantum_plugins/cisco and copied to my devstack environment, but hit the problem.
Here I attach my cisco_plugins.ini file. I didn't change this file after I installed devstack. I also tried to change this file according to the instructions on https://wiki.openstack.org/wiki/Cisco-quantum#A_Cisco_Plugin_Framework_for_Quantum_L2_Network_Overlays_Spanning_Multiple_Physical_Switches_.28Havana_Release.29, but still hit the same issue.
Thanks very much,
YuLing
-----Original Message-----
From: Kyle Mestery (kmestery) [mailto:kmestery at cisco.com]
Sent: Tuesday, May 07, 2013 6: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_for_Quantum_L2_Network_Overlays_Spanning_Multiple_Physical_Switches_.28Havana_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_for_Quantum_L2_Network_Overlays_Spanning_Multiple_Physical_Switches_.28Havana_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_.28Grizzly_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
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cisco_plugins.ini
Type: application/octet-stream
Size: 266 bytes
Desc: cisco_plugins.ini
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130507/bad5afc7/attachment.obj>
More information about the OpenStack-dev
mailing list