← Back to team overview

openstack team mailing list archive

Re: [Quantum] Error while creating integration bridge

 

Hi Kamarul,

Thanks for the response. It helped me resolve the issue.

On Thu, May 9, 2013 at 11:52 AM, Kamarul <profkamarul@xxxxxxxxx> wrote:

> Hi Ashutosh,
>
> In reply to your query on Quantum CLI errors on Grizzly
>
> I have similar error when running quantum net-create private as per step
> 13.1 Create a private network according to
> https://fedoraproject.org/wiki/Packstack_to_Quantum
>
> My System information:
>
> RHEL 6.4
> Installation done following the Red Hat RDO @
> http://openstack.redhat.com/Quickstart, you may go deep into looking my
> post on installing RDO for RHEL @
> http://openstack.redhat.com/forum/discussion/98/my-redhat-version#Item_4
>
> Workaround:
>
> 1) Disable selinux
> 2) Disable firewall
>
> Above steps might not be the root cause.
>
> Looking into /var/log/quantum
>
> tail /var/log/quantum/l3-agent.log
> 2013-05-09 11:07:38    ERROR [quantum.openstack.common.rpc.impl_qpid]
> Unable to connect to AMQP server: [Errno -2] Name or service not known.
> Sleeping 16 seconds
>
> It is said that "Unable to connect to AMQP server"
>
> 1) check the qpid service whether it is running or not
>
> # netstat -ntupl |grep 5672
> tcp        0      0 0.0.0.0:5672                0.0.0.0:*
> LISTEN      2671/qpidd
> tcp        0      0 :::5672
> :::*                                LISTEN      2671/qpidd
>
> 2) check your /etc/quantum/quantum.conf
> search for qpid_hostname, for example my configuration
>
> qpid_hostname = rdo
>
> the program look for qpid service on host rdo instead of localhost,
> Check whether you can ping the hostname, e.g ping rdo, if it is not then
> resolve it via /etc/hosts file
>
> 127.0.0.1   localhost localhost.localdomain localhost4 rdo
>
> 3) This might also not be the cause, but I did change. Check your
> /etc/nova/nova.conf
> #grep rabbit /etc/nova/nova.conf
>
> rabbit_host=192.168.204.134
>
> re run the quantum net-create step.
>
> I also able to create network and routers in dashboard
>
> Hope this helps.*
>
> *
>
> Thank You,
>
> Regards
> Kamarul
>
> Follow me at rehdat.blogspot.com
>
>
> On Thu, May 9, 2013 at 2:01 PM, Ashutosh Narayan <
> aashutoshnarayan@xxxxxxxxx> wrote:
>
>> Hi Filipe,
>>
>> OpenvSwitch module is properly loaded in the kernel.
>> I was able to create bridges. I now have problems in
>> creating private networks using Quantum CLI.
>> ( This has been posted in another thread to the list )
>>
>> Thank you,
>>
>> On Thu, May 9, 2013 at 3:35 AM, Filipe Manco <filipe.manco@xxxxxxxxx>wrote:
>>
>>> Can you provide the logs of openvswitch?
>>> Also check that the openvswitch kernel module is correctly loaded.
>>>
>>> Filipe Manco
>>> http://about.me/fmanco
>>>
>>>
>>> 2013/5/8 Ashutosh Narayan <aashutoshnarayan@xxxxxxxxx>
>>>
>>>> Hi Filipe,
>>>>
>>>> Service was already running. I tried restarting it. No luck
>>>>
>>>>
>>>> On Wed, May 8, 2013 at 4:49 PM, Filipe Manco <filipe.manco@xxxxxxxxx>wrote:
>>>>
>>>>> Probably the openvswitch service isn't running. Run service
>>>>> openvswitch status to check it. If it is already running try to
>>>>> restart it.
>>>>>
>>>>> Filipe Manco
>>>>> http://about.me/fmanco
>>>>>
>>>>>
>>>>> 2013/5/8 Ashutosh Narayan <aashutoshnarayan@xxxxxxxxx>
>>>>>
>>>>>>  Hi Folks,
>>>>>>
>>>>>> I was following the below link to install Quantum on Grizzly -
>>>>>> https://fedoraproject.org/wiki/Packstack_to_Quantum
>>>>>>
>>>>>> While running the step to create integration bridge I get
>>>>>> the following error :
>>>>>> [root@xxxx ~(keystone_admin)]# ovs-vsctl add-br br-int
>>>>>> 2013-05-08T10:50:37Z|00002|reconnect|WARN|unix:/usr/local/var/run/openvswitch/db.sock:
>>>>>> connection attempt failed (Connection refused)
>>>>>> ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database
>>>>>> connection failed (Connection refused)
>>>>>>
>>>>>> What could be the possible reason behind this ?
>>>>>>
>>>>>> Thank you,
>>>>>> --
>>>>>> Ashutosh Narayan
>>>>>>
>>>>>> http://ashutoshn.wordpress.com/
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~openstack
>>>>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~openstack
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Ashutosh Narayan
>>>>
>>>> http://ashutoshn.wordpress.com/
>>>>
>>>>
>>>
>>
>>
>> --
>> Ashutosh Narayan
>>
>> http://ashutoshn.wordpress.com/
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>


-- 
Ashutosh Narayan

http://ashutoshn.wordpress.com/

References