← Back to team overview

openstack team mailing list archive

Re: VM Instance NOT able to get IP

 

Hi,
I am able to fix the issue.
The issue is related to quantum-dhcp-agent.
In '/etc/init/quantum-dhcp-agent.conf', I replaced the following
*exec start-stop-daemon --start --chuid quantum --exec
/usr/bin/quantum-dhcp-agent -- --config-file=/etc/quantum/dhcp_agent.ini
--log-file=/var/log/quantum/agent-dhcp.log*

with the following
*exec start-stop-daemon --start --chuid quantum --exec
/usr/bin/quantum-dhcp-agent -- --config-file=/etc/quantum/quantum.conf
--config-file=/etc/quantum/dhcp_agent.ini
--log-file=/var/log/quantum/dhcp-agent.log*
*
*
Then, restarted 'quantum-dhcp-agent'.

Regards,
Srikanth.

On Tue, Sep 18, 2012 at 5:01 PM, Salvatore Orlando <sorlando@xxxxxxxxxx>wrote:

> Hi Lingala,
>
> the dhcp agent currently only works with dnsmasq. Even if this explain why
> you do not see dhcpd, we still need to investigate why dnsmasq is not
> running.
> From your description, it seems that this is the root cause of your issue.
>
> If no dnsmasq instance is seen on the node where dhcp-agent is running,
> and there are subnets defined in quantum, please check the following:
> - dhcp_enable is set to True for configured subnets
> - the dhcp agent successfully connects to the quantum server for
> retrieving state information. If this does not happen, error should appear
> in the logs. (for instance, rabbit mq auth errors);
>
> Regards,
> Salvatore
>
> On 17 September 2012 12:14, Lingala Srikanth Kumar-B37208 <
> B37208@xxxxxxxxxxxxx> wrote:
>
>>  Hi,****
>>
>> I'm using Folsom Testing Packages on Ubuntu 12.04.,  Quantum V2 with OVS
>> Plugin & Agent running.****
>>
>> I created a network with subnet 10.10.0.0/24. I wanted to create an
>> instance with the created network.****
>>
>> I am trying to create that instance in the same Controller Node.****
>>
>> ** **
>>
>> The following services are up and running.****
>>
>> 1.quantum-server****
>>
>> 2.quantum-plugin-openvswitch-agent****
>>
>> 3.quantum-dhcp-agent****
>>
>> 4.nova-api****
>>
>> 5.nova-compute****
>>
>> 6.nova-cert****
>>
>> 7.nova-consoleauth****
>>
>> 8.nova-scheduler****
>>
>> 9.novnc****
>>
>> ** **
>>
>> The thing is, I am able to create an instance and running. I am able to
>> see the IP in the ‘Horizon’ which is getting it from Database. But, I am
>> not able to see that IP, when I VNC to that machine and execute ‘ifconfig’.
>> ****
>>
>> When I check the processes running, I am not able to see any 'dnsmasq'
>> and ‘dhcpd’ running with the mentioned subnet.****
>>
>> ** **
>>
>> Can anyone please guide me?****
>>
>> ** **
>>
>> Regards,****
>>
>> Srikanth.****
>>
>> ** **
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

References