SM:centos:R3.1build36: Provision does not complete with compute_started state
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Committed
|
Critical
|
kamlesh parmar | |||
R3.2 |
Fix Committed
|
Critical
|
kamlesh parmar | |||
Trunk |
Fix Committed
|
Critical
|
kamlesh parmar |
Bug Description
SM:centos:
1) Install Ubuntu ServerManager on the SM Machine
2) Reimage the target with centos71; reimage completes successfully
3) Initiate Provision using contrail package ; Provision stops at compute_started
Logs
Oct 26 05:12:39 nodeh8 puppet-agent[761]: Adding /usr/sbin/shutdown -r +0 "Puppet is rebooting the computer" </dev/null >/dev/null 2>&1 & to ruby's at_exit handler
Oct 26 05:12:39 nodeh8 puppet-agent[761]: (/Stage[
Oct 26 05:12:40 nodeh8 puppet-agent[761]: Finished catalog run in 43.63 seconds
Oct 26 05:12:41 nodeh8 systemd: Started Delayed Shutdown Service.
Oct 26 05:12:41 nodeh8 systemd: Starting Delayed Shutdown Service...
Oct 26 05:12:41 nodeh8 systemd-shutdownd: Shutting down at Wed 2016-10-26 05:12:41 PDT (reboot)...
Oct 26 05:12:41 nodeh8 systemd-shutdownd: Creating /run/nologin, blocking further logins...
Oct 26 05:12:41 nodeh8 systemd: Stopping Session c1 of user zookeeper.
Oct 26 05:12:41 nodeh8 systemd: Stopping SYSV: Starts and stops Cassandra...
Oct 26 05:12:41 nodeh8 systemd: Stopping Session c3 of user rabbitmq.
Oct 26 05:12:41 nodeh8 systemd: Deactivating swap /dev/mapper/
Oct 26 05:12:41 nodeh8 systemd: Stopping Session c2 of user cassandra.
Oct 26 05:12:41 nodeh8 systemd: Stopping Session 8 of user root.
Oct 26 05:12:41 nodeh8 systemd: Stopped Dump dmesg to /var/log/dmesg.
Oct 26 05:12:41 nodeh8 systemd: Stopping Dump dmesg to /var/log/dmesg...
Oct 26 05:12:41 nodeh8 systemd: Stopped target Timers.
Oct 26 05:12:41 nodeh8 systemd: Stopping Timers.
Oct 26 05:12:41 nodeh8 systemd: Stopped daily update of the root trust anchor for DNSSEC.
Oct 26 05:12:41 nodeh8 systemd: Stopping daily update of the root trust anchor for DNSSEC.
Oct 26 05:12:41 nodeh8 systemd: Stopped Stop Read-Ahead Data Collection 10s After Completed Startup.
Oct 26 05:12:41 nodeh8 systemd: Stopping Stop Read-Ahead Data Collection 10s After Completed Startup.
Oct 26 05:12:41 nodeh8 systemd: Stopped Daily Cleanup of Temporary Directories.
Oct 26 05:12:41 nodeh8 systemd: Stopping Daily Cleanup of Temporary Directories.
Oct 26 05:12:41 nodeh8 systemd: Stopped target Multi-User System.
Oct 26 05:12:41 nodeh8 systemd: Stopping Multi-User System.
Oct 26 05:12:41 nodeh8 systemd: Stopping Openstack Heat CFN-compatible API Service...
Oct 26 05:12:41 nodeh8 cinder-scheduler: 2016-10-26 05:12:41.304 23836 DEBUG oslo_concurrenc
Oct 26 05:12:41 nodeh8 cinder-scheduler: 2016-10-26 05:12:41.305 23836 DEBUG oslo_concurrenc
Oct 26 05:12:41 nodeh8 cinder-scheduler: 2016-10-26 05:12:41.305 23836 DEBUG oslo_concurrenc
Oct 26 05:12:41 nodeh8 cinder-scheduler: 2016-10-26 05:12:41.306 23836 DEBUG oslo_concurrenc
Oct 26 05:12:41 nodeh8 cinder-scheduler: 2016-10-26 05:12:41.306 23836 INFO oslo_service.
Oct 26 05:12:41 nodeh8 cinder-scheduler: 2016-10-26 05:12:41.307 23836 WARNING oslo_messaging.
Oct 26 05:12:41 nodeh8 cinder-scheduler: 2016-10-26 05:12:41.307 23836 DEBUG oslo_concurrenc
Oct 26 05:12:41 nodeh8 cinder-scheduler: 2016-10-26 05:12:41.307 23836 DEBUG oslo_concurrenc
Oct 26 05:12:41 nodeh8 rabbitmq-server: Event crashed log handler:
Oct 26 05:12:41 nodeh8 rabbitmq-server: {info_msg,<0.69.0>,
Oct 26 05:12:41 nodeh8 rabbitmq-server: {<0.219.0>,"closing AMQP connection ~p (~s)~n",
Oct 26 05:12:41 nodeh8 rabbitmq-server: [<0.308.
Oct 26 05:12:41 nodeh8 rabbitmq-server: function_clause
Oct 26 05:12:41 nodeh8 systemd: Stopping OpenStack Cinder Scheduler Server...
Oct 26 05:12:43 nodeh8 rsyslogd: [origin software="rsyslogd" swVersion="7.4.7" x-pid="17018" x-info="http://
ct 26 05:12:43 nodeh8 rsyslogd: [origin software="rsyslogd" swVersion="7.4.7" x-pid="17018" x-info="http://
Oct 26 05:17:06 localhost rsyslogd: [origin software="rsyslogd" swVersion="7.4.7" x-pid="702" x-info="http://
Oct 26 05:16:50 localhost journal: Runtime journal is using 8.0M (max allowed 3.1G, trying to leave 4.0G free of 31.3G available → current limit 3.1G).
Oct 26 05:16:50 localhost systemd-
Oct 26 05:16:50 localhost kernel: SELinux: Disabled at runtime.
Oct 26 05:16:50 localhost kernel: type=1404 audit(147745900
Oct 26 05:16:50 localhost systemd[1]: RTC configured in localtime, applying delta of -420 minutes to system time.
Oct 26 05:16:50 localhost kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Oct 26 05:16:50 localhost systemd[1]: Inserted module 'ip_tables'
Oct 26 05:16:50 localhost systemd-
Oct 26 05:16:50 localhost systemd[1]: Configuration file /usr/lib/
Oct 26 05:16:50 localhost systemd[1]: Configuration file /etc/systemd/
Oct 26 05:16:50 localhost systemd[1]: Configuration file /usr/lib/
Oct 26 05:16:50 localhost systemd[1]: Configuration file /usr/lib/
Oct 26 05:16:50 localhost systemd[1]: Stopped Switch Root.
Oct 26 05:16:50 localhost systemd[1]: Cannot find unit for notify message of PID 113.
Oct 26 05:16:50 localhost systemd[1]: systemd-
Oct 26 05:16:50 localhost systemd[1]: Created slice system-getty.slice.
Oct 26 05:16:50 localhost systemd[1]: Starting system-getty.slice.
Oct 26 05:16:50 localhost systemd[1]: Starting Create list of required static device nodes for the current kernel...
Oct 26 05:16:50 localhost systemd[1]: Stopped target Switch Root.
Oct 26 05:16:50 localhost systemd[1]: Stopping Switch Root.
Oct 26 05:16:50 localhost systemd[1]: Listening on udev Kernel Socket.
Oct 26 05:16:50 localhost systemd[1]: Starting udev Kernel Socket.
Oct 26 05:16:50 localhost systemd[1]: Listening on udev Control Socket.
Oct 26 05:16:50 localhost systemd[1]: Starting udev Control Socket.
Oct 26 05:16:50 localhost systemd[1]: Starting Journal Service...
Oct 26 05:16:50 localhost systemd[1]: Mounting Huge Pages File System...
Oct 26 05:16:50 localhost systemd[1]:
After reimage
[root@nodeh8 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.204.217.254 0.0.0.0 UG 0 0 0 enp3s0f0
10.204.217.0 0.0.0.0 255.255.255.0 U 0 0 0 enp3s0f0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 enp3s0f0
[root@nodeh8 ~]# ifconfig -a
enp3s0f0: flags=4163<
[root@nodeh8 ~]# cat /etc/hostname
localhost.
[root@nodeh8 ~]#
Changed in juniperopenstack: | |
milestone: | none → r3.1.1.0 |
importance: | Undecided → Critical |
assignee: | nobody → kamlesh parmar (kparmar) |
tags: | added: blocker |
Changed in juniperopenstack: | |
milestone: | r3.1.1.0 → r4.0 |
Not sure what is exposing this. But same kickstart worked before. There is no change in code SM or puppet to explain this change in behavior. Anyways, setting hostname explictly in kickstart will be good thing to do.
I have patched your SM with change in kickstart to set hostname. Provisioning is going fine now. Please test centos 7.1 and 7.2 and let me know, i'll check it in.
the change is made in the /var/www/ html/kickstarts /contrail- centos. ks
rm -rf /etc/hostname
echo "$system_name" >> /etc/hostname