Hi,

I reran the script after commenting out the docker.io line. Here is the error I am getting:

2014-09-15 13:25:04.977 | + mysql -uroot -ppassword -h127.0.0.1 -e 'DROP DATABASE IF EXISTS nova;' 2014-09-15 13:25:04.981 | + mysql -uroot -ppassword -h127.0.0.1 -e 'CREATE DATABASE nova CHARACTER SET latin1;'
2014-09-15 13:25:04.985 | + /usr/local/bin/nova-manage db sync
2014-09-15 13:25:04.985 | /opt/stack/devstack/lib/nova: line 591: /usr/local/bin/nova-manage: No such file or directory
2014-09-15 13:25:04.986 | + exit_trap
2014-09-15 13:25:04.986 | + local r=1
2014-09-15 13:25:04.986 | ++ jobs -p
2014-09-15 13:25:04.987 | + jobs=
2014-09-15 13:25:04.987 | + [[ -n '' ]]
2014-09-15 13:25:04.987 | + kill_spinner
2014-09-15 13:25:04.987 | + '[' '!' -z '' ']'
2014-09-15 13:25:04.988 | + [[ 1 -ne 0 ]]
2014-09-15 13:25:04.988 | + echo 'Error on exit'
2014-09-15 13:25:04.988 | Error on exit
2014-09-15 13:25:04.988 | + [[ -z /opt/stack ]]
2014-09-15 13:25:04.988 | + /opt/stack/devstack/tools/worlddump.py -d /opt/stack
2014-09-15 13:25:05.060 | + exit 1

I have nova installed on my machine, but not nova-manage. Any idea why is this happening now?

On 09/11/2014 06:49 PM, Jim Rollenhagen wrote:

On September 11, 2014 3:52:59 AM PDT, Lucas Alvares Gomes 
<lucasago...@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 <gpeey...@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
gpeey...@linux.vnet.ibm.com


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

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


--
Peeyush Gupta
gpeey...@linux.vnet.ibm.com


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

Reply via email to