Ask Your Question
0

issue with image creation

asked 2014-09-09 03:02:34 -0500

Hi Team,

if we run the below command getting following error. can you please help

#glance image-create --is-public true --disk-format qcow2 --container-format bare --name "Ubuntu" < precise-server-cloudimg-amd64-disk1.img

Error finding address for : [Errno -3] Temporary failure in name resolution

edit retag flag offensive close merge delete

Comments

Did you source tenant's credentials , before glance image-create?

dbaxps gravatar imagedbaxps ( 2014-09-09 03:59:12 -0500 )edit

i haven't source tenant's credentials. i have followed the below link to install.

https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst (https://github.com/mseknibilel/OpenSt...)

Sathish Deekonda gravatar imageSathish Deekonda ( 2014-09-09 04:38:37 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-09 13:04:25 -0500

dbaxps gravatar image

Try :-

[root@icehouse1 ~]# cat  keystonerc_admin
export OS_USERNAME=admin
export OS_TENANT_NAME=admin
export OS_PASSWORD=xxxxxxxxxx
export OS_AUTH_URL=http://192.168.1.127:5000/v2.0/
export PS1='[\u@\h \W(keystone_admin)]\$ 
[root@icehouse1 ~]# .  keystonerc_admin
[root@icehouse1 Downloads(keystone_admin)]# glance image-create --is-public true --disk-format qcow2 --container-format bare --name "Ubuntu14.04TWN" < trusty-server-cloudimg-amd64-disk1.img
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | 64ed4d0a696f6aae29068e03a606e1b7     |
| container_format | bare                                 |
| created_at       | 2014-09-09T18:01:03                  |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | e6b03dce-ccf3-4f03-a909-c243174cc4cf |
| is_public        | True                                 |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | Ubuntu14.04TWN                       |
| owner            | e5c1a9414f4c42a19b4125f3711c9a77     |
| protected        | False                                |
| size             | 255066624                            |
| status           | active                               |
| updated_at       | 2014-09-09T18:01:06                  |
| virtual_size     | None                                 |
+------------------+--------------------------------------+
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-09 03:02:34 -0500

Seen: 26 times

Last updated: Sep 09 '14