Refactor codebase and unit tests to default to execution
under Python 3.
Drop install shim as Python 3 is always present >= trusty.
Drop legacy dhcp and network reassignment code from charm as
a) this relies on a py3 neutronclient (not supported on older
releases) and b) this function was superceeded by the ha-legacy-mode
and then neutron router and network HA built in functionality.
Use charmhelper provided get_host_ip as this superceeds the in
charm version of this function.
Change-Id: I0b28bf0851d44e85b1e856cbd97b71099faa76ae
Ensure that any new configuration files are written to disk
prior to performing the package upgrade between OpenStack
releases; this ensures that the new versions of the daemons
start with the correct configuration from initial start on
package post installation configuration.
Change-Id: Ie5f3757e6c3d11fbb2d201b1f7a28e274a5f03e4
Closes-Bug: 1634923
The nova-cloud-controller presents a restart_nonce key on the
quantum-network-service relation once db migration has been
completed and the nova-conductor service is able to respond to
RPC calls.
Restart the nova-api-metadata when this data changes to ensure
a running service post deployment.
Change-Id: Iafc27fbb2a70e3195fc189e4056a1ca58ff6b663
Closes-Bug: 1547122
Adds pause and resume unit to the charm such that the
charm stays paused during maintenance operations.
Change-Id: I2ee7c87549279b29a9cb2e4e6747953cd6825b79
Partial-Bug: 1558642
Includes dropping support for quantum, nvp plugin (renamed
nsx long ago) and generally refactoring the unit tests
around no longer having to deal with neutron and quantum in
the same codebase.
Drop support for database connections - these are no longer
required as all DB access is now via RPC to nova-conductor
or neutron-server.
Roll-up configuration file templates < icehouse, remove any
that are no longer required.
Refactor basic_deployment a bit as it was using the shared-db
relation to retrieve the n-gateway units private-address.
Change-Id: I22957c0e21c4dd49e5aa74795173b4fc8f043f55