Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

Here are the lines after installing packstack and that controller.pp error: [root@itel ~]# packstack --answer-file=answer.txt --timeout=1200 ....................................................[ DONE] Applying 10.10.20.178_controller.pp 10.10.20.178_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 10.10.20.178_controller.pp Error: Systemd start for openstack-nova-scheduler failed! You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log 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 10.10.20.178. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://10.10.20.178/dashboard . 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:: [10.10.20.178] 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@10.10.20.178 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@10.10.20.178 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@10.10.20.178 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/run_setup.py", line 1022, in main _main(options, confFile, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 678, in _main runSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 645, in runSequences controller.runAllSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences sequence.run(config=self.CONF, messages=self.MESSAGES) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run step.run(config=config, messages=messages) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run self.function(config, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 214, in apply_puppet_manifest wait_for_puppet(currently_running, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 128, in wait_for_puppet validate_logfile(log) File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile raise PuppetError(message) PuppetError: Error appeared during Puppet run: 10.10.20.178_controller.pp Error: Systemd start for openstack-nova-scheduler failed! You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log

2017-05-23 09:37:32::INFO::shell::94::root:: [10.10.20.178] Executing script: rm -rf /var/tmp/packstack/185614c58b6b4387bab040ec181a1bc2

NTP is running. yum update is done. RDO also done, as well as openstak-packstack. firewalld, NetwrokManager, selinux are stopped.

[root@itellum2 ~]# uname -a Linux itellum2.local 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

[root@itellum2 ~]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [root@itellum2 ~]#

Please let me know any comments on how to resolved this issue.

Thanks in advance.

Christian

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

Here are the lines after installing packstack and that controller.pp error: [root@itel ~]# packstack --answer-file=answer.txt --timeout=1200 ....................................................[ DONE] Applying 10.10.20.178_controller.pp 10.10.20.178_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 10.10.20.178_controller.pp Error: Systemd start for openstack-nova-scheduler failed! You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log 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 10.10.20.178. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://10.10.20.178/dashboard . 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:: [10.10.20.178] 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@10.10.20.178 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@10.10.20.178 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@10.10.20.178 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/run_setup.py", line 1022, in main _main(options, confFile, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 678, in _main runSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 645, in runSequences controller.runAllSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences sequence.run(config=self.CONF, messages=self.MESSAGES) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run step.run(config=config, messages=messages) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run self.function(config, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 214, in apply_puppet_manifest wait_for_puppet(currently_running, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 128, in wait_for_puppet validate_logfile(log) File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile raise PuppetError(message) PuppetError: Error appeared during Puppet run: 10.10.20.178_controller.pp Error: Systemd start for openstack-nova-scheduler failed! You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log

2017-05-23 09:37:32::INFO::shell::94::root:: [10.10.20.178] Executing script: rm -rf /var/tmp/packstack/185614c58b6b4387bab040ec181a1bc2

NTP is running. yum update is done. RDO also done, as well as openstak-packstack. firewalld, NetwrokManager, selinux are stopped.

[root@itellum2 ~]# uname -a Linux itellum2.local 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

[root@itellum2 ~]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [root@itellum2 ~]#

Please let me know any comments on how to resolved this issue.

Thanks in advance.

Christian

tail -f nova-scheduler.log 2017-05-23 20:29:49.819 1099 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. 2017-05-23 20:29:49.821 1099 INFO oslo_service.periodic_task [-] Skipping periodic task _discover_hosts_in_cells because its interval is negative 2017-05-23 20:29:50.006 1099 CRITICAL nova [req-f887aa35-97b0-454b-a2bc-30ed72292290 - - - - -] ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova.aggregates' doesn't exist") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, aggregates.deleted_at AS aggregates_deleted_at, aggregates.deleted AS aggregates_deleted, aggregates.id AS aggregates_id, aggregates.uuid AS aggregates_uuid, aggregates.name AS aggregates_name, aggregate_hosts_1.created_at AS aggregate_hosts_1_created_at, aggregate_hosts_1.updated_at AS aggregate_hosts_1_updated_at, aggregate_hosts_1.deleted_at AS aggregate_hosts_1_deleted_at, aggregate_hosts_1.deleted AS aggregate_hosts_1_deleted, aggregate_hosts_1.id AS aggregate_hosts_1_id, aggregate_hosts_1.host AS aggregate_hosts_1_host, aggregate_hosts_1.aggregate_id AS aggregate_hosts_1_aggregate_id, aggregate_metadata_1.created_at AS aggregate_metadata_1_created_at, aggregate_metadata_1.updated_at AS aggregate_metadata_1_updated_at, aggregate_metadata_1.deleted_at AS aggregate_metadata_1_deleted_at, aggregate_metadata_1.deleted AS aggregate_metadata_1_deleted, aggregate_metadata_1.id AS aggregate_metadata_1_id, aggregate_metadata_1.key AS aggregate_metadata_1_key, aggregate_metadata_1.value AS aggregate_metadata_1_value, aggregate_metadata_1.aggregate_id AS aggregate_metadata_1_aggregate_id \nFROM aggregates LEFT OUTER JOIN aggregate_hosts AS aggregate_hosts_1 ON aggregates.id = aggregate_hosts_1.aggregate_id AND aggregate_hosts_1.deleted = %(deleted_1)s AND aggregates.deleted = %(deleted_2)s LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id AND aggregate_metadata_1.deleted = %(deleted_3)s AND aggregates.deleted = %(deleted_4)s \nWHERE aggregates.deleted = %(deleted_5)s'] [parameters: {u'deleted_5': 0, u'deleted_4': 0, u'deleted_3': 0, u'deleted_2': 0, u'deleted_1': 0}] 2017-05-23 20:29:50.006 1099 ERROR nova Traceback (most recent call last): 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module> 2017-05-23 20:29:50.006 1099 ERROR nova sys.exit(main()) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/scheduler.py", line 44, in main 2017-05-23 20:29:50.006 1099 ERROR nova topic=CONF.scheduler_topic) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 241, in create 2017-05-23 20:29:50.006 1099 ERROR nova periodic_interval_max=periodic_interval_max) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 117, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova self.manager = manager_class(host=self.host, args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 57, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova invoke_on_load=True).driver 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 61, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova warn_on_missing_entrypoint=warn_on_missing_entrypoint 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 194, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova self._on_load_failure_callback(self, ep, err) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 186, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 218, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova obj = plugin(invoke_args, *invoke_kwds) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 44, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova super(FilterScheduler, self).__init__(args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/driver.py", line 42, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova invoke_on_load=True).driver 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 61, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova warn_on_missing_entrypoint=warn_on_missing_entrypoint 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 194, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova self._on_load_failure_callback(self, ep, err) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 186, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 218, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova obj = plugin(invoke_args, *invoke_kwds) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/host_manager.py", line 353, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova self._init_aggregates() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/host_manager.py", line 366, in _init_aggregates 2017-05-23 20:29:50.006 1099 ERROR nova aggs = objects.AggregateList.get_all(elevated) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper 2017-05-23 20:29:50.006 1099 ERROR nova result = fn(cls, context, args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/objects/aggregate.py", line 552, in get_all 2017-05-23 20:29:50.006 1099 ERROR nova db_aggregates = db.aggregate_get_all(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/api.py", line 1865, in aggregate_get_all 2017-05-23 20:29:50.006 1099 ERROR nova return IMPL.aggregate_get_all(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 266, in wrapped 2017-05-23 20:29:50.006 1099 ERROR nova return f(context, args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 5930, in aggregate_get_all 2017-05-23 20:29:50.006 1099 ERROR nova return _aggregate_get_query(context, models.Aggregate).all() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2588, in all 2017-05-23 20:29:50.006 1099 ERROR nova return list(self) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2736, in __iter__ 2017-05-23 20:29:50.006 1099 ERROR nova return self._execute_and_instances(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2751, in _execute_and_instances 2017-05-23 20:29:50.006 1099 ERROR nova result = conn.execute(querycontext.statement, self._params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute 2017-05-23 20:29:50.006 1099 ERROR nova return meth(self, multiparams, params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection 2017-05-23 20:29:50.006 1099 ERROR nova return connection._execute_clauseelement(self, multiparams, params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement 2017-05-23 20:29:50.006 1099 ERROR nova compiled_sql, distilled_params 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context 2017-05-23 20:29:50.006 1099 ERROR nova context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception 2017-05-23 20:29:50.006 1099 ERROR nova util.raise_from_cause(newraise, exc_info) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause 2017-05-23 20:29:50.006 1099 ERROR nova reraise(type(exception), exception, tb=exc_tb) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context 2017-05-23 20:29:50.006 1099 ERROR nova context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute 2017-05-23 20:29:50.006 1099 ERROR nova cursor.execute(statement, parameters) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 166, in execute 2017-05-23 20:29:50.006 1099 ERROR nova result = self._query(query) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 322, in _query 2017-05-23 20:29:50.006 1099 ERROR nova conn.query(q) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 841, in query 2017-05-23 20:29:50.006 1099 ERROR nova self._affected_rows = self._read_query_result(unbuffered=unbuffered) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1029, in _read_query_result 2017-05-23 20:29:50.006 1099 ERROR nova result.read() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1312, in read 2017-05-23 20:29:50.006 1099 ERROR nova first_packet = self.connection._read_packet() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 991, in _read_packet 2017-05-23 20:29:50.006 1099 ERROR nova packet.check_error() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 393, in check_error 2017-05-23 20:29:50.006 1099 ERROR nova err.raise_mysql_exception(self._data) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/err.py", line 107, in raise_mysql_exception 2017-05-23 20:29:50.006 1099 ERROR nova raise errorclass(errno, errval) 2017-05-23 20:29:50.006 1099 ERROR nova ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova.aggregates' doesn't exist") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, aggregates.deleted_at AS aggregates_deleted_at, aggregates.deleted AS aggregates_deleted, aggregates.id AS aggregates_id, aggregates.uuid AS aggregates_uuid, aggregates.name AS aggregates_name, aggregate_hosts_1.created_at AS aggregate_hosts_1_created_at, aggregate_hosts_1.updated_at AS aggregate_hosts_1_updated_at, aggregate_hosts_1.deleted_at AS aggregate_hosts_1_deleted_at, aggregate_hosts_1.deleted AS aggregate_hosts_1_deleted, aggregate_hosts_1.id AS aggregate_hosts_1_id, aggregate_hosts_1.host AS aggregate_hosts_1_host, aggregate_hosts_1.aggregate_id AS aggregate_hosts_1_aggregate_id, aggregate_metadata_1.created_at AS aggregate_metadata_1_created_at, aggregate_metadata_1.updated_at AS aggregate_metadata_1_updated_at, aggregate_metadata_1.deleted_at AS aggregate_metadata_1_deleted_at, aggregate_metadata_1.deleted AS aggregate_metadata_1_deleted, aggregate_metadata_1.id AS aggregate_metadata_1_id, aggregate_metadata_1.key AS aggregate_metadata_1_key, aggregate_metadata_1.value AS aggregate_metadata_1_value, aggregate_metadata_1.aggregate_id AS aggregate_metadata_1_aggregate_id \nFROM aggregates LEFT OUTER JOIN aggregate_hosts AS aggregate_hosts_1 ON aggregates.id = aggregate_hosts_1.aggregate_id AND aggregate_hosts_1.deleted = %(deleted_1)s AND aggregates.deleted = %(deleted_2)s LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id AND aggregate_metadata_1.deleted = %(deleted_3)s AND aggregates.deleted = %(deleted_4)s \nWHERE aggregates.deleted = %(deleted_5)s'] [parameters: {u'deleted_5': 0, u'deleted_4': 0, u'deleted_3': 0, u'deleted_2': 0, u'deleted_1': 0}] 2017-05-23 20:29:50.006 1099 ERROR nova

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

Here are the lines after installing packstack and that controller.pp error: [root@itel ~]# packstack --answer-file=answer.txt --timeout=1200 ....................................................[ DONE] Applying 10.10.20.178_controller.pp 10.10.20.178_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 10.10.20.178_controller.pp Error: Systemd start for openstack-nova-scheduler failed! You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log 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 10.10.20.178. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://10.10.20.178/dashboard . 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:: [10.10.20.178] 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@10.10.20.178 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@10.10.20.178 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@10.10.20.178 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/run_setup.py", line 1022, in main _main(options, confFile, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 678, in _main runSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 645, in runSequences controller.runAllSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences sequence.run(config=self.CONF, messages=self.MESSAGES) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run step.run(config=config, messages=messages) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run self.function(config, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 214, in apply_puppet_manifest wait_for_puppet(currently_running, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 128, in wait_for_puppet validate_logfile(log) File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile raise PuppetError(message) PuppetError: Error appeared during Puppet run: 10.10.20.178_controller.pp Error: Systemd start for openstack-nova-scheduler failed! You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log

2017-05-23 09:37:32::INFO::shell::94::root:: [10.10.20.178] Executing script: rm -rf /var/tmp/packstack/185614c58b6b4387bab040ec181a1bc2

NTP is running. yum update is done. RDO also done, as well as openstak-packstack. firewalld, NetwrokManager, selinux are stopped.

[root@itellum2 ~]# uname -a Linux itellum2.local 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

[root@itellum2 ~]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [root@itellum2 ~]#

Please let me know any comments on how to resolved this issue.

Thanks in advance.

Christian

tail -f nova-scheduler.log 2017-05-23 20:29:49.819 1099 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. 2017-05-23 20:29:49.821 1099 INFO oslo_service.periodic_task [-] Skipping periodic task _discover_hosts_in_cells because its interval is negative 2017-05-23 20:29:50.006 1099 CRITICAL nova [req-f887aa35-97b0-454b-a2bc-30ed72292290 - - - - -] ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova.aggregates' doesn't exist") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, aggregates.deleted_at AS aggregates_deleted_at, aggregates.deleted AS aggregates_deleted, aggregates.id AS aggregates_id, aggregates.uuid AS aggregates_uuid, aggregates.name AS aggregates_name, aggregate_hosts_1.created_at AS aggregate_hosts_1_created_at, aggregate_hosts_1.updated_at AS aggregate_hosts_1_updated_at, aggregate_hosts_1.deleted_at AS aggregate_hosts_1_deleted_at, aggregate_hosts_1.deleted AS aggregate_hosts_1_deleted, aggregate_hosts_1.id AS aggregate_hosts_1_id, aggregate_hosts_1.host AS aggregate_hosts_1_host, aggregate_hosts_1.aggregate_id AS aggregate_hosts_1_aggregate_id, aggregate_metadata_1.created_at AS aggregate_metadata_1_created_at, aggregate_metadata_1.updated_at AS aggregate_metadata_1_updated_at, aggregate_metadata_1.deleted_at AS aggregate_metadata_1_deleted_at, aggregate_metadata_1.deleted AS aggregate_metadata_1_deleted, aggregate_metadata_1.id AS aggregate_metadata_1_id, aggregate_metadata_1.key AS aggregate_metadata_1_key, aggregate_metadata_1.value AS aggregate_metadata_1_value, aggregate_metadata_1.aggregate_id AS aggregate_metadata_1_aggregate_id \nFROM aggregates LEFT OUTER JOIN aggregate_hosts AS aggregate_hosts_1 ON aggregates.id = aggregate_hosts_1.aggregate_id AND aggregate_hosts_1.deleted = %(deleted_1)s AND aggregates.deleted = %(deleted_2)s LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id AND aggregate_metadata_1.deleted = %(deleted_3)s AND aggregates.deleted = %(deleted_4)s \nWHERE aggregates.deleted = %(deleted_5)s'] [parameters: {u'deleted_5': 0, u'deleted_4': 0, u'deleted_3': 0, u'deleted_2': 0, u'deleted_1': 0}] 2017-05-23 20:29:50.006 1099 ERROR nova Traceback (most recent call last): 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module> 2017-05-23 20:29:50.006 1099 ERROR nova sys.exit(main()) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/scheduler.py", line 44, in main 2017-05-23 20:29:50.006 1099 ERROR nova topic=CONF.scheduler_topic) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 241, in create 2017-05-23 20:29:50.006 1099 ERROR nova periodic_interval_max=periodic_interval_max) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 117, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova self.manager = manager_class(host=self.host, args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 57, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova invoke_on_load=True).driver 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 61, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova warn_on_missing_entrypoint=warn_on_missing_entrypoint 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 194, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova self._on_load_failure_callback(self, ep, err) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 186, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 218, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova obj = plugin(invoke_args, *invoke_kwds) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 44, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova super(FilterScheduler, self).__init__(args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/driver.py", line 42, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova invoke_on_load=True).driver 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 61, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova warn_on_missing_entrypoint=warn_on_missing_entrypoint 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 194, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova self._on_load_failure_callback(self, ep, err) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 186, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 218, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova obj = plugin(invoke_args, *invoke_kwds) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/host_manager.py", line 353, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova self._init_aggregates() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/host_manager.py", line 366, in _init_aggregates 2017-05-23 20:29:50.006 1099 ERROR nova aggs = objects.AggregateList.get_all(elevated) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper 2017-05-23 20:29:50.006 1099 ERROR nova result = fn(cls, context, args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/objects/aggregate.py", line 552, in get_all 2017-05-23 20:29:50.006 1099 ERROR nova db_aggregates = db.aggregate_get_all(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/api.py", line 1865, in aggregate_get_all 2017-05-23 20:29:50.006 1099 ERROR nova return IMPL.aggregate_get_all(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 266, in wrapped 2017-05-23 20:29:50.006 1099 ERROR nova return f(context, args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 5930, in aggregate_get_all 2017-05-23 20:29:50.006 1099 ERROR nova return _aggregate_get_query(context, models.Aggregate).all() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2588, in all 2017-05-23 20:29:50.006 1099 ERROR nova return list(self) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2736, in __iter__ 2017-05-23 20:29:50.006 1099 ERROR nova return self._execute_and_instances(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2751, in _execute_and_instances 2017-05-23 20:29:50.006 1099 ERROR nova result = conn.execute(querycontext.statement, self._params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute 2017-05-23 20:29:50.006 1099 ERROR nova return meth(self, multiparams, params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection 2017-05-23 20:29:50.006 1099 ERROR nova return connection._execute_clauseelement(self, multiparams, params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement 2017-05-23 20:29:50.006 1099 ERROR nova compiled_sql, distilled_params 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context 2017-05-23 20:29:50.006 1099 ERROR nova context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception 2017-05-23 20:29:50.006 1099 ERROR nova util.raise_from_cause(newraise, exc_info) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause 2017-05-23 20:29:50.006 1099 ERROR nova reraise(type(exception), exception, tb=exc_tb) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context 2017-05-23 20:29:50.006 1099 ERROR nova context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute 2017-05-23 20:29:50.006 1099 ERROR nova cursor.execute(statement, parameters) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 166, in execute 2017-05-23 20:29:50.006 1099 ERROR nova result = self._query(query) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 322, in _query 2017-05-23 20:29:50.006 1099 ERROR nova conn.query(q) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 841, in query 2017-05-23 20:29:50.006 1099 ERROR nova self._affected_rows = self._read_query_result(unbuffered=unbuffered) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1029, in _read_query_result 2017-05-23 20:29:50.006 1099 ERROR nova result.read() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1312, in read 2017-05-23 20:29:50.006 1099 ERROR nova first_packet = self.connection._read_packet() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 991, in _read_packet 2017-05-23 20:29:50.006 1099 ERROR nova packet.check_error() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 393, in check_error 2017-05-23 20:29:50.006 1099 ERROR nova err.raise_mysql_exception(self._data) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/err.py", line 107, in raise_mysql_exception 2017-05-23 20:29:50.006 1099 ERROR nova raise errorclass(errno, errval) 2017-05-23 20:29:50.006 1099 ERROR nova ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova.aggregates' doesn't exist") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, aggregates.deleted_at AS aggregates_deleted_at, aggregates.deleted AS aggregates_deleted, aggregates.id AS aggregates_id, aggregates.uuid AS aggregates_uuid, aggregates.name AS aggregates_name, aggregate_hosts_1.created_at AS aggregate_hosts_1_created_at, aggregate_hosts_1.updated_at AS aggregate_hosts_1_updated_at, aggregate_hosts_1.deleted_at AS aggregate_hosts_1_deleted_at, aggregate_hosts_1.deleted AS aggregate_hosts_1_deleted, aggregate_hosts_1.id AS aggregate_hosts_1_id, aggregate_hosts_1.host AS aggregate_hosts_1_host, aggregate_hosts_1.aggregate_id AS aggregate_hosts_1_aggregate_id, aggregate_metadata_1.created_at AS aggregate_metadata_1_created_at, aggregate_metadata_1.updated_at AS aggregate_metadata_1_updated_at, aggregate_metadata_1.deleted_at AS aggregate_metadata_1_deleted_at, aggregate_metadata_1.deleted AS aggregate_metadata_1_deleted, aggregate_metadata_1.id AS aggregate_metadata_1_id, aggregate_metadata_1.key AS aggregate_metadata_1_key, aggregate_metadata_1.value AS aggregate_metadata_1_value, aggregate_metadata_1.aggregate_id AS aggregate_metadata_1_aggregate_id \nFROM aggregates LEFT OUTER JOIN aggregate_hosts AS aggregate_hosts_1 ON aggregates.id = aggregate_hosts_1.aggregate_id AND aggregate_hosts_1.deleted = %(deleted_1)s AND aggregates.deleted = %(deleted_2)s LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id AND aggregate_metadata_1.deleted = %(deleted_3)s AND aggregates.deleted = %(deleted_4)s \nWHERE aggregates.deleted = %(deleted_5)s'] [parameters: {u'deleted_5': 0, u'deleted_4': 0, u'deleted_3': 0, u'deleted_2': 0, u'deleted_1': 0}] 2017-05-23 20:29:50.006 1099 ERROR nova

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

Here are the lines after installing packstack and that controller.pp error: [root@itel ~]# packstack --answer-file=answer.txt --timeout=1200 ....................................................[ DONE] Applying 10.10.20.178_controller.pp 10.10.20.178_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]

ERROR : Error appeared during Puppet run: 10.10.20.178_controller.pp Error: Systemd start for openstack-nova-scheduler failed! You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log 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 10.10.20.178. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://10.10.20.178/dashboard . 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:: [10.10.20.178] 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@10.10.20.178 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@10.10.20.178 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@10.10.20.178 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/run_setup.py", line 1022, in main _main(options, confFile, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 678, in _main runSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 645, in runSequences controller.runAllSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences sequence.run(config=self.CONF, messages=self.MESSAGES) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run step.run(config=config, messages=messages) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run self.function(config, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 214, in apply_puppet_manifest wait_for_puppet(currently_running, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 128, in wait_for_puppet validate_logfile(log) File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile raise PuppetError(message) PuppetError: Error appeared during Puppet run: 10.10.20.178_controller.pp Error: Systemd start for openstack-nova-scheduler failed! You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log

2017-05-23 09:37:32::INFO::shell::94::root:: [10.10.20.178] Executing script: rm -rf /var/tmp/packstack/185614c58b6b4387bab040ec181a1bc2

NTP is running. yum update is done. RDO also done, as well as openstak-packstack. firewalld, NetwrokManager, selinux are stopped.

[root@itellum2 ~]# uname -a Linux itellum2.local 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

[root@itellum2 ~]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [root@itellum2 ~]#

Please let me know any comments on how to resolved this issue.

Thanks in advance.

Christian

tail -f nova-scheduler.log 2017-05-23 20:29:49.819 1099 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. 2017-05-23 20:29:49.821 1099 INFO oslo_service.periodic_task [-] Skipping periodic task _discover_hosts_in_cells because its interval is negative 2017-05-23 20:29:50.006 1099 CRITICAL nova [req-f887aa35-97b0-454b-a2bc-30ed72292290 - - - - -] ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova.aggregates' doesn't exist") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, aggregates.deleted_at AS aggregates_deleted_at, aggregates.deleted AS aggregates_deleted, aggregates.id AS aggregates_id, aggregates.uuid AS aggregates_uuid, aggregates.name AS aggregates_name, aggregate_hosts_1.created_at AS aggregate_hosts_1_created_at, aggregate_hosts_1.updated_at AS aggregate_hosts_1_updated_at, aggregate_hosts_1.deleted_at AS aggregate_hosts_1_deleted_at, aggregate_hosts_1.deleted AS aggregate_hosts_1_deleted, aggregate_hosts_1.id AS aggregate_hosts_1_id, aggregate_hosts_1.host AS aggregate_hosts_1_host, aggregate_hosts_1.aggregate_id AS aggregate_hosts_1_aggregate_id, aggregate_metadata_1.created_at AS aggregate_metadata_1_created_at, aggregate_metadata_1.updated_at AS aggregate_metadata_1_updated_at, aggregate_metadata_1.deleted_at AS aggregate_metadata_1_deleted_at, aggregate_metadata_1.deleted AS aggregate_metadata_1_deleted, aggregate_metadata_1.id AS aggregate_metadata_1_id, aggregate_metadata_1.key AS aggregate_metadata_1_key, aggregate_metadata_1.value AS aggregate_metadata_1_value, aggregate_metadata_1.aggregate_id AS aggregate_metadata_1_aggregate_id \nFROM aggregates LEFT OUTER JOIN aggregate_hosts AS aggregate_hosts_1 ON aggregates.id = aggregate_hosts_1.aggregate_id AND aggregate_hosts_1.deleted = %(deleted_1)s AND aggregates.deleted = %(deleted_2)s LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id AND aggregate_metadata_1.deleted = %(deleted_3)s AND aggregates.deleted = %(deleted_4)s \nWHERE aggregates.deleted = %(deleted_5)s'] [parameters: {u'deleted_5': 0, u'deleted_4': 0, u'deleted_3': 0, u'deleted_2': 0, u'deleted_1': 0}] 2017-05-23 20:29:50.006 1099 ERROR nova Traceback (most recent call last): 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module> 2017-05-23 20:29:50.006 1099 ERROR nova sys.exit(main()) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/scheduler.py", line 44, in main 2017-05-23 20:29:50.006 1099 ERROR nova topic=CONF.scheduler_topic) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 241, in create 2017-05-23 20:29:50.006 1099 ERROR nova periodic_interval_max=periodic_interval_max) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 117, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova self.manager = manager_class(host=self.host, args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 57, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova invoke_on_load=True).driver 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 61, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova warn_on_missing_entrypoint=warn_on_missing_entrypoint 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 194, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova self._on_load_failure_callback(self, ep, err) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 186, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 218, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova obj = plugin(invoke_args, *invoke_kwds) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 44, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova super(FilterScheduler, self).__init__(args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/driver.py", line 42, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova invoke_on_load=True).driver 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 61, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova warn_on_missing_entrypoint=warn_on_missing_entrypoint 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 194, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova self._on_load_failure_callback(self, ep, err) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 186, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 218, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova obj = plugin(invoke_args, *invoke_kwds) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/host_manager.py", line 353, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova self._init_aggregates() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/host_manager.py", line 366, in _init_aggregates 2017-05-23 20:29:50.006 1099 ERROR nova aggs = objects.AggregateList.get_all(elevated) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper 2017-05-23 20:29:50.006 1099 ERROR nova result = fn(cls, context, args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/objects/aggregate.py", line 552, in get_all 2017-05-23 20:29:50.006 1099 ERROR nova db_aggregates = db.aggregate_get_all(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/api.py", line 1865, in aggregate_get_all 2017-05-23 20:29:50.006 1099 ERROR nova return IMPL.aggregate_get_all(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 266, in wrapped 2017-05-23 20:29:50.006 1099 ERROR nova return f(context, args, *kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 5930, in aggregate_get_all 2017-05-23 20:29:50.006 1099 ERROR nova return _aggregate_get_query(context, models.Aggregate).all() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2588, in all 2017-05-23 20:29:50.006 1099 ERROR nova return list(self) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2736, in __iter__ 2017-05-23 20:29:50.006 1099 ERROR nova return self._execute_and_instances(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2751, in _execute_and_instances 2017-05-23 20:29:50.006 1099 ERROR nova result = conn.execute(querycontext.statement, self._params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute 2017-05-23 20:29:50.006 1099 ERROR nova return meth(self, multiparams, params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection 2017-05-23 20:29:50.006 1099 ERROR nova return connection._execute_clauseelement(self, multiparams, params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement 2017-05-23 20:29:50.006 1099 ERROR nova compiled_sql, distilled_params 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context 2017-05-23 20:29:50.006 1099 ERROR nova context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception 2017-05-23 20:29:50.006 1099 ERROR nova util.raise_from_cause(newraise, exc_info) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause 2017-05-23 20:29:50.006 1099 ERROR nova reraise(type(exception), exception, tb=exc_tb) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context 2017-05-23 20:29:50.006 1099 ERROR nova context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute 2017-05-23 20:29:50.006 1099 ERROR nova cursor.execute(statement, parameters) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 166, in execute 2017-05-23 20:29:50.006 1099 ERROR nova result = self._query(query) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 322, in _query 2017-05-23 20:29:50.006 1099 ERROR nova conn.query(q) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 841, in query 2017-05-23 20:29:50.006 1099 ERROR nova self._affected_rows = self._read_query_result(unbuffered=unbuffered) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1029, in _read_query_result 2017-05-23 20:29:50.006 1099 ERROR nova result.read() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1312, in read 2017-05-23 20:29:50.006 1099 ERROR nova first_packet = self.connection._read_packet() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 991, in _read_packet 2017-05-23 20:29:50.006 1099 ERROR nova packet.check_error() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 393, in check_error 2017-05-23 20:29:50.006 1099 ERROR nova err.raise_mysql_exception(self._data) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/err.py", line 107, in raise_mysql_exception 2017-05-23 20:29:50.006 1099 ERROR nova raise errorclass(errno, errval) 2017-05-23 20:29:50.006 1099 ERROR nova ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova.aggregates' doesn't exist") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, aggregates.deleted_at AS aggregates_deleted_at, aggregates.deleted AS aggregates_deleted, aggregates.id AS aggregates_id, aggregates.uuid AS aggregates_uuid, aggregates.name AS aggregates_name, aggregate_hosts_1.created_at AS aggregate_hosts_1_created_at, aggregate_hosts_1.updated_at AS aggregate_hosts_1_updated_at, aggregate_hosts_1.deleted_at AS aggregate_hosts_1_deleted_at, aggregate_hosts_1.deleted AS aggregate_hosts_1_deleted, aggregate_hosts_1.id AS aggregate_hosts_1_id, aggregate_hosts_1.host AS aggregate_hosts_1_host, aggregate_hosts_1.aggregate_id AS aggregate_hosts_1_aggregate_id, aggregate_metadata_1.created_at AS aggregate_metadata_1_created_at, aggregate_metadata_1.updated_at AS aggregate_metadata_1_updated_at, aggregate_metadata_1.deleted_at AS aggregate_metadata_1_deleted_at, aggregate_metadata_1.deleted AS aggregate_metadata_1_deleted, aggregate_metadata_1.id AS aggregate_metadata_1_id, aggregate_metadata_1.key AS aggregate_metadata_1_key, aggregate_metadata_1.value AS aggregate_metadata_1_value, aggregate_metadata_1.aggregate_id AS aggregate_metadata_1_aggregate_id \nFROM aggregates LEFT OUTER JOIN aggregate_hosts AS aggregate_hosts_1 ON aggregates.id = aggregate_hosts_1.aggregate_id AND aggregate_hosts_1.deleted = %(deleted_1)s AND aggregates.deleted = %(deleted_2)s LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id AND aggregate_metadata_1.deleted = %(deleted_3)s AND aggregates.deleted = %(deleted_4)s \nWHERE aggregates.deleted = %(deleted_5)s'] [parameters: {u'deleted_5': 0, u'deleted_4': 0, u'deleted_3': 0, u'deleted_2': 0, u'deleted_1': 0}] 2017-05-23 20:29:50.006 1099 ERROR nova

click to hide/show revision 5
None

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

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

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

] ERROR : Error appeared during Puppet run: 10.10.20.178_controller.pp Error: Systemd start for openstack-nova-scheduler failed! You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log 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 10.10.20.178. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://10.10.20.178/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. [root@itel ~]#

And following is the open-setup.log:

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

/var/tmp/packstack/20170523-092723-rHEVlb/openstack-setup.log 2017-05-23 09:30:10::INFO::shell::94::root:: [10.10.20.178] 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@10.10.20.178 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@10.10.20.178 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@10.10.20.178 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/run_setup.py", line 1022, in main _main(options, confFile, logFile) File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 678, in _main runSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 645, in runSequences controller.runAllSequences() File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences sequence.run(config=self.CONF, messages=self.MESSAGES) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run step.run(config=config, messages=messages) File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run self.function(config, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 214, in apply_puppet_manifest wait_for_puppet(currently_running, messages) File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 128, in wait_for_puppet validate_logfile(log) File "/usr/lib/python2.7/site-packages/packstack/modules/puppet.py", line 107, in validate_logfile raise PuppetError(message) PuppetError: Error appeared during Puppet run: 10.10.20.178_controller.pp Error: Systemd start for openstack-nova-scheduler failed! You will find full trace in log /var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log

/var/tmp/packstack/20170523-092723-rHEVlb/manifests/10.10.20.178_controller.pp.log 2017-05-23 09:37:32::INFO::shell::94::root:: [10.10.20.178] Executing script: rm -rf /var/tmp/packstack/185614c58b6b4387bab040ec181a1bc2

/var/tmp/packstack/185614c58b6b4387bab040ec181a1bc2 NTP is running. yum update is done. RDO also done, as well as openstak-packstack. firewalld, NetwrokManager, selinux are stopped.

stopped. [root@itellum2 ~]# uname -a Linux itellum2.local 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

GNU/Linux [root@itellum2 ~]# cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) [root@itellum2 ~]#

Please let me know any comments on how to resolved this issue.

issue. Thanks in advance.

Christian

advance. Christian tail -f nova-scheduler.log 2017-05-23 20:29:49.819 1099 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. 2017-05-23 20:29:49.821 1099 INFO oslo_service.periodic_task [-] Skipping periodic task _discover_hosts_in_cells because its interval is negative 2017-05-23 20:29:50.006 1099 CRITICAL nova [req-f887aa35-97b0-454b-a2bc-30ed72292290 - - - - -] ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova.aggregates' doesn't exist") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, aggregates.deleted_at AS aggregates_deleted_at, aggregates.deleted AS aggregates_deleted, aggregates.id AS aggregates_id, aggregates.uuid AS aggregates_uuid, aggregates.name AS aggregates_name, aggregate_hosts_1.created_at AS aggregate_hosts_1_created_at, aggregate_hosts_1.updated_at AS aggregate_hosts_1_updated_at, aggregate_hosts_1.deleted_at AS aggregate_hosts_1_deleted_at, aggregate_hosts_1.deleted AS aggregate_hosts_1_deleted, aggregate_hosts_1.id AS aggregate_hosts_1_id, aggregate_hosts_1.host AS aggregate_hosts_1_host, aggregate_hosts_1.aggregate_id AS aggregate_hosts_1_aggregate_id, aggregate_metadata_1.created_at AS aggregate_metadata_1_created_at, aggregate_metadata_1.updated_at AS aggregate_metadata_1_updated_at, aggregate_metadata_1.deleted_at AS aggregate_metadata_1_deleted_at, aggregate_metadata_1.deleted AS aggregate_metadata_1_deleted, aggregate_metadata_1.id AS aggregate_metadata_1_id, aggregate_metadata_1.key aggregate_metadata_1.`key` AS aggregate_metadata_1_key, aggregate_metadata_1.value AS aggregate_metadata_1_value, aggregate_metadata_1.aggregate_id AS aggregate_metadata_1_aggregate_id \nFROM aggregates LEFT OUTER JOIN aggregate_hosts AS aggregate_hosts_1 ON aggregates.id = aggregate_hosts_1.aggregate_id AND aggregate_hosts_1.deleted = %(deleted_1)s AND aggregates.deleted = %(deleted_2)s LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id AND aggregate_metadata_1.deleted = %(deleted_3)s AND aggregates.deleted = %(deleted_4)s \nWHERE aggregates.deleted = %(deleted_5)s'] [parameters: {u'deleted_5': 0, u'deleted_4': 0, u'deleted_3': 0, u'deleted_2': 0, u'deleted_1': 0}] 2017-05-23 20:29:50.006 1099 ERROR nova Traceback (most recent call last): 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module> 2017-05-23 20:29:50.006 1099 ERROR nova sys.exit(main()) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/scheduler.py", line 44, in main 2017-05-23 20:29:50.006 1099 ERROR nova topic=CONF.scheduler_topic) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 241, in create 2017-05-23 20:29:50.006 1099 ERROR nova periodic_interval_max=periodic_interval_max) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 117, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova self.manager = manager_class(host=self.host, args, *kwargs) *args, **kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 57, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova invoke_on_load=True).driver 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 61, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova warn_on_missing_entrypoint=warn_on_missing_entrypoint 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 194, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova self._on_load_failure_callback(self, ep, err) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 186, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 218, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova obj = plugin(invoke_args, *invoke_kwds) plugin(*invoke_args, **invoke_kwds) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 44, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova super(FilterScheduler, self).__init__(args, *kwargs) self).__init__(*args, **kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/driver.py", line 42, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova invoke_on_load=True).driver 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/driver.py", line 61, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova warn_on_missing_entrypoint=warn_on_missing_entrypoint 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 194, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova self._on_load_failure_callback(self, ep, err) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 186, in _load_plugins 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova verify_requirements, 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 218, in _load_one_plugin 2017-05-23 20:29:50.006 1099 ERROR nova obj = plugin(invoke_args, *invoke_kwds) plugin(*invoke_args, **invoke_kwds) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/host_manager.py", line 353, in __init__ 2017-05-23 20:29:50.006 1099 ERROR nova self._init_aggregates() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/scheduler/host_manager.py", line 366, in _init_aggregates 2017-05-23 20:29:50.006 1099 ERROR nova aggs = objects.AggregateList.get_all(elevated) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper 2017-05-23 20:29:50.006 1099 ERROR nova result = fn(cls, context, args, *kwargs) *args, **kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/objects/aggregate.py", line 552, in get_all 2017-05-23 20:29:50.006 1099 ERROR nova db_aggregates = db.aggregate_get_all(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/api.py", line 1865, in aggregate_get_all 2017-05-23 20:29:50.006 1099 ERROR nova return IMPL.aggregate_get_all(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 266, in wrapped 2017-05-23 20:29:50.006 1099 ERROR nova return f(context, args, *kwargs) *args, **kwargs) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/api.py", line 5930, in aggregate_get_all 2017-05-23 20:29:50.006 1099 ERROR nova return _aggregate_get_query(context, models.Aggregate).all() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2588, in all 2017-05-23 20:29:50.006 1099 ERROR nova return list(self) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2736, in __iter__ 2017-05-23 20:29:50.006 1099 ERROR nova return self._execute_and_instances(context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 2751, in _execute_and_instances 2017-05-23 20:29:50.006 1099 ERROR nova result = conn.execute(querycontext.statement, self._params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute 2017-05-23 20:29:50.006 1099 ERROR nova return meth(self, multiparams, params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection 2017-05-23 20:29:50.006 1099 ERROR nova return connection._execute_clauseelement(self, multiparams, params) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement 2017-05-23 20:29:50.006 1099 ERROR nova compiled_sql, distilled_params 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context 2017-05-23 20:29:50.006 1099 ERROR nova context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception 2017-05-23 20:29:50.006 1099 ERROR nova util.raise_from_cause(newraise, exc_info) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause 2017-05-23 20:29:50.006 1099 ERROR nova reraise(type(exception), exception, tb=exc_tb) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context 2017-05-23 20:29:50.006 1099 ERROR nova context) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute 2017-05-23 20:29:50.006 1099 ERROR nova cursor.execute(statement, parameters) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 166, in execute 2017-05-23 20:29:50.006 1099 ERROR nova result = self._query(query) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 322, in _query 2017-05-23 20:29:50.006 1099 ERROR nova conn.query(q) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 841, in query 2017-05-23 20:29:50.006 1099 ERROR nova self._affected_rows = self._read_query_result(unbuffered=unbuffered) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1029, in _read_query_result 2017-05-23 20:29:50.006 1099 ERROR nova result.read() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1312, in read 2017-05-23 20:29:50.006 1099 ERROR nova first_packet = self.connection._read_packet() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 991, in _read_packet 2017-05-23 20:29:50.006 1099 ERROR nova packet.check_error() 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 393, in check_error 2017-05-23 20:29:50.006 1099 ERROR nova err.raise_mysql_exception(self._data) 2017-05-23 20:29:50.006 1099 ERROR nova File "/usr/lib/python2.7/site-packages/pymysql/err.py", line 107, in raise_mysql_exception 2017-05-23 20:29:50.006 1099 ERROR nova raise errorclass(errno, errval) 2017-05-23 20:29:50.006 1099 ERROR nova ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova.aggregates' doesn't exist") [SQL: u'SELECT aggregates.created_at AS aggregates_created_at, aggregates.updated_at AS aggregates_updated_at, aggregates.deleted_at AS aggregates_deleted_at, aggregates.deleted AS aggregates_deleted, aggregates.id AS aggregates_id, aggregates.uuid AS aggregates_uuid, aggregates.name AS aggregates_name, aggregate_hosts_1.created_at AS aggregate_hosts_1_created_at, aggregate_hosts_1.updated_at AS aggregate_hosts_1_updated_at, aggregate_hosts_1.deleted_at AS aggregate_hosts_1_deleted_at, aggregate_hosts_1.deleted AS aggregate_hosts_1_deleted, aggregate_hosts_1.id AS aggregate_hosts_1_id, aggregate_hosts_1.host AS aggregate_hosts_1_host, aggregate_hosts_1.aggregate_id AS aggregate_hosts_1_aggregate_id, aggregate_metadata_1.created_at AS aggregate_metadata_1_created_at, aggregate_metadata_1.updated_at AS aggregate_metadata_1_updated_at, aggregate_metadata_1.deleted_at AS aggregate_metadata_1_deleted_at, aggregate_metadata_1.deleted AS aggregate_metadata_1_deleted, aggregate_metadata_1.id AS aggregate_metadata_1_id, aggregate_metadata_1.key aggregate_metadata_1.`key` AS aggregate_metadata_1_key, aggregate_metadata_1.value AS aggregate_metadata_1_value, aggregate_metadata_1.aggregate_id AS aggregate_metadata_1_aggregate_id \nFROM aggregates LEFT OUTER JOIN aggregate_hosts AS aggregate_hosts_1 ON aggregates.id = aggregate_hosts_1.aggregate_id AND aggregate_hosts_1.deleted = %(deleted_1)s AND aggregates.deleted = %(deleted_2)s LEFT OUTER JOIN aggregate_metadata AS aggregate_metadata_1 ON aggregates.id = aggregate_metadata_1.aggregate_id AND aggregate_metadata_1.deleted = %(deleted_3)s AND aggregates.deleted = %(deleted_4)s \nWHERE aggregates.deleted = %(deleted_5)s'] [parameters: {u'deleted_5': 0, u'deleted_4': 0, u'deleted_3': 0, u'deleted_2': 0, u'deleted_1': 0}] 2017-05-23 20:29:50.006 1099 ERROR nova

nova