Kolla provides production-ready containers and deployment tools for operating OpenStack clouds
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
327 B

  1. #!/bin/bash
  2. if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
  3. nova-manage db sync --local_cell
  4. nova-manage db online_data_migrations
  5. exit 0
  6. fi
  7. if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
  8. nova-manage db sync --local_cell
  9. exit 0
  10. fi
  11. if [[ "${!KOLLA_OSM[@]}" ]]; then
  12. nova-manage db online_data_migrations
  13. exit 0
  14. fi