Bug 1540851
Summary: | redeploy metrics failed to create PersistentVolumeClaim | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> |
Component: | Installer | Assignee: | Scott Dodson <sdodson> |
Status: | CLOSED DUPLICATE | QA Contact: | Johnny Liu <jialiu> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.9.0 | CC: | anli, aos-bugs, jokerman, mmccomas, wsun |
Target Milestone: | --- | ||
Target Release: | 3.9.0 | ||
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: | 2018-02-02 05:31:57 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: |
Description
Anping Li
2018-02-01 07:11:44 UTC
@anli This defect is duplicate of BZ # 1539382, it is caused by the same issue. after redeploy metrics with openshift-ansible-3.9.0-0.34, it throws out same error with this defect. TASK [openshift_metrics : Applying /tmp/openshift-metrics-ansible-JduLci/templates/hawkular-cassandra-pvc1.yaml] ************************************************************************************************** fatal: [ec2-54-158-112-3.compute-1.amazonaws.com]: FAILED! => {"changed": false, "cmd": ["oc", "--config=/tmp/openshift-metrics-ansible-JduLci/admin.kubeconfig", "apply", "-f", "/tmp/openshift-metrics-ansible-JduLci/templates/hawkular-cassandra-pvc1.yaml", "-n", "openshift-infra"], "delta": "0:00:00.761062", "end": "2018-02-01 08:35:56.344560", "failed_when_result": true, "msg": "non-zero return code", "rc": 1, "start": "2018-02-01 08:35:55.583498", "stderr": "The PersistentVolumeClaim \"metrics-cassandra-1\" is invalid: spec: Forbidden: field is immutable after creation", "stderr_lines": ["The PersistentVolumeClaim \"metrics-cassandra-1\" is invalid: spec: Forbidden: field is immutable after creation"], "stdout": "", "stdout_lines": []} to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/openshift-metrics/config.retry (In reply to Junqi Zhao from comment #1) > @anli > This defect is duplicate of BZ # 1539382, it is caused by the same issue. > after redeploy metrics with openshift-ansible-3.9.0-0.34, it throws out same > error with this defect. > I mean BZ 1540851 is caused by the fix of BZ # 1539382, although the default openshift_metrics_cassandra_pvc_prefix is metrics-cassandra now. Or shall I set VERIFIED to BZ # 1539382, and mention there is another defect BZ 1540851 was found # grep -r "openshift_metrics_cassandra_pvc_prefix" roles/openshift_metrics/defaults/main.yaml:openshift_metrics_cassandra_pvc_prefix: metrics-cassandra *** This bug has been marked as a duplicate of bug 1540729 *** |