File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 681681# ---------------------------------------
682682
683683# Start glance and nova
684- for s in openstack-glance-api openstack-glance-registry \
685- openstack-nova-api openstack-nova-conductor openstack-nova-scheduler \
686- openstack-nova-novncproxy openstack-nova-consoleauth
684+ for s in openstack-glance-api openstack-glance-registry
687685do
688686 start_and_enable_service $s
689687done
690688
691- if [ " x$node_is_compute " = " xyes" ]; then
692- start_and_enable_service openstack-nova-compute
693- fi
689+ # Setup api_db
690+ nova-manage api_db sync
694691
695692# migrate data directly
696693nova-manage db online_data_migrations
697694
695+ # Start nova (Conductor first, API last!)
696+ for s in openstack-nova-conductor openstack-nova-scheduler \
697+ openstack-nova-novncproxy openstack-nova-consoleauth \
698+ openstack-nova-api
699+ do
700+ start_and_enable_service $s
701+ done
702+
703+ if [ " x$node_is_compute " = " xyes" ]; then
704+ start_and_enable_service openstack-nova-compute
705+ fi
706+
698707# do cell setup (mandatory since Ocata)
699708nova-manage cell_v2 simple_cell_setup --transport-url rabbit://openstack:$pw @$IP
700709nova-manage cell_v2 discover_hosts --verbose
701710
702- # ## Figure out why this restart is needed ??!
703- # 2018-08-30: without the compute node is not registered properly
704- for s in openstack-nova-conductor openstack-nova-scheduler; do
705- systemctl restart $s
706- done
707711
708712if [ " x$with_tempest " = " xyes" ]; then
709713 start_and_enable_service openstack-ec2-api-s3
You can’t perform that action at this time.
0 commit comments