<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi All ..... Just checking if there is way to move the new image
from queued to active. <br>
<br>
Thanks<br>
-Azher<br>
<br>
<div class="moz-cite-prefix">On 1/28/2015 2:54 PM, Azher Mughal
wrote:<br>
</div>
<blockquote cite="mid:54C968A1.6030601@hep.caltech.edu" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
Thanks All for replies. Using the glance cli:<br>
<br>
[root@c7-openstack images]# glance image-create --name=CentOS-6.6
--disk-format=qcow2 --container-format=bare --is-public=true
--file CentOS-6-x86_64-GenericCloud.qcow2 <br>
<br>
This command is not completing ... how long normally should it
take ?<br>
<br>
From another shell, glance shows status is queued ... vmstat shows
nothing heavy going on the disks. Any thoughts ?<br>
<br>
[root@c7-openstack ~]# glance image-list<br>
+--------------------------------------+------------+-------------+------------------+------------+--------+<br>
| ID | Name | Disk Format
| Container Format | Size | Status |<br>
+--------------------------------------+------------+-------------+------------------+------------+--------+<br>
| 738f62cc-2d28-4dea-a381-c66825eeaf8a | CentOS-6.6 | qcow2
| bare | 1151533056 | queued |<br>
| 74ecf73c-86fa-4c6f-94a5-73240d19e90a | cirros | qcow2
| bare | 13200896 | active |<br>
+--------------------------------------+------------+-------------+------------------+------------+--------+<br>
<br>
<br>
Thanks<br>
-Azher<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 1/27/2015 12:26 PM, Anne Gentle
wrote:<br>
</div>
<blockquote
cite="mid:CAD0KtVF0B5xnjmCr6GroOvLa4PEq0dW_R7TTVy_k+V3bdkB-4A@mail.gmail.com"
type="cite">
<div dir="ltr">Sure, once you have your OpenStack credentials
set in your environment:
<div><a moz-do-not-send="true"
href="http://docs.openstack.org/user-guide/content/cli_openrc.html">http://docs.openstack.org/user-guide/content/cli_openrc.html</a><br>
</div>
<div>then you can upload with the glance client:</div>
<div><a moz-do-not-send="true"
href="http://docs.openstack.org/user-guide/content/cli_manage_images.html">http://docs.openstack.org/user-guide/content/cli_manage_images.html</a><br>
</div>
<div>or with the Python SDK:</div>
<div><a moz-do-not-send="true"
href="http://docs.openstack.org/user-guide/content/sdk_manage_images.html">http://docs.openstack.org/user-guide/content/sdk_manage_images.html</a><br>
</div>
<div><br>
</div>
<div>Hope this helps -</div>
<div>Anne</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jan 27, 2015 at 1:58 PM,
Azher Mughal <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:azher@hep.caltech.edu" target="_blank">azher@hep.caltech.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I just installed OpenStack Juno. Under Images, trying to
create a new<br>
Image by uploading from the local system a CentOS 7
generic cloud image<br>
(about 943MB). However it takes hours and nothing happens.<br>
<br>
Is there a way to upload the image from the shell ?<br>
<br>
Thanks<br>
-Azher<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote>
</div>
<br>
</div>
<br>
-- <br>
This message has been scanned for viruses and <br>
dangerous content by <a moz-do-not-send="true"
href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
and is <br>
believed to be clean. </blockquote>
<br>
</blockquote>
<br>
</body>
</html>