Bug 1413714
Summary: | Upgrading metrics fails | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Wesley Hearn <whearn> | ||||
Component: | Installer | Assignee: | Scott Dodson <sdodson> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Johnny Liu <jialiu> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.4.0 | CC: | aos-bugs, jokerman, mmccomas, mwoodson, mwringe, penli | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-02-10 14:52:22 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
What exact command are you using to do the update? Is it being run by the deployer SA or the user who is currently logged into oc? It is being done through ansible as the cluster admin user. The role is here https://github.com/openshift/openshift-tools/blob/stg/ansible/roles/openshift_metrics/tasks/main.yml The only change is at line 92 I added "MODE: refresh" to the list. the error log is similar to https://bugzilla.redhat.com/show_bug.cgi?id=1381336 @sdobson: please do not reassign to the metrics component. This is an error in how the installer is installing metrics. It needs to be done using the right service account. The metrics team is not responsible for how ansible is installing metrics in 3.4 Matt Woodson, Is still relevant to the method you're currently using to upgrade metrics? It looks like the suggestion in comment 5 needs to be applied to your playbooks if so. closing not a bug because this problem does not appear to be in openshift-ansible but in a separate repo |
Created attachment 1241365 [details] deploy log Description of problem: Trying to upgrade metrics from 3.3.0 to 3.4.0 using MODE=refresh, the deploy fails with an error saying it could not change some fields. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Install metrics 3.3.0 on a 3.3.X cluster 2. Upgrade cluster to 3.4.0 3. Try upgrading metrics by passing MODE=refresh to the metrics template. Actual results: The Pod "metrics-deployer-abnda" is invalid: spec: Forbidden: pod updates may not change fields other than `containers[*].image` or `spec.activeDeadlineSeconds` Expected results: Additional info: