how to resolved: "Error: Systemd start for openstack-nova-scheduler failed!" [closed]

asked 2017-05-23 09:24:24 -0600

cvonhausen gravatar image

updated 2019-01-30 06:16:07 -0600

yasin lachiny gravatar image

Here are the lines after installing packstack and that controller.pp error:

[root@itel ~]# packstack --answer-file=answer.txt --timeout=1200
....................................................[ DONE]
Applying                       [ ERROR ]           
Applying Puppet manifests                         [ ERROR ]

ERROR : Error appeared during Puppet run:
Error: Systemd start for openstack-nova-scheduler failed!
You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/
Please check log file /var/tmp/packstack/20170523-092723-rHEVlb/openstack-setup.log for more information
Additional information:
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * File /root/keystonerc_admin has been created on OpenStack client host To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
[root@itel ~]# 

And following is the open-setup.log:

[root@itel ~]# tail -f /var/tmp/packstack/20170523-092723-rHEVlb/openstack-setup.log

2017-05-23 09:30:10::INFO::shell::94::root:: [] Executing script:
echo $HOME
2017-05-23 09:30:19::INFO::shell::94::root:: [localhost] Executing script:
cd /var/tmp/packstack/20170523-092723-rHEVlb/hieradata
tar --dereference -cpzf - ../hieradata | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@ tar -C /var/tmp/packstack/185614c58b6b4387bab040ec181a1bc2 -xpzf -
cd /usr/lib/python2.7/site-packages/packstack/puppet
cd /var/tmp/packstack/20170523-092723-rHEVlb/manifests
tar --dereference -cpzf - ../manifests | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@ tar -C /var/tmp/packstack/185614c58b6b4387bab040ec181a1bc2 -xpzf -
cd /usr/share/openstack-puppet/modules
tar --dereference -cpzf - aodh apache ceilometer certmonger cinder concat firewall glance gnocchi heat horizon inifile ironic keystone magnum manila memcached mongodb mysql neutron nova nssdb openstack openstacklib oslo packstack panko rabbitmq redis remote rsync sahara ssh stdlib swift sysctl tempest trove vcsrepo vswitch xinetd | ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@ tar -C /var/tmp/packstack/185614c58b6b4387bab040ec181a1bc2/modules -xpzf -

2017-05-23 09:37:32::ERROR::run_setup::1027::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 1022, in main
    _main(options, confFile, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 678, in _main
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 645, in runSequences
  File "/usr/lib/python2.7/site-packages/packstack/installer/", line 81, in runAllSequences, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/", line 109, in run, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/", line 50, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/", line 214, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/", line 128, in wait_for_puppet
  File ...
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by mary_grace
close date 2018-06-25 22:06:54.242536


Check these: /var/tmp/packstack/20170523-092723-rHEVlb/manifests/ systemctl status openstack-nova-scheduler. /var/log/nova/nova-scheduler.log.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-23 17:38:33 -0600 )edit

Hi Bernd, There is a long and repetitive error(s)scrolling every 3 sec on that nova-scheduler.logs: 2017-05-23 20:29:50.006 1099 ERROR nova ProgrammingError: (pymysql.err.ProgrammingError)... That I cannot copy paste here due some restriction......:(

cvonhausen gravatar imagecvonhausen ( 2017-05-23 19:40:56 -0600 )edit

Hi Bernd, I was able to attached copy/paste the nova-scheduler.log to the original issue description, when you have a chance please let me know any comments.. Thanks Christian

cvonhausen gravatar imagecvonhausen ( 2017-05-23 19:46:23 -0600 )edit

"Table 'nova.aggregates' doesn't exist" - something went wrong with the DB initialization. Perhaps the packstack log contains information about it. Unfortunately that's all I can say. I added the tag RDO to your question, hoping the Packstack team will pick it up.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-23 23:50:41 -0600 )edit

Hello. Two months have passed since that moment and many people still facing with this issue (and me too). So, do you have any updates on this?

kostyanius gravatar imagekostyanius ( 2017-08-01 22:22:31 -0600 )edit

Every 5.0s: journalctl -xe | grep -i error Wed Aug 2 06:24:15 2017

Aug 02 06:21:12 localhost.localdomain python[127486]: ERROR:scss.ast:Function not found: function-exists:1 Aug 02 06:21:12 localhost.localdomain python[12748

kostyanius gravatar imagekostyanius ( 2017-08-01 22:24:34 -0600 )edit

systemctl status openstack-nova-scheduler.service ‚óŹ openstack-nova-scheduler.service - OpenStack Nova Scheduler Server Loaded: loaded (/usr/lib/systemd/system/openstack-nova-scheduler.service; disabled; vendor preset: disabled) Active: activating (start) since Wed 2017-08-02 05:59:19 EEST; 2s

kostyanius gravatar imagekostyanius ( 2017-08-01 22:34:09 -0600 )edit

cat /var/log/nova/nova-scheduler.log 2017-08-02 06:12:14.982 110231 ERROR oslo_db.sqlalchemy.exc_filters raise errorclass(errno, errval) 2017-08-02 06:12:14.982 110231 ERROR oslo_db.sqlalchemy.exc_filters InternalError: (1054, u"Unknown column 'aggregates.uuid' in 'field list'")

kostyanius gravatar imagekostyanius ( 2017-08-01 22:37:19 -0600 )edit

cat /var/tmp/packstack/20170802-065111-A1Sn4r/manifests/ Error: Failed to apply catalog: Command: 'openstack ["flavor", "list", "--quiet", "--format", "csv", ["--long", "--all"]]' has been running for more than 40 seconds (tried 4, for a total of 170 seconds)

kostyanius gravatar imagekostyanius ( 2017-08-01 23:43:55 -0600 )edit