Error after upgrading to revision 5, can't downgrade to revision 4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-cloudsupport |
New
|
Undecided
|
Unassigned |
Bug Description
After upgrading cloudsupport from revision 4 to 5, the unit ended up in the error/idle state, with the following error:
Traceback (most recent call last):
File "./src/charm.py", line 8, in <module>
from lib_cloudsupport import CloudSupportHelper
File "/var/lib/
from openstack.
File "/var/lib/
import openstack.config
File "/var/lib/
from openstack.
File "/var/lib/
from keystoneauth1 import adapter
File "/var/lib/
__version__ = pbr.version.
File "/var/lib/
return self.semantic_
File "/var/lib/
self._semantic = self._get_
File "/var/lib/
return SemanticVersion
File "/var/lib/
return klass._
File "/var/lib/
version_string = version_
AttributeError: 'NoneType' object has no attribute 'lstrip'
I couldn't find any workaround for this issue yet. Also, the charm can't be downgraded to v4 because of the following issue:
$ juju upgrade-charm --switch ch:cloudsupport-4 cloudsupport --channel latest/edge
Added charm-hub charm "cloudsupport", revision 4 in channel edge, to the model
ERROR cannot downgrade from v2 charm format to v1
Versions:
$ cat /etc/os-release /www.ubuntu. com/" /help.ubuntu. com/" /bugs.launchpad .net/ubuntu/" POLICY_ URL="https:/ /www.ubuntu. com/legal/ terms-and- policies/ privacy- policy" CODENAME= focal CODENAME= focal
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
VERSION_
UBUNTU_
$ dpkg -l | grep openstack openstackclient 5.2.0-0ubuntu1 all OpenStack Command-line Client - Python 3.x openstacksdk 0.46.0-0ubuntu1 all SDK for building applications to work with OpenStack - Python 3.x
ii python3-
ii python3-