From Funtoo
(Difference between pages)
Jump to navigation
Jump to search
|
|
Line 1: |
Line 1: |
| Glance is a component of [[OpenStack]] that allows you to manage virtual machine images. It does have relatively good documentation available at http://glance.openstack.org/.
| |
|
| |
|
| To install glance, follow these steps:
| |
|
| |
| <console>
| |
| # ##i##emerge glance
| |
| # ##i##rc-update add glance-api default
| |
| # ##i##rc
| |
| </console>
| |
|
| |
| This will start <tt>glance-registry</tt>, the actual repository service, as well as <tt>glance-api</tt>, which allows remote access to the repository via the Glance API.
| |
|
| |
| To see if you can properly connect to the Glance API, use the <tt>glance index</tt> command, which should show an index of virtual machine images currently being stored. Since this is a brand-new install, this list should be empty:
| |
|
| |
| <console>
| |
| # ##i##glance index
| |
| #
| |
| </console>
| |
|
| |
| A virtual machine image can be added to Glance as follows:
| |
|
| |
| <console>
| |
| # ##i##glance add name="Zenoss 3.2.1 VMWare Linux 64-bit" is_public=true container_format=bare disk_format=vmdk < zenoss-3.2.1.zip
| |
| ========================================================================[100%] 225.027803M/s, ETA 0h 0m 0s
| |
| #
| |
| </console>
| |
|
| |
| Once added, it will now show up in the index:
| |
|
| |
| <console>
| |
| # ##i##glance index
| |
| ID Name Disk Format Container Format Size
| |
| ------------------------------------ ------------------------------ -------------------- -------------------- --------------
| |
| 3ed1ece7-6510-47f3-aacd-9fab6fd1244b Zenoss 3.2.1 VMWare Linux 64-b vmdk bare 828108108
| |
| #
| |
| </console>
| |
|
| |
| [[Category:Virtualization]]
| |
| [[Category:OpenStack]]
| |
Latest revision as of 21:03, January 1, 2015