[openstack-dev] [Ironic] Error in deploying ironicon Ubuntu 12.04

Jim Rollenhagen jim at jimrollenhagen.com
Thu Sep 11 13:19:22 UTC 2014



On September 11, 2014 3:52:59 AM PDT, Lucas Alvares Gomes <lucasagomes at gmail.com> wrote:
>Oh, it's because Precise doesn't have the docker.io package[1] (nor
>"docker").
>
>AFAIK the -infra team is now using Trusty in gate, so it won't be a
>problem. But if you think that we should still support Ironic DevStack
>with Precise please file a bug about it so the Ironic team can take a
>look on that.
>
>[1]
>http://packages.ubuntu.com/search?suite=trusty&section=all&arch=any&keywords=docker.io&searchon=names
>
>Cheers,
>Lucas
>
>On Thu, Sep 11, 2014 at 11:12 AM, Peeyush <gpeeyush at linux.vnet.ibm.com>
>wrote:
>> Hi all,
>>
>> I have been trying to deploy Openstack-ironic on a Ubuntu 12.04 VM.
>> I encountered the following error:
>>
>> 2014-09-11 10:08:11.166 | Reading package lists...
>> 2014-09-11 10:08:11.471 | Building dependency tree...
>> 2014-09-11 10:08:11.475 | Reading state information...
>> 2014-09-11 10:08:11.610 | E: Unable to locate package docker.io
>> 2014-09-11 10:08:11.610 | E: Couldn't find any package by regex
>'docker.io'
>> 2014-09-11 10:08:11.611 | + exit_trap
>> 2014-09-11 10:08:11.612 | + local r=100
>> 2014-09-11 10:08:11.612 | ++ jobs -p
>> 2014-09-11 10:08:11.612 | + jobs=
>> 2014-09-11 10:08:11.612 | + [[ -n '' ]]
>> 2014-09-11 10:08:11.612 | + kill_spinner
>> 2014-09-11 10:08:11.613 | + '[' '!' -z '' ']'
>> 2014-09-11 10:08:11.613 | + [[ 100 -ne 0 ]]
>> 2014-09-11 10:08:11.613 | + echo 'Error on exit'
>> 2014-09-11 10:08:11.613 | Error on exit
>> 2014-09-11 10:08:11.613 | + [[ -z /opt/stack ]]
>> 2014-09-11 10:08:11.613 | + ./tools/worlddump.py -d /opt/stack
>> 2014-09-11 10:08:11.655 | + exit 100
>>
>> I tried to make it work on a separate machine, but got the same
>error.
>> I understand that it could be because script is looking for docker.io
>> package,
>> but I guess only docker package is available. I tried to install
>docker.io,
>> but couldn't
>> find it.
>>
>> Can you please help me out to resolve this?

Ouch. I added this as a dependency in devstack for building IPA. 

As Lucas said, it works fine in 14.04. In 12.04, and if using Ironic with the PXE driver (default), you can likely remove that line from devstack/files/apts/ironic. I won't promise that everything will work after that, but chances are good. 

// jim
>>
>> Thanks,
>>
>> --
>> Peeyush Gupta
>> gpeeyush at linux.vnet.ibm.com
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>_______________________________________________
>OpenStack-dev mailing list
>OpenStack-dev at lists.openstack.org
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list