[Bug 1904199] Re: [groovy-victoria] "gwcli /iscsi-targets/ create ..." fails with 1, GatewayError
Lucas Kanashiro
1904199 at bugs.launchpad.net
Tue Jan 19 13:15:21 UTC 2021
Could you also confirm if this is happening only in Groovy? I see the
following versions of those two packages in case this is really an
incompatibility issue:
$ rmadison ceph-iscsi
ceph-iscsi | 3.4-0ubuntu2 | focal/universe | source, all
ceph-iscsi | 3.4-0ubuntu2 | groovy/universe | source, all
ceph-iscsi | 3.4-0ubuntu2 | hirsute/universe | source, all
$ rmadison python3-werkzeug
python3-werkzeug | 0.16.1+dfsg1-2 | focal | all
python3-werkzeug | 1.0.1+dfsg1-2 | groovy | all
python3-werkzeug | 1.0.1+dfsg1-2 | hirsute | all
If Liam's assumption is correct it should not be working on Hirsute as
well, and it might be working on Focal since there we have an older
version of python3-werkzeug.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/1904199
Title:
[groovy-victoria] "gwcli /iscsi-targets/ create ..." fails with 1,
GatewayError
Status in OpenStack Ceph iSCSI Charm:
Invalid
Status in ceph-iscsi package in Ubuntu:
New
Bug description:
Visible here: https://review.opendev.org/#/c/761534/
AssertionError: Action 'create-target' exited with status 'failed':
'exit status 1'
INFO juju-log gwcli /iscsi-targets/ ...
ERROR juju-log gwcli failed with 1
ERROR juju-log stdout: b'Warning: Could not load preferences file /root/.gwcli/prefs.bin.\n\x1b[31;1mGatewayError: \x1b[0m\n'
ERROR juju-log stderr: b''
ERROR juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
File "./src/charm.py", line 551, in <module>
main(ops_openstack.core.get_charm_class_for_release())
File "/var/lib/juju/agents/unit-ceph-iscsi-1/charm/venv/ops/main.py", line 401, in main
_emit_charm_event(charm, dispatcher.event_name)
File "/var/lib/juju/agents/unit-ceph-iscsi-1/charm/venv/ops/main.py", line 140, in _emit_charm_event
event_to_emit.emit(*args, **kwargs)
File "/var/lib/juju/agents/unit-ceph-iscsi-1/charm/venv/ops/framework.py", line 234, in emit
framework._emit(event)
File "/var/lib/juju/agents/unit-ceph-iscsi-1/charm/venv/ops/framework.py", line 678, in _emit
self._reemit(event_path)
File "/var/lib/juju/agents/unit-ceph-iscsi-1/charm/venv/ops/framework.py", line 723, in _reemit
custom_handler(event)
File "./src/charm.py", line 513, in on_create_target_action
gw_client.create_target(target)
File "/var/lib/juju/agents/unit-ceph-iscsi-1/charm/src/gwcli_client.py", line 30, in create_target
self.run(
File "/var/lib/juju/agents/unit-ceph-iscsi-1/charm/src/gwcli_client.py", line 27, in run
raise RuntimeError(error_msg)
RuntimeError: gwcli failed with 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-iscsi/+bug/1904199/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list