Bug 1985391
| Summary: | Cluster Proxy not used during installation on OSP | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Maysa Macedo <mdemaced> |
| Component: | Storage | Assignee: | Maysa Macedo <mdemaced> |
| Storage sub component: | OpenStack CSI Drivers | QA Contact: | rlobillo |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | medium | CC: | aos-bugs, rlobillo |
| Version: | 4.8 | Keywords: | TestBlocker, Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Cinder CSI was not using the configured Proxy to connect to OpenStack API.
Consequence: The connection was direct to the OpenStack API.
Fix: An annotation was included on the Operator deployment to ensure proxy environment variables are set on the container.
Result: Proxy is used to connect to OpenStack API.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:40:56 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1996672 | ||
|
Description
Maysa Macedo
2021-07-23 14:34:33 UTC
I have created a bz for kuryr with regards to cluster network operator https://bugzilla.redhat.com/show_bug.cgi?id=1985486 Adding test_blocker flag as profile '47_IPI on OSP16 & FloatingIPLess & Disconnected & http_proxy' on OCP QE CI is hitting this issue: [cloud-user@preserve-ocp4-shared-network-dis-bastion1 ~]$ ./oc get clusteroperators NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE authentication 4.9.0-0.nightly-2021-08-22-070405 True False False 53m baremetal 4.9.0-0.nightly-2021-08-22-070405 True False False 73m cloud-controller-manager 4.9.0-0.nightly-2021-08-22-070405 True False False 76m cloud-credential 4.9.0-0.nightly-2021-08-22-070405 True False False 76m cluster-autoscaler 4.9.0-0.nightly-2021-08-22-070405 True False False 73m config-operator 4.9.0-0.nightly-2021-08-22-070405 True False False 75m console 4.9.0-0.nightly-2021-08-22-070405 True False False 57m csi-snapshot-controller 4.9.0-0.nightly-2021-08-22-070405 True False False 74m dns 4.9.0-0.nightly-2021-08-22-070405 True False False 60m etcd 4.9.0-0.nightly-2021-08-22-070405 True False False 73m image-registry 4.9.0-0.nightly-2021-08-22-070405 True False False 61m ingress 4.9.0-0.nightly-2021-08-22-070405 True False False 60m insights 4.9.0-0.nightly-2021-08-22-070405 True False False 68m kube-apiserver 4.9.0-0.nightly-2021-08-22-070405 True False False 69m kube-controller-manager 4.9.0-0.nightly-2021-08-22-070405 True False False 69m kube-scheduler 4.9.0-0.nightly-2021-08-22-070405 True False False 71m kube-storage-version-migrator 4.9.0-0.nightly-2021-08-22-070405 True False False 7m47s machine-api 4.9.0-0.nightly-2021-08-22-070405 True False False 70m machine-approver 4.9.0-0.nightly-2021-08-22-070405 True False False 74m machine-config 4.9.0-0.nightly-2021-08-22-070405 True False False 60m marketplace 4.9.0-0.nightly-2021-08-22-070405 True False False 74m monitoring 4.9.0-0.nightly-2021-08-22-070405 True False False 59m network 4.9.0-0.nightly-2021-08-22-070405 True False False 75m node-tuning 4.9.0-0.nightly-2021-08-22-070405 True False False 74m openshift-apiserver 4.9.0-0.nightly-2021-08-22-070405 True False False 60m openshift-controller-manager 4.9.0-0.nightly-2021-08-22-070405 True False False 66m openshift-samples 4.9.0-0.nightly-2021-08-22-070405 True False False 65m operator-lifecycle-manager 4.9.0-0.nightly-2021-08-22-070405 True False False 74m operator-lifecycle-manager-catalog 4.9.0-0.nightly-2021-08-22-070405 True False False 74m operator-lifecycle-manager-packageserver 4.9.0-0.nightly-2021-08-22-070405 True False False 7m47s service-ca 4.9.0-0.nightly-2021-08-22-070405 True False False 75m storage 4.9.0-0.nightly-2021-08-22-070405 False True False 75m OpenStackCinderCSIDriverOperatorCRAvailable: Waiting for OpenStackCinder operator to report status [cloud-user@preserve-ocp4-shared-network-dis-bastion1 ~]$ [cloud-user@preserve-ocp4-shared-network-dis-bastion1 ~]$ ./oc logs -n openshift-cluster-csi-drivers openstack-cinder-csi-driver-operator-5c455b8ff-95hxv | grep builder I0823 16:10:09.498938 1 builder.go:252] openstack-cinder-csi-driver-operator version 4.9.0-202108201456.p0.git.352770b.assembly.stream-352770b-352770be61a3c53d58dd6a65ed4fc366afd442dc W0823 16:12:51.646410 1 builder.go:101] graceful termination failed, controllers failed with error: couldn't collect info about cloud availability zones: failed to create a compute client: Post "https://rhos-d.infra.prod.upshift.rdu2.redhat.com:13000/v3/auth/tokens": dial tcp 192.168.0.8:13000: connect: connection refused Verified on 4.9.0-0.nightly-2021-08-23-224104 on PSI (Openstack OSP16.1).
Profile '47_IPI on OSP16 & FloatingIPLess & Disconnected & http_proxy' installation on OCP QE CI runs successfully.
08-24 09:50:18.389 level=debug msg=Time elapsed per stage:
08-24 09:50:18.389 level=debug msg= : 6m7s
08-24 09:50:18.389 level=debug msg=Bootstrap Complete: 9m3s
08-24 09:50:18.389 level=debug msg= Bootstrap Destroy: 36s
08-24 09:50:18.389 level=debug msg= Cluster Operators: 20m46s
08-24 09:50:18.389 level=info msg=Time elapsed: 38m27s
$ ./oc get clusteroperators
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE
authentication 4.9.0-0.nightly-2021-08-23-224104 True False False 39m
baremetal 4.9.0-0.nightly-2021-08-23-224104 True False False 62m
cloud-controller-manager 4.9.0-0.nightly-2021-08-23-224104 True False False 66m
cloud-credential 4.9.0-0.nightly-2021-08-23-224104 True False False 67m
cluster-autoscaler 4.9.0-0.nightly-2021-08-23-224104 True False False 62m
config-operator 4.9.0-0.nightly-2021-08-23-224104 True False False 65m
console 4.9.0-0.nightly-2021-08-23-224104 True False False 44m
csi-snapshot-controller 4.9.0-0.nightly-2021-08-23-224104 True False False 64m
dns 4.9.0-0.nightly-2021-08-23-224104 True False False 62m
etcd 4.9.0-0.nightly-2021-08-23-224104 True False False 63m
image-registry 4.9.0-0.nightly-2021-08-23-224104 True False False 48m
ingress 4.9.0-0.nightly-2021-08-23-224104 True False False 46m
insights 4.9.0-0.nightly-2021-08-23-224104 True False False 52m
kube-apiserver 4.9.0-0.nightly-2021-08-23-224104 True False False 61m
kube-controller-manager 4.9.0-0.nightly-2021-08-23-224104 True False False 61m
kube-scheduler 4.9.0-0.nightly-2021-08-23-224104 True False False 63m
kube-storage-version-migrator 4.9.0-0.nightly-2021-08-23-224104 True False False 65m
machine-api 4.9.0-0.nightly-2021-08-23-224104 True False False 57m
machine-approver 4.9.0-0.nightly-2021-08-23-224104 True False False 63m
machine-config 4.9.0-0.nightly-2021-08-23-224104 True False False 63m
marketplace 4.9.0-0.nightly-2021-08-23-224104 True False False 62m
monitoring 4.9.0-0.nightly-2021-08-23-224104 True False False 44m
network 4.9.0-0.nightly-2021-08-23-224104 True False False 64m
node-tuning 4.9.0-0.nightly-2021-08-23-224104 True False False 62m
openshift-apiserver 4.9.0-0.nightly-2021-08-23-224104 True False False 59m
openshift-controller-manager 4.9.0-0.nightly-2021-08-23-224104 True False False 56m
openshift-samples 4.9.0-0.nightly-2021-08-23-224104 True False False 55m
operator-lifecycle-manager 4.9.0-0.nightly-2021-08-23-224104 True False False 63m
operator-lifecycle-manager-catalog 4.9.0-0.nightly-2021-08-23-224104 True False False 63m
operator-lifecycle-manager-packageserver 4.9.0-0.nightly-2021-08-23-224104 True False False 59m
service-ca 4.9.0-0.nightly-2021-08-23-224104 True False False 65m
storage 4.9.0-0.nightly-2021-08-23-224104 True False False 59m
$ ./oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.9.0-0.nightly-2021-08-23-224104 True False 39m Cluster version is 4.9.0-0.nightly-2021-08-23-224104
./oc get pods -n openshift-cluster-csi-drivers openstack-cinder-csi-driver-operator-65b87cfdb7-lrhlb -o yaml | grep ^spec: -A30 | grep HTTP -A2
- name: HTTPS_PROXY
value: http://192.168.0.8:8888
- name: HTTP_PROXY
value: http://192.168.0.8:8888
PVCs on intree-cinder, outtree-cinder and manila were created successfully on the setup:
$ ./oc get pvc -A
NAMESPACE NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
test pvc1 Bound pvc-de5b93d5-0c76-498a-a9da-5a59b1d24ff4 1Gi RWO sc-test-outtree 6m28s
test pvc2 Bound pvc-8f95b883-a34e-42fe-b236-7cfd8a858998 1Gi RWO sc-test-intree 10m
test pvc3 Bound pvc-493fffb3-8a2e-4c3f-acbb-b86e1ff12e7c 1Gi RWO csi-manila-ceph 3m45s
The previous 4.9 without the fix that was hitting the issue was 4.9.0-0.nightly-2021-08-22-070405
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759 |