Solved – glance can’t create image

If you have problem when creating images from glance command line and found error like this: “You must provide a username via either –os-username or env[OS_USERNAME]” just calm down and it’s mean that you need to specified region name. To solved this problem, you can create source or export some parameters like this:

export OS_TENANT_NAME=admin
export OS_USERNAME=admin_user
export OS_PASSWORD=your_admin_password
export OS_AUTH_URL=”http://node1.safiracloud.com:5000/v2.0/”
export OS_REGION_NAME=RegionOne

If you don’t understand, please leave a comment :)

Leave a Reply

Your email address will not be published. Required fields are marked *


*