cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2256
Views
0
Helpful
6
Replies

Guest VM is not taking the IP from DHCP when it get provisioned from CCM

anandraj_t
Level 1
Level 1

Hi All,

 

We have non-HA C3 setup (V4.8.1) and we create a simple App modeling (Simple CentOS) creation.

When initiated the deployment, It went successful.

 

1.Clone the VM

2.Powered on the VM

3.When the OS powered on I could see this message

 

"Wget ... https://cdn.cliqr.com../bootstarp-workesh.sh"

 

and the interface (eth0) is down and not getting the IP.

 

From CCM, I could see the deployment state as "Error" and the Error message is below:

 

"Instance bootstrapping is timed out, possibly due to incorrect or missing agent bundle for node 422a0e9d-4722-0399-6d09-d17769ea0ee6"

 

 

Please help. 

 

@Deepak Sukhiya @tristan_todd @Shaun Roberts @davilin2

 

Anandraj

6 Replies 6

hbaraval
Level 1
Level 1

Hi Anand,

 

can you please check if the network interface is properly configured of the guest vm?

It should look like this.

 

$cat etc/sysconfig/network-scripts/ifcfg-ens192
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=ens192
UUID=1da61e62-6225-4bed-bef4-7c681a4908f6
DEVICE=ens192
ONBOOT=yes

 

And please attach the log files so I can take a look at them and see if I can find anything useful.

They should be located in : /usr/local/tomcat/logs/osmosix.log in ccm and cco

 

 

Hi,

 

Could you please find the attached log as requested and let me know how we can proceed this.

 

Anandraj

Sorry missed to add CCO file.

Hi Anand,

 

Sorry for the delay. Got caught in some work these days.

 

I looked at the logs, and it seems there is a problem in getting the IP address for the deployed machine.

 

I was wondering if you can get a working(with eth0 up and having an IP assigned) VM from vmware created with the same centos temphlate?

 

And also please share the configuration file you are using for eth0.

Hi hbaraval,
I'm also having the issue of "Instance bootstrapping is timed out, possibly due to incorrect or missing agent bundle for node", but in my case for my guest VM I have assigned static IP address. I can able to access the VM while the deployment status is in "In-Progress"after that i'm getting the error ass mentioned above.

Help me out of this error.

Thanks,
Sheriff

Hi Baraval,

 

Thanks for your revert.

Please find the eth0 file config for CCM/CCO/AMQP

 

[root@ccm ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=static
IPADDR=10.131.62.239
GATEWAY=10.131.62.1
NETMASK=255.255.255.0
DNS1=192.168.24.57
DNS2=8.8.8.8
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV6INIT=no
NAME=eth0
ONBOOT=yes
[root@ccm ~]#

 

[root@cco ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=static
IPADDR=10.131.62.240
GATEWAY=10.131.62.1
NETMASK=255.255.255.0
DNS1=192.168.24.57
DNS2=8.8.8.8
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV6INIT=no
NAME=eth0
ONBOOT=yes
[root@cco~]#

 

[root@rabbit~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
TYPE=Ethernet
BOOTPROTO=static
IPADDR=10.131.62.241
GATEWAY=10.131.62.1
NETMASK=255.255.255.0
DNS1=192.168.24.57
DNS2=8.8.8.8
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV6INIT=no
NAME=eth0
ONBOOT=yes
[root@rabbit~]#

 

Regards

Anandraj