picture

Challenging OpenStack on Nexus 7... but failed #openstack #nexus7

Nexus 7にUbuntuをインストールできるというのをみて、 「もしかしたらOpenStackも動くかも?!」と思ってやってみたのですが、 あえなく撃沈。。 具体的には、以下のような感じでインストールを行った。 DevStackのインストール stack.shの実行 Horizonの起動を確認 Dashboardへアクセス成功(だいぶ動作がとろいが) いきなりDashboardからインスタンス起動 → エラー ログ確認(nova-compute) 最終的には起動時に以下の理由(ログ)で、nova-computeの起動に失敗している模様 2013-01-02 06:10:42 TRACE nova libvirtError: internal error Cannot find suitable emulator for armv7l ARM&libvirtdの対応が行われていないらしい。 libvirtのソースも多少読んだが、大枠の構造を理解してないので直せる力量をつけるにはまだまだ時間が掛かりそう。 このままだとさすがにNexus7使いづらいので、Dual Bootできるようにしてから 再挑戦しようとおもいます。

2013-01-02 · 1 分 · Masayuki Igawa
Mac に vagrant+devstack を入れてみる - その2 #openstack #devstack #vagrant

Mac に vagrant+devstack を入れてみる - その2 #openstack #devstack #vagrant

続き 無事ダウンロードは終了し、VMも起動したが、NFSでマウントできないってエラーが 発生。 [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. でも、vagrant sshでGuest OSには接続できた! ...

2012-10-04 · 3 分 · Masayuki Igawa
Mac に vagrant+devstack を入れてみる - その1 #openstack #devstack #vagrant

Mac に vagrant+devstack を入れてみる - その1 #openstack #devstack #vagrant

何するのか? vagrant_devstack っていうのを使って、vagrant+devstack という素敵な環境を、 Mac OS Mountain Lion(10.8.2)に 作ってみる。 一応、vagrant_devstackのREADMEには、Macに対する言及があるので、 できるんじゃないかと妄想。 はじめに まずは、 https://github.com/bcwaldon/vagrant_devstack のREADMEにしたがって、 Virtualboxインストール gem update –system gem install vagrant を行った。。。。 困ったこと発生 が、「3.」で問題発生。 % 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. と、こんな感じのエラーが出力され、インストール出来ない。 解決策 ググってみると、 【Mac】【RubyGems】/usr/bin/gcc-4.2 がない! という記事を見つけたので、それに習って、以下のようにシンボリックリンクを 張ってみました。 % sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2 結果、 % gem install vagrant Building native extensions. This could take a while… 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 ...

2012-10-03 · 2 分 · Masayuki Igawa