Skip to content

Instantly share code, notes, and snippets.

@nuriel77
Created February 1, 2017 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuriel77/8f51c6229b70160fcd739a1b27809790 to your computer and use it in GitHub Desktop.
Save nuriel77/8f51c6229b70160fcd739a1b27809790 to your computer and use it in GitHub Desktop.
fix silly overcloud bug
for i in {0..2}; do ssh heat-admin@controller${i} "sudo systemctl enable openstack-cinder-api && sudo systemctl restart openstack-cinder-api && sudo sed -i 's/^enabled_apis=metadata/enabled_apis=metadata,osapi_compute/' /etc/nova/nova.conf && sudo systemctl restart openstack-nova-api";done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment