File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 686686# ---------------------------------------
687687
688688# Start glance and nova
689- for s in openstack-glance-api openstack-glance-registry \
690- openstack-nova-api openstack-nova-conductor openstack-nova-scheduler \
691- openstack-nova-novncproxy openstack-nova-consoleauth
689+ for s in openstack-glance-api openstack-glance-registry
692690do
693691 start_and_enable_service $s
694692done
695693
696- if [ " x$node_is_compute " = " xyes" ]; then
697- start_and_enable_service openstack-nova-compute
698- fi
694+ # Setup api_db
695+ nova-manage api_db sync
699696
700697# migrate data directly
701698nova-manage db online_data_migrations
702699
700+ # Start nova (Conductor first, API last!)
701+ for s in openstack-nova-conductor openstack-nova-scheduler \
702+ openstack-nova-novncproxy openstack-nova-consoleauth \
703+ openstack-nova-api
704+ do
705+ start_and_enable_service $s
706+ done
707+
708+ if [ " x$node_is_compute " = " xyes" ]; then
709+ start_and_enable_service openstack-nova-compute
710+ fi
711+
703712# do cell setup (mandatory since Ocata)
704713nova-manage cell_v2 simple_cell_setup --transport-url rabbit://openstack:$pw @$IP
705714nova-manage cell_v2 discover_hosts --verbose
706715
707- # ## Figure out why this restart is needed ??!
708- # 2018-08-30: without the compute node is not registered properly
709- for s in openstack-nova-conductor openstack-nova-scheduler; do
710- systemctl restart $s
711- done
712716
713717if [ " x$with_tempest " = " xyes" ]; then
714718 start_and_enable_service openstack-ec2-api-s3
You can’t perform that action at this time.
0 commit comments