Difference between pages "Funtoo Git Repositories" and "Glance"

(Difference between pages)
m (developper to developer)
 
 
Line 1: Line 1:
As of winter/spring 2012, Funtoo.org hosts its own Git repositories but still uses GitHub.com as a mirror.
+
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/.
  
= Where is the Funtoo Git web portal? =
+
To install glance, follow these steps:
  
http://git.funtoo.org/
+
<console>
 +
# ##i##emerge glance
 +
# ##i##rc-update add glance-api default
 +
# ##i##rc
 +
</console>
  
= How can I clone one of the repositories? =
+
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.
  
Please use our mirror on GitHub.com. Just enter https://github.com/funtoo in your browser, then click on the repository of your choice (e.g. flora) and use the direction shown on the web page to get a read-only clone of it.
+
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>
  
= I am a developer how can get a full access? =
+
A virtual machine image can be added to Glance as follows:
  
Simply:
+
<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>
  
# Submit your SSH public key to the core team
+
Once added, it will now show up in the index:
# Enter:
+
  
<pre>
+
<console>
$ git clone repos@git.funtoo.org:the-repository-of-your-choice
+
# ##i##glance index
</pre>
+
ID                                  Name                          Disk Format          Container Format    Size         
 +
------------------------------------ ------------------------------ -------------------- -------------------- --------------
 +
3ed1ece7-6510-47f3-aacd-9fab6fd1244b Zenoss 3.2.1 VMWare Linux 64-b vmdk                bare                      828108108
 +
#
 +
</console>
  
E.g.
+
[[Category:Virtualization]]
 
+
[[Category:OpenStack]]
<pre>
+
$ git clone repos@git.funtoo.org:flora
+
</pre>
+
 
+
 
+
[[Category:QA]]
+

Revision as of 15:00, 2 May 2012

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:

# emerge glance
# rc-update add glance-api default
# rc

This will start glance-registry, the actual repository service, as well as glance-api, which allows remote access to the repository via the Glance API.

To see if you can properly connect to the Glance API, use the glance index 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:

# glance index
#

A virtual machine image can be added to Glance as follows:

# 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
#

Once added, it will now show up in the index:

# 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
#