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

Boot Volume ID not returned from oci compute instance get or oci ansible compute facts #744

Open
daniel-aslan opened this issue Jan 24, 2024 · 1 comment

Comments

@daniel-aslan
Copy link

I have tried running "oci compute instance get --instance-id $OCID" and do not get boot volume id in the data. Also don't get the output from ansible using oracle.oci.oci_compute_instance_facts.

Using CLI or ansible this is the return value.
"source-details": { "boot-volume-size-in-gbs": null, "boot-volume-vpus-per-gb": null, "image-id": "ocid1.image.oc1.phx.xxxxxxxxxxxxpti5kzb6qbm5mi6t26g6euqwts3a42zxkuvtq", "instance-source-image-filter-details": null, "kms-key-id": null, "source-type": "image" },

@adizohar
Copy link
Member

In order to get the boot volume that attached to the compute, you will need to use oci compute boot-volume-attachment list
The source-details will be populate if the instance created from boot volume or image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants