OpenStackのdiskimage-buiderにdib-run-partsが含まれなくなった
OpenStack Ironicで使用するディスクイメージを作成するためにdiskimage-builderを使ったところ、dib-run-partsが見つからないと怒られた。そのときにしたことをメモ。
まず
https://review.openstack.org/#/c/100004/ コミットメッセージより
Use dib-run-parts from dib-utils Now that dib-run-parts has been moved to the dib-utils project, we need to update diskimage-builder to use it instead of the version directly in diskimage-builder. This change removes the old copy of the dib-run-parts script in the element, adds dib-utils as a dependency of diskimage-builder, and updates the uses of dib-run-parts to correctly handle the fact that it is now external to the project.
dib-utils
今までdiskimage-builderリポジトリにあったdib-run-partsは新しくdib-utilsというリポジトリに移ったらしい。
というわけでdib-utilsをcloneしてインストールしてみた。
$ git clone https://github.com/openstack/dib-utils.git $ cd dib-utils && ./setup.py build && sudo ./setup.py install
これでシステムにdib-run-partsがインストールされ無事にdiskimage-builderも使えるようになった。
おわり
検索していてこのリンクを見つけたときに投稿日時が2014-09-17というちょうどきょうから1週間前の報告で少し驚いた。開発も活発に行われ、10月には最新バージョンのJunoもリリースされる。色々と遊んでみたい。