Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconcile based on task status and support networking #1

Closed
wants to merge 2 commits into from

Conversation

enxebre
Copy link
Owner

@enxebre enxebre commented Dec 20, 2019

Reconcile based on task status.
Support networking devices and set IPs on status.

I1220 10:35:09.907747   27157 reconciler.go:123] test: does not exist
I1220 10:35:09.907828   27157 controller.go:386] test: going into phase "Provisioning"
I1220 10:35:10.067193   27157 controller.go:295] test: reconciling machine triggers idempotent create
I1220 10:35:10.067239   27157 actuator.go:56] test: actuator creating machine
I1220 10:35:11.229458   27157 reconciler.go:63] test: cloning
I1220 10:35:11.229524   27157 session.go:101] Find template by instance uuid Workloads/Cuppett Fedora
I1220 10:35:11.533673   27157 session.go:111] Find template by name Workloads/Cuppett Fedora
I1220 10:35:22.403051   27157 reconciler.go:264] Getting network devices
I1220 10:35:22.403191   27157 reconciler.go:326] Adding device: Workload Network
I1220 10:35:23.227008   27157 reconciler.go:355] Adding device: eth card type: vmxnet3, network spec: &{NetworkName:Workload Network}, device info: &{VirtualDeviceBackingInfo:{DynamicData:{}} OpaqueNetworkId:03291084-6e41-4641-926d-8360a8860605 OpaqueNetworkType:nsx.LogicalSwitch}
I1220 10:35:23.581553   27157 reconciler.go:308] test: running task: task-9959
I1220 10:35:23.581635   27157 machine_scope.go:81] test: patching
I1220 10:35:23.891511   27157 controller.go:307] test: created instance, requeuing
I1220 10:35:23.891604   27157 controller.go:162] test: reconciling Machine
I1220 10:35:23.891623   27157 actuator.go:76] test: actuator checking if machine exists
I1220 10:35:24.450728   27157 reconciler.go:123] test: does not exist
I1220 10:35:24.450768   27157 controller.go:295] test: reconciling machine triggers idempotent create
I1220 10:35:24.450781   27157 actuator.go:56] test: actuator creating machine
I1220 10:35:25.019912   27157 reconciler.go:376] task: task-9959, state: running, description-id: VirtualMachine.clone
I1220 10:35:25.020002   27157 reconciler.go:382] task is still running
I1220 10:35:25.020026   27157 machine_scope.go:81] test: patching
E1220 10:35:25.330055   27157 actuator.go:47] test error: task task-9959 has not finished
W1220 10:35:25.330242   27157 controller.go:297] test: failed to create machine: task task-9959 has not finished
I1220 10:35:26.333707   27157 controller.go:162] test: reconciling Machine
I1220 10:35:26.333801   27157 actuator.go:76] test: actuator checking if machine exists
I1220 10:35:27.006557   27157 reconciler.go:123] test: does not exist
I1220 10:35:27.006587   27157 controller.go:295] test: reconciling machine triggers idempotent create
I1220 10:35:27.006597   27157 actuator.go:56] test: actuator creating machine
I1220 10:35:27.579505   27157 reconciler.go:376] task: task-9959, state: running, description-id: VirtualMachine.clone
I1220 10:35:27.579576   27157 reconciler.go:382] task is still running
I1220 10:35:27.579593   27157 machine_scope.go:81] test: patching
E1220 10:35:27.733998   27157 actuator.go:47] test error: task task-9959 has not finished
W1220 10:35:27.734039   27157 controller.go:297] test: failed to create machine: task task-9959 has not finished
I1220 10:35:28.736921   27157 controller.go:162] test: reconciling Machine
I1220 10:35:28.736969   27157 actuator.go:76] test: actuator checking if machine exists
I1220 10:35:29.350993   27157 reconciler.go:123] test: does not exist
I1220 10:35:29.351030   27157 controller.go:295] test: reconciling machine triggers idempotent create
I1220 10:35:29.351049   27157 actuator.go:56] test: actuator creating machine
I1220 10:35:30.080727   27157 reconciler.go:376] task: task-9959, state: running, description-id: VirtualMachine.clone
I1220 10:35:30.080837   27157 reconciler.go:382] task is still running
I1220 10:35:30.080858   27157 machine_scope.go:81] test: patching
E1220 10:35:30.235488   27157 actuator.go:47] test error: task task-9959 has not finished
W1220 10:35:30.235552   27157 controller.go:297] test: failed to create machine: task task-9959 has not finished
I1220 10:35:31.240436   27157 controller.go:162] test: reconciling Machine
I1220 10:35:31.240580   27157 actuator.go:76] test: actuator checking if machine exists
I1220 10:35:31.821347   27157 reconciler.go:123] test: does not exist
I1220 10:35:31.821386   27157 controller.go:295] test: reconciling machine triggers idempotent create
I1220 10:35:31.821401   27157 actuator.go:56] test: actuator creating machine
I1220 10:35:32.640679   27157 reconciler.go:376] task: task-9959, state: running, description-id: VirtualMachine.clone
I1220 10:35:32.640744   27157 reconciler.go:382] task is still running
I1220 10:35:32.640758   27157 machine_scope.go:81] test: patching
E1220 10:35:32.793749   27157 actuator.go:47] test error: task task-9959 has not finished
W1220 10:35:32.793865   27157 controller.go:297] test: failed to create machine: task task-9959 has not finished
I1220 10:35:33.797941   27157 controller.go:162] test: reconciling Machine
I1220 10:35:33.798006   27157 actuator.go:76] test: actuator checking if machine exists
I1220 10:35:34.590401   27157 reconciler.go:123] test: does not exist
I1220 10:35:34.590438   27157 controller.go:295] test: reconciling machine triggers idempotent create
I1220 10:35:34.590448   27157 actuator.go:56] test: actuator creating machine
I1220 10:35:35.200738   27157 reconciler.go:376] task: task-9959, state: running, description-id: VirtualMachine.clone
I1220 10:35:35.200786   27157 reconciler.go:382] task is still running
I1220 10:35:35.200818   27157 machine_scope.go:81] test: patching
E1220 10:35:35.359164   27157 actuator.go:47] test error: task task-9959 has not finished
W1220 10:35:35.359241   27157 controller.go:297] test: failed to create machine: task task-9959 has not finished
I1220 10:35:36.364256   27157 controller.go:162] test: reconciling Machine
I1220 10:35:36.364304   27157 actuator.go:76] test: actuator checking if machine exists
I1220 10:35:36.960535   27157 reconciler.go:126] test: already exists
I1220 10:35:36.960588   27157 controller.go:259] test: reconciling machine triggers idempotent update
I1220 10:35:36.960607   27157 actuator.go:89] test: actuator updating machine
I1220 10:35:37.565619   27157 reconciler.go:376] task: task-9959, state: success, description-id: VirtualMachine.clone
I1220 10:35:37.565673   27157 reconciler.go:385] task has succeeded
I1220 10:35:38.126731   27157 reconciler.go:408] vm-2107: powering on
I1220 10:35:38.477482   27157 reconciler.go:414] vm-2107: requeue to wait for power on state
I1220 10:35:38.477588   27157 machine_scope.go:81] test: patching
E1220 10:35:38.982144   27157 controller.go:266] test: instance exists but providerID or addresses has not been given to the machine yet, requeuing
I1220 10:36:08.986859   27157 controller.go:162] test: reconciling Machine
I1220 10:36:08.986909   27157 actuator.go:76] test: actuator checking if machine exists
I1220 10:36:09.516403   27157 reconciler.go:126] test: already exists
I1220 10:36:09.516470   27157 controller.go:259] test: reconciling machine triggers idempotent update
I1220 10:36:09.516491   27157 actuator.go:89] test: actuator updating machine
I1220 10:36:10.042636   27157 reconciler.go:376] task: task-9959, state: success, description-id: VirtualMachine.clone
I1220 10:36:10.042672   27157 reconciler.go:385] task has succeeded
I1220 10:36:10.895016   27157 reconciler.go:417] vm-2107: powered on
I1220 10:36:10.895068   27157 reconciler.go:137] test: reconciling machine with cloud state
I1220 10:36:10.895092   27157 reconciler.go:140] test: reconciling network
I1220 10:36:11.858694   27157 reconciler.go:485] Getting network status: object reference: vm-2107
I1220 10:36:11.858735   27157 reconciler.go:494] Getting network status: device: nsx.LogicalSwitch: 03291084-6e41-4641-926d-8360a8860605, macAddress: 00:50:56:98:92:69
I1220 10:36:11.858751   27157 reconciler.go:499] Getting network status: getting guest info
I1220 10:36:11.858760   27157 reconciler.go:167] test: reconciling network: IP addresses: []
I1220 10:36:11.858791   27157 machine_scope.go:81] test: patching
E1220 10:36:12.046366   27157 controller.go:266] test: instance exists but providerID or addresses has not been given to the machine yet, requeuing
I1220 10:36:42.052039   27157 controller.go:162] test: reconciling Machine
I1220 10:36:42.052094   27157 actuator.go:76] test: actuator checking if machine exists
I1220 10:36:42.606070   27157 reconciler.go:126] test: already exists
I1220 10:36:42.606106   27157 controller.go:259] test: reconciling machine triggers idempotent update
I1220 10:36:42.606116   27157 actuator.go:89] test: actuator updating machine
I1220 10:36:43.398388   27157 reconciler.go:376] task: task-9959, state: success, description-id: VirtualMachine.clone
I1220 10:36:43.398423   27157 reconciler.go:385] task has succeeded
I1220 10:36:44.012416   27157 reconciler.go:417] vm-2107: powered on
I1220 10:36:44.012441   27157 reconciler.go:137] test: reconciling machine with cloud state
I1220 10:36:44.012450   27157 reconciler.go:140] test: reconciling network
I1220 10:36:44.585711   27157 reconciler.go:485] Getting network status: object reference: vm-2107
I1220 10:36:44.585737   27157 reconciler.go:494] Getting network status: device: nsx.LogicalSwitch: 03291084-6e41-4641-926d-8360a8860605, macAddress: 00:50:56:98:92:69
I1220 10:36:44.585745   27157 reconciler.go:499] Getting network status: getting guest info
I1220 10:36:44.585751   27157 reconciler.go:501] Getting network status: getting guest info: network: {DynamicData:{} Network: IpAddress:[192.168.1.184 fe80::b923:968:9f78:8280 fe80::f177:e792:fc66:3191] MacAddress:00:50:56:98:92:69 Connected:true DeviceConfigId:4000 DnsConfig:<nil> IpConfig:0xc0004f9b90 NetBIOSConfig:<nil>}
I1220 10:36:44.585782   27157 reconciler.go:167] test: reconciling network: IP addresses: [{InternalIP 192.168.1.184} {InternalIP fe80::b923:968:9f78:8280} {InternalIP fe80::f177:e792:fc66:3191}]
I1220 10:36:44.585810   27157 machine_scope.go:81] test: patching
I1220 10:36:44.757354   27157 controller.go:386] test: going into phase "Provisioned"
I1220 10:36:44.917738   27157 controller.go:275] test: has no node yet, requeuing
I1220 10:36:44.917815   27157 controller.go:162] test: reconciling Machine
I1220 10:36:44.917837   27157 actuator.go:76] test: actuator checking if machine exists
I1220 10:36:45.663232   27157 reconciler.go:126] test: already exists
I1220 10:36:45.663264   27157 controller.go:259] test: reconciling machine triggers idempotent update
I1220 10:36:45.663277   27157 actuator.go:89] test: actuator updating machine
I1220 10:36:46.367779   27157 reconciler.go:376] task: task-9959, state: success, description-id: VirtualMachine.clone
I1220 10:36:46.367824   27157 reconciler.go:385] task has succeeded
I1220 10:36:46.940618   27157 reconciler.go:417] vm-2107: powered on
I1220 10:36:46.940706   27157 reconciler.go:137] test: reconciling machine with cloud state
I1220 10:36:46.940721   27157 reconciler.go:140] test: reconciling network
I1220 10:36:47.538220   27157 reconciler.go:485] Getting network status: object reference: vm-2107
I1220 10:36:47.538250   27157 reconciler.go:494] Getting network status: device: nsx.LogicalSwitch: 03291084-6e41-4641-926d-8360a8860605, macAddress: 00:50:56:98:92:69
I1220 10:36:47.538265   27157 reconciler.go:499] Getting network status: getting guest info
I1220 10:36:47.538274   27157 reconciler.go:501] Getting network status: getting guest info: network: {DynamicData:{} Network: IpAddress:[192.168.1.184 fe80::b923:968:9f78:8280 fe80::f177:e792:fc66:3191] MacAddress:00:50:56:98:92:69 Connected:true DeviceConfigId:4000 DnsConfig:<nil> IpConfig:0xc00042af00 NetBIOSConfig:<nil>}
I1220 10:36:47.538303   27157 reconciler.go:167] test: reconciling network: IP addresses: [{InternalIP 192.168.1.184} {InternalIP fe80::b923:968:9f78:8280} {InternalIP fe80::f177:e792:fc66:3191}]
I1220 10:36:47.538391   27157 machine_scope.go:81] test: patching
I1220 10:36:47.702321   27157 controller.go:275] test: has no node yet, requeuing
status:
  addresses:
  - address: 192.168.1.184
    type: InternalIP
  - address: fe80::b923:968:9f78:8280
    type: InternalIP
  - address: fe80::f177:e792:fc66:3191
    type: InternalIP
  lastUpdated: "2019-12-20T09:36:44Z"
  phase: Provisioned
  providerStatus:
    metadata: {}
    taskRef: task-9959

@enxebre
Copy link
Owner Author

enxebre commented Dec 20, 2019

/hold
needs openshift#447

@enxebre enxebre closed this Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant