Bug 1826100
| Summary: | vSphere IPI - Platform and cloud provider read Folder but machine creation still using clusterID | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | davis phillips <dphillip> |
| Component: | Installer | Assignee: | Patrick Dillon <padillon> |
| Installer sub component: | openshift-installer | QA Contact: | jima |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | adahiya, jcallen, jima |
| Version: | 4.5 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: the cloud provider config was always populated with a folder named after the cluster name
Consequence: in clusters with a folder that was not named after cluster name, machine API would error with incorrect folder
Fix: update cloud provider config to use the specified folder name
Result: machine api can properly create workers in correct folder
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-13 17:29:33 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
davis phillips
2020-04-20 21:28:48 UTC
*** Bug 1825954 has been marked as a duplicate of this bug. *** Verified on nightly build: 4.5.0-0.nightly-2020-05-13-014437, cluster is created under provided sub-folder, and also test to scaleup workers and destroy clusters, all works well.
# ../oc describe machineset -n openshift-machine-api jima1826100-bjjbb-worker
.....
Spec:
Replicas: 3
Selector:
Match Labels:
machine.openshift.io/cluster-api-cluster: jima1826100-bjjbb
machine.openshift.io/cluster-api-machineset: jima1826100-bjjbb-worker
Template:
Metadata:
Labels:
machine.openshift.io/cluster-api-cluster: jima1826100-bjjbb
machine.openshift.io/cluster-api-machine-role: worker
machine.openshift.io/cluster-api-machine-type: worker
machine.openshift.io/cluster-api-machineset: jima1826100-bjjbb-worker
Spec:
Metadata:
Provider Spec:
Value:
API Version: vsphereprovider.openshift.io/v1beta1
Credentials Secret:
Name: vsphere-cloud-credentials
Disk Gi B: 50
Kind: VSphereMachineProviderSpec
Memory Mi B: 8192
Metadata:
Creation Timestamp: <nil>
Network:
Devices:
Network Name: VM Network
Num CP Us: 4
Num Cores Per Socket: 2
Snapshot:
Template: jima1826100-bjjbb-rhcos
User Data Secret:
Name: worker-user-data
Workspace:
Datacenter: dc1
Datastore: 10TB-GOLD
Folder: /dc1/vm/jima/jima1826100
Server: vcsa2-qe.vmware.devcluster.openshift.com
Status:
Available Replicas: 3
Fully Labeled Replicas: 3
Observed Generation: 2
Ready Replicas: 3
Replicas: 3
Events: <none>
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, 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/RHBA-2020:2409 |