Commit Graph

2 Commits

Author SHA1 Message Date
Sandeep Yadav
08ca0a97d4 Change optparse to argparse
The optparse module has been deprecated since python version2.7[1].
This change switches remaining modules that was using optparse to the
newer argparse usage.

[1] https://docs.python.org/2/library/optparse.html

Change-Id: Iea9ef9dd4ac224a1f9fa5eaca0aa0959c802bcdd
2020-01-21 04:17:09 +00:00
Oliver Walsh
8a87cbcc34 Ensure nova-api is running before starting nova-compute containers
If nova-api is delayed starting then the nova_wait_for_compute_service
can timeout. A deployment using a slow/busy remote container repository is
particularly susceptible to this issue. To resolve this nova_compute and
nova_wait_for_compute_service have been postponed to step_5 and a task
has been added to step_4 to ensure nova_api is active before proceeding.

Change-Id: I6fcbc5cb5d4f3cbb618d9661d2a36c868e18b3d6
Closes-bug: #1842948
2019-10-01 11:11:44 +01:00