Ask Your Question

Revision history [back]

Combination bellow works fine :-

# cat   keystonerc_admin
export OS_USERNAME=admin
export OS_TENANT_NAME=admin
export OS_PASSWORD=xxxxxxxxxxxxxxxxx
export OS_AUTH_URL=http://192.169.142.127:5000/v2.0/
export OS_REGION_NAME=RegionOne
export PS1='[\u@\h \W(keystone_admin)]\$ '

Glance command

# .  keystonerc_admin
#  glance image-create --name "F21IMAGE" --is-public true --disk-format qcow2  --container-format bare < Fedora-Cloud-Base-20141203-21.x86_64.qcow2

Combination bellow works fine :-

# cat   keystonerc_admin
export OS_USERNAME=admin
export OS_TENANT_NAME=admin
export OS_PASSWORD=xxxxxxxxxxxxxxxxx
export OS_AUTH_URL=http://192.169.142.127:5000/v2.0/
export OS_REGION_NAME=RegionOne
export PS1='[\u@\h \W(keystone_admin)]\$ '

Glance command

# .  keystonerc_admin
#  glance image-create --name "F21IMAGE" --is-public true --disk-format qcow2  --container-format bare < Fedora-Cloud-Base-20141203-21.x86_64.qcow2

[root@ip-192-169-142-127 glance(keystone_admin)]# cat glance-registry.conf | grep -v ^$|grep -v ^#

[DEFAULT]
verbose=True
debug=False
bind_host=0.0.0.0
bind_port=9191
log_file=/var/log/glance/registry.log
use_syslog=False
log_dir=/var/log/glance
[oslo_policy]
[database]
connection=mysql://glance:41264fc52ffd4fe8@192.169.142.127/glance
idle_timeout=3600
[keystone_authtoken]
identity_uri=http://192.169.142.127:35357
admin_tenant_name=services
admin_user=glance
admin_password=f6a9398960534797
auth_uri=http://192.169.142.127:5000/
[paste_deploy]
flavor=keystone
[profiler]