Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
blog:openstack_on_arm [2014/10/21 08:21]
imcsk8
blog:openstack_on_arm [2014/12/17 16:14] (current)
imcsk8
Line 1: Line 1:
-====== Openstack on ARM ======+====== Openstack ​Juno on ARM ======
  
 This are just installation notes, the real post is comming later... This are just installation notes, the real post is comming later...
  
 For a project i'm working on i need to install openstack on a cubietruck, is not that painful :P For a project i'm working on i need to install openstack on a cubietruck, is not that painful :P
-\\ +First i had to install Fedora 21 on the cubietruck, installed the juno RDO repo packstack and then i just ran packstack and waited for...
-The nova package needs //​libvirt-daemon-xen//​ which is not available for the ARM architecture so i had to patch the openstack-nova fedora package: +
-\\ +
-<​code>​ +
-diff --git a/​openstack-nova.spec b/​openstack-nova.spec +
-index cde2d30..8a9d23f 100644 +
---- a/​openstack-nova.spec +
-+++ b/​openstack-nova.spec +
-@@ -125,8 +125,10 @@ Requires: ​        ​libvirt-daemon-kvm +
- %if 0%{?​rhel}==0 +
- ​Requires: ​        ​libvirt-daemon-lxc +
- ​Requires: ​        ​libvirt-daemon-uml +
-+%ifarch arm +
- ​Requires: ​        ​libvirt-daemon-xen +
- ​%endif +
-+%endif +
- ​Requires: ​        ​openssh-clients +
- ​Requires: ​        ​rsync +
- ​Requires: ​        ​lvm2 +
-</​code>​ +
-\\ +
-I generate a SRPM from my dev machine and copied it to the cubietruck, ​this packages have to be installed ​since the SRPM needs them: +
-\\ +
-<​code>​ +
-# yum install -y python-sphinx python-oslo-sphinx python-pbr python-d2to1 python-oslo-i18n graphviz python-boto python-eventlet python-routes python-sqlalchemy python-webob python-migrate python-iso8601 intltool +
-# rpmbuild --rebuild ​ ~/​openstack-nova-2014.2-0.7.rc2.fc20.src.rpm +
-... +
-# yum install -y /​root/​rpmbuild/​RPMS/​noarch/​openstack-nova-doc-2014.2-0.7.rc2.fc22.noarch.rp +
-</​code>​ +
-\\ +
-Then i just ran packstack and waited for...+
  
 <​code>​ <​code>​
-packstack -d --allinone+# yum install -y https://​repos.fedorapeople.org/​repos/​openstack/​openstack-juno/​rdo-release-juno-1.noarch.rpm 
 +# yum install -y openstack-packstack 
 +packstack -d --allinone
 ... ...
-</​code>​ 
- 
-I got this error because i'm using Fedora rawhide 
-<​code>​ 
-Error: comparison of String with 15 failed at /​usr/​share/​openstack-puppet/​modules/​firewall/​manifests/​linux/​redhat.pp:​33 on node localhost.localdomain 
-Wrapped exception: 
-comparison of String with 15 failed 
-Error: comparison of String with 15 failed at /​usr/​share/​openstack-puppet/​modules/​firewall/​manifests/​linux/​redhat.pp:​33 on node localhost.localdomain 
-</​code>​ 
- 
-The new puppetlabs-firewall module takes this in account but we're using an old version so i changed it a little: 
-<​code>​ 
-33c33 
-<   if $::​operatingsystem == Fedora and $::​operatingsystemrelease >= 15 { 
---- 
->   if $::​operatingsystem == Fedora and ($::​operatingsystemrelease == "​Rawhide"​ or  $::​operatingsystemrelease >= 15) { 
-[root@localhost linux]# ​ 
 </​code>​ </​code>​