Re: [openstack-dev] [Nova Baremetal] disk-image builder tool error

2014-04-22 Thread Ramakrishnan G
As the error suggests, please use one of the root distribution elements
(ubuntu, fedora, etc).  disk-image-create -h will give some examples.



On Tue, Apr 22, 2014 at 1:24 PM, Jander lu lhcxx0...@gmail.com wrote:

 Hi,

 I am following this wiki page(https://wiki.openstack.org/wiki/Baremetal), by 
 using devstack to set up a nova baremetal provision environment, but
 met one problems as below:

 when I use disk-image builder(
 https://github.com/openstack/diskimage-builder.git) command to build a
 image, there is no output file and the error message seems confused to me,I
 don't know what I should do next,  below is the output of the console.

 stack@helpme:~/diskimage-builder$ bin/disk-image-create -u base -o
 my-image
 Building elements: base  base
 Expanded element dependencies to: base
 Building in /tmp/image.LB2Dc8vH
 dib-run-parts Mon Apr 21 19:05:11 EDT 2014 Running
 /tmp/image.LB2Dc8vH/hooks/root.d/01-ccache
 dib-run-parts Mon Apr 21 19:05:11 EDT 2014 01-ccache completed
 --- PROFILING ---

 Target: root.d

 Script Seconds
 ---  --

 01-ccache 0.042

 - END PROFILING -
 Please include at least one distribution root element.
 stack@helpme:~/diskimage-builder$ cd ~


 I think the wiki content both in Baremetal and Disk-image-builder is not
 latest updated.

 could someone point me how to give a try with this?

 thanks!!

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
Ramesh
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova Baremetal] disk-image builder tool error

2014-04-22 Thread Clint Byrum
Excerpts from Jander lu's message of 2014-04-22 00:54:18 -0700:
 Hi,
 
 I am following this wiki page(https://wiki.openstack.org/wiki/Baremetal ),

That web page is out of date. Will try to fix it in the next 48 hours.

 by using devstack to set up a nova baremetal provision environment, but met
 one problems as below:
 
 when I use disk-image builder(
 https://github.com/openstack/diskimage-builder.git) command to build a
 image, there is no output file and the error message seems confused to me,I
 don't know what I should do next,  below is the output of the console.
 
 stack@helpme:~/diskimage-builder$ bin/disk-image-create -u base -o my-image
 Building elements: base  base
 Expanded element dependencies to: base
 Building in /tmp/image.LB2Dc8vH
 dib-run-parts Mon Apr 21 19:05:11 EDT 2014 Running
 /tmp/image.LB2Dc8vH/hooks/root.d/01-ccache
 dib-run-parts Mon Apr 21 19:05:11 EDT 2014 01-ccache completed
 --- PROFILING ---
 
 Target: root.d
 
 Script Seconds
 ---  --
 
 01-ccache 0.042
 
 - END PROFILING -
 Please include at least one distribution root element.

You need to specify 'debian', 'fedora', 'opensuse' or 'ubuntu' at the
very least.

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev