Commit Graph

10 Commits

Author SHA1 Message Date
Alex Kavanagh c1bfec91b9 Add *.charm to gitignore
This patch adds *.charm to the .gitignore to ensure that any built
artifacts are ignored.

Change-Id: Iaa75568a5d928f62839e130416357caebfcf0747
2022-04-18 21:08:58 +01:00
James Page b63f8687f9 Update for Python 3 execution
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
2017-11-16 11:19:58 -08:00
David Ames b9f1eb6101 Enable xenial-pike amulet test
Make default func27-smoke xenial-pike
Charm-helpers sync

Change-Id: I13ec07348121ce9908079947f7779e09ea89c443
2017-11-14 13:17:40 -08:00
James Page 86bd7da4db Fix upgrades from Liberty to Mitaka
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
2017-09-28 11:58:14 +01:00
James Page c287278881 Restart nova-api-metadata on restart_nonce changes
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
2016-04-14 10:04:13 +01:00
Liam Young ef90f88c5f Add pause/resume actions and sync charm-helpers
Adds pause and resume unit to the charm such that the
charm stays paused during maintenance operations.

Change-Id: I2ee7c87549279b29a9cb2e4e6747953cd6825b79
Partial-Bug: 1558642
2016-04-10 06:54:31 +00:00
Jenkins 3e994ce425 Merge "refactor: Drop unsupported configurations and code" 2016-03-03 17:13:05 +00:00
James Page 00f0edc70d refactor: Drop unsupported configurations and code
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
2016-03-03 11:31:11 +00:00
James Page 4050a40826 Resync charm-helpers
Change-Id: Iced6305e239114371518831a1e2c450e630152b4
2016-03-02 11:06:34 +00:00
uoscibot fce66caefa Adapt imports and metadata for github move 2016-02-29 10:48:15 +00:00