[Openstack] Call for help: Havana Install testing

Salvatore Orlando sorlando at nicira.com
Wed Oct 16 18:49:16 UTC 2013


What about your l3 agents?
Please check if you're being hit by this upgrade bug:
https://bugs.launchpad.net/neutron/+bug/1236439

The bug mentions the l3 agents but applies to all agents.

Regards,
Salvatore


On 16 October 2013 20:27, Martinx - ジェームズ <thiagocmartinsc at gmail.com> wrote:

> Aaron,
>
> I hit that problem again, related to "MultipleAgentFoundByTypeHost" error
> message...
>
> Sometimes the 'neutron-openvswitch-agent' (or `DHCP agent` too) gets
> duplicated, look:
>
> root at havabuntu-13:~# neutron agent-list
>
> +--------------------------------------+--------------------+--------------+-------+----------------+
> | id                                   | agent_type         | host
> | alive | admin_state_up |
>
> +--------------------------------------+--------------------+--------------+-------+----------------+
> | 1c7eec73-2a1a-47b2-b66e-4ecefacfcb7c | Open vSwitch agent | havabuntu-13
> | xxx   | True           |
> | 2d2e787a-06e1-483c-a0e4-c837bb38dc95 | Open vSwitch agent | havabuntu-13
> | xxx   | True           |
> | 58351edd-449e-4dd4-b864-0fb2614703f5 | DHCP agent         | havabuntu-13
> | :-)   | True           |
>
> +--------------------------------------+--------------------+--------------+-------+----------------+
>
> I think I know what I'm doing to hit this, I'm trying to disable
> Namespace, just for tests, and I ended up duplicating the Open vSwitch
> agent...
>
> I'll make more tests to make sure but, I just noted that, after changing
> the entries "allow_overlap_ips to false" and "use_namespaces to false",
> somehow the agent gets duplicated.
>
> I'll try to isolate it, and then, I'll write a small easy-to-follow
> procedure to reproduce the problem, if desired.
>
> Best,
> Thiago
>
>
> On 16 October 2013 01:52, Martinx - ジェームズ <thiagocmartinsc at gmail.com>wrote:
>
>> Hey Aaron,
>>
>> After starting over again, I was unable to reproduce the error related to
>> the message "MultipleAgentFoundByTypeHost".
>>
>> Anyway, the only error I'm still seeing now is about this:
>> https://bugs.launchpad.net/neutron/+bug/1210121
>>
>> Sorry about the buzz...    =P
>>
>> Regards,
>> Thiago
>>
>>
>> On 15 October 2013 18:13, Aaron Rosen <arosen at nicira.com> wrote:
>>
>>> No worries,
>>>
>>> I'm not able to reproduce this error. If you're able to reproduce it
>>> tonight please open a launchpad bug with the steps to reproduce.
>>>
>>> Thanks,
>>>
>>> Aaron
>>>
>>>
>>> On Tue, Oct 15, 2013 at 1:44 PM, Martinx - ジェームズ <
>>> thiagocmartinsc at gmail.com> wrote:
>>>
>>>> Oops,
>>>>
>>>> I'm seeing more errors, look:
>>>>
>>>> ---
>>>> ==> /var/log/neutron/openvswitch-agent.log <==
>>>> 2013-10-15 17:42:18.226 2588 ERROR neutron.openstack.common.rpc.amqp
>>>> [-] Exception during message handling
>>>> 2013-10-15 17:42:18.226 2588 TRACE neutron.openstack.common.rpc.amqp
>>>> Traceback (most recent call last):
>>>> 2013-10-15 17:42:18.226 2588 TRACE neutron.openstack.common.rpc.amqp
>>>> File
>>>> "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/amqp.py",
>>>> line 438, in _process_data
>>>> 2013-10-15 17:42:18.226 2588 TRACE neutron.openstack.common.rpc.amqp
>>>>   **args)
>>>> 2013-10-15 17:42:18.226 2588 TRACE neutron.openstack.common.rpc.amqp
>>>> File
>>>> "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/dispatcher.py",
>>>> line 172, in dispatch
>>>> 2013-10-15 17:42:18.226 2588 TRACE neutron.openstack.common.rpc.amqp
>>>>   result = getattr(proxyobj, method)(ctxt, **kwargs)
>>>> 2013-10-15 17:42:18.226 2588 TRACE neutron.openstack.common.rpc.amqp
>>>> File
>>>> "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py",
>>>> line 290, in port_update
>>>> 2013-10-15 17:42:18.226 2588 TRACE neutron.openstack.common.rpc.amqp
>>>>   self.sg_agent.refresh_firewall()
>>>> 2013-10-15 17:42:18.226 2588 TRACE neutron.openstack.common.rpc.amqp
>>>> AttributeError: 'NoneType' object has no attribute 'refresh_firewall'
>>>> 2013-10-15 17:42:18.226 2588 TRACE neutron.openstack.common.rpc.amqp
>>>> ----
>>>>
>>>> Anyway, I do not want to push troubles for you guys, maybe it is my
>>>> fault, I'll double check it tonight.
>>>>
>>>> Thanks in advance!
>>>>
>>>> Best,
>>>> Thiago
>>>>
>>>>
>>>> On 15 October 2013 17:41, Martinx - ジェームズ <thiagocmartinsc at gmail.com>wrote:
>>>>
>>>>> Cool!
>>>>>
>>>>> I just did: "neutron agent-delete
>>>>> b73d6072-030f-45c7-8faf-408e82ad10cd" and that error disappeared
>>>>> (MultipleAgentFoundByTypeHost).
>>>>>
>>>>> The only remaining problem is related DHCP agent, look:
>>>>>
>>>>> /var/log/neutron/dhcp-agent.log
>>>>>
>>>>> ---
>>>>> ERROR neutron.common.legacy [-] Skipping unknown group key:
>>>>> firewall_driver
>>>>> ---
>>>>>
>>>>> Can we do something about it?
>>>>>
>>>>> Cheers!
>>>>> Thiago
>>>>>
>>>>>
>>>>>
>>>>> On 15 October 2013 17:36, Martinx - ジェームズ <thiagocmartinsc at gmail.com>wrote:
>>>>>
>>>>>> Mmm... Now I'm seeing where it is duplicated, look:
>>>>>>
>>>>>> http://paste.openstack.org/show/48518/
>>>>>>
>>>>>> I have no idea about how I ended up with this... Maybe it is my
>>>>>> fault, I'll double check my installation procedure.
>>>>>>
>>>>>> I'll try to just remove one of it.
>>>>>>
>>>>>> Thanks!
>>>>>> Thiago
>>>>>>
>>>>>> On 15 October 2013 17:29, Aaron Rosen <arosen at nicira.com> wrote:
>>>>>>
>>>>>>> Hrm, I'm not running into this issue. Any chance you could share
>>>>>>> what's in the agents table?
>>>>>>>
>>>>>>> select * from agents;
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Oct 15, 2013 at 1:19 PM, Martinx - ジェームズ <
>>>>>>> thiagocmartinsc at gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi Anne,
>>>>>>>>
>>>>>>>> No, I have only 1 machine named "openstack-1", also, my previous
>>>>>>>> test, my controller node was named "havana-10"... Same error... Every time
>>>>>>>> I change something, I start from scratch over and over, with new
>>>>>>>> 'hostnames', to avoid conflicts...
>>>>>>>>
>>>>>>>> If fact, I have only 1 machine, because I'm still trying to install
>>>>>>>> the "Controller Node", so, I did not finish my Havana cloud, mostly because
>>>>>>>> I'm seeing this error in the controller, so, I did not proceed with Compute
>>>>>>>> Nodes and etc...
>>>>>>>>
>>>>>>>> Anyway, I'll try again tonight to try to figure it out.
>>>>>>>>
>>>>>>>> Also, I'm seeing more people here on our list, hitting this problem
>>>>>>>> too...
>>>>>>>>
>>>>>>>> Thank you!
>>>>>>>> Thiago
>>>>>>>>
>>>>>>>>
>>>>>>>> On 15 October 2013 17:12, Aaron Rosen <arosen at nicira.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Thiago,
>>>>>>>>>
>>>>>>>>> I think this error MultipleAgentFoundByTypeHost is occurring
>>>>>>>>> because in your setup multiple machines running the agents sharing the same
>>>>>>>>> hostname "openstack-1" ?  Is that possible?
>>>>>>>>>
>>>>>>>>> Best,
>>>>>>>>>
>>>>>>>>> Aaron
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Oct 15, 2013 at 12:34 PM, Martinx - ジェームズ <
>>>>>>>>> thiagocmartinsc at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Anne,
>>>>>>>>>>
>>>>>>>>>> Please, forgive me about one thing, I still need to confirm if
>>>>>>>>>> the error appear right after installing the packages or not.
>>>>>>>>>>
>>>>>>>>>> I'll test again from scratch in a couple hours.
>>>>>>>>>>
>>>>>>>>>> Best,
>>>>>>>>>> Thiago
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 15 October 2013 16:10, Martinx - ジェームズ <
>>>>>>>>>> thiagocmartinsc at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Anne!
>>>>>>>>>>>
>>>>>>>>>>> I followed that guide and I'm facing one problem, the
>>>>>>>>>>> `neutron-plugin-openvswitch-agent' doesn't start smoothly, here is the
>>>>>>>>>>> error from my neutron.log:
>>>>>>>>>>>
>>>>>>>>>>> ---
>>>>>>>>>>> MultipleAgentFoundByTypeHost: Multiple agents with
>>>>>>>>>>> agent_type=Open vSwitch agent and host=openstack-1 found
>>>>>>>>>>> ---
>>>>>>>>>>>
>>>>>>>>>>> Full log output:
>>>>>>>>>>>
>>>>>>>>>>> http://paste.openstack.org/show/48507/
>>>>>>>>>>>
>>>>>>>>>>> I'm trying to use Single Flat network but, I am unable to
>>>>>>>>>>> proceed with my tests because of this error. Since I'm using flat topology,
>>>>>>>>>>> my configuration file is a bit different from the documents but, I already
>>>>>>>>>>> tried different installation procedures, including the Ubuntu procedure you
>>>>>>>>>>> just posted, same error...
>>>>>>>>>>>
>>>>>>>>>>> In fact, this error appear right after installing the packages
>>>>>>>>>>> from Havana Cloud Archive, I do not even run the "neutron" commands...
>>>>>>>>>>>
>>>>>>>>>>> Best,
>>>>>>>>>>> Thiago
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 15 October 2013 12:03, Anne Gentle <anne at openstack.org>wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>
>>>>>>>>>>>> We've got a draft of the Havana install guide ready for
>>>>>>>>>>>> testing. We have a matrix of testing at
>>>>>>>>>>>> https://wiki.openstack.org/wiki/HavanaDocTesting
>>>>>>>>>>>>
>>>>>>>>>>>> Here are links to the guides in progress:
>>>>>>>>>>>> Installation Guide for Red Hat Enterprise Linux, CentOS, and
>>>>>>>>>>>> Fedora -
>>>>>>>>>>>> http://docs.openstack.org/trunk/install-guide/install/yum/content/
>>>>>>>>>>>>
>>>>>>>>>>>> Installation Guide for Ubuntu 12.04 (LTS) Server -
>>>>>>>>>>>> http://docs.openstack.org/trunk/install-guide/install/apt/content/
>>>>>>>>>>>>
>>>>>>>>>>>> Installation Guide for openSUSE -
>>>>>>>>>>>> http://docs.openstack.org/trunk/install-guide/install/zypper/content/
>>>>>>>>>>>>
>>>>>>>>>>>> Please, take time to test these in your favorite distro, and
>>>>>>>>>>>> report any issues you find using the Doc Bug link on each page. We'll
>>>>>>>>>>>> continue to triage for the next two days, hoping to release the install
>>>>>>>>>>>> guide at the same time as the overall release.
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you distros for the packaging efforts! Now let's see what
>>>>>>>>>>>> we can do to simultaneously release an install guide on October 17th.
>>>>>>>>>>>>
>>>>>>>>>>>> Halp!
>>>>>>>>>>>> Anne
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Mailing list:
>>>>>>>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>>>>>> Post to     : openstack at lists.openstack.org
>>>>>>>>>>>> Unsubscribe :
>>>>>>>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Mailing list:
>>>>>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>>>> Post to     : openstack at lists.openstack.org
>>>>>>>>>> Unsubscribe :
>>>>>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131016/cc9be3de/attachment.html>


More information about the Openstack mailing list