juju show-model 'try was stopped'

Bug #1786455 reported by Chris MacNaughton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-jujuclient
New
Undecided
Unassigned
ubuntu-openstack-ci
New
Undecided
Unassigned

Bug Description

2018-08-10 03:50:06 [ERROR] jujuclient.utils: Command (juju show-model auto-osci-sv04:admin/auto-osci-sv04 --format=yaml) Output:

 b'ERROR try was stopped\n'

2018-08-10 03:50:06 [ERROR] jujuclient.utils: Command (juju show-model -m auto-osci-sv04:admin/auto-osci-sv04 --format=yaml) Output:

 b'ERROR flag provided but not defined: -m\n'

Traceback (most recent call last):
  File "/var/lib/jenkins/tools/0/charm-test-infra/.tox/clients/lib/python3.5/site-packages/jujuclient/juju2/connector.py", line 100, in get_model
    ['juju', 'show-model', model, '--format=yaml'])
  File "/var/lib/jenkins/tools/0/charm-test-infra/.tox/clients/lib/python3.5/site-packages/jujuclient/utils.py", line 21, in check_output
    output = subprocess.check_output(*args, **kw)
  File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.5/subprocess.py", line 708, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['juju', 'show-model', 'auto-osci-sv04:admin/auto-osci-sv04', '--format=yaml']' returned non-zero exit status 1

During handling of the above exception, another exception occurred:

Revision history for this message
Chris MacNaughton (chris.macnaughton) wrote :

Looks like there may be something weird with the controller, given that other commands are failing:

02:24:52 /var/lib/jenkins/novarc 346 8 81a4 112 116 fd01 270564 1 0 0 1533859176 1530640722 1533374925 0 4096
02:24:52 + : serverstack
02:24:52 + : auto-osci-sv04
02:24:52 + : auto-osci-sv04
02:24:52 + juju switch auto-osci-sv04:auto-osci-sv04
02:24:52 auto-osci-sv04:admin/controller -> auto-osci-sv04:admin/auto-osci-sv04
02:24:52 + juju destroy-model --destroy-storage -y auto-osci-sv04:auto-osci-sv04
02:34:52 ERROR cannot connect to API: try was stopped
02:35:02 + : serverstack
02:35:02 + : auto-osci-sv04
02:35:02 + : auto-osci-sv04
02:35:02 + juju switch auto-osci-sv04:auto-osci-sv04
02:35:02 auto-osci-sv04:admin/auto-osci-sv04 (no change)
02:35:02 + juju destroy-model --destroy-storage -y auto-osci-sv04:auto-osci-sv04
02:45:03 ERROR cannot connect to API: try was stopped
02:45:13 + : serverstack
02:45:13 + : auto-osci-sv04
02:45:13 + : auto-osci-sv04
02:45:13 + juju switch auto-osci-sv04:auto-osci-sv04
02:45:13 auto-osci-sv04:admin/auto-osci-sv04 (no change)
02:45:13 + juju destroy-model --destroy-storage -y auto-osci-sv04:auto-osci-sv04
02:55:13 ERROR cannot connect to API: try was stopped
02:55:23 ++ juju models --format yaml
02:55:23 ++ awk '/short-name: zaza-/{ print $2 }'
03:05:23 try was stopped
03:05:23 ERROR try was stopped

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.