jammy-yoga test_cinder_volume_backup_create_delete fails assert resource_status == expected_status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Cinder Backup Swift Proxy Charm |
New
|
Undecided
|
Unassigned |
Bug Description
== test_cinder_
https:/
== test failure shows ==
2022-08-30 13:30:53 [INFO] =======
2022-08-30 13:30:53 [INFO] FAIL: test_cinder_
2022-08-30 13:30:53 [INFO] Create volume backup and then delete it.
2022-08-30 13:30:53 [INFO] -------
2022-08-30 13:30:53 [INFO] Traceback (most recent call last):
2022-08-30 13:30:53 [INFO] File "/mnt/release-
2022-08-30 13:30:53 [INFO] volume_backup = openstack_
2022-08-30 13:30:53 [INFO] File "/mnt/release-
2022-08-30 13:30:53 [INFO] resource_
2022-08-30 13:30:53 [INFO] File "/mnt/release-
2022-08-30 13:30:53 [INFO] retryer(
2022-08-30 13:30:53 [INFO] File "/mnt/release-
2022-08-30 13:30:53 [INFO] do = self.iter(
2022-08-30 13:30:53 [INFO] File "/mnt/release-
2022-08-30 13:30:53 [INFO] raise retry_exc.reraise()
2022-08-30 13:30:53 [INFO] File "/mnt/release-
2022-08-30 13:30:53 [INFO] raise self.last_
2022-08-30 13:30:53 [INFO] File "/usr/lib/
2022-08-30 13:30:53 [INFO] return self.__get_result()
2022-08-30 13:30:53 [INFO] File "/usr/lib/
2022-08-30 13:30:53 [INFO] raise self._exception
2022-08-30 13:30:53 [INFO] File "/mnt/release-
2022-08-30 13:30:53 [INFO] result = fn(*args, **kwargs)
2022-08-30 13:30:53 [INFO] File "/mnt/release-
2022-08-30 13:30:53 [INFO] assert resource_status == expected_status
2022-08-30 13:30:53 [INFO] AssertionError
2022-08-30 13:30:53 [INFO] -------
2022-08-30 13:30:53 [INFO] Ran 1 test in 155.523s
2022-08-30 13:30:53 [INFO] FAILED
== /var/log/
2022-08-30 13:27:49.322 29646 CRITICAL cinder [req-c824c2cf-
2022-08-30 13:27:49.322 29646 ERROR cinder Traceback (most recent call last):
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder validator.
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder ensure_
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder raise exceptions.
2022-08-30 13:27:49.322 29646 ERROR cinder rfc3986.
2022-08-30 13:27:49.322 29646 ERROR cinder
2022-08-30 13:27:49.322 29646 ERROR cinder During handling of the above exception, another exception occurred:
2022-08-30 13:27:49.322 29646 ERROR cinder
2022-08-30 13:27:49.322 29646 ERROR cinder Traceback (most recent call last):
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder return (convert(val), alt_loc)
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder return self._convert_
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder return opt.type(value)
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder raise ValueError(exc)
2022-08-30 13:27:49.322 29646 ERROR cinder ValueError: ('host, scheme were required but missing', URIReference(
2022-08-30 13:27:49.322 29646 ERROR cinder
2022-08-30 13:27:49.322 29646 ERROR cinder During handling of the above exception, another exception occurred:
2022-08-30 13:27:49.322 29646 ERROR cinder
2022-08-30 13:27:49.322 29646 ERROR cinder Traceback (most recent call last):
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/bin/
2022-08-30 13:27:49.322 29646 ERROR cinder sys.exit(main())
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder launcher.wait()
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder self.conf.
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder _sanitize(opt, getattr(self, opt_name)))
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder return self._get(name)
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder value, loc = self._do_get(name, group, namespace)
2022-08-30 13:27:49.322 29646 ERROR cinder File "/usr/lib/
2022-08-30 13:27:49.322 29646 ERROR cinder raise ConfigFileValue
2022-08-30 13:27:49.322 29646 ERROR cinder oslo_config.
2022-08-30 13:27:49.322 29646 ERROR cinder
== /etc/cinder/
[DEFAULT]
backup_
== IP address for ens3 in unit doesn't match what juju status shows ==
ubuntu@
Unit Workload Agent Machine Public address Ports Message
swift-keystone/0* active idle 19 10.5.2.248 5000/tcp Unit is ready
ubuntu@
ubuntu@
2: ens3: <BROADCAST,
link/ether fa:16:3e:ad:b5:b3 brd ff:ff:ff:ff:ff:ff
altname enp0s3
inet 10.5.2.178/16 metric 100 brd 10.5.255.255 scope global dynamic ens3
valid_lft 39837sec preferred_lft 39837sec
description: | updated |
For some reason it appears juju has created 2 instances for machine 19:
$ openstack server list
| e14d4837- 980f-4161- ba04-7088162eb5 d4 | juju-4a5d57- zaza-bd2d914438 76-19 | ACTIVE | coreycb_ admin_net= 10.5.2. 248 | auto-sync/ ubuntu- jammy-daily- amd64-server- 20220810- disk1.img | m1.blue | 131a-4d6e- a49c-bfcd85b91b f5 | juju-4a5d57- zaza-bd2d914438 76-19 | ACTIVE | coreycb_ admin_net= 10.5.2. 178 | auto-sync/ ubuntu- jammy-daily- amd64-server- 20220810- disk1.img | m1.blue |
| d9917aa6-