Hi All ..... Just checking if there is way to move the new image from queued to active.
Thanks -Azher On 1/28/2015 2:54 PM, Azher Mughal wrote: > Thanks All for replies. Using the glance cli: > > [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 > > This command is not completing ... how long normally should it take ? > > From another shell, glance shows status is queued ... vmstat shows > nothing heavy going on the disks. Any thoughts ? > > [root@c7-openstack ~]# glance image-list > +--------------------------------------+------------+-------------+------------------+------------+--------+ > | ID | Name | Disk Format | > Container Format | Size | Status | > +--------------------------------------+------------+-------------+------------------+------------+--------+ > | 738f62cc-2d28-4dea-a381-c66825eeaf8a | CentOS-6.6 | qcow2 | > bare | 1151533056 | queued | > | 74ecf73c-86fa-4c6f-94a5-73240d19e90a | cirros | qcow2 | > bare | 13200896 | active | > +--------------------------------------+------------+-------------+------------------+------------+--------+ > > > Thanks > -Azher > > > > On 1/27/2015 12:26 PM, Anne Gentle wrote: >> Sure, once you have your OpenStack credentials set in your environment: >> http://docs.openstack.org/user-guide/content/cli_openrc.html >> then you can upload with the glance client: >> http://docs.openstack.org/user-guide/content/cli_manage_images.html >> or with the Python SDK: >> http://docs.openstack.org/user-guide/content/sdk_manage_images.html >> >> Hope this helps - >> Anne >> >> >> On Tue, Jan 27, 2015 at 1:58 PM, Azher Mughal <az...@hep.caltech.edu >> <mailto:az...@hep.caltech.edu>> wrote: >> >> Hi, >> >> I just installed OpenStack Juno. Under Images, trying to create a new >> Image by uploading from the local system a CentOS 7 generic cloud >> image >> (about 943MB). However it takes hours and nothing happens. >> >> Is there a way to upload the image from the shell ? >> >> Thanks >> -Azher >> >> >> _______________________________________________ >> Mailing list: >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : openstack@lists.openstack.org >> <mailto:openstack@lists.openstack.org> >> Unsubscribe : >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by *MailScanner* <http://www.mailscanner.info/>, >> and is >> believed to be clean. >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack