chef / knife-vrealize

Plugin for Chef's knife tool to interact with VMware vRealize products
Apache License 2.0
13 stars 13 forks source link

console doesn't always return the IP at the end of the run #31

Open mcascone opened 7 years ago

mcascone commented 7 years ago

Versions:

Platform Details

Scenario:

Find the IP of the machine I just spun. The console doesn't always get the IP - I'd say it gets it less often than it doesn't.

Steps to Reproduce:

Spin a machine

Expected Result:

MTPCTSCID963 [2017-08-18T11:52:13-05:00] INFO: Report handlers complete
Server ID: b2ed6164-c2e8-47da-930c-96b55fb89eb2
Server Name: MTPCTSCID963
IP Address: 10.123.123.12
Status: ACTIVE
Owner IDs: mcascone@xyz.com
Owner Names: Max Cascone
C:\>

Actual Result:

MTPCTSCID963 [2017-08-18T11:52:13-05:00] INFO: Report handlers complete
Server ID: b2ed6164-c2e8-47da-930c-96b55fb89eb2
Server Name: MTPCTSCID963
Waiting For vRA to collect the IPWaiting For vRA to collect the IPStatus: ACTIVE
Owner IDs: mcascone@consilio.com
Owner Names: Max Cascone
C:\>
jjasghar commented 7 years ago

It looks like i was able to repo this today:

~/repo/vmware_playground on master± knife vra server create b265441a-e81f-4736-9a5e-3fa439134c0e --ssh-user admini --ssh-password admini --run-list "recipe[base]" --node-ssl-verify-mode none --cpus 1 --memory 512 --requested-for devmgr@corp.local --subtenant-id tirefi
Catalog request 312e0a13-87f1-4c84-b08f-d929eb986c3a submitted.
Waiting for request to complete.
Current request status: PENDING_PRE_APPROVAL........
Current request status: IN_PROGRESS..............................................................................................................................
Catalog request complete.

Request Status: SUCCESSFUL
Completion State: SUCCESSFUL

Server ID: e88f2545-d3bf-4a6e-a1b3-69aeaf0efa0c
Server Name: vra02
Waiting For vRA to collect the IP..............................

I'm investigating it. Does it happen everytime, or randomly or every other time?

mcascone commented 7 years ago

I haven't used it in a while, but as I said in the original entry, it seems to happen a lot more than it doesn't. In other words, it only intermittently got the ip. Most times it didn't.