Commit Graph

6 Commits

Author SHA1 Message Date
Vladimir Grevtsev 5eee070465 Charm-helpers sync
This change is a result of "make sync" for neutron-api charm.

Test changes also applied: removing an "charmhelpers/tests" sync
due to recent charm changes (see commit 8937059 for details) and
keystone auth_uri/auth_url removed from test since it has to been
checked later by functional tests.

Change-Id: I108497e50f28fc2a84e035f520fea4452edd91db
2018-10-10 19:24:48 +03:00
Frode Nordahl 24cd3112fd Update repo to do ch-sync from Git
Change-Id: Ieb521eee80a3f22db5f6d8ed7b436f22aade7233
2017-09-26 10:00:27 +02:00
David Ames 43e4f2124f Avoid shared-db change when using access-network
When the percona-cluster charm sets an access-network but the default
unit-get address is not on that network extra shared-db relations get
executed. This is specifically a problem when running upgrades and
trying to avoid API downtime.

The root cause is that the access-network is not checked until the
SharedDBContext is consulted. But then db_joined function will
change it back to the wrong ip on subsequent runs.

This change adds a check for access-network on the relation during
the db_joined function and pushes IP selection off to get_relation_ip.

Charm helpers sync to pull in changes to get_relation_ip.

Partial-bug: #1677647

Change-Id: I20f35dd7a12315ef61939feb5199680db128bc0b
2017-04-26 10:04:11 -07:00
Alex Kavanagh 750a3e2c13 Fix alphanumeric comparisons for openstack and ubuntu releases
- sync charmhelpers with fix-alpha helpers
- fix up code where the alpha comparisons are done
- fix tests which assumed mocks would just work on os_release()

Change-Id: I3d1a8993286f0e7a1037c03e6711015883f1b615
Related-Bug: #1659575
2017-03-28 17:30:14 +01:00
David Ames 3104d77177 Pre-release charm-helpers sync 17.02
Get each charm up to date with lp:charm-helpers for release testing.

Add required neutron-gw <-> nova-cc relation to amulet tests

Change-Id: Icf344a4bb8b04a683ce98dae749cd6dcde8f2883
2017-02-15 10:35:57 +00:00
Liam Young 4852b063cb Add amulet tests 2015-02-17 07:10:15 +00:00