1.17 update results in No such file or directory: '/var/snap/cdk-addons/4731/config/ceph-fsname'

Bug #1904063 reported by Chris Johnston
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
CDK Addons
Fix Released
Undecided
George Kraft

Bug Description

Following the update to cdk-addons today, I am seeing:

2020-11-12 21:01:03 WARNING update-status Traceback (most recent call last):
2020-11-12 21:01:03 WARNING update-status File "/snap/cdk-addons/4731/apply", line 383, in <module>
2020-11-12 21:01:03 WARNING update-status main()
2020-11-12 21:01:03 WARNING update-status File "/snap/cdk-addons/4731/apply", line 28, in main
2020-11-12 21:01:03 WARNING update-status if render_templates():
2020-11-12 21:01:03 WARNING update-status File "/snap/cdk-addons/4731/apply", line 162, in render_templates
2020-11-12 21:01:03 WARNING update-status "ceph-fsname", required=True)
2020-11-12 21:01:03 WARNING update-status File "/snap/cdk-addons/4731/apply", line 373, in get_snap_config
2020-11-12 21:01:03 WARNING update-status with open(path) as f:
2020-11-12 21:01:03 WARNING update-status FileNotFoundError: [Errno 2] No such file or directory: '/var/snap/cdk-addons/4731/config/ceph-fsname'
2020-11-12 21:01:03 INFO juju-log Addons are not ready yet.

Tags: sts
Revision history for this message
George Kraft (cynerva) wrote :

1.18 is also affected. I'm working on a fix.

Changed in cdk-addons:
assignee: nobody → George Kraft (cynerva)
status: New → In Progress
Revision history for this message
George Kraft (cynerva) wrote :
Revision history for this message
George Kraft (cynerva) wrote :
Changed in cdk-addons:
status: In Progress → Fix Committed
Revision history for this message
George Kraft (cynerva) wrote :

The above PR / cherry-pick didn't work out, since we were still pulling in a ceph-mounter config that didn't work with 1.18 and 1.17. We ended up deviating from our normal release process, reverting 1.17/stable and 1.18/stable to earlier, known working snap revs. They are now:

1.17/stable: 4683, 4684, 4685, 4686
1.18/stable: 4715, 4716, 4717, 4718

We have also disabled the build automation until we can ensure this doesn't happen again in the future.

Changed in cdk-addons:
status: Fix Committed → Fix Released
tags: added: sts
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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