Skip to content

Instantly share code, notes, and snippets.

@kjellski
Last active December 17, 2015 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kjellski/5605330 to your computer and use it in GitHub Desktop.
Save kjellski/5605330 to your computer and use it in GitHub Desktop.
openstack
[~/Projects/devstack (master)]$ sudo ./stack.sh
[sudo] password for kjellski:
You are running this script as root.
In 10 seconds, we will create a user 'stack' and run as that user
Giving stack user passwordless sudo privileges
Copying files to stack user
Using mysql database backend
+ echo_summary 'Installing package prerequisites'
+ [[ -t 3 ]]
+ [[ True != \T\r\u\e ]]
+ echo -e Installing package prerequisites
Installing package prerequisites
+ source /opt/stack/devstack/tools/install_prereqs.sh
++ [[ -n '' ]]
++ [[ -z /opt/stack/devstack ]]
++ PREREQ_RERUN_MARKER=/opt/stack/devstack/.prereqs
++ PREREQ_RERUN_HOURS=2
++ PREREQ_RERUN_SECONDS=7200
+++ date +%s
++ NOW=1368900232
+++ head -1 /opt/stack/devstack/.prereqs
++ LAST_RUN=1368052358
++ DELTA=847874
++ [[ 847874 -lt 7200 ]]
++ export_proxy_variables
++ [[ -n '' ]]
++ [[ -n '' ]]
++ [[ -n '' ]]
+++ get_packages g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql
+++ local services=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql
++++ _get_package_dir
++++ local pkg_dir
++++ is_ubuntu
++++ [[ -z deb ]]
++++ '[' deb = deb ']'
++++ pkg_dir=/opt/stack/devstack/files/apts
++++ echo /opt/stack/devstack/files/apts
+++ local package_dir=/opt/stack/devstack/files/apts
+++ local file_to_parse
+++ local service
+++ [[ -z /opt/stack/devstack/files/apts ]]
+++ [[ -z precise ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/general ]]
+++ file_to_parse=' general'
+++ [[ general == n-api ]]
+++ [[ general == c-* ]]
+++ [[ general == ceilometer-* ]]
+++ [[ general == s-* ]]
+++ [[ general == n-* ]]
+++ [[ general == g-* ]]
+++ [[ general == key* ]]
+++ [[ general == q-* ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/g-api ]]
+++ [[ g-api == n-api ]]
+++ [[ g-api == c-* ]]
+++ [[ g-api == ceilometer-* ]]
+++ [[ g-api == s-* ]]
+++ [[ g-api == n-* ]]
+++ [[ g-api == g-* ]]
+++ [[ ! general =~ glance ]]
+++ file_to_parse=' general glance'
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/g-reg ]]
+++ [[ g-reg == n-api ]]
+++ [[ g-reg == c-* ]]
+++ [[ g-reg == ceilometer-* ]]
+++ [[ g-reg == s-* ]]
+++ [[ g-reg == n-* ]]
+++ [[ g-reg == g-* ]]
+++ [[ ! general glance =~ glance ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/key ]]
+++ [[ key == n-api ]]
+++ [[ key == c-* ]]
+++ [[ key == ceilometer-* ]]
+++ [[ key == s-* ]]
+++ [[ key == n-* ]]
+++ [[ key == g-* ]]
+++ [[ key == key* ]]
+++ [[ ! general glance =~ keystone ]]
+++ file_to_parse=' general glance keystone'
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/n-api ]]
+++ file_to_parse=' general glance keystone n-api'
+++ [[ n-api == n-api ]]
+++ [[ ! general glance keystone n-api =~ nova ]]
+++ file_to_parse=' general glance keystone n-api nova'
+++ [[ ! general glance keystone n-api nova =~ glance ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/n-crt ]]
+++ [[ n-crt == n-api ]]
+++ [[ n-crt == c-* ]]
+++ [[ n-crt == ceilometer-* ]]
+++ [[ n-crt == s-* ]]
+++ [[ n-crt == n-* ]]
+++ [[ ! general glance keystone n-api nova =~ nova ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/n-obj ]]
+++ [[ n-obj == n-api ]]
+++ [[ n-obj == c-* ]]
+++ [[ n-obj == ceilometer-* ]]
+++ [[ n-obj == s-* ]]
+++ [[ n-obj == n-* ]]
+++ [[ ! general glance keystone n-api nova =~ nova ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/n-cpu ]]
+++ file_to_parse=' general glance keystone n-api nova n-cpu'
+++ [[ n-cpu == n-api ]]
+++ [[ n-cpu == c-* ]]
+++ [[ n-cpu == ceilometer-* ]]
+++ [[ n-cpu == s-* ]]
+++ [[ n-cpu == n-* ]]
+++ [[ ! general glance keystone n-api nova n-cpu =~ nova ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/n-net ]]
+++ [[ n-net == n-api ]]
+++ [[ n-net == c-* ]]
+++ [[ n-net == ceilometer-* ]]
+++ [[ n-net == s-* ]]
+++ [[ n-net == n-* ]]
+++ [[ ! general glance keystone n-api nova n-cpu =~ nova ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/n-cond ]]
+++ [[ n-cond == n-api ]]
+++ [[ n-cond == c-* ]]
+++ [[ n-cond == ceilometer-* ]]
+++ [[ n-cond == s-* ]]
+++ [[ n-cond == n-* ]]
+++ [[ ! general glance keystone n-api nova n-cpu =~ nova ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/cinder ]]
+++ file_to_parse=' general glance keystone n-api nova n-cpu cinder'
+++ [[ cinder == n-api ]]
+++ [[ cinder == c-* ]]
+++ [[ cinder == ceilometer-* ]]
+++ [[ cinder == s-* ]]
+++ [[ cinder == n-* ]]
+++ [[ cinder == g-* ]]
+++ [[ cinder == key* ]]
+++ [[ cinder == q-* ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/c-sch ]]
+++ [[ c-sch == n-api ]]
+++ [[ c-sch == c-* ]]
+++ [[ ! general glance keystone n-api nova n-cpu cinder =~ cinder ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/c-api ]]
+++ [[ c-api == n-api ]]
+++ [[ c-api == c-* ]]
+++ [[ ! general glance keystone n-api nova n-cpu cinder =~ cinder ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/c-vol ]]
+++ [[ c-vol == n-api ]]
+++ [[ c-vol == c-* ]]
+++ [[ ! general glance keystone n-api nova n-cpu cinder =~ cinder ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/n-sch ]]
+++ [[ n-sch == n-api ]]
+++ [[ n-sch == c-* ]]
+++ [[ n-sch == ceilometer-* ]]
+++ [[ n-sch == s-* ]]
+++ [[ n-sch == n-* ]]
+++ [[ ! general glance keystone n-api nova n-cpu cinder =~ nova ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/n-novnc ]]
+++ file_to_parse=' general glance keystone n-api nova n-cpu cinder n-novnc'
+++ [[ n-novnc == n-api ]]
+++ [[ n-novnc == c-* ]]
+++ [[ n-novnc == ceilometer-* ]]
+++ [[ n-novnc == s-* ]]
+++ [[ n-novnc == n-* ]]
+++ [[ ! general glance keystone n-api nova n-cpu cinder n-novnc =~ nova ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/n-xvnc ]]
+++ [[ n-xvnc == n-api ]]
+++ [[ n-xvnc == c-* ]]
+++ [[ n-xvnc == ceilometer-* ]]
+++ [[ n-xvnc == s-* ]]
+++ [[ n-xvnc == n-* ]]
+++ [[ ! general glance keystone n-api nova n-cpu cinder n-novnc =~ nova ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/n-cauth ]]
+++ [[ n-cauth == n-api ]]
+++ [[ n-cauth == c-* ]]
+++ [[ n-cauth == ceilometer-* ]]
+++ [[ n-cauth == s-* ]]
+++ [[ n-cauth == n-* ]]
+++ [[ ! general glance keystone n-api nova n-cpu cinder n-novnc =~ nova ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/horizon ]]
+++ file_to_parse=' general glance keystone n-api nova n-cpu cinder n-novnc horizon'
+++ [[ horizon == n-api ]]
+++ [[ horizon == c-* ]]
+++ [[ horizon == ceilometer-* ]]
+++ [[ horizon == s-* ]]
+++ [[ horizon == n-* ]]
+++ [[ horizon == g-* ]]
+++ [[ horizon == key* ]]
+++ [[ horizon == q-* ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/rabbit ]]
+++ [[ rabbit == n-api ]]
+++ [[ rabbit == c-* ]]
+++ [[ rabbit == ceilometer-* ]]
+++ [[ rabbit == s-* ]]
+++ [[ rabbit == n-* ]]
+++ [[ rabbit == g-* ]]
+++ [[ rabbit == key* ]]
+++ [[ rabbit == q-* ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/tempest ]]
+++ [[ tempest == n-api ]]
+++ [[ tempest == c-* ]]
+++ [[ tempest == ceilometer-* ]]
+++ [[ tempest == s-* ]]
+++ [[ tempest == n-* ]]
+++ [[ tempest == g-* ]]
+++ [[ tempest == key* ]]
+++ [[ tempest == q-* ]]
+++ for service in general '${services//,/ }'
+++ [[ -e /opt/stack/devstack/files/apts/mysql ]]
+++ [[ mysql == n-api ]]
+++ [[ mysql == c-* ]]
+++ [[ mysql == ceilometer-* ]]
+++ [[ mysql == s-* ]]
+++ [[ mysql == n-* ]]
+++ [[ mysql == g-* ]]
+++ [[ mysql == key* ]]
+++ [[ mysql == q-* ]]
+++ for file in '${file_to_parse}'
+++ local fname=/opt/stack/devstack/files/apts/general
+++ local OIFS line package distros distro
+++ [[ -e /opt/stack/devstack/files/apts/general ]]
+++ OIFS='
'
+++ IFS='
'
+++ for line in '$(<${fname})'
+++ [[ bridge-utils =~ NOPRIME ]]
+++ [[ bridge-utils =~ (.*)#.*dist:([^ ]*) ]]
+++ echo bridge-utils
+++ for line in '$(<${fname})'
+++ [[ pep8 =~ NOPRIME ]]
+++ [[ pep8 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo pep8
+++ for line in '$(<${fname})'
+++ [[ pylint =~ NOPRIME ]]
+++ [[ pylint =~ (.*)#.*dist:([^ ]*) ]]
+++ echo pylint
+++ for line in '$(<${fname})'
+++ [[ python-pip =~ NOPRIME ]]
+++ [[ python-pip =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-pip
+++ for line in '$(<${fname})'
+++ [[ screen =~ NOPRIME ]]
+++ [[ screen =~ (.*)#.*dist:([^ ]*) ]]
+++ echo screen
+++ for line in '$(<${fname})'
+++ [[ unzip =~ NOPRIME ]]
+++ [[ unzip =~ (.*)#.*dist:([^ ]*) ]]
+++ echo unzip
+++ for line in '$(<${fname})'
+++ [[ wget =~ NOPRIME ]]
+++ [[ wget =~ (.*)#.*dist:([^ ]*) ]]
+++ echo wget
+++ for line in '$(<${fname})'
+++ [[ psmisc =~ NOPRIME ]]
+++ [[ psmisc =~ (.*)#.*dist:([^ ]*) ]]
+++ echo psmisc
+++ for line in '$(<${fname})'
+++ [[ git =~ NOPRIME ]]
+++ [[ git =~ (.*)#.*dist:([^ ]*) ]]
+++ echo git
+++ for line in '$(<${fname})'
+++ [[ lsof # useful when debugging =~ NOPRIME ]]
+++ [[ lsof # useful when debugging =~ (.*)#.*dist:([^ ]*) ]]
+++ echo 'lsof '
+++ for line in '$(<${fname})'
+++ [[ openssh-server =~ NOPRIME ]]
+++ [[ openssh-server =~ (.*)#.*dist:([^ ]*) ]]
+++ echo openssh-server
+++ for line in '$(<${fname})'
+++ [[ openssl =~ NOPRIME ]]
+++ [[ openssl =~ (.*)#.*dist:([^ ]*) ]]
+++ echo openssl
+++ for line in '$(<${fname})'
+++ [[ vim-nox =~ NOPRIME ]]
+++ [[ vim-nox =~ (.*)#.*dist:([^ ]*) ]]
+++ echo vim-nox
+++ for line in '$(<${fname})'
+++ [[ locate # useful when debugging =~ NOPRIME ]]
+++ [[ locate # useful when debugging =~ (.*)#.*dist:([^ ]*) ]]
+++ echo 'locate '
+++ for line in '$(<${fname})'
+++ [[ python-virtualenv =~ NOPRIME ]]
+++ [[ python-virtualenv =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-virtualenv
+++ for line in '$(<${fname})'
+++ [[ python-unittest2 =~ NOPRIME ]]
+++ [[ python-unittest2 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-unittest2
+++ for line in '$(<${fname})'
+++ [[ iputils-ping =~ NOPRIME ]]
+++ [[ iputils-ping =~ (.*)#.*dist:([^ ]*) ]]
+++ echo iputils-ping
+++ for line in '$(<${fname})'
+++ [[ wget =~ NOPRIME ]]
+++ [[ wget =~ (.*)#.*dist:([^ ]*) ]]
+++ echo wget
+++ for line in '$(<${fname})'
+++ [[ curl =~ NOPRIME ]]
+++ [[ curl =~ (.*)#.*dist:([^ ]*) ]]
+++ echo curl
+++ for line in '$(<${fname})'
+++ [[ tcpdump =~ NOPRIME ]]
+++ [[ tcpdump =~ (.*)#.*dist:([^ ]*) ]]
+++ echo tcpdump
+++ for line in '$(<${fname})'
+++ [[ euca2ools # only for testing client =~ NOPRIME ]]
+++ [[ euca2ools # only for testing client =~ (.*)#.*dist:([^ ]*) ]]
+++ echo 'euca2ools '
+++ for line in '$(<${fname})'
+++ [[ tar =~ NOPRIME ]]
+++ [[ tar =~ (.*)#.*dist:([^ ]*) ]]
+++ echo tar
+++ for line in '$(<${fname})'
+++ [[ python-cmd2 # dist:precise =~ NOPRIME ]]
+++ [[ python-cmd2 # dist:precise =~ (.*)#.*dist:([^ ]*) ]]
+++ package='python-cmd2 '
+++ distros=precise
+++ [[ precise =~ precise ]]
+++ echo 'python-cmd2 '
+++ continue
+++ for line in '$(<${fname})'
+++ [[ python-netaddr =~ NOPRIME ]]
+++ [[ python-netaddr =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-netaddr
+++ IFS='
'
+++ for file in '${file_to_parse}'
+++ local fname=/opt/stack/devstack/files/apts/glance
+++ local OIFS line package distros distro
+++ [[ -e /opt/stack/devstack/files/apts/glance ]]
+++ OIFS='
'
+++ IFS='
'
+++ for line in '$(<${fname})'
+++ [[ gcc =~ NOPRIME ]]
+++ [[ gcc =~ (.*)#.*dist:([^ ]*) ]]
+++ echo gcc
+++ for line in '$(<${fname})'
+++ [[ libxml2-dev =~ NOPRIME ]]
+++ [[ libxml2-dev =~ (.*)#.*dist:([^ ]*) ]]
+++ echo libxml2-dev
+++ for line in '$(<${fname})'
+++ [[ python-dev =~ NOPRIME ]]
+++ [[ python-dev =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-dev
+++ for line in '$(<${fname})'
+++ [[ python-eventlet =~ NOPRIME ]]
+++ [[ python-eventlet =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-eventlet
+++ for line in '$(<${fname})'
+++ [[ python-routes =~ NOPRIME ]]
+++ [[ python-routes =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-routes
+++ for line in '$(<${fname})'
+++ [[ python-greenlet =~ NOPRIME ]]
+++ [[ python-greenlet =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-greenlet
+++ for line in '$(<${fname})'
+++ [[ python-argparse # dist:oneiric =~ NOPRIME ]]
+++ [[ python-argparse # dist:oneiric =~ (.*)#.*dist:([^ ]*) ]]
+++ package='python-argparse '
+++ distros=oneiric
+++ [[ oneiric =~ precise ]]
+++ continue
+++ for line in '$(<${fname})'
+++ [[ python-sqlalchemy =~ NOPRIME ]]
+++ [[ python-sqlalchemy =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-sqlalchemy
+++ for line in '$(<${fname})'
+++ [[ python-wsgiref =~ NOPRIME ]]
+++ [[ python-wsgiref =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-wsgiref
+++ for line in '$(<${fname})'
+++ [[ python-pastedeploy =~ NOPRIME ]]
+++ [[ python-pastedeploy =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-pastedeploy
+++ for line in '$(<${fname})'
+++ [[ python-xattr =~ NOPRIME ]]
+++ [[ python-xattr =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-xattr
+++ for line in '$(<${fname})'
+++ [[ python-iso8601 =~ NOPRIME ]]
+++ [[ python-iso8601 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-iso8601
+++ IFS='
'
+++ for file in '${file_to_parse}'
+++ local fname=/opt/stack/devstack/files/apts/keystone
+++ local OIFS line package distros distro
+++ [[ -e /opt/stack/devstack/files/apts/keystone ]]
+++ OIFS='
'
+++ IFS='
'
+++ for line in '$(<${fname})'
+++ [[ python-setuptools =~ NOPRIME ]]
+++ [[ python-setuptools =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-setuptools
+++ for line in '$(<${fname})'
+++ [[ python-dev =~ NOPRIME ]]
+++ [[ python-dev =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-dev
+++ for line in '$(<${fname})'
+++ [[ python-lxml =~ NOPRIME ]]
+++ [[ python-lxml =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-lxml
+++ for line in '$(<${fname})'
+++ [[ python-pastescript =~ NOPRIME ]]
+++ [[ python-pastescript =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-pastescript
+++ for line in '$(<${fname})'
+++ [[ python-pastedeploy =~ NOPRIME ]]
+++ [[ python-pastedeploy =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-pastedeploy
+++ for line in '$(<${fname})'
+++ [[ python-paste =~ NOPRIME ]]
+++ [[ python-paste =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-paste
+++ for line in '$(<${fname})'
+++ [[ sqlite3 =~ NOPRIME ]]
+++ [[ sqlite3 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo sqlite3
+++ for line in '$(<${fname})'
+++ [[ python-pysqlite2 =~ NOPRIME ]]
+++ [[ python-pysqlite2 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-pysqlite2
+++ for line in '$(<${fname})'
+++ [[ python-sqlalchemy =~ NOPRIME ]]
+++ [[ python-sqlalchemy =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-sqlalchemy
+++ for line in '$(<${fname})'
+++ [[ python-mysqldb =~ NOPRIME ]]
+++ [[ python-mysqldb =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-mysqldb
+++ for line in '$(<${fname})'
+++ [[ python-webob =~ NOPRIME ]]
+++ [[ python-webob =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-webob
+++ for line in '$(<${fname})'
+++ [[ python-greenlet =~ NOPRIME ]]
+++ [[ python-greenlet =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-greenlet
+++ for line in '$(<${fname})'
+++ [[ python-routes =~ NOPRIME ]]
+++ [[ python-routes =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-routes
+++ for line in '$(<${fname})'
+++ [[ libldap2-dev =~ NOPRIME ]]
+++ [[ libldap2-dev =~ (.*)#.*dist:([^ ]*) ]]
+++ echo libldap2-dev
+++ for line in '$(<${fname})'
+++ [[ libsasl2-dev =~ NOPRIME ]]
+++ [[ libsasl2-dev =~ (.*)#.*dist:([^ ]*) ]]
+++ echo libsasl2-dev
+++ IFS='
'
+++ for file in '${file_to_parse}'
+++ local fname=/opt/stack/devstack/files/apts/n-api
+++ local OIFS line package distros distro
+++ [[ -e /opt/stack/devstack/files/apts/n-api ]]
+++ OIFS='
'
+++ IFS='
'
+++ for line in '$(<${fname})'
+++ [[ python-dateutil =~ NOPRIME ]]
+++ [[ python-dateutil =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-dateutil
+++ IFS='
'
+++ for file in '${file_to_parse}'
+++ local fname=/opt/stack/devstack/files/apts/nova
+++ local OIFS line package distros distro
+++ [[ -e /opt/stack/devstack/files/apts/nova ]]
+++ OIFS='
'
+++ IFS='
'
+++ for line in '$(<${fname})'
+++ [[ dnsmasq-base =~ NOPRIME ]]
+++ [[ dnsmasq-base =~ (.*)#.*dist:([^ ]*) ]]
+++ echo dnsmasq-base
+++ for line in '$(<${fname})'
+++ [[ dnsmasq-utils # for dhcp_release only available in dist:oneiric,precise,quantal =~ NOPRIME ]]
+++ [[ dnsmasq-utils # for dhcp_release only available in dist:oneiric,precise,quantal =~ (.*)#.*dist:([^ ]*) ]]
+++ package='dnsmasq-utils '
+++ distros=oneiric,precise,quantal
+++ [[ oneiric,precise,quantal =~ precise ]]
+++ echo 'dnsmasq-utils '
+++ continue
+++ for line in '$(<${fname})'
+++ [[ kpartx =~ NOPRIME ]]
+++ [[ kpartx =~ (.*)#.*dist:([^ ]*) ]]
+++ echo kpartx
+++ for line in '$(<${fname})'
+++ [[ parted =~ NOPRIME ]]
+++ [[ parted =~ (.*)#.*dist:([^ ]*) ]]
+++ echo parted
+++ for line in '$(<${fname})'
+++ [[ iputils-arping =~ NOPRIME ]]
+++ [[ iputils-arping =~ (.*)#.*dist:([^ ]*) ]]
+++ echo iputils-arping
+++ for line in '$(<${fname})'
+++ [[ mysql-server # NOPRIME =~ NOPRIME ]]
+++ continue
+++ for line in '$(<${fname})'
+++ [[ python-mysqldb =~ NOPRIME ]]
+++ [[ python-mysqldb =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-mysqldb
+++ for line in '$(<${fname})'
+++ [[ python-xattr # needed for glance which is needed for nova --- this shouldn't be here =~ NOPRIME ]]
+++ [[ python-xattr # needed for glance which is needed for nova --- this shouldn't be here =~ (.*)#.*dist:([^ ]*) ]]
+++ echo 'python-xattr '
+++ for line in '$(<${fname})'
+++ [[ python-lxml # needed for glance which is needed for nova --- this shouldn't be here =~ NOPRIME ]]
+++ [[ python-lxml # needed for glance which is needed for nova --- this shouldn't be here =~ (.*)#.*dist:([^ ]*) ]]
+++ echo 'python-lxml '
+++ for line in '$(<${fname})'
+++ [[ gawk =~ NOPRIME ]]
+++ [[ gawk =~ (.*)#.*dist:([^ ]*) ]]
+++ echo gawk
+++ for line in '$(<${fname})'
+++ [[ iptables =~ NOPRIME ]]
+++ [[ iptables =~ (.*)#.*dist:([^ ]*) ]]
+++ echo iptables
+++ for line in '$(<${fname})'
+++ [[ ebtables =~ NOPRIME ]]
+++ [[ ebtables =~ (.*)#.*dist:([^ ]*) ]]
+++ echo ebtables
+++ for line in '$(<${fname})'
+++ [[ sqlite3 =~ NOPRIME ]]
+++ [[ sqlite3 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo sqlite3
+++ for line in '$(<${fname})'
+++ [[ sudo =~ NOPRIME ]]
+++ [[ sudo =~ (.*)#.*dist:([^ ]*) ]]
+++ echo sudo
+++ for line in '$(<${fname})'
+++ [[ kvm =~ NOPRIME ]]
+++ [[ kvm =~ (.*)#.*dist:([^ ]*) ]]
+++ echo kvm
+++ for line in '$(<${fname})'
+++ [[ libvirt-bin # NOPRIME =~ NOPRIME ]]
+++ continue
+++ for line in '$(<${fname})'
+++ [[ libjs-jquery-tablesorter # Needed for coverage html reports =~ NOPRIME ]]
+++ [[ libjs-jquery-tablesorter # Needed for coverage html reports =~ (.*)#.*dist:([^ ]*) ]]
+++ echo 'libjs-jquery-tablesorter '
+++ for line in '$(<${fname})'
+++ [[ vlan =~ NOPRIME ]]
+++ [[ vlan =~ (.*)#.*dist:([^ ]*) ]]
+++ echo vlan
+++ for line in '$(<${fname})'
+++ [[ curl =~ NOPRIME ]]
+++ [[ curl =~ (.*)#.*dist:([^ ]*) ]]
+++ echo curl
+++ for line in '$(<${fname})'
+++ [[ genisoimage # required for config_drive =~ NOPRIME ]]
+++ [[ genisoimage # required for config_drive =~ (.*)#.*dist:([^ ]*) ]]
+++ echo 'genisoimage '
+++ for line in '$(<${fname})'
+++ [[ rabbitmq-server # NOPRIME =~ NOPRIME ]]
+++ continue
+++ for line in '$(<${fname})'
+++ [[ qpidd # dist:precise NOPRIME =~ NOPRIME ]]
+++ continue
+++ for line in '$(<${fname})'
+++ [[ socat # used by ajaxterm =~ NOPRIME ]]
+++ [[ socat # used by ajaxterm =~ (.*)#.*dist:([^ ]*) ]]
+++ echo 'socat '
+++ for line in '$(<${fname})'
+++ [[ python-mox =~ NOPRIME ]]
+++ [[ python-mox =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-mox
+++ for line in '$(<${fname})'
+++ [[ python-paste =~ NOPRIME ]]
+++ [[ python-paste =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-paste
+++ for line in '$(<${fname})'
+++ [[ python-migrate =~ NOPRIME ]]
+++ [[ python-migrate =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-migrate
+++ for line in '$(<${fname})'
+++ [[ python-gflags =~ NOPRIME ]]
+++ [[ python-gflags =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-gflags
+++ for line in '$(<${fname})'
+++ [[ python-greenlet =~ NOPRIME ]]
+++ [[ python-greenlet =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-greenlet
+++ for line in '$(<${fname})'
+++ [[ python-libvirt =~ NOPRIME ]]
+++ [[ python-libvirt =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-libvirt
+++ for line in '$(<${fname})'
+++ [[ python-libxml2 =~ NOPRIME ]]
+++ [[ python-libxml2 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-libxml2
+++ for line in '$(<${fname})'
+++ [[ python-routes =~ NOPRIME ]]
+++ [[ python-routes =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-routes
+++ for line in '$(<${fname})'
+++ [[ python-netaddr =~ NOPRIME ]]
+++ [[ python-netaddr =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-netaddr
+++ for line in '$(<${fname})'
+++ [[ python-numpy # used by websockify for spice console =~ NOPRIME ]]
+++ [[ python-numpy # used by websockify for spice console =~ (.*)#.*dist:([^ ]*) ]]
+++ echo 'python-numpy '
+++ for line in '$(<${fname})'
+++ [[ python-pastedeploy =~ NOPRIME ]]
+++ [[ python-pastedeploy =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-pastedeploy
+++ for line in '$(<${fname})'
+++ [[ python-eventlet =~ NOPRIME ]]
+++ [[ python-eventlet =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-eventlet
+++ for line in '$(<${fname})'
+++ [[ python-cheetah =~ NOPRIME ]]
+++ [[ python-cheetah =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-cheetah
+++ for line in '$(<${fname})'
+++ [[ python-carrot =~ NOPRIME ]]
+++ [[ python-carrot =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-carrot
+++ for line in '$(<${fname})'
+++ [[ python-tempita =~ NOPRIME ]]
+++ [[ python-tempita =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-tempita
+++ for line in '$(<${fname})'
+++ [[ python-sqlalchemy =~ NOPRIME ]]
+++ [[ python-sqlalchemy =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-sqlalchemy
+++ for line in '$(<${fname})'
+++ [[ python-suds =~ NOPRIME ]]
+++ [[ python-suds =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-suds
+++ for line in '$(<${fname})'
+++ [[ python-lockfile =~ NOPRIME ]]
+++ [[ python-lockfile =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-lockfile
+++ for line in '$(<${fname})'
+++ [[ python-m2crypto =~ NOPRIME ]]
+++ [[ python-m2crypto =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-m2crypto
+++ for line in '$(<${fname})'
+++ [[ python-boto =~ NOPRIME ]]
+++ [[ python-boto =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-boto
+++ for line in '$(<${fname})'
+++ [[ python-kombu =~ NOPRIME ]]
+++ [[ python-kombu =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-kombu
+++ for line in '$(<${fname})'
+++ [[ python-feedparser =~ NOPRIME ]]
+++ [[ python-feedparser =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-feedparser
+++ for line in '$(<${fname})'
+++ [[ python-iso8601 =~ NOPRIME ]]
+++ [[ python-iso8601 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-iso8601
+++ for line in '$(<${fname})'
+++ [[ python-qpid # dist:precise =~ NOPRIME ]]
+++ [[ python-qpid # dist:precise =~ (.*)#.*dist:([^ ]*) ]]
+++ package='python-qpid '
+++ distros=precise
+++ [[ precise =~ precise ]]
+++ echo 'python-qpid '
+++ continue
+++ IFS='
'
+++ for file in '${file_to_parse}'
+++ local fname=/opt/stack/devstack/files/apts/n-cpu
+++ local OIFS line package distros distro
+++ [[ -e /opt/stack/devstack/files/apts/n-cpu ]]
+++ OIFS='
'
+++ IFS='
'
+++ for line in '$(<${fname})'
+++ [[ # Stuff for diablo volumes =~ NOPRIME ]]
+++ [[ # Stuff for diablo volumes =~ (.*)#.*dist:([^ ]*) ]]
+++ echo
+++ for line in '$(<${fname})'
+++ [[ nbd-client =~ NOPRIME ]]
+++ [[ nbd-client =~ (.*)#.*dist:([^ ]*) ]]
+++ echo nbd-client
+++ for line in '$(<${fname})'
+++ [[ lvm2 =~ NOPRIME ]]
+++ [[ lvm2 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo lvm2
+++ for line in '$(<${fname})'
+++ [[ open-iscsi =~ NOPRIME ]]
+++ [[ open-iscsi =~ (.*)#.*dist:([^ ]*) ]]
+++ echo open-iscsi
+++ for line in '$(<${fname})'
+++ [[ open-iscsi-utils =~ NOPRIME ]]
+++ [[ open-iscsi-utils =~ (.*)#.*dist:([^ ]*) ]]
+++ echo open-iscsi-utils
+++ for line in '$(<${fname})'
+++ [[ genisoimage =~ NOPRIME ]]
+++ [[ genisoimage =~ (.*)#.*dist:([^ ]*) ]]
+++ echo genisoimage
+++ for line in '$(<${fname})'
+++ [[ sysfsutils =~ NOPRIME ]]
+++ [[ sysfsutils =~ (.*)#.*dist:([^ ]*) ]]
+++ echo sysfsutils
+++ for line in '$(<${fname})'
+++ [[ sg3-utils =~ NOPRIME ]]
+++ [[ sg3-utils =~ (.*)#.*dist:([^ ]*) ]]
+++ echo sg3-utils
+++ IFS='
'
+++ for file in '${file_to_parse}'
+++ local fname=/opt/stack/devstack/files/apts/cinder
+++ local OIFS line package distros distro
+++ [[ -e /opt/stack/devstack/files/apts/cinder ]]
+++ OIFS='
'
+++ IFS='
'
+++ for line in '$(<${fname})'
+++ [[ tgt =~ NOPRIME ]]
+++ [[ tgt =~ (.*)#.*dist:([^ ]*) ]]
+++ echo tgt
+++ for line in '$(<${fname})'
+++ [[ lvm2 =~ NOPRIME ]]
+++ [[ lvm2 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo lvm2
+++ IFS='
'
+++ for file in '${file_to_parse}'
+++ local fname=/opt/stack/devstack/files/apts/n-novnc
+++ local OIFS line package distros distro
+++ [[ -e /opt/stack/devstack/files/apts/n-novnc ]]
+++ OIFS='
'
+++ IFS='
'
+++ for line in '$(<${fname})'
+++ [[ python-numpy =~ NOPRIME ]]
+++ [[ python-numpy =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-numpy
+++ IFS='
'
+++ for file in '${file_to_parse}'
+++ local fname=/opt/stack/devstack/files/apts/horizon
+++ local OIFS line package distros distro
+++ [[ -e /opt/stack/devstack/files/apts/horizon ]]
+++ OIFS='
'
+++ IFS='
'
+++ for line in '$(<${fname})'
+++ [[ apache2 # NOPRIME =~ NOPRIME ]]
+++ continue
+++ for line in '$(<${fname})'
+++ [[ libapache2-mod-wsgi # NOPRIME =~ NOPRIME ]]
+++ continue
+++ for line in '$(<${fname})'
+++ [[ python-beautifulsoup =~ NOPRIME ]]
+++ [[ python-beautifulsoup =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-beautifulsoup
+++ for line in '$(<${fname})'
+++ [[ python-dateutil =~ NOPRIME ]]
+++ [[ python-dateutil =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-dateutil
+++ for line in '$(<${fname})'
+++ [[ python-paste =~ NOPRIME ]]
+++ [[ python-paste =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-paste
+++ for line in '$(<${fname})'
+++ [[ python-pastedeploy =~ NOPRIME ]]
+++ [[ python-pastedeploy =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-pastedeploy
+++ for line in '$(<${fname})'
+++ [[ python-anyjson =~ NOPRIME ]]
+++ [[ python-anyjson =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-anyjson
+++ for line in '$(<${fname})'
+++ [[ python-routes =~ NOPRIME ]]
+++ [[ python-routes =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-routes
+++ for line in '$(<${fname})'
+++ [[ python-xattr =~ NOPRIME ]]
+++ [[ python-xattr =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-xattr
+++ for line in '$(<${fname})'
+++ [[ python-sqlalchemy =~ NOPRIME ]]
+++ [[ python-sqlalchemy =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-sqlalchemy
+++ for line in '$(<${fname})'
+++ [[ python-webob =~ NOPRIME ]]
+++ [[ python-webob =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-webob
+++ for line in '$(<${fname})'
+++ [[ python-kombu =~ NOPRIME ]]
+++ [[ python-kombu =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-kombu
+++ for line in '$(<${fname})'
+++ [[ pylint =~ NOPRIME ]]
+++ [[ pylint =~ (.*)#.*dist:([^ ]*) ]]
+++ echo pylint
+++ for line in '$(<${fname})'
+++ [[ pep8 =~ NOPRIME ]]
+++ [[ pep8 =~ (.*)#.*dist:([^ ]*) ]]
+++ echo pep8
+++ for line in '$(<${fname})'
+++ [[ python-eventlet =~ NOPRIME ]]
+++ [[ python-eventlet =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-eventlet
+++ for line in '$(<${fname})'
+++ [[ python-nose =~ NOPRIME ]]
+++ [[ python-nose =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-nose
+++ for line in '$(<${fname})'
+++ [[ python-sphinx =~ NOPRIME ]]
+++ [[ python-sphinx =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-sphinx
+++ for line in '$(<${fname})'
+++ [[ python-mox =~ NOPRIME ]]
+++ [[ python-mox =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-mox
+++ for line in '$(<${fname})'
+++ [[ python-kombu =~ NOPRIME ]]
+++ [[ python-kombu =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-kombu
+++ for line in '$(<${fname})'
+++ [[ python-coverage =~ NOPRIME ]]
+++ [[ python-coverage =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-coverage
+++ for line in '$(<${fname})'
+++ [[ python-cherrypy3 # why? =~ NOPRIME ]]
+++ [[ python-cherrypy3 # why? =~ (.*)#.*dist:([^ ]*) ]]
+++ echo 'python-cherrypy3 '
+++ for line in '$(<${fname})'
+++ [[ python-migrate =~ NOPRIME ]]
+++ [[ python-migrate =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-migrate
+++ for line in '$(<${fname})'
+++ [[ nodejs =~ NOPRIME ]]
+++ [[ nodejs =~ (.*)#.*dist:([^ ]*) ]]
+++ echo nodejs
+++ for line in '$(<${fname})'
+++ [[ nodejs-legacy # dist:quantal =~ NOPRIME ]]
+++ [[ nodejs-legacy # dist:quantal =~ (.*)#.*dist:([^ ]*) ]]
+++ package='nodejs-legacy '
+++ distros=quantal
+++ [[ quantal =~ precise ]]
+++ continue
+++ for line in '$(<${fname})'
+++ [[ python-netaddr =~ NOPRIME ]]
+++ [[ python-netaddr =~ (.*)#.*dist:([^ ]*) ]]
+++ echo python-netaddr
+++ IFS='
'
++ install_package bridge-utils pep8 pylint python-pip screen unzip wget psmisc git lsof openssh-server openssl vim-nox locate python-virtualenv python-unittest2 iputils-ping wget curl tcpdump euca2ools tar python-cmd2 python-netaddr gcc libxml2-dev python-dev python-eventlet python-routes python-greenlet python-sqlalchemy python-wsgiref python-pastedeploy python-xattr python-iso8601 python-setuptools python-dev python-lxml python-pastescript python-pastedeploy python-paste sqlite3 python-pysqlite2 python-sqlalchemy python-mysqldb python-webob python-greenlet python-routes libldap2-dev libsasl2-dev python-dateutil dnsmasq-base dnsmasq-utils kpartx parted iputils-arping python-mysqldb python-xattr python-lxml gawk iptables ebtables sqlite3 sudo kvm libjs-jquery-tablesorter vlan curl genisoimage socat python-mox python-paste python-migrate python-gflags python-greenlet python-libvirt python-libxml2 python-routes python-netaddr python-numpy python-pastedeploy python-eventlet python-cheetah python-carrot python-tempita python-sqlalchemy python-suds python-lockfile python-m2crypto python-boto python-kombu python-feedparser python-iso8601 python-qpid nbd-client lvm2 open-iscsi open-iscsi-utils genisoimage sysfsutils sg3-utils tgt lvm2 python-numpy python-beautifulsoup python-dateutil python-paste python-pastedeploy python-anyjson python-routes python-xattr python-sqlalchemy python-webob python-kombu pylint pep8 python-eventlet python-nose python-sphinx python-mox python-kombu python-coverage python-cherrypy3 python-migrate nodejs python-netaddr
++ is_ubuntu
++ [[ -z deb ]]
++ '[' deb = deb ']'
++ [[ '' = \T\r\u\e ]]
++ apt_get update
++ [[ False = \T\r\u\e ]]
++ [[ -z update ]]
++ local sudo=sudo
+++ id -u
++ [[ 1006 = \0 ]]
++ sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assume-yes update
Ign http://mirror.intergenia.de precise InRelease
Hit http://mirror.intergenia.de precise Release.gpg
Hit http://mirror.intergenia.de precise Release
Ign http://ubuntu.intergenia.de precise InRelease
Ign http://ubuntu.intergenia.de precise-updates InRelease
Ign http://ubuntu.intergenia.de precise-security InRelease
Hit http://ubuntu.intergenia.de precise Release.gpg
Hit http://ubuntu.intergenia.de precise-updates Release.gpg
Hit http://ubuntu.intergenia.de precise-security Release.gpg
Hit http://ubuntu.intergenia.de precise Release
Hit http://mirror.intergenia.de precise/dedicated Sources
Hit http://ubuntu.intergenia.de precise-updates Release
Hit http://mirror.intergenia.de precise/dedicated amd64 Packages
Hit http://ubuntu.intergenia.de precise-security Release
Hit http://mirror.intergenia.de precise/dedicated i386 Packages
Ign http://mirror.intergenia.de precise/dedicated TranslationIndex
Hit http://ubuntu.intergenia.de precise/main Sources
Hit http://ubuntu.intergenia.de precise/universe Sources
Hit http://ubuntu.intergenia.de precise/multiverse Sources
Hit http://ubuntu.intergenia.de precise/restricted Sources
Hit http://ubuntu.intergenia.de precise/main amd64 Packages
Hit http://ubuntu.intergenia.de precise/universe amd64 Packages
Hit http://ubuntu.intergenia.de precise/multiverse amd64 Packages
Hit http://ubuntu.intergenia.de precise/restricted amd64 Packages
Hit http://ubuntu.intergenia.de precise/main i386 Packages
Hit http://ubuntu.intergenia.de precise/universe i386 Packages
Hit http://ubuntu.intergenia.de precise/multiverse i386 Packages
Hit http://ubuntu.intergenia.de precise/restricted i386 Packages
Hit http://ubuntu.intergenia.de precise/main TranslationIndex
Hit http://ubuntu.intergenia.de precise/multiverse TranslationIndex
Hit http://ubuntu.intergenia.de precise/restricted TranslationIndex
Hit http://ubuntu.intergenia.de precise/universe TranslationIndex
Hit http://ubuntu.intergenia.de precise-updates/main Sources
Hit http://ubuntu.intergenia.de precise-updates/universe Sources
Hit http://ubuntu.intergenia.de precise-updates/multiverse Sources
Hit http://ubuntu.intergenia.de precise-updates/restricted Sources
Hit http://ubuntu.intergenia.de precise-updates/main amd64 Packages
Hit http://ubuntu.intergenia.de precise-updates/universe amd64 Packages
Hit http://ubuntu.intergenia.de precise-updates/multiverse amd64 Packages
Hit http://ubuntu.intergenia.de precise-updates/restricted amd64 Packages
Hit http://ubuntu.intergenia.de precise-updates/main i386 Packages
Hit http://ubuntu.intergenia.de precise-updates/universe i386 Packages
Hit http://ubuntu.intergenia.de precise-updates/multiverse i386 Packages
Hit http://ubuntu.intergenia.de precise-updates/restricted i386 Packages
Hit http://ubuntu.intergenia.de precise-updates/main TranslationIndex
Ign http://mirror.intergenia.de precise/dedicated Translation-en_US
Hit http://ubuntu.intergenia.de precise-updates/multiverse TranslationIndex
Hit http://ubuntu.intergenia.de precise-updates/restricted TranslationIndex
Hit http://ubuntu.intergenia.de precise-updates/universe TranslationIndex
Hit http://ubuntu.intergenia.de precise/main Translation-en
Hit http://ubuntu.intergenia.de precise/multiverse Translation-en
Ign http://mirror.intergenia.de precise/dedicated Translation-en
Hit http://ubuntu.intergenia.de precise/restricted Translation-en
Hit http://ubuntu.intergenia.de precise/universe Translation-en
Hit http://ubuntu.intergenia.de precise-security/main Sources
Hit http://ubuntu.intergenia.de precise-security/universe Sources
Ign http://mirror.intergenia.de precise/dedicated Translation-en_US.en
Hit http://ubuntu.intergenia.de precise-security/multiverse Sources
Hit http://ubuntu.intergenia.de precise-security/restricted Sources
Hit http://ubuntu.intergenia.de precise-security/main amd64 Packages
Hit http://ubuntu.intergenia.de precise-security/universe amd64 Packages
Hit http://ubuntu.intergenia.de precise-security/multiverse amd64 Packages
Hit http://ubuntu.intergenia.de precise-security/restricted amd64 Packages
Hit http://ubuntu.intergenia.de precise-security/main i386 Packages
Hit http://ubuntu.intergenia.de precise-security/universe i386 Packages
Hit http://ubuntu.intergenia.de precise-security/multiverse i386 Packages
Hit http://ubuntu.intergenia.de precise-security/restricted i386 Packages
Hit http://ubuntu.intergenia.de precise-security/main TranslationIndex
Hit http://ubuntu.intergenia.de precise-security/multiverse TranslationIndex
Hit http://ubuntu.intergenia.de precise-security/restricted TranslationIndex
Hit http://ubuntu.intergenia.de precise-security/universe TranslationIndex
Hit http://ubuntu.intergenia.de precise-updates/main Translation-en
Hit http://ubuntu.intergenia.de precise-updates/multiverse Translation-en
Hit http://ubuntu.intergenia.de precise-updates/restricted Translation-en
Hit http://ubuntu.intergenia.de precise-updates/universe Translation-en
Hit http://ubuntu.intergenia.de precise-security/main Translation-en
Hit http://ubuntu.intergenia.de precise-security/multiverse Translation-en
Hit http://ubuntu.intergenia.de precise-security/restricted Translation-en
Hit http://ubuntu.intergenia.de precise-security/universe Translation-en
Ign http://pkg.jenkins-ci.org binary/ InRelease
Hit http://pkg.jenkins-ci.org binary/ Release.gpg
Hit http://pkg.jenkins-ci.org binary/ Release
Hit http://pkg.jenkins-ci.org binary/ Packages
Ign http://pkg.jenkins-ci.org binary/ Translation-en_US
Ign http://pkg.jenkins-ci.org binary/ Translation-en
Ign http://pkg.jenkins-ci.org binary/ Translation-en_US.en
Reading package lists... Done
++ NO_UPDATE_REPOS=True
++ apt_get install bridge-utils pep8 pylint python-pip screen unzip wget psmisc git lsof openssh-server openssl vim-nox locate python-virtualenv python-unittest2 iputils-ping wget curl tcpdump euca2ools tar python-cmd2 python-netaddr gcc libxml2-dev python-dev python-eventlet python-routes python-greenlet python-sqlalchemy python-wsgiref python-pastedeploy python-xattr python-iso8601 python-setuptools python-dev python-lxml python-pastescript python-pastedeploy python-paste sqlite3 python-pysqlite2 python-sqlalchemy python-mysqldb python-webob python-greenlet python-routes libldap2-dev libsasl2-dev python-dateutil dnsmasq-base dnsmasq-utils kpartx parted iputils-arping python-mysqldb python-xattr python-lxml gawk iptables ebtables sqlite3 sudo kvm libjs-jquery-tablesorter vlan curl genisoimage socat python-mox python-paste python-migrate python-gflags python-greenlet python-libvirt python-libxml2 python-routes python-netaddr python-numpy python-pastedeploy python-eventlet python-cheetah python-carrot python-tempita python-sqlalchemy python-suds python-lockfile python-m2crypto python-boto python-kombu python-feedparser python-iso8601 python-qpid nbd-client lvm2 open-iscsi open-iscsi-utils genisoimage sysfsutils sg3-utils tgt lvm2 python-numpy python-beautifulsoup python-dateutil python-paste python-pastedeploy python-anyjson python-routes python-xattr python-sqlalchemy python-webob python-kombu pylint pep8 python-eventlet python-nose python-sphinx python-mox python-kombu python-coverage python-cherrypy3 python-migrate nodejs python-netaddr
++ [[ False = \T\r\u\e ]]
++ [[ -z install bridge-utils pep8 pylint python-pip screen unzip wget psmisc git lsof openssh-server openssl vim-nox locate python-virtualenv python-unittest2 iputils-ping wget curl tcpdump euca2ools tar python-cmd2 python-netaddr gcc libxml2-dev python-dev python-eventlet python-routes python-greenlet python-sqlalchemy python-wsgiref python-pastedeploy python-xattr python-iso8601 python-setuptools python-dev python-lxml python-pastescript python-pastedeploy python-paste sqlite3 python-pysqlite2 python-sqlalchemy python-mysqldb python-webob python-greenlet python-routes libldap2-dev libsasl2-dev python-dateutil dnsmasq-base dnsmasq-utils kpartx parted iputils-arping python-mysqldb python-xattr python-lxml gawk iptables ebtables sqlite3 sudo kvm libjs-jquery-tablesorter vlan curl genisoimage socat python-mox python-paste python-migrate python-gflags python-greenlet python-libvirt python-libxml2 python-routes python-netaddr python-numpy python-pastedeploy python-eventlet python-cheetah python-carrot python-tempita python-sqlalchemy python-suds python-lockfile python-m2crypto python-boto python-kombu python-feedparser python-iso8601 python-qpid nbd-client lvm2 open-iscsi open-iscsi-utils genisoimage sysfsutils sg3-utils tgt lvm2 python-numpy python-beautifulsoup python-dateutil python-paste python-pastedeploy python-anyjson python-routes python-xattr python-sqlalchemy python-webob python-kombu pylint pep8 python-eventlet python-nose python-sphinx python-mox python-kombu python-coverage python-cherrypy3 python-migrate nodejs python-netaddr ]]
++ local sudo=sudo
+++ id -u
++ [[ 1006 = \0 ]]
++ sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assume-yes install bridge-utils pep8 pylint python-pip screen unzip wget psmisc git lsof openssh-server openssl vim-nox locate python-virtualenv python-unittest2 iputils-ping wget curl tcpdump euca2ools tar python-cmd2 python-netaddr gcc libxml2-dev python-dev python-eventlet python-routes python-greenlet python-sqlalchemy python-wsgiref python-pastedeploy python-xattr python-iso8601 python-setuptools python-dev python-lxml python-pastescript python-pastedeploy python-paste sqlite3 python-pysqlite2 python-sqlalchemy python-mysqldb python-webob python-greenlet python-routes libldap2-dev libsasl2-dev python-dateutil dnsmasq-base dnsmasq-utils kpartx parted iputils-arping python-mysqldb python-xattr python-lxml gawk iptables ebtables sqlite3 sudo kvm libjs-jquery-tablesorter vlan curl genisoimage socat python-mox python-paste python-migrate python-gflags python-greenlet python-libvirt python-libxml2 python-routes python-netaddr python-numpy python-pastedeploy python-eventlet python-cheetah python-carrot python-tempita python-sqlalchemy python-suds python-lockfile python-m2crypto python-boto python-kombu python-feedparser python-iso8601 python-qpid nbd-client lvm2 open-iscsi open-iscsi-utils genisoimage sysfsutils sg3-utils tgt lvm2 python-numpy python-beautifulsoup python-dateutil python-paste python-pastedeploy python-anyjson python-routes python-xattr python-sqlalchemy python-webob python-kombu pylint pep8 python-eventlet python-nose python-sphinx python-mox python-kombu python-coverage python-cherrypy3 python-migrate nodejs python-netaddr
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python' instead of 'python-wsgiref'
ebtables is already the newest version.
gawk is already the newest version.
gcc is already the newest version.
genisoimage is already the newest version.
git is already the newest version.
iputils-arping is already the newest version.
iputils-ping is already the newest version.
kpartx is already the newest version.
lsof is already the newest version.
nbd-client is already the newest version.
pep8 is already the newest version.
pylint is already the newest version.
python is already the newest version.
python-anyjson is already the newest version.
python-beautifulsoup is already the newest version.
python-boto is already the newest version.
python-carrot is already the newest version.
python-cheetah is already the newest version.
python-coverage is already the newest version.
python-dateutil is already the newest version.
python-dev is already the newest version.
python-gflags is already the newest version.
python-iso8601 is already the newest version.
python-kombu is already the newest version.
python-lockfile is already the newest version.
python-lxml is already the newest version.
python-m2crypto is already the newest version.
python-migrate is already the newest version.
python-mox is already the newest version.
python-netaddr is already the newest version.
python-nose is already the newest version.
python-numpy is already the newest version.
python-paste is already the newest version.
python-pastedeploy is already the newest version.
python-pastescript is already the newest version.
python-routes is already the newest version.
python-setuptools is already the newest version.
python-suds is already the newest version.
python-tempita is already the newest version.
python-unittest2 is already the newest version.
python-xattr is already the newest version.
screen is already the newest version.
sg3-utils is already the newest version.
tar is already the newest version.
tcpdump is already the newest version.
tgt is already the newest version.
unzip is already the newest version.
vlan is already the newest version.
wget is already the newest version.
libjs-jquery-tablesorter is already the newest version.
locate is already the newest version.
nodejs is already the newest version.
python-cherrypy3 is already the newest version.
python-cmd2 is already the newest version.
python-pip is already the newest version.
python-pysqlite2 is already the newest version.
python-qpid is already the newest version.
python-virtualenv is already the newest version.
socat is already the newest version.
sysfsutils is already the newest version.
bridge-utils is already the newest version.
curl is already the newest version.
dnsmasq-base is already the newest version.
dnsmasq-utils is already the newest version.
euca2ools is already the newest version.
iptables is already the newest version.
kvm is already the newest version.
libldap2-dev is already the newest version.
libsasl2-dev is already the newest version.
libxml2-dev is already the newest version.
lvm2 is already the newest version.
open-iscsi is already the newest version.
open-iscsi-utils is already the newest version.
openssh-server is already the newest version.
openssl is already the newest version.
parted is already the newest version.
psmisc is already the newest version.
python-eventlet is already the newest version.
python-feedparser is already the newest version.
python-greenlet is already the newest version.
python-libvirt is already the newest version.
python-libxml2 is already the newest version.
python-mysqldb is already the newest version.
python-sphinx is already the newest version.
python-sqlalchemy is already the newest version.
python-webob is already the newest version.
sqlite3 is already the newest version.
sudo is already the newest version.
vim-nox is already the newest version.
The following package was automatically installed and is no longer required:
bcrelay
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 116 not upgraded.
++ [[ -n False ]]
++ [[ False != \F\a\l\s\e ]]
++ date +%s
++ date
+ install_rpc_backend
+ is_service_enabled rabbit
+ services=rabbit
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,rabbit, ]]
+ return 0
++ mktemp
+ tfile=/tmp/tmp.emFSGp54M3
+ install_package rabbitmq-server
+ cat /tmp/tmp.emFSGp54M3
+ is_ubuntu
+ [[ -z deb ]]
+ '[' deb = deb ']'
+ [[ True = \T\r\u\e ]]
+ NO_UPDATE_REPOS=True
+ apt_get install rabbitmq-server
+ [[ False = \T\r\u\e ]]
+ [[ -z install rabbitmq-server ]]
+ local sudo=sudo
++ id -u
+ [[ 1006 = \0 ]]
+ sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assume-yes install rabbitmq-server
Reading package lists...
Building dependency tree...
Reading state information...
rabbitmq-server is already the newest version.
The following package was automatically installed and is no longer required:
bcrelay
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 116 not upgraded.
+ rm -f /tmp/tmp.emFSGp54M3
+ is_service_enabled mysql postgresql
+ services='mysql postgresql'
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,mysql, ]]
+ return 0
+ install_database
+ install_database_mysql
+ is_ubuntu
+ [[ -z deb ]]
+ '[' deb = deb ']'
+ cat
+ sudo debconf-set-selections
+ [[ ! -e /home/kjellski/.my.cnf ]]
+ is_ubuntu
+ [[ -z deb ]]
+ '[' deb = deb ']'
+ install_package mysql-server
+ is_ubuntu
+ [[ -z deb ]]
+ '[' deb = deb ']'
+ [[ True = \T\r\u\e ]]
+ NO_UPDATE_REPOS=True
+ apt_get install mysql-server
+ [[ False = \T\r\u\e ]]
+ [[ -z install mysql-server ]]
+ local sudo=sudo
++ id -u
+ [[ 1006 = \0 ]]
+ sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assume-yes install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version.
The following package was automatically installed and is no longer required:
bcrelay
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 116 not upgraded.
+ is_service_enabled q-agt
+ services=q-agt
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,q-agt, ]]
+ [[ q-agt == \n\o\v\a ]]
+ [[ q-agt == \c\i\n\d\e\r ]]
+ [[ q-agt == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ q-agt == \g\l\a\n\c\e ]]
+ [[ q-agt == \q\u\a\n\t\u\m ]]
+ [[ q-agt == \s\w\i\f\t ]]
+ [[ q-agt == s-* ]]
+ return 1
+ [[ -n is_fedora ]]
+ [[ precise =~ (rhel6) ]]
+ TRACK_DEPENDS=False
+ [[ False = True ]]
+ echo_summary 'Installing OpenStack project source'
+ [[ -t 3 ]]
+ [[ True != \T\r\u\e ]]
+ echo -e Installing OpenStack project source
Installing OpenStack project source
+ install_keystoneclient
+ git_clone https://github.com/openstack/python-keystoneclient.git /opt/stack/python-keystoneclient master
+ [[ False = \T\r\u\e ]]
+ GIT_REMOTE=https://github.com/openstack/python-keystoneclient.git
+ GIT_DEST=/opt/stack/python-keystoneclient
+ GIT_REF=master
+ echo master
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/python-keystoneclient ]]
+ [[ '' == \y\e\s ]]
+ setup_develop /opt/stack/python-keystoneclient
+ [[ False = True ]]
+ SUDO_CMD=sudo
+ cd /opt/stack/python-keystoneclient
+ python setup.py egg_info
running egg_info
writing requirements to python_keystoneclient.egg-info/requires.txt
writing python_keystoneclient.egg-info/PKG-INFO
writing top-level names to python_keystoneclient.egg-info/top_level.txt
writing dependency_links to python_keystoneclient.egg-info/dependency_links.txt
writing entry points to python_keystoneclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'python-keystoneclient'
writing manifest file 'python_keystoneclient.egg-info/SOURCES.txt'
++ awk '/^.+/ {print "-f " $1}' python_keystoneclient.egg-info/dependency_links.txt
+ raw_links=
++ echo
++ xargs
+ depend_links=
++ '[' '!' -r python_keystoneclient.egg-info/requires.txt ']'
++ echo '-r *-info/requires.txt'
+ require_file='-r *-info/requires.txt'
+ pip_install -r python_keystoneclient.egg-info/requires.txt
+ [[ False = \T\r\u\e ]]
+ [[ -z -r python_keystoneclient.egg-info/requires.txt ]]
+ [[ -z deb ]]
+ [[ False = True ]]
+ SUDO_PIP=sudo
++ get_pip_command
++ is_fedora
++ [[ -z Ubuntu ]]
++ '[' Ubuntu = Fedora ']'
++ '[' Ubuntu = 'Red Hat' ']'
++ '[' Ubuntu = CentOS ']'
++ which pip
+ CMD_PIP=/usr/bin/pip
+ [[ -n is_fedora ]]
+ [[ precise =~ (rhel6) ]]
+ PIP_USE_MIRRORS=True
+ [[ True != \F\a\l\s\e ]]
+ PIP_MIRROR_OPT=--use-mirrors
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/bin/pip install --use-mirrors -r python_keystoneclient.egg-info/requires.txt
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.4 in /usr/local/lib/python2.7/dist-packages (from -r python_keystoneclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): prettytable>=0.6,<0.8 in /usr/local/lib/python2.7/dist-packages (from -r python_keystoneclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): requests>=0.8.8 in /usr/local/lib/python2.7/dist-packages (from -r python_keystoneclient.egg-info/requires.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): simplejson in /usr/local/lib/python2.7/dist-packages (from -r python_keystoneclient.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): oslo.config>=1.1.0 in /usr/local/lib/python2.7/dist-packages (from -r python_keystoneclient.egg-info/requires.txt (line 5))
Cleaning up...
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to python_keystoneclient.egg-info/requires.txt
writing python_keystoneclient.egg-info/PKG-INFO
writing top-level names to python_keystoneclient.egg-info/top_level.txt
writing dependency_links to python_keystoneclient.egg-info/dependency_links.txt
writing entry points to python_keystoneclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'python-keystoneclient'
writing manifest file 'python_keystoneclient.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/python-keystoneclient.egg-link (link to .)
python-keystoneclient 0.2.3.15.g1736e2f is already the active version in easy-install.pth
Installing keystone script to /usr/local/bin
Installed /opt/stack/python-keystoneclient
Processing dependencies for python-keystoneclient==0.2.3.15.g1736e2f
Searching for oslo.config==1.1.0
Best match: oslo.config 1.1.0
oslo.config 1.1.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for simplejson==3.3.0
Best match: simplejson 3.3.0
simplejson 3.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for requests==1.2.0
Best match: requests 1.2.0
requests 1.2.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for prettytable==0.7.2
Best match: prettytable 0.7.2
prettytable 0.7.2 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for iso8601==0.1.4
Best match: iso8601 0.1.4
iso8601 0.1.4 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for python-keystoneclient==0.2.3.15.g1736e2f
+ install_glanceclient
+ git_clone https://github.com/openstack/python-glanceclient.git /opt/stack/python-glanceclient master
+ [[ False = \T\r\u\e ]]
+ GIT_REMOTE=https://github.com/openstack/python-glanceclient.git
+ GIT_DEST=/opt/stack/python-glanceclient
+ GIT_REF=master
+ echo master
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/python-glanceclient ]]
+ [[ '' == \y\e\s ]]
+ setup_develop /opt/stack/python-glanceclient
+ [[ False = True ]]
+ SUDO_CMD=sudo
+ cd /opt/stack/python-glanceclient
+ python setup.py egg_info
running egg_info
writing requirements to python_glanceclient.egg-info/requires.txt
writing python_glanceclient.egg-info/PKG-INFO
writing top-level names to python_glanceclient.egg-info/top_level.txt
writing dependency_links to python_glanceclient.egg-info/dependency_links.txt
writing entry points to python_glanceclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
writing manifest file 'python_glanceclient.egg-info/SOURCES.txt'
++ awk '/^.+/ {print "-f " $1}' python_glanceclient.egg-info/dependency_links.txt
+ raw_links=
++ echo
++ xargs
+ depend_links=
++ '[' '!' -r python_glanceclient.egg-info/requires.txt ']'
++ echo '-r *-info/requires.txt'
+ require_file='-r *-info/requires.txt'
+ pip_install -r python_glanceclient.egg-info/requires.txt
+ [[ False = \T\r\u\e ]]
+ [[ -z -r python_glanceclient.egg-info/requires.txt ]]
+ [[ -z deb ]]
+ [[ False = True ]]
+ SUDO_PIP=sudo
++ get_pip_command
++ is_fedora
++ [[ -z Ubuntu ]]
++ '[' Ubuntu = Fedora ']'
++ '[' Ubuntu = 'Red Hat' ']'
++ '[' Ubuntu = CentOS ']'
++ which pip
+ CMD_PIP=/usr/bin/pip
+ [[ -n is_fedora ]]
+ [[ precise =~ (rhel6) ]]
+ PIP_USE_MIRRORS=True
+ [[ True != \F\a\l\s\e ]]
+ PIP_MIRROR_OPT=--use-mirrors
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/bin/pip install --use-mirrors -r python_glanceclient.egg-info/requires.txt
Requirement already satisfied (use --upgrade to upgrade): prettytable>=0.6,<0.8 in /usr/local/lib/python2.7/dist-packages (from -r python_glanceclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): python-keystoneclient>=0.1.2,<1 in /opt/stack/python-keystoneclient (from -r python_glanceclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): pyOpenSSL in /usr/lib/python2.7/dist-packages (from -r python_glanceclient.egg-info/requires.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): warlock>=0.7.0,<2 in /usr/local/lib/python2.7/dist-packages (from -r python_glanceclient.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.4 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.1.2,<1->-r python_glanceclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): requests>=0.8.8 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.1.2,<1->-r python_glanceclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): simplejson in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.1.2,<1->-r python_glanceclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): oslo.config>=1.1.0 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.1.2,<1->-r python_glanceclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): jsonschema>=0.7,<2 in /usr/local/lib/python2.7/dist-packages (from warlock>=0.7.0,<2->-r python_glanceclient.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): jsonpatch>=0.10,<2 in /usr/local/lib/python2.7/dist-packages (from warlock>=0.7.0,<2->-r python_glanceclient.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): jsonpointer>=1.0 in /usr/local/lib/python2.7/dist-packages (from jsonpatch>=0.10,<2->warlock>=0.7.0,<2->-r python_glanceclient.egg-info/requires.txt (line 4))
Cleaning up...
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to python_glanceclient.egg-info/requires.txt
writing python_glanceclient.egg-info/PKG-INFO
writing top-level names to python_glanceclient.egg-info/top_level.txt
writing dependency_links to python_glanceclient.egg-info/dependency_links.txt
writing entry points to python_glanceclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
writing manifest file 'python_glanceclient.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/python-glanceclient.egg-link (link to .)
python-glanceclient 0.9.0.14.ga3223b9 is already the active version in easy-install.pth
Installing glance script to /usr/local/bin
Installed /opt/stack/python-glanceclient
Processing dependencies for python-glanceclient==0.9.0.14.ga3223b9
Searching for warlock==1.0.0
Best match: warlock 1.0.0
warlock 1.0.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for pyOpenSSL==0.12
Best match: pyOpenSSL 0.12
Adding pyOpenSSL 0.12 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for python-keystoneclient==0.2.3.15.g1736e2f
Best match: python-keystoneclient 0.2.3.15.g1736e2f
python-keystoneclient 0.2.3.15.g1736e2f is already the active version in easy-install.pth
Installing keystone script to /usr/local/bin
Using /opt/stack/python-keystoneclient
Searching for prettytable==0.7.2
Best match: prettytable 0.7.2
prettytable 0.7.2 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for jsonpatch==1.0
Best match: jsonpatch 1.0
jsonpatch 1.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for jsonschema==1.3.0
Best match: jsonschema 1.3.0
jsonschema 1.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for oslo.config==1.1.0
Best match: oslo.config 1.1.0
oslo.config 1.1.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for simplejson==3.3.0
Best match: simplejson 3.3.0
simplejson 3.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for requests==1.2.0
Best match: requests 1.2.0
requests 1.2.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for iso8601==0.1.4
Best match: iso8601 0.1.4
iso8601 0.1.4 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for jsonpointer==1.0
Best match: jsonpointer 1.0
jsonpointer 1.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for python-glanceclient==0.9.0.14.ga3223b9
+ install_cinderclient
+ git_clone https://github.com/openstack/python-cinderclient.git /opt/stack/python-cinderclient master
+ [[ False = \T\r\u\e ]]
+ GIT_REMOTE=https://github.com/openstack/python-cinderclient.git
+ GIT_DEST=/opt/stack/python-cinderclient
+ GIT_REF=master
+ echo master
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/python-cinderclient ]]
+ [[ '' == \y\e\s ]]
+ setup_develop /opt/stack/python-cinderclient
+ [[ False = True ]]
+ SUDO_CMD=sudo
+ cd /opt/stack/python-cinderclient
+ python setup.py egg_info
running egg_info
writing requirements to python_cinderclient.egg-info/requires.txt
writing python_cinderclient.egg-info/PKG-INFO
writing top-level names to python_cinderclient.egg-info/top_level.txt
writing dependency_links to python_cinderclient.egg-info/dependency_links.txt
writing entry points to python_cinderclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
writing manifest file 'python_cinderclient.egg-info/SOURCES.txt'
++ awk '/^.+/ {print "-f " $1}' python_cinderclient.egg-info/dependency_links.txt
+ raw_links=
++ echo
++ xargs
+ depend_links=
++ '[' '!' -r python_cinderclient.egg-info/requires.txt ']'
++ echo '-r *-info/requires.txt'
+ require_file='-r *-info/requires.txt'
+ pip_install -r python_cinderclient.egg-info/requires.txt
+ [[ False = \T\r\u\e ]]
+ [[ -z -r python_cinderclient.egg-info/requires.txt ]]
+ [[ -z deb ]]
+ [[ False = True ]]
+ SUDO_PIP=sudo
++ get_pip_command
++ is_fedora
++ [[ -z Ubuntu ]]
++ '[' Ubuntu = Fedora ']'
++ '[' Ubuntu = 'Red Hat' ']'
++ '[' Ubuntu = CentOS ']'
++ which pip
+ CMD_PIP=/usr/bin/pip
+ [[ -n is_fedora ]]
+ [[ precise =~ (rhel6) ]]
+ PIP_USE_MIRRORS=True
+ [[ True != \F\a\l\s\e ]]
+ PIP_MIRROR_OPT=--use-mirrors
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/bin/pip install --use-mirrors -r python_cinderclient.egg-info/requires.txt
Requirement already satisfied (use --upgrade to upgrade): prettytable>=0.6,<0.8 in /usr/local/lib/python2.7/dist-packages (from -r python_cinderclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): requests>=0.8 in /usr/local/lib/python2.7/dist-packages (from -r python_cinderclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): simplejson>=2.0.9 in /usr/local/lib/python2.7/dist-packages (from -r python_cinderclient.egg-info/requires.txt (line 3))
Cleaning up...
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to python_cinderclient.egg-info/requires.txt
writing python_cinderclient.egg-info/PKG-INFO
writing top-level names to python_cinderclient.egg-info/top_level.txt
writing dependency_links to python_cinderclient.egg-info/dependency_links.txt
writing entry points to python_cinderclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
writing manifest file 'python_cinderclient.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/python-cinderclient.egg-link (link to .)
python-cinderclient 1.0.4 is already the active version in easy-install.pth
Installing cinder script to /usr/local/bin
Installed /opt/stack/python-cinderclient
Processing dependencies for python-cinderclient==1.0.4
Searching for simplejson==3.3.0
Best match: simplejson 3.3.0
simplejson 3.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for requests==1.2.0
Best match: requests 1.2.0
requests 1.2.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for prettytable==0.7.2
Best match: prettytable 0.7.2
prettytable 0.7.2 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for python-cinderclient==1.0.4
+ install_novaclient
+ git_clone https://github.com/openstack/python-novaclient.git /opt/stack/python-novaclient master
+ [[ False = \T\r\u\e ]]
+ GIT_REMOTE=https://github.com/openstack/python-novaclient.git
+ GIT_DEST=/opt/stack/python-novaclient
+ GIT_REF=master
+ echo master
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/python-novaclient ]]
+ [[ '' == \y\e\s ]]
+ setup_develop /opt/stack/python-novaclient
+ [[ False = True ]]
+ SUDO_CMD=sudo
+ cd /opt/stack/python-novaclient
+ python setup.py egg_info
running egg_info
writing requirements to python_novaclient.egg-info/requires.txt
writing python_novaclient.egg-info/PKG-INFO
writing top-level names to python_novaclient.egg-info/top_level.txt
writing dependency_links to python_novaclient.egg-info/dependency_links.txt
writing entry points to python_novaclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
writing manifest file 'python_novaclient.egg-info/SOURCES.txt'
++ awk '/^.+/ {print "-f " $1}' python_novaclient.egg-info/dependency_links.txt
+ raw_links=
++ echo
++ xargs
+ depend_links=
++ '[' '!' -r python_novaclient.egg-info/requires.txt ']'
++ echo '-r *-info/requires.txt'
+ require_file='-r *-info/requires.txt'
+ pip_install -r python_novaclient.egg-info/requires.txt
+ [[ False = \T\r\u\e ]]
+ [[ -z -r python_novaclient.egg-info/requires.txt ]]
+ [[ -z deb ]]
+ [[ False = True ]]
+ SUDO_PIP=sudo
++ get_pip_command
++ is_fedora
++ [[ -z Ubuntu ]]
++ '[' Ubuntu = Fedora ']'
++ '[' Ubuntu = 'Red Hat' ']'
++ '[' Ubuntu = CentOS ']'
++ which pip
+ CMD_PIP=/usr/bin/pip
+ [[ -n is_fedora ]]
+ [[ precise =~ (rhel6) ]]
+ PIP_USE_MIRRORS=True
+ [[ True != \F\a\l\s\e ]]
+ PIP_MIRROR_OPT=--use-mirrors
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/bin/pip install --use-mirrors -r python_novaclient.egg-info/requires.txt
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.4 in /usr/local/lib/python2.7/dist-packages (from -r python_novaclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): prettytable>=0.6,<0.8 in /usr/local/lib/python2.7/dist-packages (from -r python_novaclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): requests>=0.8 in /usr/local/lib/python2.7/dist-packages (from -r python_novaclient.egg-info/requires.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): simplejson in /usr/local/lib/python2.7/dist-packages (from -r python_novaclient.egg-info/requires.txt (line 4))
Cleaning up...
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to python_novaclient.egg-info/requires.txt
writing python_novaclient.egg-info/PKG-INFO
writing top-level names to python_novaclient.egg-info/top_level.txt
writing dependency_links to python_novaclient.egg-info/dependency_links.txt
writing entry points to python_novaclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
writing manifest file 'python_novaclient.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/python-novaclient.egg-link (link to .)
python-novaclient 2.13.0.31.g670cf15 is already the active version in easy-install.pth
Installing nova script to /usr/local/bin
Installed /opt/stack/python-novaclient
Processing dependencies for python-novaclient==2.13.0.31.g670cf15
Searching for simplejson==3.3.0
Best match: simplejson 3.3.0
simplejson 3.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for requests==1.2.0
Best match: requests 1.2.0
requests 1.2.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for prettytable==0.7.2
Best match: prettytable 0.7.2
prettytable 0.7.2 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for iso8601==0.1.4
Best match: iso8601 0.1.4
iso8601 0.1.4 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for python-novaclient==2.13.0.31.g670cf15
+ is_service_enabled swift glance
+ services='swift glance'
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,swift, ]]
+ [[ swift == \n\o\v\a ]]
+ [[ swift == \c\i\n\d\e\r ]]
+ [[ swift == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ swift == \g\l\a\n\c\e ]]
+ [[ swift == \q\u\a\n\t\u\m ]]
+ [[ swift == \s\w\i\f\t ]]
+ [[ g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql =~ s- ]]
+ [[ swift == s-* ]]
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,glance, ]]
+ [[ glance == \n\o\v\a ]]
+ [[ glance == \c\i\n\d\e\r ]]
+ [[ glance == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ glance == \g\l\a\n\c\e ]]
+ [[ g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql =~ g- ]]
+ return 0
+ install_swiftclient
+ git_clone https://github.com/openstack/python-swiftclient.git /opt/stack/python-swiftclient master
+ [[ False = \T\r\u\e ]]
+ GIT_REMOTE=https://github.com/openstack/python-swiftclient.git
+ GIT_DEST=/opt/stack/python-swiftclient
+ GIT_REF=master
+ echo master
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/python-swiftclient ]]
+ [[ '' == \y\e\s ]]
+ setup_develop /opt/stack/python-swiftclient
+ [[ False = True ]]
+ SUDO_CMD=sudo
+ cd /opt/stack/python-swiftclient
+ python setup.py egg_info
running egg_info
writing requirements to python_swiftclient.egg-info/requires.txt
writing python_swiftclient.egg-info/PKG-INFO
writing top-level names to python_swiftclient.egg-info/top_level.txt
writing dependency_links to python_swiftclient.egg-info/dependency_links.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'swiftclient/versioninfo'
writing manifest file 'python_swiftclient.egg-info/SOURCES.txt'
++ awk '/^.+/ {print "-f " $1}' python_swiftclient.egg-info/dependency_links.txt
+ raw_links=
++ echo
++ xargs
+ depend_links=
++ '[' '!' -r python_swiftclient.egg-info/requires.txt ']'
++ echo '-r *-info/requires.txt'
+ require_file='-r *-info/requires.txt'
+ pip_install -r python_swiftclient.egg-info/requires.txt
+ [[ False = \T\r\u\e ]]
+ [[ -z -r python_swiftclient.egg-info/requires.txt ]]
+ [[ -z deb ]]
+ [[ False = True ]]
+ SUDO_PIP=sudo
++ get_pip_command
++ is_fedora
++ [[ -z Ubuntu ]]
++ '[' Ubuntu = Fedora ']'
++ '[' Ubuntu = 'Red Hat' ']'
++ '[' Ubuntu = CentOS ']'
++ which pip
+ CMD_PIP=/usr/bin/pip
+ [[ -n is_fedora ]]
+ [[ precise =~ (rhel6) ]]
+ PIP_USE_MIRRORS=True
+ [[ True != \F\a\l\s\e ]]
+ PIP_MIRROR_OPT=--use-mirrors
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/bin/pip install --use-mirrors -r python_swiftclient.egg-info/requires.txt
Requirement already satisfied (use --upgrade to upgrade): simplejson in /usr/local/lib/python2.7/dist-packages (from -r python_swiftclient.egg-info/requires.txt (line 1))
Cleaning up...
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to python_swiftclient.egg-info/requires.txt
writing python_swiftclient.egg-info/PKG-INFO
writing top-level names to python_swiftclient.egg-info/top_level.txt
writing dependency_links to python_swiftclient.egg-info/dependency_links.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'swiftclient/versioninfo'
writing manifest file 'python_swiftclient.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/python-swiftclient.egg-link (link to .)
Removing python-swiftclient 1.1.1 from easy-install.pth file
python-swiftclient 1.4.0.4.gfcb3100 is already the active version in easy-install.pth
Installing swift script to /usr/local/bin
Installed /opt/stack/python-swiftclient
Processing dependencies for python-swiftclient==1.4.0.4.gfcb3100
Searching for simplejson==3.3.0
Best match: simplejson 3.3.0
Adding simplejson 3.3.0 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for python-swiftclient==1.4.0.4.gfcb3100
+ is_service_enabled quantum nova
+ services='quantum nova'
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,quantum, ]]
+ [[ quantum == \n\o\v\a ]]
+ [[ quantum == \c\i\n\d\e\r ]]
+ [[ quantum == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ quantum == \g\l\a\n\c\e ]]
+ [[ quantum == \q\u\a\n\t\u\m ]]
+ [[ g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql =~ q- ]]
+ [[ quantum == \s\w\i\f\t ]]
+ [[ quantum == s-* ]]
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,nova, ]]
+ [[ nova == \n\o\v\a ]]
+ [[ g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql =~ n- ]]
+ return 0
+ install_quantumclient
+ git_clone https://github.com/openstack/python-quantumclient.git /opt/stack/python-quantumclient master
+ [[ False = \T\r\u\e ]]
+ GIT_REMOTE=https://github.com/openstack/python-quantumclient.git
+ GIT_DEST=/opt/stack/python-quantumclient
+ GIT_REF=master
+ echo master
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/python-quantumclient ]]
+ [[ '' == \y\e\s ]]
+ setup_develop /opt/stack/python-quantumclient
+ [[ False = True ]]
+ SUDO_CMD=sudo
+ cd /opt/stack/python-quantumclient
+ python setup.py egg_info
running egg_info
writing requirements to python_quantumclient.egg-info/requires.txt
writing python_quantumclient.egg-info/PKG-INFO
writing eager_resources to python_quantumclient.egg-info/eager_resources.txt
writing top-level names to python_quantumclient.egg-info/top_level.txt
writing dependency_links to python_quantumclient.egg-info/dependency_links.txt
writing entry points to python_quantumclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'ChangeLog'
writing manifest file 'python_quantumclient.egg-info/SOURCES.txt'
++ awk '/^.+/ {print "-f " $1}' python_quantumclient.egg-info/dependency_links.txt
+ raw_links=
++ echo
++ xargs
+ depend_links=
++ '[' '!' -r python_quantumclient.egg-info/requires.txt ']'
++ echo '-r *-info/requires.txt'
+ require_file='-r *-info/requires.txt'
+ pip_install -r python_quantumclient.egg-info/requires.txt
+ [[ False = \T\r\u\e ]]
+ [[ -z -r python_quantumclient.egg-info/requires.txt ]]
+ [[ -z deb ]]
+ [[ False = True ]]
+ SUDO_PIP=sudo
++ get_pip_command
++ is_fedora
++ [[ -z Ubuntu ]]
++ '[' Ubuntu = Fedora ']'
++ '[' Ubuntu = 'Red Hat' ']'
++ '[' Ubuntu = CentOS ']'
++ which pip
+ CMD_PIP=/usr/bin/pip
+ [[ -n is_fedora ]]
+ [[ precise =~ (rhel6) ]]
+ PIP_USE_MIRRORS=True
+ [[ True != \F\a\l\s\e ]]
+ PIP_MIRROR_OPT=--use-mirrors
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/bin/pip install --use-mirrors -r python_quantumclient.egg-info/requires.txt
Requirement already satisfied (use --upgrade to upgrade): cliff>=1.3.2 in /usr/local/lib/python2.7/dist-packages (from -r python_quantumclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): httplib2 in /usr/local/lib/python2.7/dist-packages (from -r python_quantumclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): iso8601 in /usr/local/lib/python2.7/dist-packages (from -r python_quantumclient.egg-info/requires.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): prettytable>=0.6,<0.8 in /usr/local/lib/python2.7/dist-packages (from -r python_quantumclient.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): pyparsing>=1.5.6,<2.0 in /usr/local/lib/python2.7/dist-packages (from -r python_quantumclient.egg-info/requires.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): simplejson in /usr/local/lib/python2.7/dist-packages (from -r python_quantumclient.egg-info/requires.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/lib/python2.7/dist-packages (from cliff>=1.3.2->-r python_quantumclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): cmd2>=0.6.4 in /usr/local/lib/python2.7/dist-packages (from cliff>=1.3.2->-r python_quantumclient.egg-info/requires.txt (line 1))
Cleaning up...
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to python_quantumclient.egg-info/requires.txt
writing python_quantumclient.egg-info/PKG-INFO
writing eager_resources to python_quantumclient.egg-info/eager_resources.txt
writing top-level names to python_quantumclient.egg-info/top_level.txt
writing dependency_links to python_quantumclient.egg-info/dependency_links.txt
writing entry points to python_quantumclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'ChangeLog'
writing manifest file 'python_quantumclient.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/python-quantumclient.egg-link (link to .)
python-quantumclient 2.2.1.15.gb971ef0 is already the active version in easy-install.pth
Installing quantum script to /usr/local/bin
Installed /opt/stack/python-quantumclient
Processing dependencies for python-quantumclient==2.2.1.15.gb971ef0
Searching for simplejson==3.3.0
Best match: simplejson 3.3.0
simplejson 3.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for pyparsing==1.5.7
Best match: pyparsing 1.5.7
pyparsing 1.5.7 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for prettytable==0.7.2
Best match: prettytable 0.7.2
prettytable 0.7.2 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for iso8601==0.1.4
Best match: iso8601 0.1.4
iso8601 0.1.4 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for httplib2==0.7.5
Best match: httplib2 0.7.5
httplib2 0.7.5 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for cliff==1.3.3
Best match: cliff 1.3.3
cliff 1.3.3 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for cmd2==0.6.5.1
Best match: cmd2 0.6.5.1
cmd2 0.6.5.1 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for distribute==0.6.24dev-r0
Best match: distribute 0.6.24dev-r0
Adding distribute 0.6.24dev-r0 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-2.7 script to /usr/local/bin
Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for python-quantumclient==2.2.1.15.gb971ef0
+ git_clone https://github.com/openstack/python-openstackclient.git /opt/stack/python-openstackclient master
+ [[ False = \T\r\u\e ]]
+ GIT_REMOTE=https://github.com/openstack/python-openstackclient.git
+ GIT_DEST=/opt/stack/python-openstackclient
+ GIT_REF=master
+ echo master
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/python-openstackclient ]]
+ [[ '' == \y\e\s ]]
+ setup_develop /opt/stack/python-openstackclient
+ [[ False = True ]]
+ SUDO_CMD=sudo
+ cd /opt/stack/python-openstackclient
+ python setup.py egg_info
running egg_info
writing requirements to python_openstackclient.egg-info/requires.txt
writing python_openstackclient.egg-info/PKG-INFO
writing top-level names to python_openstackclient.egg-info/top_level.txt
writing dependency_links to python_openstackclient.egg-info/dependency_links.txt
writing entry points to python_openstackclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'openstackclient/versioninfo'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'python_openstackclient.egg-info/SOURCES.txt'
++ awk '/^.+/ {print "-f " $1}' python_openstackclient.egg-info/dependency_links.txt
+ raw_links=
++ echo
++ xargs
+ depend_links=
++ '[' '!' -r python_openstackclient.egg-info/requires.txt ']'
++ echo '-r *-info/requires.txt'
+ require_file='-r *-info/requires.txt'
+ pip_install -r python_openstackclient.egg-info/requires.txt
+ [[ False = \T\r\u\e ]]
+ [[ -z -r python_openstackclient.egg-info/requires.txt ]]
+ [[ -z deb ]]
+ [[ False = True ]]
+ SUDO_PIP=sudo
++ get_pip_command
++ is_fedora
++ [[ -z Ubuntu ]]
++ '[' Ubuntu = Fedora ']'
++ '[' Ubuntu = 'Red Hat' ']'
++ '[' Ubuntu = CentOS ']'
++ which pip
+ CMD_PIP=/usr/bin/pip
+ [[ -n is_fedora ]]
+ [[ precise =~ (rhel6) ]]
+ PIP_USE_MIRRORS=True
+ [[ True != \F\a\l\s\e ]]
+ PIP_MIRROR_OPT=--use-mirrors
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/bin/pip install --use-mirrors -r python_openstackclient.egg-info/requires.txt
Requirement already satisfied (use --upgrade to upgrade): cliff in /usr/local/lib/python2.7/dist-packages (from -r python_openstackclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): keyring in /usr/local/lib/python2.7/dist-packages (from -r python_openstackclient.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): pycrypto in /usr/local/lib/python2.7/dist-packages (from -r python_openstackclient.egg-info/requires.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): python-glanceclient>=0.9.0,<2 in /opt/stack/python-glanceclient (from -r python_openstackclient.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): python-keystoneclient>=0.2,<1.0 in /opt/stack/python-keystoneclient (from -r python_openstackclient.egg-info/requires.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): python-novaclient>=2 in /opt/stack/python-novaclient (from -r python_openstackclient.egg-info/requires.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): python-cinderclient>=1 in /opt/stack/python-cinderclient (from -r python_openstackclient.egg-info/requires.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/lib/python2.7/dist-packages (from cliff->-r python_openstackclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): PrettyTable>=0.6,<0.8 in /usr/local/lib/python2.7/dist-packages (from cliff->-r python_openstackclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): cmd2>=0.6.4 in /usr/local/lib/python2.7/dist-packages (from cliff->-r python_openstackclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): pyparsing==1.5.7 in /usr/local/lib/python2.7/dist-packages (from cliff->-r python_openstackclient.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): pyOpenSSL in /usr/lib/python2.7/dist-packages (from python-glanceclient>=0.9.0,<2->-r python_openstackclient.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): warlock>=0.7.0,<2 in /usr/local/lib/python2.7/dist-packages (from python-glanceclient>=0.9.0,<2->-r python_openstackclient.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.4 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.2,<1.0->-r python_openstackclient.egg-info/requires.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): requests>=0.8.8 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.2,<1.0->-r python_openstackclient.egg-info/requires.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): simplejson in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.2,<1.0->-r python_openstackclient.egg-info/requires.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): oslo.config>=1.1.0 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.2,<1.0->-r python_openstackclient.egg-info/requires.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): jsonschema>=0.7,<2 in /usr/local/lib/python2.7/dist-packages (from warlock>=0.7.0,<2->python-glanceclient>=0.9.0,<2->-r python_openstackclient.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): jsonpatch>=0.10,<2 in /usr/local/lib/python2.7/dist-packages (from warlock>=0.7.0,<2->python-glanceclient>=0.9.0,<2->-r python_openstackclient.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): jsonpointer>=1.0 in /usr/local/lib/python2.7/dist-packages (from jsonpatch>=0.10,<2->warlock>=0.7.0,<2->python-glanceclient>=0.9.0,<2->-r python_openstackclient.egg-info/requires.txt (line 4))
Cleaning up...
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to python_openstackclient.egg-info/requires.txt
writing python_openstackclient.egg-info/PKG-INFO
writing top-level names to python_openstackclient.egg-info/top_level.txt
writing dependency_links to python_openstackclient.egg-info/dependency_links.txt
writing entry points to python_openstackclient.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'openstackclient/versioninfo'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'python_openstackclient.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/python-openstackclient.egg-link (link to .)
python-openstackclient a2e3a16 is already the active version in easy-install.pth
Installing openstack script to /usr/local/bin
Installed /opt/stack/python-openstackclient
Processing dependencies for python-openstackclient==a2e3a16
Searching for python-cinderclient==1.0.4
Best match: python-cinderclient 1.0.4
python-cinderclient 1.0.4 is already the active version in easy-install.pth
Installing cinder script to /usr/local/bin
Using /opt/stack/python-cinderclient
Searching for python-novaclient==2.13.0.31.g670cf15
Best match: python-novaclient 2.13.0.31.g670cf15
python-novaclient 2.13.0.31.g670cf15 is already the active version in easy-install.pth
Installing nova script to /usr/local/bin
Using /opt/stack/python-novaclient
Searching for python-keystoneclient==0.2.3.15.g1736e2f
Best match: python-keystoneclient 0.2.3.15.g1736e2f
python-keystoneclient 0.2.3.15.g1736e2f is already the active version in easy-install.pth
Installing keystone script to /usr/local/bin
Using /opt/stack/python-keystoneclient
Searching for python-glanceclient==0.9.0.14.ga3223b9
Best match: python-glanceclient 0.9.0.14.ga3223b9
python-glanceclient 0.9.0.14.ga3223b9 is already the active version in easy-install.pth
Installing glance script to /usr/local/bin
Using /opt/stack/python-glanceclient
Searching for pycrypto==2.6
Best match: pycrypto 2.6
pycrypto 2.6 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for keyring==1.2.2
Best match: keyring 1.2.2
keyring 1.2.2 is already the active version in easy-install.pth
Installing keyring script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages
Searching for cliff==1.3.3
Best match: cliff 1.3.3
cliff 1.3.3 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for simplejson==3.3.0
Best match: simplejson 3.3.0
simplejson 3.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for requests==1.2.0
Best match: requests 1.2.0
requests 1.2.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for prettytable==0.7.2
Best match: prettytable 0.7.2
prettytable 0.7.2 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for iso8601==0.1.4
Best match: iso8601 0.1.4
iso8601 0.1.4 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for oslo.config==1.1.0
Best match: oslo.config 1.1.0
oslo.config 1.1.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for warlock==1.0.0
Best match: warlock 1.0.0
warlock 1.0.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for pyOpenSSL==0.12
Best match: pyOpenSSL 0.12
Adding pyOpenSSL 0.12 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for pyparsing==1.5.7
Best match: pyparsing 1.5.7
pyparsing 1.5.7 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for cmd2==0.6.5.1
Best match: cmd2 0.6.5.1
cmd2 0.6.5.1 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for distribute==0.6.24dev-r0
Best match: distribute 0.6.24dev-r0
Adding distribute 0.6.24dev-r0 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-2.7 script to /usr/local/bin
Using /usr/lib/python2.7/dist-packages
Searching for jsonpatch==1.0
Best match: jsonpatch 1.0
jsonpatch 1.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for jsonschema==1.3.0
Best match: jsonschema 1.3.0
jsonschema 1.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for jsonpointer==1.0
Best match: jsonpointer 1.0
jsonpointer 1.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for python-openstackclient==a2e3a16
+ is_service_enabled key
+ services=key
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,key, ]]
+ return 0
+ install_keystone
+ is_service_enabled ldap
+ services=ldap
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,ldap, ]]
+ [[ ldap == \n\o\v\a ]]
+ [[ ldap == \c\i\n\d\e\r ]]
+ [[ ldap == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ ldap == \g\l\a\n\c\e ]]
+ [[ ldap == \q\u\a\n\t\u\m ]]
+ [[ ldap == \s\w\i\f\t ]]
+ [[ ldap == s-* ]]
+ return 1
+ git_clone https://github.com/openstack/keystone.git /opt/stack/keystone master
+ [[ False = \T\r\u\e ]]
+ GIT_REMOTE=https://github.com/openstack/keystone.git
+ GIT_DEST=/opt/stack/keystone
+ GIT_REF=master
+ echo master
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/keystone ]]
+ [[ '' == \y\e\s ]]
+ setup_develop /opt/stack/keystone
+ [[ False = True ]]
+ SUDO_CMD=sudo
+ cd /opt/stack/keystone
+ python setup.py egg_info
running egg_info
writing requirements to keystone.egg-info/requires.txt
writing keystone.egg-info/PKG-INFO
writing top-level names to keystone.egg-info/top_level.txt
writing dependency_links to keystone.egg-info/dependency_links.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'run_tests.py'
warning: no files found matching '*.json' under directory 'keystone'
warning: no files found matching '*.xml' under directory 'keystone'
warning: no files found matching '*.pem' under directory 'keystone'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.log' found anywhere in distribution
warning: no previously-included files matching '*.db' found anywhere in distribution
warning: no previously-included files matching '*.swp' found anywhere in distribution
writing manifest file 'keystone.egg-info/SOURCES.txt'
++ awk '/^.+/ {print "-f " $1}' keystone.egg-info/dependency_links.txt
+ raw_links=
++ echo
++ xargs
+ depend_links=
++ '[' '!' -r keystone.egg-info/requires.txt ']'
++ echo '-r *-info/requires.txt'
+ require_file='-r *-info/requires.txt'
+ pip_install -r keystone.egg-info/requires.txt
+ [[ False = \T\r\u\e ]]
+ [[ -z -r keystone.egg-info/requires.txt ]]
+ [[ -z deb ]]
+ [[ False = True ]]
+ SUDO_PIP=sudo
++ get_pip_command
++ is_fedora
++ [[ -z Ubuntu ]]
++ '[' Ubuntu = Fedora ']'
++ '[' Ubuntu = 'Red Hat' ']'
++ '[' Ubuntu = CentOS ']'
++ which pip
+ CMD_PIP=/usr/bin/pip
+ [[ -n is_fedora ]]
+ [[ precise =~ (rhel6) ]]
+ PIP_USE_MIRRORS=True
+ [[ True != \F\a\l\s\e ]]
+ PIP_MIRROR_OPT=--use-mirrors
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/bin/pip install --use-mirrors -r keystone.egg-info/requires.txt
Requirement already satisfied (use --upgrade to upgrade): pam>=0.1.4 in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): WebOb==1.2.3 in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): eventlet in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): greenlet in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): PasteDeploy in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): paste in /usr/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): routes in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): sqlalchemy>=0.7.8,<=0.7.9 in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): sqlalchemy-migrate>=0.7.2 in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): passlib in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.4 in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 12))
Requirement already satisfied (use --upgrade to upgrade): python-keystoneclient>=0.2.1,<0.3 in /opt/stack/python-keystoneclient (from -r keystone.egg-info/requires.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): oslo.config>=1.1.0 in /usr/local/lib/python2.7/dist-packages (from -r keystone.egg-info/requires.txt (line 14))
Requirement already satisfied (use --upgrade to upgrade): repoze.lru>=0.3 in /usr/local/lib/python2.7/dist-packages (from routes->-r keystone.egg-info/requires.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): decorator in /usr/lib/python2.7/dist-packages (from sqlalchemy-migrate>=0.7.2->-r keystone.egg-info/requires.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): Tempita>=0.4 in /usr/lib/python2.7/dist-packages (from sqlalchemy-migrate>=0.7.2->-r keystone.egg-info/requires.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/lib/python2.7/dist-packages (from sqlalchemy-migrate>=0.7.2->-r keystone.egg-info/requires.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): prettytable>=0.6,<0.8 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.2.1,<0.3->-r keystone.egg-info/requires.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): requests>=0.8.8 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.2.1,<0.3->-r keystone.egg-info/requires.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): simplejson in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.2.1,<0.3->-r keystone.egg-info/requires.txt (line 13))
Cleaning up...
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to keystone.egg-info/requires.txt
writing keystone.egg-info/PKG-INFO
writing top-level names to keystone.egg-info/top_level.txt
writing dependency_links to keystone.egg-info/dependency_links.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'run_tests.py'
warning: no files found matching '*.json' under directory 'keystone'
warning: no files found matching '*.xml' under directory 'keystone'
warning: no files found matching '*.pem' under directory 'keystone'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.log' found anywhere in distribution
warning: no previously-included files matching '*.db' found anywhere in distribution
warning: no previously-included files matching '*.swp' found anywhere in distribution
writing manifest file 'keystone.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/keystone.egg-link (link to .)
keystone 2013.2.a92.g96a816f is already the active version in easy-install.pth
Installing keystone-all script to /usr/local/bin
Installing keystone-manage script to /usr/local/bin
Installed /opt/stack/keystone
Processing dependencies for keystone==2013.2.a92.g96a816f
Searching for oslo.config==1.1.0
Best match: oslo.config 1.1.0
oslo.config 1.1.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for python-keystoneclient==0.2.3.15.g1736e2f
Best match: python-keystoneclient 0.2.3.15.g1736e2f
python-keystoneclient 0.2.3.15.g1736e2f is already the active version in easy-install.pth
Installing keystone script to /usr/local/bin
Using /opt/stack/python-keystoneclient
Searching for iso8601==0.1.4
Best match: iso8601 0.1.4
iso8601 0.1.4 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for lxml==2.3.2
Best match: lxml 2.3.2
Adding lxml 2.3.2 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for passlib==1.6.1
Best match: passlib 1.6.1
passlib 1.6.1 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for sqlalchemy-migrate==0.7.2
Best match: sqlalchemy-migrate 0.7.2
sqlalchemy-migrate 0.7.2 is already the active version in easy-install.pth
Installing migrate script to /usr/local/bin
Installing migrate-repository script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages
Searching for SQLAlchemy==0.7.8
Best match: SQLAlchemy 0.7.8
SQLAlchemy 0.7.8 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for Routes==1.13
Best match: Routes 1.13
Routes 1.13 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for Paste==1.7.5.1
Best match: Paste 1.7.5.1
Adding Paste 1.7.5.1 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for PasteDeploy==1.5.0
Best match: PasteDeploy 1.5.0
PasteDeploy 1.5.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for greenlet==0.4.0
Best match: greenlet 0.4.0
greenlet 0.4.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for eventlet==0.9.17
Best match: eventlet 0.9.17
eventlet 0.9.17 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for WebOb==1.2.3
Best match: WebOb 1.2.3
WebOb 1.2.3 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for pam==0.1.4
Best match: pam 0.1.4
pam 0.1.4 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for simplejson==3.3.0
Best match: simplejson 3.3.0
simplejson 3.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for requests==1.2.0
Best match: requests 1.2.0
requests 1.2.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for prettytable==0.7.2
Best match: prettytable 0.7.2
prettytable 0.7.2 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for distribute==0.6.24dev-r0
Best match: distribute 0.6.24dev-r0
Adding distribute 0.6.24dev-r0 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-2.7 script to /usr/local/bin
Using /usr/lib/python2.7/dist-packages
Searching for Tempita==0.5.1
Best match: Tempita 0.5.1
Adding Tempita 0.5.1 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for decorator==3.3.2
Best match: decorator 3.3.2
Adding decorator 3.3.2 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for repoze.lru==0.6
Best match: repoze.lru 0.6
repoze.lru 0.6 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for keystone==2013.2.a92.g96a816f
+ configure_keystone
+ [[ ! -d /etc/keystone ]]
+ sudo chown stack /etc/keystone
+ [[ /etc/keystone != \/\o\p\t\/\s\t\a\c\k\/\k\e\y\s\t\o\n\e\/\e\t\c ]]
+ cp -p /opt/stack/keystone/etc/keystone.conf.sample /etc/keystone/keystone.conf
+ cp -p /opt/stack/keystone/etc/policy.json /etc/keystone
cp: cannot create regular file `/etc/keystone/policy.json': Permission denied
+ [[ -f /opt/stack/keystone/etc/keystone-paste.ini ]]
+ [[ -f /etc/keystone/keystone-paste.ini ]]
+ KEYSTONE_PASTE_INI=/etc/keystone/keystone.conf
+ is_service_enabled ldap
+ services=ldap
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,ldap, ]]
+ [[ ldap == \n\o\v\a ]]
+ [[ ldap == \c\i\n\d\e\r ]]
+ [[ ldap == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ ldap == \g\l\a\n\c\e ]]
+ [[ ldap == \q\u\a\n\t\u\m ]]
+ [[ ldap == \s\w\i\f\t ]]
+ [[ ldap == s-* ]]
+ return 1
+ [[ '' == \l\d\a\p ]]
+ is_service_enabled tls-proxy
+ services=tls-proxy
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,tls-proxy, ]]
+ [[ tls-proxy == \n\o\v\a ]]
+ [[ tls-proxy == \c\i\n\d\e\r ]]
+ [[ tls-proxy == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ tls-proxy == \g\l\a\n\c\e ]]
+ [[ tls-proxy == \q\u\a\n\t\u\m ]]
+ [[ tls-proxy == \s\w\i\f\t ]]
+ [[ tls-proxy == s-* ]]
+ return 1
+ iniset /etc/keystone/keystone.conf DEFAULT admin_token XXXXXXXXXXXXXXXXXXXX
+ local file=/etc/keystone/keystone.conf
+ local section=DEFAULT
+ local option=admin_token
+ local value=XXXXXXXXXXXXXXXXXXXX
+ grep -q '^\[DEFAULT\]' /etc/keystone/keystone.conf
+ ini_has_option /etc/keystone/keystone.conf DEFAULT admin_token
+ local file=/etc/keystone/keystone.conf
+ local section=DEFAULT
+ local option=admin_token
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^admin_token[ \t]*=/ p; }' /etc/keystone/keystone.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
admin_token = XXXXXXXXXXXXXXXXXXXX
' /etc/keystone/keystone.conf
+ iniset /etc/keystone/keystone.conf signing token_format PKI
+ local file=/etc/keystone/keystone.conf
+ local section=signing
+ local option=token_format
+ local value=PKI
+ grep -q '^\[signing\]' /etc/keystone/keystone.conf
+ ini_has_option /etc/keystone/keystone.conf signing token_format
+ local file=/etc/keystone/keystone.conf
+ local section=signing
+ local option=token_format
+ local line
++ sed -ne '/^\[signing\]/,/^\[.*\]/ { /^token_format[ \t]*=/ p; }' /etc/keystone/keystone.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[signing\]/ a\
token_format = PKI
' /etc/keystone/keystone.conf
++ database_connection_url keystone
++ local db=keystone
++ database_connection_url_mysql keystone
++ local db=keystone
++ echo 'mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/keystone?charset=utf8'
+ iniset /etc/keystone/keystone.conf sql connection 'mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/keystone?charset=utf8'
+ local file=/etc/keystone/keystone.conf
+ local section=sql
+ local option=connection
+ local 'value=mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/keystone?charset=utf8'
+ grep -q '^\[sql\]' /etc/keystone/keystone.conf
+ ini_has_option /etc/keystone/keystone.conf sql connection
+ local file=/etc/keystone/keystone.conf
+ local section=sql
+ local option=connection
+ local line
++ sed -ne '/^\[sql\]/,/^\[.*\]/ { /^connection[ \t]*=/ p; }' /etc/keystone/keystone.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[sql\]/ a\
connection = mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/keystone?charset=utf8
' /etc/keystone/keystone.conf
+ iniset /etc/keystone/keystone.conf ec2 driver keystone.contrib.ec2.backends.sql.Ec2
+ local file=/etc/keystone/keystone.conf
+ local section=ec2
+ local option=driver
+ local value=keystone.contrib.ec2.backends.sql.Ec2
+ grep -q '^\[ec2\]' /etc/keystone/keystone.conf
+ ini_has_option /etc/keystone/keystone.conf ec2 driver
+ local file=/etc/keystone/keystone.conf
+ local section=ec2
+ local option=driver
+ local line
++ sed -ne '/^\[ec2\]/,/^\[.*\]/ { /^driver[ \t]*=/ p; }' /etc/keystone/keystone.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[ec2\]/ a\
driver = keystone.contrib.ec2.backends.sql.Ec2
' /etc/keystone/keystone.conf
+ [[ sql = \s\q\l ]]
+ iniset /etc/keystone/keystone.conf token driver keystone.token.backends.sql.Token
+ local file=/etc/keystone/keystone.conf
+ local section=token
+ local option=driver
+ local value=keystone.token.backends.sql.Token
+ grep -q '^\[token\]' /etc/keystone/keystone.conf
+ ini_has_option /etc/keystone/keystone.conf token driver
+ local file=/etc/keystone/keystone.conf
+ local section=token
+ local option=driver
+ local line
++ sed -ne '/^\[token\]/,/^\[.*\]/ { /^driver[ \t]*=/ p; }' /etc/keystone/keystone.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[token\]/ a\
driver = keystone.token.backends.sql.Token
' /etc/keystone/keystone.conf
+ [[ sql = \s\q\l ]]
+ iniset /etc/keystone/keystone.conf catalog driver keystone.catalog.backends.sql.Catalog
+ local file=/etc/keystone/keystone.conf
+ local section=catalog
+ local option=driver
+ local value=keystone.catalog.backends.sql.Catalog
+ grep -q '^\[catalog\]' /etc/keystone/keystone.conf
+ ini_has_option /etc/keystone/keystone.conf catalog driver
+ local file=/etc/keystone/keystone.conf
+ local section=catalog
+ local option=driver
+ local line
++ sed -ne '/^\[catalog\]/,/^\[.*\]/ { /^driver[ \t]*=/ p; }' /etc/keystone/keystone.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[catalog\]/ a\
driver = keystone.catalog.backends.sql.Catalog
' /etc/keystone/keystone.conf
+ inicomment /etc/keystone/keystone.conf catalog template_file
+ local file=/etc/keystone/keystone.conf
+ local section=catalog
+ local option=template_file
+ sed -i -e '/^\[catalog\]/,/^\[.*\]/ s|^\(template_file[ \t]*=.*$\)|#\1|' /etc/keystone/keystone.conf
+ LOGGING_ROOT=devel
+ '[' False '!=' False ']'
+ KEYSTONE_LOG_CONFIG='--log-config /etc/keystone/logging.conf'
+ cp /opt/stack/keystone/etc/logging.conf.sample /etc/keystone/logging.conf
+ iniset /etc/keystone/logging.conf logger_root level DEBUG
+ local file=/etc/keystone/logging.conf
+ local section=logger_root
+ local option=level
+ local value=DEBUG
+ grep -q '^\[logger_root\]' /etc/keystone/logging.conf
+ ini_has_option /etc/keystone/logging.conf logger_root level
+ local file=/etc/keystone/logging.conf
+ local section=logger_root
+ local option=level
+ local line
++ sed -ne '/^\[logger_root\]/,/^\[.*\]/ { /^level[ \t]*=/ p; }' /etc/keystone/logging.conf
+ line=level=WARNING
+ '[' -n level=WARNING ']'
+ sed -i -e '/^\[logger_root\]/,/^\[.*\]/ s|^\(level[ \t]*=[ \t]*\).*$|\1DEBUG|' /etc/keystone/logging.conf
+ iniset /etc/keystone/logging.conf logger_root handlers devel,production
+ local file=/etc/keystone/logging.conf
+ local section=logger_root
+ local option=handlers
+ local value=devel,production
+ grep -q '^\[logger_root\]' /etc/keystone/logging.conf
+ ini_has_option /etc/keystone/logging.conf logger_root handlers
+ local file=/etc/keystone/logging.conf
+ local section=logger_root
+ local option=handlers
+ local line
++ sed -ne '/^\[logger_root\]/,/^\[.*\]/ { /^handlers[ \t]*=/ p; }' /etc/keystone/logging.conf
+ line=handlers=file
+ '[' -n handlers=file ']'
+ sed -i -e '/^\[logger_root\]/,/^\[.*\]/ s|^\(handlers[ \t]*=[ \t]*\).*$|\1devel,production|' /etc/keystone/logging.conf
+ is_service_enabled s-proxy
+ services=s-proxy
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,s-proxy, ]]
+ [[ s-proxy == \n\o\v\a ]]
+ [[ s-proxy == \c\i\n\d\e\r ]]
+ [[ s-proxy == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ s-proxy == \g\l\a\n\c\e ]]
+ [[ s-proxy == \q\u\a\n\t\u\m ]]
+ [[ s-proxy == \s\w\i\f\t ]]
+ [[ s-proxy == s-* ]]
+ [[ g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql =~ swift ]]
+ return 1
+ is_service_enabled g-api n-api
+ services='g-api n-api'
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,g-api, ]]
+ return 0
+ install_glance
+ git_clone https://github.com/openstack/glance.git /opt/stack/glance master
+ [[ False = \T\r\u\e ]]
+ GIT_REMOTE=https://github.com/openstack/glance.git
+ GIT_DEST=/opt/stack/glance
+ GIT_REF=master
+ echo master
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/glance ]]
+ [[ '' == \y\e\s ]]
+ setup_develop /opt/stack/glance
+ [[ False = True ]]
+ SUDO_CMD=sudo
+ cd /opt/stack/glance
+ python setup.py egg_info
running egg_info
writing requirements to glance.egg-info/requires.txt
writing glance.egg-info/PKG-INFO
writing top-level names to glance.egg-info/top_level.txt
writing dependency_links to glance.egg-info/dependency_links.txt
writing entry points to glance.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'builddeb.sh'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'run_tests.py'
warning: no files found matching 'ChangeLog'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'glance.egg-info/SOURCES.txt'
++ awk '/^.+/ {print "-f " $1}' glance.egg-info/dependency_links.txt
+ raw_links=
++ echo
++ xargs
+ depend_links=
++ '[' '!' -r glance.egg-info/requires.txt ']'
++ echo '-r *-info/requires.txt'
+ require_file='-r *-info/requires.txt'
+ pip_install -r glance.egg-info/requires.txt
+ [[ False = \T\r\u\e ]]
+ [[ -z -r glance.egg-info/requires.txt ]]
+ [[ -z deb ]]
+ [[ False = True ]]
+ SUDO_PIP=sudo
++ get_pip_command
++ is_fedora
++ [[ -z Ubuntu ]]
++ '[' Ubuntu = Fedora ']'
++ '[' Ubuntu = 'Red Hat' ']'
++ '[' Ubuntu = CentOS ']'
++ which pip
+ CMD_PIP=/usr/bin/pip
+ [[ -n is_fedora ]]
+ [[ precise =~ (rhel6) ]]
+ PIP_USE_MIRRORS=True
+ [[ True != \F\a\l\s\e ]]
+ PIP_MIRROR_OPT=--use-mirrors
+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/bin/pip install --use-mirrors -r glance.egg-info/requires.txt
Requirement already satisfied (use --upgrade to upgrade): greenlet>=0.3.1 in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): SQLAlchemy>=0.7.8,<=0.7.99 in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): anyjson in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): eventlet>=0.9.12 in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): PasteDeploy in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): routes in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): WebOb>=1.2 in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): wsgiref in /usr/lib/python2.7 (from -r glance.egg-info/requires.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): boto in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): sqlalchemy-migrate>=0.7 in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): httplib2 in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): kombu in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 12))
Requirement already satisfied (use --upgrade to upgrade): pycrypto>=2.1.0alpha1 in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.4 in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 14))
Requirement already satisfied (use --upgrade to upgrade): oslo.config>=1.1.0 in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 15))
Requirement already satisfied (use --upgrade to upgrade): python-swiftclient>=1.2,<2 in /opt/stack/python-swiftclient (from -r glance.egg-info/requires.txt (line 16))
Requirement already satisfied (use --upgrade to upgrade): lxml in /usr/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 17))
Requirement already satisfied (use --upgrade to upgrade): Paste in /usr/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 18))
Requirement already satisfied (use --upgrade to upgrade): passlib in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 19))
Requirement already satisfied (use --upgrade to upgrade): jsonschema in /usr/local/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): python-keystoneclient>=0.2.0 in /opt/stack/python-keystoneclient (from -r glance.egg-info/requires.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): pyOpenSSL in /usr/lib/python2.7/dist-packages (from -r glance.egg-info/requires.txt (line 22))
Requirement already satisfied (use --upgrade to upgrade): repoze.lru>=0.3 in /usr/local/lib/python2.7/dist-packages (from routes->-r glance.egg-info/requires.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): decorator in /usr/lib/python2.7/dist-packages (from sqlalchemy-migrate>=0.7->-r glance.egg-info/requires.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): Tempita>=0.4 in /usr/lib/python2.7/dist-packages (from sqlalchemy-migrate>=0.7->-r glance.egg-info/requires.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/lib/python2.7/dist-packages (from sqlalchemy-migrate>=0.7->-r glance.egg-info/requires.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): amqplib>=1.0.2 in /usr/local/lib/python2.7/dist-packages (from kombu->-r glance.egg-info/requires.txt (line 12))
Requirement already satisfied (use --upgrade to upgrade): simplejson in /usr/local/lib/python2.7/dist-packages (from python-swiftclient>=1.2,<2->-r glance.egg-info/requires.txt (line 16))
Requirement already satisfied (use --upgrade to upgrade): prettytable>=0.6,<0.8 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.2.0->-r glance.egg-info/requires.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): requests>=0.8.8 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=0.2.0->-r glance.egg-info/requires.txt (line 21))
Cleaning up...
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing requirements to glance.egg-info/requires.txt
writing glance.egg-info/PKG-INFO
writing top-level names to glance.egg-info/top_level.txt
writing dependency_links to glance.egg-info/dependency_links.txt
writing entry points to glance.egg-info/entry_points.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'ChangeLog'
warning: no files found matching 'builddeb.sh'
warning: no files found matching 'AUTHORS'
warning: no files found matching 'run_tests.py'
warning: no files found matching 'ChangeLog'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'glance.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/glance.egg-link (link to .)
Removing glance 0.0.0 from easy-install.pth file
glance 2013.2.a100.g00cc32c is already the active version in easy-install.pth
Installing glance-scrubber script to /usr/local/bin
Installing glance-cache-pruner script to /usr/local/bin
Installing glance-cache-cleaner script to /usr/local/bin
Installing glance-api script to /usr/local/bin
Installing glance-cache-prefetcher script to /usr/local/bin
Installing glance-replicator script to /usr/local/bin
Installing glance-cache-manage script to /usr/local/bin
Installing glance-manage script to /usr/local/bin
Installing glance-control script to /usr/local/bin
Installing glance-registry script to /usr/local/bin
Installed /opt/stack/glance
Processing dependencies for glance==2013.2.a100.g00cc32c
Searching for pyOpenSSL==0.12
Best match: pyOpenSSL 0.12
Adding pyOpenSSL 0.12 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for python-keystoneclient==0.2.3.15.g1736e2f
Best match: python-keystoneclient 0.2.3.15.g1736e2f
python-keystoneclient 0.2.3.15.g1736e2f is already the active version in easy-install.pth
Installing keystone script to /usr/local/bin
Using /opt/stack/python-keystoneclient
Searching for jsonschema==1.3.0
Best match: jsonschema 1.3.0
Adding jsonschema 1.3.0 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for passlib==1.6.1
Best match: passlib 1.6.1
passlib 1.6.1 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for Paste==1.7.5.1
Best match: Paste 1.7.5.1
Adding Paste 1.7.5.1 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for lxml==2.3.2
Best match: lxml 2.3.2
Adding lxml 2.3.2 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for python-swiftclient==1.4.0.4.gfcb3100
Best match: python-swiftclient 1.4.0.4.gfcb3100
Removing python-swiftclient 1.1.1 from easy-install.pth file
python-swiftclient 1.4.0.4.gfcb3100 is already the active version in easy-install.pth
Using /opt/stack/python-swiftclient
Searching for oslo.config==1.1.0
Best match: oslo.config 1.1.0
Adding oslo.config 1.1.0 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for iso8601==0.1.4
Best match: iso8601 0.1.4
iso8601 0.1.4 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for pycrypto==2.6
Best match: pycrypto 2.6
pycrypto 2.6 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for kombu==2.4.5
Best match: kombu 2.4.5
kombu 2.4.5 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for httplib2==0.7.5
Best match: httplib2 0.7.5
httplib2 0.7.5 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for sqlalchemy-migrate==0.7.2
Best match: sqlalchemy-migrate 0.7.2
sqlalchemy-migrate 0.7.2 is already the active version in easy-install.pth
Installing migrate script to /usr/local/bin
Installing migrate-repository script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages
Searching for boto==2.2.2
Best match: boto 2.2.2
Removing boto 2.1.1 from easy-install.pth file
Adding boto 2.2.2 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for wsgiref==0.1.2
Best match: wsgiref 0.1.2
wsgiref 0.1.2 is already the active version in easy-install.pth
Using /usr/lib/python2.7
Searching for WebOb==1.2.3
Best match: WebOb 1.2.3
Adding WebOb 1.2.3 to easy-install.pth file
Using /usr/local/lib/python2.7/dist-packages
Searching for Routes==1.13
Best match: Routes 1.13
Routes 1.13 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for PasteDeploy==1.5.0
Best match: PasteDeploy 1.5.0
PasteDeploy 1.5.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for eventlet==0.9.17
Best match: eventlet 0.9.17
eventlet 0.9.17 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for anyjson==0.3.3
Best match: anyjson 0.3.3
anyjson 0.3.3 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for SQLAlchemy==0.7.8
Best match: SQLAlchemy 0.7.8
SQLAlchemy 0.7.8 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for greenlet==0.4.0
Best match: greenlet 0.4.0
greenlet 0.4.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for simplejson==3.3.0
Best match: simplejson 3.3.0
simplejson 3.3.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for requests==1.2.0
Best match: requests 1.2.0
requests 1.2.0 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for prettytable==0.7.2
Best match: prettytable 0.7.2
prettytable 0.7.2 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for amqplib==1.0.2
Best match: amqplib 1.0.2
amqplib 1.0.2 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Searching for distribute==0.6.24dev-r0
Best match: distribute 0.6.24dev-r0
Adding distribute 0.6.24dev-r0 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-2.7 script to /usr/local/bin
Using /usr/lib/python2.7/dist-packages
Searching for Tempita==0.5.1
Best match: Tempita 0.5.1
Adding Tempita 0.5.1 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for decorator==3.3.2
Best match: decorator 3.3.2
Adding decorator 3.3.2 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for repoze.lru==0.6
Best match: repoze.lru 0.6
repoze.lru 0.6 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for glance==2013.2.a100.g00cc32c
+ configure_glance
+ [[ ! -d /etc/glance ]]
+ sudo chown stack /etc/glance
+ cp /opt/stack/glance/etc/glance-registry.conf /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf DEFAULT debug True
+ local file=/etc/glance/glance-registry.conf
+ local section=DEFAULT
+ local option=debug
+ local value=True
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf DEFAULT debug
+ local file=/etc/glance/glance-registry.conf
+ local section=DEFAULT
+ local option=debug
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^debug[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
debug = True
' /etc/glance/glance-registry.conf
+ inicomment /etc/glance/glance-registry.conf DEFAULT log_file
+ local file=/etc/glance/glance-registry.conf
+ local section=DEFAULT
+ local option=log_file
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(log_file[ \t]*=.*$\)|#\1|' /etc/glance/glance-registry.conf
++ database_connection_url glance
++ local db=glance
++ database_connection_url_mysql glance
++ local db=glance
++ echo 'mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/glance?charset=utf8'
+ local 'dburl=mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/glance?charset=utf8'
+ iniset /etc/glance/glance-registry.conf DEFAULT sql_connection 'mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/glance?charset=utf8'
+ local file=/etc/glance/glance-registry.conf
+ local section=DEFAULT
+ local option=sql_connection
+ local 'value=mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/glance?charset=utf8'
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf DEFAULT sql_connection
+ local file=/etc/glance/glance-registry.conf
+ local section=DEFAULT
+ local option=sql_connection
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^sql_connection[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line='sql_connection = sqlite:///glance.sqlite'
+ '[' -n 'sql_connection = sqlite:///glance.sqlite' ']'
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(sql_connection[ \t]*=[ \t]*\).*$|\1mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/glance?charset=utf8|' /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf DEFAULT use_syslog False
+ local file=/etc/glance/glance-registry.conf
+ local section=DEFAULT
+ local option=use_syslog
+ local value=False
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf DEFAULT use_syslog
+ local file=/etc/glance/glance-registry.conf
+ local section=DEFAULT
+ local option=use_syslog
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^use_syslog[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
use_syslog = False
' /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf paste_deploy flavor keystone
+ local file=/etc/glance/glance-registry.conf
+ local section=paste_deploy
+ local option=flavor
+ local value=keystone
+ grep -q '^\[paste_deploy\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf paste_deploy flavor
+ local file=/etc/glance/glance-registry.conf
+ local section=paste_deploy
+ local option=flavor
+ local line
++ sed -ne '/^\[paste_deploy\]/,/^\[.*\]/ { /^flavor[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[paste_deploy\]/ a\
flavor = keystone
' /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf keystone_authtoken auth_host 188.138.89.143
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=auth_host
+ local value=188.138.89.143
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf keystone_authtoken auth_host
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=auth_host
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^auth_host[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line='auth_host = 127.0.0.1'
+ '[' -n 'auth_host = 127.0.0.1' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(auth_host[ \t]*=[ \t]*\).*$|\1188.138.89.143|' /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf keystone_authtoken auth_port 35357
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=auth_port
+ local value=35357
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf keystone_authtoken auth_port
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=auth_port
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^auth_port[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line='auth_port = 35357'
+ '[' -n 'auth_port = 35357' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(auth_port[ \t]*=[ \t]*\).*$|\135357|' /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf keystone_authtoken auth_protocol http
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=auth_protocol
+ local value=http
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf keystone_authtoken auth_protocol
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=auth_protocol
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^auth_protocol[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line='auth_protocol = http'
+ '[' -n 'auth_protocol = http' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(auth_protocol[ \t]*=[ \t]*\).*$|\1http|' /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf keystone_authtoken auth_uri http://188.138.89.143:5000/
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=auth_uri
+ local value=http://188.138.89.143:5000/
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf keystone_authtoken auth_uri
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=auth_uri
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^auth_uri[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[keystone_authtoken\]/ a\
auth_uri = http://188.138.89.143:5000/
' /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf keystone_authtoken admin_tenant_name service
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=admin_tenant_name
+ local value=service
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf keystone_authtoken admin_tenant_name
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=admin_tenant_name
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^admin_tenant_name[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line='admin_tenant_name = %SERVICE_TENANT_NAME%'
+ '[' -n 'admin_tenant_name = %SERVICE_TENANT_NAME%' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(admin_tenant_name[ \t]*=[ \t]*\).*$|\1service|' /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf keystone_authtoken admin_user glance
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=admin_user
+ local value=glance
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf keystone_authtoken admin_user
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=admin_user
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^admin_user[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line='admin_user = %SERVICE_USER%'
+ '[' -n 'admin_user = %SERVICE_USER%' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(admin_user[ \t]*=[ \t]*\).*$|\1glance|' /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf keystone_authtoken admin_password XXXXXXXXXXXXXXXXXXXX
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=admin_password
+ local value=XXXXXXXXXXXXXXXXXXXX
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf keystone_authtoken admin_password
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=admin_password
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^admin_password[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line='admin_password = %SERVICE_PASSWORD%'
+ '[' -n 'admin_password = %SERVICE_PASSWORD%' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(admin_password[ \t]*=[ \t]*\).*$|\1XXXXXXXXXXXXXXXXXXXX|' /etc/glance/glance-registry.conf
+ iniset /etc/glance/glance-registry.conf keystone_authtoken signing_dir /var/cache/glance/registry
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=signing_dir
+ local value=/var/cache/glance/registry
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-registry.conf
+ ini_has_option /etc/glance/glance-registry.conf keystone_authtoken signing_dir
+ local file=/etc/glance/glance-registry.conf
+ local section=keystone_authtoken
+ local option=signing_dir
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^signing_dir[ \t]*=/ p; }' /etc/glance/glance-registry.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[keystone_authtoken\]/ a\
signing_dir = /var/cache/glance/registry
' /etc/glance/glance-registry.conf
+ cp /opt/stack/glance/etc/glance-api.conf /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf DEFAULT debug True
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=debug
+ local value=True
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf DEFAULT debug
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=debug
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^debug[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
debug = True
' /etc/glance/glance-api.conf
+ inicomment /etc/glance/glance-api.conf DEFAULT log_file
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=log_file
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(log_file[ \t]*=.*$\)|#\1|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf DEFAULT sql_connection 'mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/glance?charset=utf8'
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=sql_connection
+ local 'value=mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/glance?charset=utf8'
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf DEFAULT sql_connection
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=sql_connection
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^sql_connection[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='sql_connection = sqlite:///glance.sqlite'
+ '[' -n 'sql_connection = sqlite:///glance.sqlite' ']'
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(sql_connection[ \t]*=[ \t]*\).*$|\1mysql://root:XXXXXXXXXXXXXXXXXXXX@localhost/glance?charset=utf8|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf DEFAULT use_syslog False
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=use_syslog
+ local value=False
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf DEFAULT use_syslog
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=use_syslog
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^use_syslog[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
use_syslog = False
' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf DEFAULT filesystem_store_datadir /opt/stack/data/glance/images/
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=filesystem_store_datadir
+ local value=/opt/stack/data/glance/images/
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf DEFAULT filesystem_store_datadir
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=filesystem_store_datadir
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^filesystem_store_datadir[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='filesystem_store_datadir = /var/lib/glance/images/'
+ '[' -n 'filesystem_store_datadir = /var/lib/glance/images/' ']'
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(filesystem_store_datadir[ \t]*=[ \t]*\).*$|\1/opt/stack/data/glance/images/|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf DEFAULT image_cache_dir /opt/stack/data/glance/cache/
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=image_cache_dir
+ local value=/opt/stack/data/glance/cache/
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf DEFAULT image_cache_dir
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=image_cache_dir
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^image_cache_dir[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='image_cache_dir = /var/lib/glance/image-cache/'
+ '[' -n 'image_cache_dir = /var/lib/glance/image-cache/' ']'
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(image_cache_dir[ \t]*=[ \t]*\).*$|\1/opt/stack/data/glance/cache/|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf paste_deploy flavor keystone+cachemanagement
+ local file=/etc/glance/glance-api.conf
+ local section=paste_deploy
+ local option=flavor
+ local value=keystone+cachemanagement
+ grep -q '^\[paste_deploy\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf paste_deploy flavor
+ local file=/etc/glance/glance-api.conf
+ local section=paste_deploy
+ local option=flavor
+ local line
++ sed -ne '/^\[paste_deploy\]/,/^\[.*\]/ { /^flavor[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[paste_deploy\]/ a\
flavor = keystone+cachemanagement
' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf keystone_authtoken auth_host 188.138.89.143
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=auth_host
+ local value=188.138.89.143
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf keystone_authtoken auth_host
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=auth_host
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^auth_host[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='auth_host = 127.0.0.1'
+ '[' -n 'auth_host = 127.0.0.1' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(auth_host[ \t]*=[ \t]*\).*$|\1188.138.89.143|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf keystone_authtoken auth_port 35357
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=auth_port
+ local value=35357
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf keystone_authtoken auth_port
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=auth_port
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^auth_port[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='auth_port = 35357'
+ '[' -n 'auth_port = 35357' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(auth_port[ \t]*=[ \t]*\).*$|\135357|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf keystone_authtoken auth_protocol http
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=auth_protocol
+ local value=http
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf keystone_authtoken auth_protocol
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=auth_protocol
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^auth_protocol[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='auth_protocol = http'
+ '[' -n 'auth_protocol = http' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(auth_protocol[ \t]*=[ \t]*\).*$|\1http|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf keystone_authtoken auth_uri http://188.138.89.143:5000/
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=auth_uri
+ local value=http://188.138.89.143:5000/
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf keystone_authtoken auth_uri
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=auth_uri
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^auth_uri[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[keystone_authtoken\]/ a\
auth_uri = http://188.138.89.143:5000/
' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf keystone_authtoken admin_tenant_name service
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=admin_tenant_name
+ local value=service
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf keystone_authtoken admin_tenant_name
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=admin_tenant_name
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^admin_tenant_name[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='admin_tenant_name = %SERVICE_TENANT_NAME%'
+ '[' -n 'admin_tenant_name = %SERVICE_TENANT_NAME%' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(admin_tenant_name[ \t]*=[ \t]*\).*$|\1service|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf keystone_authtoken admin_user glance
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=admin_user
+ local value=glance
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf keystone_authtoken admin_user
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=admin_user
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^admin_user[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='admin_user = %SERVICE_USER%'
+ '[' -n 'admin_user = %SERVICE_USER%' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(admin_user[ \t]*=[ \t]*\).*$|\1glance|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf keystone_authtoken admin_password XXXXXXXXXXXXXXXXXXXX
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=admin_password
+ local value=XXXXXXXXXXXXXXXXXXXX
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf keystone_authtoken admin_password
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=admin_password
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^admin_password[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='admin_password = %SERVICE_PASSWORD%'
+ '[' -n 'admin_password = %SERVICE_PASSWORD%' ']'
+ sed -i -e '/^\[keystone_authtoken\]/,/^\[.*\]/ s|^\(admin_password[ \t]*=[ \t]*\).*$|\1XXXXXXXXXXXXXXXXXXXX|' /etc/glance/glance-api.conf
+ is_service_enabled qpid
+ services=qpid
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,qpid, ]]
+ [[ qpid == \n\o\v\a ]]
+ [[ qpid == \c\i\n\d\e\r ]]
+ [[ qpid == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ qpid == \g\l\a\n\c\e ]]
+ [[ qpid == \q\u\a\n\t\u\m ]]
+ [[ qpid == \s\w\i\f\t ]]
+ [[ qpid == s-* ]]
+ return 1
+ '[' -n localhost ']'
+ '[' -n XXXXXXXXXXXXXXXXXXXX ']'
+ iniset /etc/glance/glance-api.conf DEFAULT notifier_strategy rabbit
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=notifier_strategy
+ local value=rabbit
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf DEFAULT notifier_strategy
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=notifier_strategy
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^notifier_strategy[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='notifier_strategy = noop'
+ '[' -n 'notifier_strategy = noop' ']'
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(notifier_strategy[ \t]*=[ \t]*\).*$|\1rabbit|' /etc/glance/glance-api.conf
+ iniset_rpc_backend glance /etc/glance/glance-api.conf DEFAULT
+ local package=glance
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ is_service_enabled zeromq
+ services=zeromq
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,zeromq, ]]
+ [[ zeromq == \n\o\v\a ]]
+ [[ zeromq == \c\i\n\d\e\r ]]
+ [[ zeromq == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ zeromq == \g\l\a\n\c\e ]]
+ [[ zeromq == \q\u\a\n\t\u\m ]]
+ [[ zeromq == \s\w\i\f\t ]]
+ [[ zeromq == s-* ]]
+ return 1
+ is_service_enabled qpid
+ services=qpid
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,qpid, ]]
+ [[ qpid == \n\o\v\a ]]
+ [[ qpid == \c\i\n\d\e\r ]]
+ [[ qpid == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ qpid == \g\l\a\n\c\e ]]
+ [[ qpid == \q\u\a\n\t\u\m ]]
+ [[ qpid == \s\w\i\f\t ]]
+ [[ qpid == s-* ]]
+ return 1
+ is_service_enabled rabbit
+ services=rabbit
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,rabbit, ]]
+ return 0
+ iniset /etc/glance/glance-api.conf DEFAULT rpc_backend glance.openstack.common.rpc.impl_kombu
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=rpc_backend
+ local value=glance.openstack.common.rpc.impl_kombu
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf DEFAULT rpc_backend
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=rpc_backend
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^rpc_backend[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
rpc_backend = glance.openstack.common.rpc.impl_kombu
' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf DEFAULT rabbit_host localhost
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=rabbit_host
+ local value=localhost
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf DEFAULT rabbit_host
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=rabbit_host
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^rabbit_host[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='rabbit_host = localhost'
+ '[' -n 'rabbit_host = localhost' ']'
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(rabbit_host[ \t]*=[ \t]*\).*$|\1localhost|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf DEFAULT rabbit_password XXXXXXXXXXXXXXXXXXXX
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=rabbit_password
+ local value=XXXXXXXXXXXXXXXXXXXX
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf DEFAULT rabbit_password
+ local file=/etc/glance/glance-api.conf
+ local section=DEFAULT
+ local option=rabbit_password
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^rabbit_password[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line='rabbit_password = guest'
+ '[' -n 'rabbit_password = guest' ']'
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(rabbit_password[ \t]*=[ \t]*\).*$|\1XXXXXXXXXXXXXXXXXXXX|' /etc/glance/glance-api.conf
+ iniset /etc/glance/glance-api.conf keystone_authtoken signing_dir /var/cache/glance/api
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=signing_dir
+ local value=/var/cache/glance/api
+ grep -q '^\[keystone_authtoken\]' /etc/glance/glance-api.conf
+ ini_has_option /etc/glance/glance-api.conf keystone_authtoken signing_dir
+ local file=/etc/glance/glance-api.conf
+ local section=keystone_authtoken
+ local option=signing_dir
+ local line
++ sed -ne '/^\[keystone_authtoken\]/,/^\[.*\]/ { /^signing_dir[ \t]*=/ p; }' /etc/glance/glance-api.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[keystone_authtoken\]/ a\
signing_dir = /var/cache/glance/api
' /etc/glance/glance-api.conf
+ is_service_enabled s-proxy
+ services=s-proxy
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql, =~ ,s-proxy, ]]
+ [[ s-proxy == \n\o\v\a ]]
+ [[ s-proxy == \c\i\n\d\e\r ]]
+ [[ s-proxy == \c\e\i\l\o\m\e\t\e\r ]]
+ [[ s-proxy == \g\l\a\n\c\e ]]
+ [[ s-proxy == \q\u\a\n\t\u\m ]]
+ [[ s-proxy == \s\w\i\f\t ]]
+ [[ s-proxy == s-* ]]
+ [[ g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql =~ swift ]]
+ return 1
+ cp -p /opt/stack/glance/etc/glance-registry-paste.ini /etc/glance/glance-registry-paste.ini
cp: cannot create regular file `/etc/glance/glance-registry-paste.ini': Permission denied
+ cp -p /opt/stack/glance/etc/glance-api-paste.ini /etc/glance/glance-api-paste.ini
cp: cannot create regular file `/etc/glance/glance-api-paste.ini': Permission denied
+ cp /opt/stack/glance/etc/glance-cache.conf /etc/glance/glance-cache.conf
+ iniset /etc/glance/glance-cache.conf DEFAULT debug True
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=debug
+ local value=True
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-cache.conf
+ ini_has_option /etc/glance/glance-cache.conf DEFAULT debug
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=debug
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^debug[ \t]*=/ p; }' /etc/glance/glance-cache.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
debug = True
' /etc/glance/glance-cache.conf
+ inicomment /etc/glance/glance-cache.conf DEFAULT log_file
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=log_file
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(log_file[ \t]*=.*$\)|#\1|' /etc/glance/glance-cache.conf
+ iniset /etc/glance/glance-cache.conf DEFAULT use_syslog False
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=use_syslog
+ local value=False
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-cache.conf
+ ini_has_option /etc/glance/glance-cache.conf DEFAULT use_syslog
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=use_syslog
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^use_syslog[ \t]*=/ p; }' /etc/glance/glance-cache.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
use_syslog = False
' /etc/glance/glance-cache.conf
+ iniset /etc/glance/glance-cache.conf DEFAULT filesystem_store_datadir /opt/stack/data/glance/images/
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=filesystem_store_datadir
+ local value=/opt/stack/data/glance/images/
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-cache.conf
+ ini_has_option /etc/glance/glance-cache.conf DEFAULT filesystem_store_datadir
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=filesystem_store_datadir
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^filesystem_store_datadir[ \t]*=/ p; }' /etc/glance/glance-cache.conf
+ line='filesystem_store_datadir = /var/lib/glance/images/'
+ '[' -n 'filesystem_store_datadir = /var/lib/glance/images/' ']'
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(filesystem_store_datadir[ \t]*=[ \t]*\).*$|\1/opt/stack/data/glance/images/|' /etc/glance/glance-cache.conf
+ iniset /etc/glance/glance-cache.conf DEFAULT image_cache_dir /opt/stack/data/glance/cache/
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=image_cache_dir
+ local value=/opt/stack/data/glance/cache/
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-cache.conf
+ ini_has_option /etc/glance/glance-cache.conf DEFAULT image_cache_dir
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=image_cache_dir
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^image_cache_dir[ \t]*=/ p; }' /etc/glance/glance-cache.conf
+ line='image_cache_dir = /var/lib/glance/image-cache/'
+ '[' -n 'image_cache_dir = /var/lib/glance/image-cache/' ']'
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(image_cache_dir[ \t]*=[ \t]*\).*$|\1/opt/stack/data/glance/cache/|' /etc/glance/glance-cache.conf
+ iniuncomment /etc/glance/glance-cache.conf DEFAULT auth_url
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=auth_url
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|[^ \t]*#[ \t]*\(auth_url[ \t]*=.*$\)|\1|' /etc/glance/glance-cache.conf
+ iniset /etc/glance/glance-cache.conf DEFAULT auth_url http://188.138.89.143:35357/v2.0
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=auth_url
+ local value=http://188.138.89.143:35357/v2.0
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-cache.conf
+ ini_has_option /etc/glance/glance-cache.conf DEFAULT auth_url
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=auth_url
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^auth_url[ \t]*=/ p; }' /etc/glance/glance-cache.conf
+ line='auth_url = http://127.0.0.1:5000/v2.0/'
+ '[' -n 'auth_url = http://127.0.0.1:5000/v2.0/' ']'
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|^\(auth_url[ \t]*=[ \t]*\).*$|\1http://188.138.89.143:35357/v2.0|' /etc/glance/glance-cache.conf
+ iniuncomment /etc/glance/glance-cache.conf DEFAULT auth_tenant_name
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=auth_tenant_name
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|[^ \t]*#[ \t]*\(auth_tenant_name[ \t]*=.*$\)|\1|' /etc/glance/glance-cache.conf
+ iniset /etc/glance/glance-cache.conf DEFAULT admin_tenant_name service
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=admin_tenant_name
+ local value=service
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-cache.conf
+ ini_has_option /etc/glance/glance-cache.conf DEFAULT admin_tenant_name
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=admin_tenant_name
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^admin_tenant_name[ \t]*=/ p; }' /etc/glance/glance-cache.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
admin_tenant_name = service
' /etc/glance/glance-cache.conf
+ iniuncomment /etc/glance/glance-cache.conf DEFAULT auth_user
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=auth_user
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|[^ \t]*#[ \t]*\(auth_user[ \t]*=.*$\)|\1|' /etc/glance/glance-cache.conf
+ iniset /etc/glance/glance-cache.conf DEFAULT admin_user glance
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=admin_user
+ local value=glance
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-cache.conf
+ ini_has_option /etc/glance/glance-cache.conf DEFAULT admin_user
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=admin_user
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^admin_user[ \t]*=/ p; }' /etc/glance/glance-cache.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
admin_user = glance
' /etc/glance/glance-cache.conf
+ iniuncomment /etc/glance/glance-cache.conf DEFAULT auth_password
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=auth_password
+ sed -i -e '/^\[DEFAULT\]/,/^\[.*\]/ s|[^ \t]*#[ \t]*\(auth_password[ \t]*=.*$\)|\1|' /etc/glance/glance-cache.conf
+ iniset /etc/glance/glance-cache.conf DEFAULT admin_password XXXXXXXXXXXXXXXXXXXX
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=admin_password
+ local value=XXXXXXXXXXXXXXXXXXXX
+ grep -q '^\[DEFAULT\]' /etc/glance/glance-cache.conf
+ ini_has_option /etc/glance/glance-cache.conf DEFAULT admin_password
+ local file=/etc/glance/glance-cache.conf
+ local section=DEFAULT
+ local option=admin_password
+ local line
++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^admin_password[ \t]*=/ p; }' /etc/glance/glance-cache.conf
+ line=
+ '[' -n '' ']'
+ sed -i -e '/^\[DEFAULT\]/ a\
admin_password = XXXXXXXXXXXXXXXXXXXX
' /etc/glance/glance-cache.conf
+ cp -p /opt/stack/glance/etc/policy.json /etc/glance/policy.json
cp: cannot create regular file `/etc/glance/policy.json': Permission denied
++ failed
++ local r=1
+++ jobs -p
++ kill
++ set +o xtrace
[~/Projects/devstack (master)]$
~/Projects/devstack (master)]$ sudo ./unstack.sh
* Stopping web server apache2
...done.
tgtadm: can't send the request to the tgt daemon, Transport endpoint is not connected
tgtd seems to be in a bad state, restarting...
stop: Unknown instance:
tgt start/running, process 20621
tgt stop/waiting
Volume group "stack-volumes" not found
Skipping volume group stack-volumes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment