cdk-addons 1.18 build fails to pull cluster-monitoring addons

Bug #1858651 reported by George Kraft
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CDK Addons
Fix Released
High
Kevin W Monroe
Kubernetes Control Plane Charm
Fix Released
Medium
Kevin W Monroe

Bug Description

06:42:31 INFO:__main__:Cloning https://github.com/kubernetes/kubernetes.git branch v1.18.0-alpha.1
06:43:03 INFO:__main__:Copying addons to /var/lib/jenkins/slaves/jenkins-slave-2/workspace/build-release-cdk-addons-amd64-1.18/cdk-addons/templates
06:43:03 Traceback (most recent call last):
06:43:03 File "./get-addon-templates", line 515, in <module>
06:43:03 main()
06:43:03 File "./get-addon-templates", line 511, in main
06:43:03 get_addon_templates()
06:43:03 File "./get-addon-templates", line 404, in get_addon_templates
06:43:03 add_addon(repo, influxdb + "/grafana-service.yaml", dest)
06:43:03 File "./get-addon-templates", line 112, in add_addon
06:43:03 with open(source, "r") as f:
06:43:03 FileNotFoundError: [Errno 2] No such file or directory: '/tmp/cdk-addons-cloned-repo3d7fj2ni/cluster/addons/cluster-monitoring/influxdb/grafana-service.yaml'

The cluster-monitoring addon templates were removed from upstream: https://github.com/kubernetes/kubernetes/pull/85512

Changed in cdk-addons:
status: New → In Progress
assignee: nobody → Kevin W Monroe (kwmonroe)
importance: Undecided → Critical
Changed in cdk-addons:
milestone: none → 1.18
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :
tags: added: review-needed
Revision history for this message
George Kraft (cynerva) wrote :

Assuming we do go through with removing heapster from CK 1.18, the kubernetes-master enable-dashboard-addons config description will need to be updated: https://github.com/charmed-kubernetes/charm-kubernetes-master/blob/daa8e11d70adb92e46853229ed88c57f4eeafc21/config.yaml#L65

Changed in charm-kubernetes-master:
milestone: none → 1.18
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

release notes needed

Changed in cdk-addons:
importance: Critical → High
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :
Changed in charm-kubernetes-master:
status: New → In Progress
assignee: nobody → Kevin W Monroe (kwmonroe)
importance: Undecided → Medium
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

cdk-addons fix is available in:

1.18/edge: 1.18.0-alpha.3 2020-02-05 (1615)

Changed in cdk-addons:
status: In Progress → Fix Committed
tags: removed: review-needed
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :
Changed in charm-kubernetes-master:
status: In Progress → Fix Committed
Revision history for this message
Kevin W Monroe (kwmonroe) wrote :
Changed in cdk-addons:
status: Fix Committed → Fix Released
Changed in charm-kubernetes-master:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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