[Charms 21.04] start hook fails after upgrade to Wallaby
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph RBD Mirror Charm |
Fix Released
|
Undecided
|
Unassigned | ||
Gnocchi Charm |
Fix Released
|
High
|
Unassigned | ||
MySQL InnoDB Cluster Charm |
Fix Released
|
High
|
Unassigned | ||
MySQL Router Charm |
Fix Released
|
High
|
Unassigned | ||
OpenStack AODH Charm |
Fix Released
|
High
|
Unassigned | ||
OpenStack Barbican Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Barbican-Vault Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Ceph-FS Charm |
Fix Released
|
High
|
Unassigned | ||
OpenStack Cinder Backup Swift Proxy Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Cinder Pure Storage Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Designate Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Designate-Bind Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Ironic API Charm |
Fix Released
|
High
|
Unassigned | ||
OpenStack Ironic Conductor Charm |
Fix Released
|
High
|
Aurelien Lourot | ||
OpenStack Keystone Kerberos Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Keystone LDAP integration |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Manila Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Manila Generic Backend Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Manila-Ganesha Charm |
Fix Released
|
High
|
Aurelien Lourot | ||
OpenStack Masakari Charm |
Fix Released
|
High
|
Unassigned | ||
OpenStack Masakari Monitors Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Neutron API Arista Plugin Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Neutron API Ironic Plugin Charm |
Fix Released
|
High
|
Aurelien Lourot | ||
OpenStack Neutron API OVN Plugin Charm |
Fix Released
|
High
|
Aurelien Lourot | ||
OpenStack Neutron Dynamic Routing charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Nova Cell Controller Charm |
Fix Released
|
High
|
Unassigned | ||
OpenStack Octavia Charm |
Fix Released
|
High
|
Aurelien Lourot | ||
OpenStack Octavia Dashboard Charm |
Fix Released
|
High
|
Aurelien Lourot | ||
OpenStack Pacemaker Remote Charm |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Placement Charm |
Fix Released
|
Undecided
|
Unassigned | ||
charm-octavia-diskimage-retrofit |
Fix Released
|
High
|
Aurelien Lourot | ||
charm-ovn-central |
Fix Released
|
High
|
Unassigned | ||
charm-ovn-chassis |
Fix Released
|
Undecided
|
Unassigned | ||
charm-ovn-dedicated-chassis |
Fix Released
|
High
|
Unassigned | ||
vault-charm |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am running openstack version Victoria on Focal Ubuntu deployed with Juju charms and i wanted to upgrade to Wallaby
Everything worked fine by the book until i ran the upgrade on Masakari app with the following commands:
juju config masakari action-
juju config masakari openstack-
charm version is 11.0.0, revision 11 (latest):
masakari 11.0.0 error 3 masakari charmstore 11 ubuntu hook failed: "start"
The Masakari stack is having 3 instances with HA cluster deployed. The HA cluster upgraded successfully
masakari/6 error idle 4/lxd/4 10.118.0.138 15868/tcp hook failed: "start"
masakari-
masakari/7 error idle 5/lxd/1 10.118.0.137 15868/tcp hook failed: "start"
masakari-
masakari/8* error idle 3/lxd/6 10.118.0.136 15868/tcp hook failed: "start"
masakari-
From the logs on each instances i can see this error:
unit-masakari-7: 07:24:57 ERROR unit.masakari/
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
charm_
File "/var/lib/
if self.openstack_
File "/var/lib/
raise RuntimeError(
RuntimeError: In charms_
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:57 WARNING unit.masakari/
unit-masakari-7: 07:24:58 ERROR juju.worker.
It seems the charm is unable to get the openstack release from the OS, which is the same LXD containers with Focal as all other openstack components.
From the error above i am assuming that Masakari didn't even upgrade to Wallaby, since the script cannot find the cur_vers of the Openstack (which was Victoria and running properly)
Thanks
description: | updated |
Changed in charm-masakari: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: openstack-upgrade |
Changed in charm-mysql-innodb-cluster: | |
status: | New → Fix Released |
importance: | Undecided → High |
milestone: | none → 21.04 |
Changed in charm-aodh: | |
status: | New → Fix Released |
milestone: | none → 21.04 |
Changed in charm-gnocchi: | |
status: | New → Fix Released |
milestone: | none → 21.04 |
Changed in charm-nova-cell-controller: | |
status: | New → Fix Released |
milestone: | none → 21.04 |
Changed in charm-ovn-central: | |
status: | New → Fix Released |
milestone: | none → 21.04 |
Changed in charm-mysql-router: | |
status: | New → Fix Released |
milestone: | none → 21.04 |
Changed in charm-ovn-dedicated-chassis: | |
status: | New → Fix Released |
milestone: | none → 21.04 |
Changed in charm-gnocchi: | |
importance: | Undecided → High |
Changed in charm-aodh: | |
importance: | Undecided → High |
Changed in charm-nova-cell-controller: | |
importance: | Undecided → High |
Changed in charm-mysql-router: | |
importance: | Undecided → High |
Changed in charm-ovn-central: | |
importance: | Undecided → High |
Changed in charm-ovn-dedicated-chassis: | |
importance: | Undecided → High |
Changed in charm-octavia-diskimage-retrofit: | |
status: | New → In Progress |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
Changed in charm-manila-ganesha: | |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
status: | New → In Progress |
Changed in charm-octavia-dashboard: | |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
status: | New → In Progress |
Changed in charm-barbican-vault: | |
status: | New → Fix Released |
Changed in charm-manila: | |
milestone: | none → 21.10 |
status: | New → Fix Released |
milestone: | 21.10 → 21.04 |
Changed in charm-cinder-backup-swift-proxy: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-neutron-api-plugin-arista: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-ovn-chassis: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
summary: |
- Masakari starting fail after upgrade to Wallaby + start hook fails after upgrade to Wallaby |
Changed in vault-charm: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-manila-ganesha: | |
milestone: | none → 21.04 |
Changed in charm-octavia-dashboard: | |
milestone: | none → 21.04 |
Changed in charm-octavia-diskimage-retrofit: | |
milestone: | none → 21.04 |
Changed in charm-barbican: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-cinder-purestorage: | |
status: | New → Fix Released |
Changed in charm-designate: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-designate-bind: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-keystone-ldap: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-manila-generic: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-masakari-monitors: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-pacemaker-remote: | |
status: | New → Fix Released |
Changed in charm-ceph-rbd-mirror: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-keystone-kerberos: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-neutron-dynamic-routing: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-ironic-api: | |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
milestone: | none → 21.04 |
status: | New → In Progress |
summary: |
- start hook fails after upgrade to Wallaby + [21.04] start hook fails after upgrade to Wallaby |
summary: |
- [21.04] start hook fails after upgrade to Wallaby + [Charms 21.04] start hook fails after upgrade to Wallaby |
Changed in charm-ironic-conductor: | |
milestone: | none → 21.04 |
status: | New → In Progress |
Changed in charm-neutron-api-plugin-ironic: | |
milestone: | none → 21.04 |
status: | New → In Progress |
Changed in charm-placement: | |
milestone: | none → 21.04 |
status: | New → Fix Released |
Changed in charm-manila-ganesha: | |
importance: | Undecided → High |
Changed in charm-octavia: | |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
importance: | Undecided → High |
milestone: | none → 21.04 |
status: | New → In Progress |
Changed in charm-ironic-api: | |
importance: | Undecided → High |
Changed in charm-ironic-conductor: | |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
importance: | Undecided → High |
Changed in charm-neutron-api-plugin-ironic: | |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
importance: | Undecided → High |
Changed in charm-octavia-dashboard: | |
importance: | Undecided → High |
Changed in charm-octavia-diskimage-retrofit: | |
importance: | Undecided → High |
Changed in charm-ceph-fs: | |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
importance: | Undecided → High |
milestone: | none → 21.04 |
status: | New → In Progress |
Changed in charm-neutron-api-plugin-ovn: | |
assignee: | nobody → Aurelien Lourot (aurelien-lourot) |
importance: | Undecided → High |
milestone: | none → 21.04 |
status: | New → In Progress |
Changed in charm-ironic-api: | |
assignee: | Aurelien Lourot (aurelien-lourot) → nobody |
status: | In Progress → Fix Released |
Changed in charm-ceph-fs: | |
assignee: | Aurelien Lourot (aurelien-lourot) → nobody |
status: | In Progress → Fix Released |
This is happening due to https:/ /review. opendev. org/c/openstack /charms. openstack/ +/787641 missing in the stable/21.04 charms.