Ask Your Question

Instance volume is not accessible

asked 2018-10-31 06:59:45 -0500

soheil08 gravatar image


I created a new project with a new use in OpenStack-PackStack. Using dashboard In the new project, I lunch an instance with a source of CentOS ISO file and during lunching instance, I set it to create a new volume for that instance. After creating a new instance, an attached volume for it is visible in the volume tabs of the dashboard. The problem is running the new instance, in the CentOS installation wizard, the is no disk to choose. It means the operation of attaching the volume to instance was not done correctly. But surprisingly in the dashboard, the volume is created and attached to the new instance. I try the command "openstack volume list" and there isn't any volume listed there.

I created a volume using the command line, "openstack volume create --size 10 --availability-zone nova CentOS-Disk" and attached it to the CentOS instance, So then I can choose the disk in CentOS installation. Using this approach the problem is the command-line-created volume is for user "admin" and in the dashboard of the instance's user, I can't see the volume! How can I solve such problem?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-11-02 18:32:19 -0500

emccormickva gravatar image

updated 2018-11-02 18:32:48 -0500

'm not sure why you don't see the root disk in the installer. I've never tried installing from an ISO in an instance like that. However, the reason for your CLI / GUI discrepancy is that volumes are specific to project.. I'm guessing our credentials for the CLI are in the admin project, whereas your scope in the dashboard is the new project you created.

If you do 'openstack volume list --all-projects' on the CLI you should also see the volume. If you create a volume from the cli without any project flag though, you won't be able to see it in your new project. You can do 'openstack volume create --project foo ...' to set which project it goes to.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-10-31 06:59:45 -0500

Seen: 124 times

Last updated: Nov 02 '18