Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for master cleanvm #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions scripts/openstack-quickstart-demosetup
Original file line number Diff line number Diff line change
Expand Up @@ -685,29 +685,32 @@ fi
#---------------------------------------

# Start glance and nova
for s in openstack-glance-api openstack-glance-registry \
openstack-nova-api openstack-nova-conductor openstack-nova-scheduler \
openstack-nova-novncproxy
for s in openstack-glance-api openstack-glance-registry
do
start_and_enable_service $s
done

if [ "x$node_is_compute" = "xyes" ]; then
start_and_enable_service openstack-nova-compute
fi
# Setup api_db
nova-manage api_db sync

# migrate data directly
nova-manage db online_data_migrations

# Start nova (Conductor first, API last!)
for s in openstack-nova-conductor openstack-nova-scheduler \
openstack-nova-novncproxy openstack-nova-api
do
start_and_enable_service $s
done

if [ "x$node_is_compute" = "xyes" ]; then
start_and_enable_service openstack-nova-compute
fi

# do cell setup (mandatory since Ocata)
nova-manage cell_v2 simple_cell_setup --transport-url rabbit://openstack:$pw@$IP
nova-manage cell_v2 discover_hosts --verbose

### Figure out why this restart is needed ??!
# 2018-08-30: without the compute node is not registered properly
for s in openstack-nova-conductor openstack-nova-scheduler; do
systemctl restart $s
done

if [ "x$with_tempest" = "xyes" ]; then
start_and_enable_service openstack-ec2-api-s3
Expand Down