Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_messages raises UnsupportedError when removing a unit #185

Open
ryan-beisner opened this issue Aug 23, 2017 · 0 comments
Open

get_messages raises UnsupportedError when removing a unit #185

ryan-beisner opened this issue Aug 23, 2017 · 0 comments

Comments

@ryan-beisner
Copy link

get_messages raises UnsupportedError when removing a unit

https://github.com/juju/amulet/blob/master/amulet/sentry.py#L613

DEBUG:runner:2017-08-18 19:55:04,708 test_901_remove_unit DEBUG: Checking that units correctly clean up after themselves on unit removal...
DEBUG:runner:2017-08-18 19:55:04,709 _configure_services INFO: OpenStackAmuletDeployment:  configure services
DEBUG:runner:2017-08-18 19:57:40,045 _auto_wait_for_status INFO: Waiting for extended status on units...
DEBUG:runner:2017-08-18 19:57:40,046 _auto_wait_for_status DEBUG: Custom extended status wait match: ^Unit is ready and clustered$
DEBUG:runner:2017-08-18 19:57:40,046 _auto_wait_for_status DEBUG: Waiting up to 1200s for extended status on services: ['rabbitmq-server']
DEBUG:runner:2017-08-18 19:57:40,483 _auto_wait_for_status INFO: OK
DEBUG:runner:2017-08-18 19:57:56,091 _auto_wait_for_status INFO: Waiting for extended status on units...
DEBUG:runner:2017-08-18 19:57:56,092 _auto_wait_for_status DEBUG: Custom extended status wait match: ^Unit is ready and clustered$
DEBUG:runner:2017-08-18 19:57:56,092 _auto_wait_for_status DEBUG: Waiting up to 1200s for extended status on services: ['rabbitmq-server']
DEBUG:runner:Traceback (most recent call last):
DEBUG:runner:  File "/tmp/bundletester-a351M_/rabbitmq-server/tests/gate-basic-xenial-newton", line 25, in <module>
DEBUG:runner:    deployment.run_tests()
DEBUG:runner:  File "/tmp/bundletester-a351M_/rabbitmq-server/tests/charmhelpers/contrib/amulet/deployment.py", line 97, in run_tests
DEBUG:runner:    getattr(self, test)()
DEBUG:runner:  File "/tmp/bundletester-a351M_/rabbitmq-server/tests/basic_deployment.py", line 669, in test_901_remove_unit
DEBUG:runner:    u.rmq_wait_for_cluster(self)
DEBUG:runner:  File "/tmp/bundletester-a351M_/rabbitmq-server/tests/charmhelpers/contrib/openstack/amulet/utils.py", line 882, in rmq_wait_for_cluster
DEBUG:runner:    include_only=['rabbitmq-server'])
DEBUG:runner:  File "/tmp/bundletester-a351M_/rabbitmq-server/tests/charmhelpers/contrib/openstack/amulet/deployment.py", line 253, in _auto_wait_for_status
DEBUG:runner:    self.d.sentry.wait_for_messages(service_messages, timeout=timeout)
DEBUG:runner:  File "/var/lib/jenkins/checkout/0/rabbitmq-server/.tox/func27/local/lib/python2.7/site-packages/amulet/sentry.py", line 621, in wait_for_messages
DEBUG:runner:    actual = get_messages(service, status)
DEBUG:runner:  File "/var/lib/jenkins/checkout/0/rabbitmq-server/.tox/func27/local/lib/python2.7/site-packages/amulet/sentry.py", line 613, in get_messages
DEBUG:runner:    raise helpers.UnsupportedError()
DEBUG:runner:amulet.helpers.UnsupportedError
DEBUG:runner:Exit Code: 1
DEBUG:bundletester.utils:Updating JUJU_MODEL: "auto-osci-sv00:admin/auto-osci-sv00" -> ""
DEBUG:bundletester.fetchers:git rev-parse HEAD: 9d9c6c778d0c286802194e2cba4b861450d17920

ERROR: InvocationError: '/var/lib/jenkins/checkout/0/rabbitmq-server/.tox/func27/bin/bundletester -vl DEBUG -r json -o func-results.json --test-pattern gate-* --no-destroy'
___________________________________ summary ____________________________________
ERROR:   func27: commands failed
 ! Amulet test failed.
Model           Controller      Cloud/Region             Version  SLA
auto-osci-sv00  auto-osci-sv00  serverstack/serverstack  2.2.2    unsupported

App              Version       Status  Scale  Charm            Store       Rev  OS      Notes
cinder           9.1.4         active      1  cinder           jujucharms  285  ubuntu  
keystone         10.0.2        active      1  keystone         jujucharms  303  ubuntu  
nrpe                           active      2  nrpe             jujucharms   28  ubuntu  
percona-cluster  5.6.34-26.19  active      1  percona-cluster  jujucharms  265  ubuntu  
rabbitmq-server  3.5.7         active      2  rabbitmq-server  local       151  ubuntu  

Unit                 Workload  Agent      Machine  Public address  Ports                       Message
cinder/5*            active    executing  30       172.17.100.5    8776/tcp                    Unit is ready
keystone/5*          active    idle       31       172.17.100.13   5000/tcp                    Unit is ready
percona-cluster/5*   active    idle       32       172.17.100.8    3306/tcp                    Unit is ready
rabbitmq-server/15   active    idle       33       172.17.100.16   5671/tcp,5672/tcp,5999/tcp  Unit is ready and clustered
  nrpe/31            active    idle                172.17.100.16                               ready
rabbitmq-server/16*  active    idle       34       172.17.100.15   5671/tcp,5672/tcp,5999/tcp  Unit is ready and clustered
  nrpe/29*           active    idle                172.17.100.15                               ready

Machine  State    DNS            Inst id                               Series  AZ    Message
30       started  172.17.100.5   bd1f3f2e-0f0e-4def-92ee-003a0b12c76b  xenial  nova  ACTIVE
31       started  172.17.100.13  d31072ba-dbf6-45ad-903d-53670449e174  xenial  nova  ACTIVE
32       started  172.17.100.8   46661f51-c7b8-41b6-bd44-56d9976f8d06  xenial  nova  ACTIVE
33       started  172.17.100.16  342318bc-2284-4340-a5ba-fb8156891ea2  xenial  nova  ACTIVE
34       started  172.17.100.15  cbc8b04e-8300-4816-bf7c-6e95a5d1dcf9  xenial  nova  ACTIVE
35       started  172.17.100.12  4276d09f-3417-4efb-a586-22fa719cd85b  xenial  nova  ACTIVE

Relation              Provides         Consumes         Type
cluster               cinder           cinder           peer
identity-service      cinder           keystone         regular
shared-db             cinder           percona-cluster  regular
amqp                  cinder           rabbitmq-server  regular
cluster               keystone         keystone         peer
shared-db             keystone         percona-cluster  regular
nrpe-external-master  nrpe             rabbitmq-server  regular
cluster               percona-cluster  percona-cluster  peer
nrpe-external-master  rabbitmq-server  nrpe             subordinate
cluster               rabbitmq-server  rabbitmq-server  peer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant