Nova-scheduler & Nova-cert stopped after server restart

Bug #1456474 reported by Naga Phani
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

Hi All,

1. OpenStack Juno

2. Both nova-scheduler & Nova-cert services are in stop/waiting state after the server restart.

root@osjuno:~# service nova-cert status
nova-cert stop/waiting
root@osjuno:~# service nova-scheduler status
nova-scheduler stop/waiting

root@osjuno:~# nova service-list
+------------------+----------+----------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+----------+----------+---------+-------+----------------------------+-----------------+
| nova-cert | icehouse | internal | enabled | down | 2015-05-19T06:45:41.000000 | - |
| nova-consoleauth | icehouse | internal | enabled | up | 2015-05-19T06:47:39.000000 | - |
| nova-scheduler | icehouse | internal | enabled | down | 2015-05-19T06:45:49.000000 | - |
| nova-conductor | icehouse | internal | enabled | up | 2015-05-19T06:47:33.000000 | - |
| nova-compute | icehouse | nova | enabled | up | 2015-05-19T06:47:40.000000 | - |
| nova-network | icehouse | internal | enabled | up | 2015-05-19T06:47:42.000000 | - |
+------------------+----------+----------+---------+-------+----------------------------+-----------------+

3. This is the issue we are currently facing in Juno version.

In order to resolve this issue, we are starting both the services 'nova-cert & nova-scheduler' in boot process by adding:-
service nova-cert start
service nova-scheduler restart
in '/etc/rc.local' file.

4. Is it the correct procedure to do that & why both these services are not starting after reboot.

or Is it a new bug in Juno version under nova?

Thanks & Regards,
Naga Phani.

Revision history for this message
Xav Paice (xavpaice) wrote :

Please advise:

What distro/package source are you deploying from?
Is this a new deployment, or an older one that's been upgraded?
Does the service attempt to start on boot, then fail and you have to restart afterwards, or does it never even attempt?

Changed in nova:
status: New → Incomplete
Revision history for this message
lacroix1547 (lacroix1547) wrote :

This is a known issue on the web. See links http://stackblog.net/?p=14

I am on ubuntu 14.04. I too had that issue and I fixed it doing as that link suggests. My installation is all new. I made it following the instructions on http://docs.openstack.org/juno/install-guide/install/apt/content/index.html

The services do attempt to start on boot, then fail with "Can't connect to MySQL server on 'controller' (111)".

They dont seem to try to restart.

Changed in nova:
status: Incomplete → New
Revision history for this message
lacroix1547 (lacroix1547) wrote :

I have just had the same issue again but with heat-engine.

Revision history for this message
Naga Phani (nagaphani832) wrote :

I am deploying OpenStack Juno directly. Its not a upgraded one.
Both Nova-cert & nova-scheduler failed to start after the system reboot.

After if we check the service status it will be disabled and need to start the services manually.

Thanks & Regards,
Naga Phani

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Naga,

Where are you getting the openstack code from? Ubuntu Cloud Archive? or RDO packages or somewhere else?

Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

@Naga Phani

Additional information is necessary to continue with this bug.
Would you please

* add the log file of the nova-cert service
* add the log file of the nova-scheduler service
* describe where you get the code from ("ubuntu cloud archive" or
  "RDO package" or somewhere else)

Thanks in advance!
Markus Zoeller (markus_z)

Changed in nova:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
Revision history for this message
George (lmihaiescu) wrote :

The issue manifests on Ubuntu 14.04 running Openstack Juno with the following packages installed:

root@controller2:/etc/openstack-dashboard# dpkg -l | egrep "nova-scheduler|nova-cert"
ii nova-cert 1:2014.2.4-0ubuntu1~cloud4 all OpenStack Compute - certificate management
ii nova-scheduler 1:2014.2.4-0ubuntu1~cloud4 all OpenStack Compute - virtual machine scheduler

Changed in nova:
status: Expired → Confirmed
Revision history for this message
John Garbutt (johngarbutt) wrote :

So please report this issue with the package author. This is not an upstream bug, we have no packing upstream.

Changed in nova:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.