Tests fail against a real cloud because haproxy is not exposed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Triaged
|
High
|
Unassigned |
Bug Description
Because of Amulet bug #1473580, the "expose" configuration from our bundle is not honoured. The end result is that Landscape is deployed but haproxy is firewalled, making all tests that require a connection to the service fail.
Until that bug is fixed and we require the newer amulet, this workaround can be used:
=== modified file 'tests/helpers.py'
--- tests/helpers.py 2015-07-10 07:54:47 +0000
+++ tests/helpers.py 2015-07-10 22:45:14 +0000
@@ -79,6 +79,8 @@
if not self._deploymen
+ # XXX - amulet bug #1473580, doesn't respect expose from the bundle
+ self._deploymen
try:
It wouldn't be the first one for amulet in this code:
./tests/helpers.py: # XXX - amulet bug #1473580, doesn't respect expose from the bundle
./tests/helpers.py: XXX Apparently there's no way in Amulet to easily deploy uncommitted
./tests/helpers.py: # XXX: Amulet doesn't support getting binary files, so we
tags: | added: kanban |
tags: | removed: kanban |
Changed in landscape-charm: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: low-hanging-fruit |