OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dnsmasq loses the file /etc/dhcphosts.txt


Hi all

 

Sporadically some VRs loses the file /etc/dhcphosts.txt and VMs stop to get
an IP address.

The workaround is run the command /etc/init.d/cloud-early-config start.
After that the VR create new file dhcphosts.txt

 

Anyone get this issue?

ACS 4.9.3.1, XenServer 6.5, SystemVM Template 4.6.0

 

 

root@r-1681-VM:~# cat /etc/dhcphosts.txt

cat: /etc/dhcphosts.txt: No such file or directory

 

root@r-1681-VM:~# /etc/init.d/cloud-early-config start

[....] Executing cloud-early-config...[info] Executing cloud-early-config.

mount: none already mounted or /proc/xen busy

mount: according to mtab, none is already mounted on /proc/xen

[info] Detected that we are running inside xen-domU guest.

mount: none already mounted or /proc/xen busy

mount: according to mtab, none is already mounted on /proc/xen

[info] Patching  cloud service.

mount: none already mounted or /proc/xen busy

mount: according to mtab, none is already mounted on /proc/xen

portmap: unknown service

[info] Updating log4j-cloud.xml.

[info] Setting up VPC virtual router system vm.

[info] checking that eth0 has IP .

[info] Setting up apache web server for VPC.

[info] Enable service dnsmasq = 1.

[info] Enable service haproxy = 1.

[info] Processors = 1  Enable service  = 0.

[info] Enable service cloud = 0.

[info] cloud: disable rp_filter.

[info] disable rpfilter.

[info] cloud: enable_fwding = 1.

[info] enable_fwding = 1.

mv: cannot stat `/etc/cron.daily/logrotate': No such file or directory

[INFO] update_config.py :: Processing incoming file => cmd_line.json

[INFO] Processing JSON file cmd_line.json

done.

 

root@r-1681-VM:~# cat /etc/dhcphosts.txt 

02:00:3a:fd:00:0d,192.168.200.219,VM04,744h

02:00:6a:62:00:12,192.168.200.122,VM07,730h

02:00:6b:46:00:0b,192.168.200.215,VM02,750h

02:00:4e:fe:00:0f,192.168.200.231,VM06,717h

02:00:19:e7:00:01,192.168.200.53,win,725h

02:00:7a:6d:00:0c,192.168.200.71,VM03,760h

02:00:37:9f:00:0e,192.168.200.68,VM05,722h

02:00:50:bb:00:0a,192.168.200.32,VM01,708h

02:00:20:30:00:04,192.168.200.15, win2,714h