ansibleplaybookbundle / import-vm-apb

Import a Virtual Machine
Apache License 2.0
9 stars 13 forks source link

options in console goes away when provisioning again #60

Closed vatsalparekh closed 2 years ago

vatsalparekh commented 6 years ago

After provisioning an apb, (mostly when the apb went unsuccessful) if going to provision the same apb again, all the options are gone, it needs a explicit browser refresh to see them again Not sure if this is a APB issue or something with the console screenshot from 2018-08-16 18-14-08

aglitke commented 6 years ago

This seems like either a console or ASB issue. @rthallisey thoughts on where to report this?

rthallisey commented 6 years ago

@vatsalparekh if this occurs again, check the clusterserviceplans to see if there are any from the broker.

oc get clusterserviceplan -o custom-columns=Name:spec.externalName,externalID:spec.externalID,Broker:spec.clusterServiceBrokerName,ClusterServiceClass:spec.clusterServiceClassRef.name

Think we should close this an report it to https://github.com/openshift/ansible-service-broker

vatsalparekh commented 6 years ago

@rthallisey it occurred again, and I do see plans related to this apb, here's the output

[cloud-user@cnv-executor-vatsal-master1 ~]$ oc get clusterserviceplan -o custom-columns=Name:spec.externalName,externalID:spec.externalID,Broker:spec.clusterServiceBrokerName,ClusterServiceClass:spec.clusterServiceClassRef.name
Name              externalID                             Broker                    ClusterServiceClass
persistent        00d2f956b4d3062a11ed927b5b35dcb8       ansible-service-broker    5d0062cce443e5ecb8438ca5f664dcd7
managed           05adec454fcd119b5fcc5cea75acaca9       ansible-service-broker    08ccf37be271fba38b1a70f87302297f
persistent        07d919f45d0121a508b6e7b3be8502fb       ansible-service-broker    b95513950bb3f132de25d58fb75f8dca
immutable-mon     0ddbf672a4f73f04dc84263544d4ff78       ansible-service-broker    08ccf37be271fba38b1a70f87302297f
ceph              0eaf51e3ad2f8bc797e2fb334881aec7       ansible-service-broker    53046edd737292ba731e28556bec3a38
default           0ec66d6f848f331897a2bc6d239f6d74       ansible-service-broker    928fabe61915c22ad5f97ccb3127430c
cluster           108084c534b7eacf20d768610926d001       ansible-service-broker    e9c042c4925dd0c7c25ceca4f5179e1c
ephemeral         11d395a0f8377ed0f81fb6148720a6fd       ansible-service-broker    aff6d7bb9c7f57c9ce8b742228e4caa3
default           12e3b34b1443535aaa24b948cc3a2fd7       ansible-service-broker    478d37510d55e47a89cfbf1d10f92b7d
prod              17835fe3e1d51c1136eecc730e0ef738       ansible-service-broker    1882ffca5d72b1084e9107e3485f5066
Persistent        184627db8f7f4b9e2e1bc0499d5841a1       ansible-service-broker    97a28db2f29cb90245d9cc58ba226273
ephemeral         21bda305e7e4b51407580773bdfa54b8       ansible-service-broker    f755257efed3e3d43c8b82afd0db1181
url               243d2f9d48adad0a9ebade46b9d29b85       ansible-service-broker    60836f0ce3bd7d325587211dd7791f5b
url               244a8b32ebaf53ee13af51bb1bc78876       ansible-service-broker    073bb1c39463750a28417bb18c2aeb61
default           2529017a538fda00903782ddd68124c9       ansible-service-broker    9f7da06f179b895a8ee5f9a3ce4af7ef
default           26a149852d147c700a37fcfebeca5a6b       ansible-service-broker    f830fb63f6df99c7bfae34b295b43108
vmware            27a86d7355e3b350dd1cace7112a5e39       ansible-service-broker    60836f0ce3bd7d325587211dd7791f5b
xtremio           35b512bf4cf054f9ad4292f5a181057e       ansible-service-broker    53046edd737292ba731e28556bec3a38
default           35b7492c6704a6771fa895ebad2dbb1a       ansible-service-broker    f4509733ca0636df3d69b6af53260160
Ephemeral         3872706d56d405a374c7c2894bfd273f       ansible-service-broker    97a28db2f29cb90245d9cc58ba226273
persistent        395e944699d4c60bbda504d18e73f33e       ansible-service-broker    f755257efed3e3d43c8b82afd0db1181
immutable-kie     3c58c57020b2a744524851f18ef6a2fa       ansible-service-broker    08ccf37be271fba38b1a70f87302297f
url-template      3da925f899c00f96e5711df0f7d04644       ansible-service-broker    60836f0ce3bd7d325587211dd7791f5b
default           3e762220f51cb444df228335844df4e7       ansible-service-broker    eebf92c7670f30007a4b8db3a8166d5c
passthrough       3f71ed47005d9900cfe1fc2bcc18160d       ansible-service-broker    1830d9181b425e281b36efbf22f378a4
default           41df348dc9ec40124fd2a5b61b05f8db       ansible-service-broker    d4684c1b61cd094af9aa6ec4a90b4d69
persistent        452037a91db71dba20c19599aed3f13a       ansible-service-broker    e9c042c4925dd0c7c25ceca4f5179e1c
default           4cc7670c-bfd2-11e8-93e7-fa163ee4a48f   template-service-broker   4cc7670c-bfd2-11e8-93e7-fa163ee4a48f
default           4d2a4d65-bfd2-11e8-93e7-fa163ee4a48f   template-service-broker   4d2a4d65-bfd2-11e8-93e7-fa163ee4a48f
default           4d8e617d-bfd2-11e8-93e7-fa163ee4a48f   template-service-broker   4d8e617d-bfd2-11e8-93e7-fa163ee4a48f
persistent        4fd60510018a1d46895d296e124cef4a       ansible-service-broker    192097962f2955b0582b5d53ddb942e4
prod              53bd38d78b2d279f6524ac4f271e9b76       ansible-service-broker    ddd528762894b277001df310a126d5ad
view              54039aaea4141d144b34680d3f0d58bd       ansible-service-broker    d889087d9f39d5b09a06842518f5d9e2
ephemeral         5527fb7f6e22f05cfed77679c01b1aee       ansible-service-broker    c4ef25f81a0c275c8f1bee1b736f3068
default           56ef62e216cd137c901a4d0707bf106d       ansible-service-broker    135bd0df0401e2fdd52fd136935014fb
dev               583f053f9ba165125a16cf9aff768017       ansible-service-broker    ddd528762894b277001df310a126d5ad
Ephemeral         5b40b02845b0f1b34919965a06cd9ef4       ansible-service-broker    927ea718efcc5b039fa2a6cf368f0300
authoring         5b717a85fa6c84d1d515a80884153e5a       ansible-service-broker    08ccf37be271fba38b1a70f87302297f
default           5fbc8d3f83e4719cc9932e8f3a9901ab       ansible-service-broker    880ef3b4ba5fa8d80908e9974228e603
ephemeral         61903698f756adc746b1fd1b28a4bfdd       ansible-service-broker    192097962f2955b0582b5d53ddb942e4
default           6446f514c7e2d2aa95c335dc166489cd       ansible-service-broker    693cb128e68365830c913631300deac0
vmware-template   66b7b8f87759f161fdf1e4416c89ac9f       ansible-service-broker    60836f0ce3bd7d325587211dd7791f5b
default           6acd95356d01ab1753458097d249bff3       ansible-service-broker    c65fbd4e701cb71d74fd2cc35e14432b
custom            6b4c1a2ba3029baebc2e5bc2ac76c4a9       ansible-service-broker    1830d9181b425e281b36efbf22f378a4
url-template      70657df014107b6e07eb62233d1b1d53       ansible-service-broker    5850a5986989cb03eb2d6d90e50b544d
persistent        742c5bc3ebdd3528a6226070a83fd2cb       ansible-service-broker    c4ef25f81a0c275c8f1bee1b736f3068
default           76b2bdf5381b809657c90350726595e5       ansible-service-broker    f6c4486b7fb0cdac4b58e193607f7011
dev               7f4a5e35e4af2beb70076e72fab0b7ff       ansible-service-broker    1dda1477cace09730bd8ed7a6505607e
dev               7f88be6129622f72554c20af879a8ce0       ansible-service-broker    67042296c7c95e84142f21f58da2ebfe
ephemeral         85f2cc9b1c440e49dce41f2939dca1d2       ansible-service-broker    e9c042c4925dd0c7c25ceca4f5179e1c
url               866c9a2f89abf205e08c7564edf84263       ansible-service-broker    5850a5986989cb03eb2d6d90e50b544d
ephemeral         8b6e740822cd0782592374b380bb8eaa       ansible-service-broker    5d0062cce443e5ecb8438ca5f664dcd7
default           8f3cc262d03c96fa7aca174a1adac791       ansible-service-broker    ab24ffd54da0aefdea5277e0edce8425
external          9344f7569606f7b01ab216b4c73d7aa5       ansible-service-broker    b95513950bb3f132de25d58fb75f8dca
default           967abf12e1801de907b5c96f96f5b939       ansible-service-broker    2c79572fbf83125231198451c26e7cf9
ephemeral         a16a6598a77366d895e9a69a5b6e6b2c       ansible-service-broker    b95513950bb3f132de25d58fb75f8dca
prod              a180af14f32f36f62f03d1fc83215bb6       ansible-service-broker    67042296c7c95e84142f21f58da2ebfe
f28               a1d243f4d7f22777c8d0d67cb4ac1503       ansible-service-broker    1dd62d51c52cc2ac404d58abc0c8fa94
default           a7f2eb136c88bfde4b33339c255a64e1       ansible-service-broker    ca91b61da8476984f18fc13883ae2fdb
default           ae1e4adeb103e7587e4004ec2ebb938f       ansible-service-broker    4408b368ae2f09a5358340a2a10e197b
default           b0a54fc269e1d2391641df450cd35cac       ansible-service-broker    a946a139a9308a59bf642ac52b4ba317
default           b2bba601df39d5774c2313bc716981e0       ansible-service-broker    ba9c2d4db404ce97111bea80225de968
f27               b32bd42e517bfa65276978a848ef6322       ansible-service-broker    1dd62d51c52cc2ac404d58abc0c8fa94
default           b75d3b596c430a7fcd637d926369759a       ansible-service-broker    09628db4757fd1a2db85d465106b9f82
default           bc898102-bfcf-11e8-93e7-fa163ee4a48f   template-service-broker   bc898102-bfcf-11e8-93e7-fa163ee4a48f
dev               c807d90b42af8339e007ed6eebecea99       ansible-service-broker    21e1bfbf09d5a7fb8a54042f504f26be
url-template      c80f3acfb8afbaec03fcf93d620f2054       ansible-service-broker    073bb1c39463750a28417bb18c2aeb61
default           cec01ee455869656cf280a71e968d122       ansible-service-broker    595db86e75325f430afa4fa3f7d69af9
default           db1cdb40646cd408a924445e2b95a1bf       ansible-service-broker    b43a4272a6efcaaa3e0b9616324f1099
default           dbd3a0774c2e9ece318024083b32bafa       ansible-service-broker    3f85c20e073a9c761d3f8560b4c5180b
persistent        e02327071325edb7dd97243053f3c3ea       ansible-service-broker    aff6d7bb9c7f57c9ce8b742228e4caa3
default           e2bedf1aeec9ebd41b9308d831fcdf47       ansible-service-broker    6df7afbd132c094704b4a8bfd44378c0
default           e6304baf7ba0781fcf87068a11041b2c       ansible-service-broker    fd9b21a9caa8bf8b42b27bb0c90d3b74
Persistent        e807507939e2fd291b9752bb67e54057       ansible-service-broker    927ea718efcc5b039fa2a6cf368f0300
prod              ea4c99bb7d7d0d492ce55a8ac8c75373       ansible-service-broker    1dda1477cace09730bd8ed7a6505607e
default           edb27dcda66700646529749cb69bd4de       ansible-service-broker    0e991006d21029e47abe71acc255e807
trial             f5dd005f522af6c9e11d9f51725cbb0c       ansible-service-broker    08ccf37be271fba38b1a70f87302297f
prod              fe32d49f9e2b579ce83455d402fd56bd       ansible-service-broker    21e1bfbf09d5a7fb8a54042f504f26be
rthallisey commented 6 years ago

@vatsalparekh find the matching clusterserviceclass uuid of the import-vm-apb.

# Grab the import-vm-apb UUID
oc get clusterserviceplan -o custom-columns=Name:spec.externalName,externalID:spec.externalID,Broker:spec.clusterServiceBrokerName,ClusterServiceClass:spec.clusterServiceClassRef.name | grep import-vm-apb

# grep for the UUID
oc get clusterserviceplan -o custom-columns=Name:spec.externalName,externalID:spec.externalID,Broker:spec.clusterServiceBrokerName,ClusterServiceClass:spec.clusterServiceClassRef.name | grep <import-vm-apb-uuid>

The expected result is that the plan exist.

On the latest console in master, everything is dynamics so refreshes won't be required. This could be a limitation of the console for 3.10.