Re: [openstack-dev] [Ironic] Error in deploying ironicon Ubuntu 12.04
On Mon, Sep 15, 2014 at 11:38 PM, Peeyush Gupta gpeey...@linux.vnet.ibm.com wrote: What I am interested to know is if this is a problem with precise or with devstack script? As mentioned, we test this in the gate using Ubuntu Trusty 14.04. When we were using Precise, we would setup access to the Ubuntu Cloud Archive's Icehouse repository to pull in a couple of newer dependencies (libvirt, OVS) but the docker dependency (which was added after the upgrade to Trusty) cannot be satisfied there, so you are better off just using a 14.04 base for your devstack + ironic testing. Hope that helps, Adam ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [Ironic] Error in deploying ironicon Ubuntu 12.04
Hi, I did unstack and ran stack.sh again. Tried that 2-3 times, but I am getting this error always: 2014-09-15 16:34:51.047 | +++ grep tap 2014-09-15 16:34:51.047 | +++ sudo ip netns exec qdhcp-d117dfad-d794-4db1-9e1c-87818ebbba27 ip link list 2014-09-15 16:34:51.048 | +++ cut -d: -f2 2014-09-15 16:34:51.051 | +++ cut -b2- 2014-09-15 16:34:51.061 | Cannot open network namespace: No such file or directory 2014-09-15 16:34:51.064 | ++ local tapdev= 2014-09-15 16:34:51.065 | +++ sudo ovs-vsctl show 2014-09-15 16:34:51.065 | +++ grep -A1 -m1 2014-09-15 16:34:51.067 | +++ cut -d: -f2 2014-09-15 16:34:51.067 | +++ grep tag 2014-09-15 16:34:51.068 | Usage: grep [OPTION]... PATTERN [FILE]... 2014-09-15 16:34:51.068 | Try `grep --help' for more information. 2014-09-15 16:34:51.070 | +++ cut -b2- 2014-09-15 16:34:51.086 | ++ local tag_id= 2014-09-15 16:34:51.086 | ++ sudo ip link show ovs-tap1 2014-09-15 16:34:51.129 | Device ovs-tap1 does not exist. 2014-09-15 16:34:51.131 | ++ sudo ip link show brbm-tap1 2014-09-15 16:34:51.141 | Device brbm-tap1 does not exist. 2014-09-15 16:34:51.143 | ++ sudo ip link add brbm-tap1 type veth peer name ovs-tap1 2014-09-15 16:34:51.193 | ++ sudo ip link set dev brbm-tap1 up 2014-09-15 16:34:51.205 | ++ sudo ip link set dev ovs-tap1 up 2014-09-15 16:34:51.214 | ++ sudo ovs-vsctl -- --if-exists del-port ovs-tap1 -- add-port br-int ovs-tap1 tag= 2014-09-15 16:34:51.228 | ovs-vsctl: tag=: argument does not end in = followed by a value. 2014-09-15 16:34:51.231 | + exit_trap 2014-09-15 16:34:51.257 | + local r=1 2014-09-15 16:34:51.258 | ++ jobs -p 2014-09-15 16:34:51.258 | + jobs= 2014-09-15 16:34:51.259 | + [[ -n '' ]] 2014-09-15 16:34:51.259 | + kill_spinner 2014-09-15 16:34:51.259 | + '[' '!' -z '' ']' 2014-09-15 16:34:51.259 | + [[ 1 -ne 0 ]] 2014-09-15 16:34:51.259 | + echo 'Error on exit' 2014-09-15 16:34:51.259 | Error on exit 2014-09-15 16:34:51.259 | + [[ -z /opt/stack ]] 2014-09-15 16:34:51.259 | + /opt/stack/devstack/tools/worlddump.py -d /opt/stack 2014-09-15 16:34:51.508 | + exit 1 What I am interested to know is if this is a problem with precise or with devstack script? On 09/15/2014 08:44 PM, Peeyush Gupta wrote: 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=trustysection=allarch=anykeywords=docker.iosearchon=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
Re: [openstack-dev] [Ironic] Error in deploying ironicon Ubuntu 12.04
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=trustysection=allarch=anykeywords=docker.iosearchon=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
Re: [openstack-dev] [Ironic] Error in deploying ironicon Ubuntu 12.04
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=trustysection=allarch=anykeywords=docker.iosearchon=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? 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
Re: [openstack-dev] [Ironic] Error in deploying ironicon Ubuntu 12.04
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=trustysection=allarch=anykeywords=docker.iosearchon=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