<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Openstack on What's done is done</title><link>https://igawa.io/categories/openstack/</link><description>Recent content in Openstack on What's done is done</description><generator>Hugo</generator><language>ja</language><lastBuildDate>Wed, 02 Jan 2013 10:47:00 +0900</lastBuildDate><atom:link href="https://igawa.io/categories/openstack/index.xml" rel="self" type="application/rss+xml"/><item><title>Challenging OpenStack on Nexus 7... but failed #openstack #nexus7</title><link>https://igawa.io/posts/2013/01/challenging-openstack-on-nexus-7-but-failed-openstack-nexus7/</link><pubDate>Wed, 02 Jan 2013 10:47:00 +0900</pubDate><guid>https://igawa.io/posts/2013/01/challenging-openstack-on-nexus-7-but-failed-openstack-nexus7/</guid><description>&lt;p&gt;&lt;a href="https://wiki.ubuntu.com/Nexus7/Installation"&gt;Nexus
7にUbuntuをインストールできる&lt;/a&gt;というのをみて、
「もしかしたらOpenStackも動くかも？！」と思ってやってみたのですが、&lt;/p&gt;
&lt;p&gt;あえなく撃沈。。&lt;/p&gt;
&lt;p&gt;&lt;a href="https://masayukig.files.wordpress.com/2013/01/93fbd-dashboard.png"&gt;&lt;img alt="picture" loading="lazy" src="https://masayukig.files.wordpress.com/2013/01/93fbd-dashboard.png"&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://masayukig.files.wordpress.com/2013/01/21730-errorlog.png"&gt;&lt;img alt="picture" loading="lazy" src="https://masayukig.files.wordpress.com/2013/01/21730-errorlog.png"&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;具体的には、以下のような感じでインストールを行った。&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;DevStackのインストール&lt;/li&gt;
&lt;li&gt;stack.shの実行&lt;/li&gt;
&lt;li&gt;Horizonの起動を確認&lt;/li&gt;
&lt;li&gt;Dashboardへアクセス成功(だいぶ動作がとろいが)&lt;/li&gt;
&lt;li&gt;いきなりDashboardからインスタンス起動&lt;/li&gt;
&lt;li&gt;→ エラー&lt;/li&gt;
&lt;li&gt;ログ確認(nova-compute)&lt;/li&gt;
&lt;li&gt;最終的には起動時に以下の理由(ログ)で、nova-computeの起動に失敗している模様&lt;/li&gt;
&lt;/ol&gt;
&lt;!-- --&gt;
&lt;pre&gt;&lt;code&gt;2013-01-02 06:10:42 TRACE nova libvirtError: internal error Cannot find suitable emulator for armv7l
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;ARM＆libvirtdの対応が行われていないらしい。
libvirtのソースも多少読んだが、大枠の構造を理解してないので直せる力量をつけるにはまだまだ時間が掛かりそう。&lt;/p&gt;
&lt;p&gt;このままだとさすがにNexus7使いづらいので、&lt;a href="https://wiki.ubuntu.com/Nexus7/Installation#Having_both_Android_and_Ubuntu_installed_for_dual_boot"&gt;Dual
Boot&lt;/a&gt;できるようにしてから
再挑戦しようとおもいます。&lt;/p&gt;</description></item><item><title>Mac に vagrant+devstack を入れてみる - その２ #openstack #devstack #vagrant</title><link>https://igawa.io/posts/2012/10/mac-%E3%81%AB-vagrant-devstack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%82%8B-%E3%81%9D%E3%81%AE%EF%BC%92-openstack-devstack-vagrant/</link><pubDate>Thu, 04 Oct 2012 21:13:00 +0900</pubDate><guid>https://igawa.io/posts/2012/10/mac-%E3%81%AB-vagrant-devstack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%82%8B-%E3%81%9D%E3%81%AE%EF%BC%92-openstack-devstack-vagrant/</guid><description>&lt;h2 id="続き"&gt;続き&lt;/h2&gt;
&lt;p&gt;無事ダウンロードは終了し、VMも起動したが、NFSでマウントできないってエラーが&lt;/p&gt;
&lt;p&gt;発生。&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[vagrant] Downloading box: http://dl.dropbox.com/u/1537815/precise64.box
[vagrant] Extracting box...
[vagrant] Verifying box...
[vagrant] Cleaning up downloaded box...
[default] Importing base box 'precise'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.1.18
VirtualBox Version: 4.1.23
[default] Matching MAC address for NAT networking...
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- v-ssh: /home/vagrant/.host-ssh
[default] -- v-csc-1: /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[default] Mounting NFS shared folders...
Mounting NFS shared folders failed. This is most often caused by the NFS
client software not being installed on the guest machine. Please verify
that the NFS client software is properly installed, and consult any resources
specific to the linux distro you're using for more information on how to
do this.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;でも、vagrant sshでGuest OSには接続できた!&lt;/p&gt;</description></item><item><title>Mac に vagrant+devstack を入れてみる - その１ #openstack #devstack #vagrant</title><link>https://igawa.io/posts/2012/10/mac-%E3%81%AB-vagrant-devstack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%82%8B-%E3%81%9D%E3%81%AE%EF%BC%91-openstack-devstack-vagrant/</link><pubDate>Wed, 03 Oct 2012 15:06:00 +0900</pubDate><guid>https://igawa.io/posts/2012/10/mac-%E3%81%AB-vagrant-devstack-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%82%8B-%E3%81%9D%E3%81%AE%EF%BC%91-openstack-devstack-vagrant/</guid><description>&lt;h2 id="何するのか"&gt;何するのか?&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://github.com/bcwaldon/vagrant_devstack"&gt;vagrant_devstack&lt;/a&gt; っていうのを使って、vagrant+devstack
という素敵な環境を、&lt;/p&gt;
&lt;p&gt;Mac OS Mountain Lion(10.8.2)に 作ってみる。
一応、vagrant_devstackのREADMEには、Macに対する言及があるので、
できるんじゃないかと妄想。&lt;/p&gt;
&lt;h2 id="はじめに"&gt;はじめに&lt;/h2&gt;
&lt;p&gt;まずは、&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/bcwaldon/vagrant_devstack"&gt;https://github.com/bcwaldon/vagrant_devstack&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;のREADMEにしたがって、&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Virtualboxインストール&lt;/li&gt;
&lt;li&gt;gem update &amp;ndash;system&lt;/li&gt;
&lt;li&gt;gem install vagrant&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="困ったこと発生"&gt;を行った。。。。
困ったこと発生&lt;/h2&gt;
&lt;p&gt;が、「3.」で問題発生。&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;% gem install vagrant
Fetching: archive-tar-minitar-0.5.2.gem (100%)
Fetching: json-1.5.4.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing vagrant:
ERROR: Failed to build gem native extension.
/Users/igawa/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for re.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="解決策"&gt;と、こんな感じのエラーが出力され、インストール出来ない。
解決策&lt;/h2&gt;
&lt;p&gt;ググってみると、&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://loveless-ainakimono.seesaa.net/article/232323709.html"&gt;【Mac】【RubyGems】/usr/bin/gcc-4.2
がない！&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;という記事を見つけたので、それに習って、以下のようにシンボリックリンクを&lt;/p&gt;
&lt;p&gt;張ってみました。&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;% sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;結果、
% gem install vagrant
Building native extensions. This could take a while&amp;hellip;
Fetching: log4r-1.1.10.gem (100%)
Fetching: net-ssh-2.2.2.gem (100%)
Fetching: net-scp-1.0.4.gem (100%)
Fetching: vagrant-1.0.5.gem (100%)
Successfully installed json-1.5.4
Successfully installed log4r-1.1.10
Successfully installed net-ssh-2.2.2
Successfully installed net-scp-1.0.4
Successfully installed vagrant-1.0.5
5 gems installed&lt;/p&gt;</description></item></channel></rss>