Bug 1815394
| Summary: | [RHV] machine instance-state annotation discrepancy with providerStatus.instanceState | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Milind Yadav <miyadav> | |
| Component: | Cloud Compute | Assignee: | Evgeny Slutsky <eslutsky> | |
| Cloud Compute sub component: | oVirt Provider | QA Contact: | Jianwei Hou <jhou> | |
| Status: | CLOSED NOTABUG | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | medium | CC: | gzaidman, hpopal, pelauter | |
| Version: | 4.4 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.7.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1886848 (view as bug list) | Environment: | ||
| Last Closed: | 2020-11-24 12:44:53 UTC | Type: | --- | |
| 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: | 1886848, 1949506 | |||
|
Description
Milind Yadav
2020-03-20 06:41:31 UTC
This is a machine spec from RHV, the instance-status annotation contains a dump of the machine spec.
```
- apiVersion: machine.openshift.io/v1beta1
kind: Machine
metadata:
annotations:
instance-status: |
{"kind":"Machine","apiVersion":"machine.openshift.io/v1beta1","metadata":{"name":"six-g7gng-master-2","namespace":"openshift-machine-api","selfLink":"/apis/machine.openshift.io/v1beta1/namespaces/openshift-machine-api/machines/six-g7gng-master-2","uid":"8ecad490-6e9d-4e60-ad38-6e01938441a6","resourceVersion":"1457573","generation":1,"creationTimestamp":"2020-03-18T15:41:17Z","labels":{"machine.openshift.io/cluster-api-cluster":"six-g7gng","machine.openshift.io/cluster-api-machine-role":"master","machine.openshift.io/cluster-api-machine-type":"master"},"annotations":{"VmId":"09cadc05-09be-4dbc-ba75-fe50848fbbd1","instance-status":""},"finalizers":["machine.machine.openshift.io"]},"spec":{"metadata":{"creationTimestamp":null},"providerSpec":{"value":{"apiVersion":"ovirtproviderconfig.openshift.io/v1beta1","cluster_id":"7321c6b7-9abb-4de6-affa-b4ce9b4124a0","credentialsSecret":{"name":"ovirt-credentials"},"id":"","kind":"OvirtMachineProviderSpec","metadata":{"creationTimestamp":null},"name":"","template_name":"six-g7gng-rhcos","userDataSecret":{"name":"master-user-data"}}},"providerID":"09cadc05-09be-4dbc-ba75-fe50848fbbd1"},"status":{"nodeRef":{"kind":"Node","name":"six-g7gng-master-2","uid":"f484cd00-3bfe-47b5-9d6e-9feb4a5d7a27"},"lastUpdated":"2020-03-20T03:36:51Z","providerStatus":{"metadata":{"creationTimestamp":null},"instanceId":"six-g7gng-master-2","instanceState":"up","conditions":[{"type":"MachineCreated","status":"True","lastProbeTime":"2020-03-20T03:36:51Z","lastTransitionTime":"2020-03-20T03:36:51Z","reason":"machineCreationSucceedReason","message":"machineCreationSucceedMessage"}]},"addresses":[{"type":"InternalDNS","address":"six-g7gng-master-2"},{"type":"InternalIP","address":"10.37.142.208"}],"phase":"Running"}}
creationTimestamp: "2020-03-18T15:41:17Z"
finalizers:
- machine.machine.openshift.io
generation: 1
labels:
machine.openshift.io/cluster-api-cluster: six-g7gng
machine.openshift.io/cluster-api-machine-role: master
machine.openshift.io/cluster-api-machine-type: master
name: six-g7gng-master-2
namespace: openshift-machine-api
resourceVersion: "1457607"
selfLink: /apis/machine.openshift.io/v1beta1/namespaces/openshift-machine-api/machines/six-g7gng-master-2
uid: 8ecad490-6e9d-4e60-ad38-6e01938441a6
spec:
metadata:
creationTimestamp: null
providerSpec:
value:
apiVersion: ovirtproviderconfig.openshift.io/v1beta1
cluster_id: 7321c6b7-9abb-4de6-affa-b4ce9b4124a0
credentialsSecret:
name: ovirt-credentials
id: ""
kind: OvirtMachineProviderSpec
metadata:
creationTimestamp: null
name: ""
template_name: six-g7gng-rhcos
userDataSecret:
name: master-user-data
status:
addresses:
- address: six-g7gng-master-2
type: InternalDNS
- address: 10.37.142.208
type: InternalIP
lastUpdated: "2020-03-20T03:36:51Z"
nodeRef:
kind: Node
name: six-g7gng-master-2
uid: f484cd00-3bfe-47b5-9d6e-9feb4a5d7a27
phase: Running
providerStatus:
conditions:
- lastProbeTime: "2020-03-20T03:36:51Z"
lastTransitionTime: "2020-03-20T03:36:51Z"
message: machineCreationSucceedMessage
reason: machineCreationSucceedReason
status: "True"
type: MachineCreated
instanceId: six-g7gng-master-2
instanceState: up
metadata:
creationTimestamp: null
```
Any bz pointing a release different than the current one being targeted must have a parent BZ targeting 4.5. Only release blockers must point to 4.4.0, they should point to 4.4.z otherwise. Thanks! due to capacity constraints we will be revisiting this bug in the upcoming sprint due to capacity constraints we will be revisiting this bug in the upcoming sprint Looking at the other fixes, I belive this was fixed by https://github.com/openshift/cluster-api-provider-ovirt/pull/53/files#diff-ec03c5cc5e98ce98b95b49638d4c1baf2e7c88d106e8005c56a334709596b8f7R261-R270 tried to look at my local cluster and couldn't reproduce... Closing this |