Git Product home page Git Product logo

dockenstack's Introduction

Openstack on Docker

Dockenstack builds an image for running OpenStack's devstack development and testing environment inside of a Docker container. This image currently supports running the docker and libvirt-lxc virtualization drivers for Nova. KVM/Qemu support is being tested.

Using dockenstack, developers may quickly iterate changes in a container and locally invoke functional tests without needing to first submit their changes for code-review.

The quick iteration cycle of dockenstack versus other local environments (such as devstack-vagrant) is accomplished by precaching and preinstalling most or all network resources and OS packages. This speeds up running the container and, when running many, eliminates the problems that might result from offline or rate-limited apt and pip services.

Users may expect dockenstack to take 2-4 minutes on a fast machine from "docker run" through having an operational OpenStack installation.

Build & Run

Quickstart: Using Docker Compose

$ git clone https://github.com/ewindisch/dockenstack.git
$ cd dockenstack
$ docker-compose up

This will automatically build a Dockenstack image and run OpenStack.

The first run will take a long time due to the length process of building the Docker image (~60m). Subsequent runs of this image will be quicker (~5m). Even faster, of course, is restarting a container.

Alternative Install: Building Manually

The following is the process undertaken by Docker Compose. Building the image may take approximately 60 minutes.

git clone https://github.com/ewindisch/dockenstack.git
cd dockenstack
docker build -t ewindisch/dockenstack dockenstack
docker build -t ewindisch/dockenstack-tempest dockenstack-tempest
docker run --privileged -t -i ewindisch/dockenstack

Using OpenStack

If you've started dockenstack interactively without extra arguments, you'll end up with a shell and can run these steps immediately.

source /devstack/openrc
nova boot --image busybox --flavor 1 test
nova list
docker ps

A future version of this README will explain how to use the OpenStack installation from outside of the dockenstack container.

Running Tempest

Launch the container as such:

docker run --privileged -t -i ewindisch/dockenstack-tempest

Running Tempest in Dockenstack may take approximately 30 minutes.

Arguments to run-tempest may be passed, the arguments are the same as run_tempest.sh (see Tempest documentation / source)

Configuration

Dockenstack should understand all of the devstack environment variables passed as enviroment variables to 'docker run'. If using Docker Compose, these environment variables may be added to the fig.yml file.

Notes

  • Requires Docker 1.5 or later.
  • AUFS / Volumes - Using AUFS and nested-docker, one may need to mount /var/lib/docker as a volume or a bind-mount. (pass '-v /var/lib/docker' to 'docker run')
  • Libvirt guests may need kernel modules loaded. Libvirt/Qemu support is neither tested nor complete.

Authors

License

Apache2 - see LICENSE

dockenstack's People

Contributors

abrooks avatar arborlab avatar ewindisch avatar hayderimran7 avatar koolhead17 avatar kuwagata avatar paulczar avatar wofanli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dockenstack's Issues

Multiple errors: moddep, iptables, permission denied

I get the following error when I run docker-compose up. I'm using the latest version from master ab21206.

Step 11 : RUN docker -d -b none -s vfs & sleep 1; docker pull cirros
 ---> Running in 3336f010c690
Warning: '-d' is deprecated, it will be removed soon. See usage.
time="2016-04-23T17:39:32Z" level=warning msg="please use 'docker daemon' instead."
time="2016-04-23T17:39:32.725617767Z" level=info msg="API listen on /var/run/docker.sock"
time="2016-04-23T17:39:32.726098122Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-36-generic/modules.dep.bin'\nmodprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-36-generic/modules.dep.bin'\n, error: exit status 1"
time="2016-04-23T17:39:32.727404753Z" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-36-generic/modules.dep.bin'`, error: exit status 1"
time="2016-04-23T17:39:32.738520881Z" level=fatal msg="Error starting daemon: Error initializing network controller: error obtaining controller instance: Failed to create NAT chain: iptables failed: iptables -t nat -N DOCKER: iptables v1.4.21: can't initialize iptables table `nat': Permission denied (you must be root)\nPerhaps iptables or your kernel needs to be upgraded.\n (exit status 3)"
Using default tag: latest
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
ERROR: Service 'dockenstack' failed to build: The command '/bin/sh -c docker -d -b none -s vfs & sleep 1; docker pull cirros' returned a non-zero code: 1

Any ideas? Thank you!

docker-compose fails with "Running modprobe bridge nf_nat failed with message: , error: exit status 1"

I had an issue running docker-compose up on a CentOS 7 box. What should I do to overcome this?

Thanks!

 ---> 63689dc12451
Step 10 : RUN docker -d -b none -s vfs & sleep 1; docker pull cirros
 ---> Running in 9ad27f95fb0b
time="2015-07-24T19:26:51.555390737Z" level=info msg="Listening for HTTP on unix (/var/run/docker.sock)" 
time="2015-07-24T19:26:51.564834062Z" level=warning msg="Running modprobe bridge nf_nat failed with message: , error: exit status 1" 
time="2015-07-24T19:26:51.664574275Z" level=warning msg="Your kernel does not support cgroup memory limit: mountpoint for memory not found" 
time="2015-07-24T19:26:51.665785492Z" level=warning msg="mountpoint for cpu not found" 
time="2015-07-24T19:26:51.666380089Z" level=fatal msg="Error mounting devices cgroup: mountpoint for devices not found" 
Cannot connect to the Docker daemon. Is 'docker -d' running on this host?
Service 'dockenstack' failed to build: The command [/bin/sh -c docker -d -b none -s vfs & sleep 1; docker pull cirros] returned a non-zero code: 1

Startup fails with "docker-registry did not start"

Command:

$ sudo docker.io run --privileged -v /var/lib/docker -t -i ewindisch/dockenstack

Reproducible both on AUFS and devicemapper.

Version:

$ sudo docker version
Client version: 0.9.1
Go version (client): go1.2.1
Git commit (client): 3600720
Server version: 0.9.1
Git commit (server): 3600720
Go version (server): go1.2.1
Last stable version: 0.10.0, please update docker

Result:

2014-05-04 11:57:05.717 | + docker run -d -p 5042:5000 -e SETTINGS_FLAVOR=openstack -e OS_USERNAME=admin -e OS_PASSWORD=devstack -e OS_TENANT_NAME=admin -e OS_GLANCE_URL=http://172.17.0.2:9292 -e OS_AUTH_URL=http://172.17.0.2:35357/v2.0 --name registry registry:latest ./docker-registry/run.sh
2014-05-04 11:57:05.757 | 4debbad17e3a06d7fb77f282368b5d9383c5af2ea20f6137d55d1f48b84f1566
2014-05-04 11:57:05.775 | + echo 'Waiting for docker registry to start...'
2014-05-04 11:57:05.777 | Waiting for docker registry to start...
2014-05-04 11:57:05.778 | + DOCKER_REGISTRY=172.17.0.2:5042
2014-05-04 11:57:05.780 | + timeout 60 sh -c 'while ! curl -s 172.17.0.2:5042; do sleep 1; done'
2014-05-04 11:58:05.778 | + die 111 'docker-registry did not start'
2014-05-04 11:58:05.781 | + local exitcode=0
2014-05-04 11:58:05.784 | [Call Trace]
2014-05-04 11:58:05.786 | /devstack/stack.sh:1206:start_nova
2014-05-04 11:58:05.789 | /devstack/lib/nova:757:start_nova_compute
2014-05-04 11:58:05.793 | /devstack/lib/nova:720:start_nova_hypervisor
2014-05-04 11:58:05.796 | /devstack/lib/nova_plugins/hypervisor-docker:111:die
2014-05-04 11:58:05.798 | [ERROR] /devstack/lib/nova_plugins/hypervisor-docker:111 docker-registry did not start

Version requirement of docker

README.md says that dockenstack "Requires Docker 1.0 or later," but running with version 1.0 produces the behavior described in issue #10. Does the version requirement need to be "Requires Docker 1.2 or later"?

Update with Error Corrections, Ubuntu 16.04, Ocata/Pike, systemd, libvirt/QEMU, Zun and Network

Hi Erica,

Thank you very much for you work here.

However, while running the project I had to work around the known issues.

Also, I felt like adding the following:

  1. Ubuntu 16.04 LTS base image
  2. systemd
  3. OpenStack Ocata and Pike
  4. libvirt/QEMU instance support
  5. Zun instead of the deprecated Nova Docker
  6. Network configuration

I understand your project is not actively maintained, so I hope you don't mind me leaving a link for anyone seeking a more recent DevStack on Docker [1].

[1] https://github.com/janmattfeld/DockStack

Regards,
Jan

PS I guess my changes are too huge for a pull request.

rabbitmq is not running

sudo docker run --privileged ewindisch/dockenstack

  • Starting message broker rabbitmq-server
  • FAILED - check /var/log/rabbitmq/startup_{log, _err}
    ...fail!

ifconfig not found on startup on freshly pulled container

Hi,

I'm getting this message on startup:

240833fb2afc: Download complete
* Starting message broker rabbitmq-server                                                                                                                                                     140617 19:38:12 mysqld_safe Can't log to error log and syslog at the same time.  Remove all --log-error configuration options for --syslog to take effect.
140617 19:38:12 mysqld_safe Logging to '/var/log/mysql/error.log'.
140617 19:38:12 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
[ OK ]
2014/06/17 19:38:25 socat[637] E connect(3, AF=1 "/var/run/docker.sock", 22): Connection refused
2014/06/17 19:38:25 docker daemon: 0.12.0 14680bf; execdriver: native; graphdriver:
[6ed505c1] +job serveapi(unix:///var/run/docker.sock)
[6ed505c1] +job initserver()
[6ed505c1.initserver()] Creating server
2014/06/17 19:38:25 Listening for HTTP on unix (/var/run/docker.sock)
[6ed505c1] +job init_networkdriver()
[6ed505c1.init_networkdriver()] creating new bridge for docker0
[6ed505c1.init_networkdriver()] getting iface addr
[6ed505c1] -job init_networkdriver() = OK (0)
[6ed505c1.initserver()] Creating pidfile
[6ed505c1.initserver()] Setting up signal traps
[6ed505c1] -job initserver() = OK (0)
[6ed505c1] +job acceptconnections()
[6ed505c1] -job acceptconnections() = OK (0)
2014/06/17 19:38:34 GET /v1.3/version
[6ed505c1] +job version()
[6ed505c1] -job version() = OK (0)
2014/06/17 19:38:34 GET /v1.3/version
[6ed505c1] +job version()
[6ed505c1] -job version() = OK (0)
2014/06/17 19:38:34 GET /v1.3/version
[6ed505c1] +job version()
[6ed505c1] -job version() = OK (0)
2014/06/17 19:38:35 GET /v1.3/version
[6ed505c1] +job version()
[6ed505c1] -job version() = OK (0)
/opt/dockenstack/bin/devstack-init: line 10: ifconfig: command not found

Fixed after installing net-tools.

Regards,

pip install -r global-requirements.txt fails

I got this issue due the deprecated version of pip:

ValueError: ("Expected ',' or end-of-list in", "dnspython>=1.12.0;python_version<'3.0'", 'at', ";python_version<'3.0'")

due this line of the global-requirements.txt:

...
dnspython>=1.12.0;python_version<'3.0'
...

I checked the current pip version and it was 1.5.4, then I removed the python-pip package and installed pip manually (upgrading the apt-get package pip with apt-get upgrade python-pip or pip install -U pip didn't work) and then it works

/var/lib/docker/aufs/mnt/$ID is not within /var/lib/docker/aufs/mnt/$ID

After cloning latest dockenstack with 'Update to trusty and install kerberos headers' and adding 'RUN apt-get install -q -y python-pip', build still fails with:

Step 35 : RUN chown -R devstack /devstack
---> Running in ab674d637aeb
2014/06/27 16:26:39 /var/lib/docker/aufs/mnt/ab674d637aeb10fcbfc223d2be87879dfaa025173a8fa7b7f09d445866921b7c is not within /var/lib/docker/aufs/mnt/ab674d637aeb10fcbfc223d2be87879dfaa025173a8fa7b7f09d445866921b7c

This seems to be fixed with setting WORKDIR to somewhere else, says '/opt':

Fix /var/lib/docker/aufs/mnt/$ID is not within /var/lib/docker/aufs/mnt/$ID

WORKDIR /

WORKDIR /opt

Fix ownership of all files

RUN chown -R devstack /devstack

CMD ["/opt/dockenstack/bin/start"]

socat[646] E connect(3, AF=1 "/var/run/docker.sock", 22): Connection refused

Hi,

Can anyone help me? I have a problem with socat apprently.

$> sudo docker run --privileged -v /var/lib/docker -t -i ewindisch/dockenstack
 * Starting message broker rabbitmq-server                                               140609 19:28:05 mysqld_safe Can't log to error log and syslog at the same time.  Remove all --log-error configuration options for --syslog to take effect.
140609 19:28:05 mysqld_safe Logging to '/var/log/mysql/error.log'.
140609 19:28:05 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
                                                                                  [ OK ]
2014/06/09 19:28:09 socat[646] E connect(3, AF=1 "/var/run/docker.sock", 22): Connection refused
2014/06/09 19:28:09 docker daemon: 0.12.0 14680bf; execdriver: native; graphdriver:
[95da4ad2] +job serveapi(unix:///var/run/docker.sock)
[95da4ad2] +job initserver()
[95da4ad2.initserver()] Creating server
2014/06/09 19:28:09 Listening for HTTP on unix (/var/run/docker.sock)
[95da4ad2] +job init_networkdriver()
[95da4ad2.init_networkdriver()] creating new bridge for docker0
[95da4ad2.init_networkdriver()] getting iface addr
[95da4ad2] -job init_networkdriver() = OK (0)
Error loading docker apparmor profile: exec: "/sbin/apparmor_parser": stat /sbin/apparmor_parser: no such file or directory ()
[95da4ad2] -job initserver() = ERR (1)
2014/06/09 19:28:10 Error loading docker apparmor profile: exec: "/sbin/apparmor_parser": stat /sbin/apparmor_parser: no such file or directory ()
2014/06/09 19:28:10 socat[677] E connect(3, AF=1 "/var/run/docker.sock", 22): Connection refused
2014/06/09 19:28:11 socat[681] E connect(3, AF=1 "/var/run/docker.sock", 22): Connection refused
2014/06/09 19:28:12 socat[685] E connect(3, AF=1 "/var/run/docker.sock", 22): Connection refused
2014/06/09 19:28:13 socat[689] E connect(3, AF=1 "/var/run/docker.sock", 22): Connection refused
^C%

Any help would be appreciated.

stack.sh does run on raring.

WARNING: this script has not been tested on raring
[Call Trace]
/devstack/stack.sh:148:die
[ERROR] /devstack/stack.sh:148 If you wish to run this script anyway run with FORCE=yes
/devstack/functions-common: line 259: /opt/stack/logs/error.log: No such file or directory

Running with FORCE=yes gives you further errors about running it as root.

Can not locate liberasurecode.so.1

Hello,

When trying to install I facing the following error:

Running setup.py install for PyECLib: started
    Running setup.py install for PyECLib: finished with status 'error'
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-eYTMrQ/PyECLib/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-4FyJt9-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    **************************************************************
    ***
    *** Can not locate liberasurecode.so.1
    ***
    *** Install -
    ***   Manual: https://bitbucket.org/tsg-/liberasurecode.git
    ***   Fedora/Red Hat variants: liberasurecode-devel
    ***   Debian/Ubuntu variants: liberasurecode-dev
    ***
    **************************************************************

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-eYTMrQ/PyECLib/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-4FyJt9-record/install-record.txt --single-version-externally-managed --compile" failed with error code 255 in /tmp/pip-build-eYTMrQ/PyECLib/
/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
ERROR: Service 'dockenstack' failed to build: The command '/bin/sh -c /usr/local/bin/pip install --proxy ${proxy_credentials} -r https://raw.github.com/openstack/requirements/master/global-requirements.txt' returned a non-zero code: 1

Have someone found what is going wrong ?

ewindisch/dockenstack start failures

The container is not starting due to /usr/local/bin/start not existing. After a bit of poking, manually starting it with /opt/dockenstack/bin/start allowed it to make progress.

Then its failing to start with:
docker run -privileged -lxc-conf=aa_profile=unconfined -t -i ewindisch/dockenstack /opt/dockenstack/bin/start
WARNING: WARNING: Docker detected local DNS server on resolv.conf. Using default external servers: [8.8.8.8 8.8.4.4]

  • Starting message broker rabbitmq-server 140210 20:13:01 mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect.
    140210 20:13:01 mysqld_safe Logging to '/var/log/mysql/error.log'.
    140210 20:13:01 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    [ OK ]
    2014/02/10 20:13:05 socat[617] E connect(3, AF=1 "/var/run/docker.sock", 22): No such file or directory
    [/var/lib/docker|60b62457] +job initserver()
    [/var/lib/docker|60b62457.initserver()] Creating server
    [/var/lib/docker|60b62457] +job init_networkdriver()
    [/var/lib/docker|60b62457.init_networkdriver()] creating new bridge for docker0
    [/var/lib/docker|60b62457.init_networkdriver()] getting iface addr
    [/var/lib/docker|60b62457] -job init_networkdriver() = OK (0)
    2014/02/10 20:13:06 WARNING: Your kernel does not support cgroup swap limit.
    [/var/lib/docker|60b62457.initserver()] Creating pidfile
    [/var/lib/docker|60b62457.initserver()] Setting up signal traps
    [/var/lib/docker|60b62457] -job initserver() = OK (0)
    [/var/lib/docker|60b62457] +job serveapi(unix:///var/run/docker.sock)
    2014/02/10 20:13:06 Listening for HTTP on unix (/var/run/docker.sock)
    2014/02/10 20:13:06 GET /v1.3/version
    [/var/lib/docker|60b62457] +job version()
    [/var/lib/docker|60b62457] -job version() = OK (0)
    2014/02/10 20:13:06 GET /v1.9/images/json?filter=busybox
    [/var/lib/docker|60b62457] +job images()
    [/var/lib/docker|60b62457] -job images() = OK (0)
    2014/02/10 20:13:06 POST /v1.9/images/load
    [/var/lib/docker|60b62457] +job load()
    [error] mount.go:11 [warning]: couldn't run auplink before unmount: exit status 22
    Driver aufs failed to get image rootfs bf747efa0e2fa9f7c691588ce3938944c75607a7bb5e757f7369f86904d97c78: invalid argument[/var/lib/docker|60b62457] -job load() = ERR (1)
    [error] api.go:959 Error: load: Driver aufs failed to get image rootfs bf747efa0e2fa9f7c691588ce3938944c75607a7bb5e757f7369f86904d97c78: invalid argument
    [error] api.go:91 HTTP Error: statusCode=500 load: Driver aufs failed to get image rootfs bf747efa0e2fa9f7c691588ce3938944c75607a7bb5e757f7369f86904d97c78: invalid argument
    2014/02/10 20:13:06 Error: load: Driver aufs failed to get image rootfs bf747efa0e2fa9f7c691588ce3938944c75607a7bb5e757f7369f86904d97c78: invalid argument

Docker version 0.8.0, build cc3a8c8
Ubuntu 13.10 x86_64

Docker registry build status "Error"

The build history for dockenstack on the docker registry (https://registry.hub.docker.com/u/ewindisch/dockenstack/builds_history/7634/) shows build status Error for every build since 8 June 2014:

build Id Status Created Date Last Updated
buptro3ucupteenq44vfkwm Error 2014-08-05 19:57:35 2014-08-05 20:02:02
beccmarytyj8xoozycdexho Error 2014-08-05 19:45:44 2014-08-05 19:48:08
bqfgrnsmn3mru5uxkc3nd2p Error 2014-08-05 19:42:06 2014-08-05 19:44:30
b2itggn73hjagexkvgfjqd9 Error 2014-08-05 19:39:56 2014-08-05 19:42:37
byzgrctgeanglawag9acio7 Error 2014-07-22 10:18:44 2014-07-22 10:55:17
bdshj6xfetvaw9qcwjdfdmi Error 2014-07-11 11:27:59 2014-07-11 11:38:11
brikf97ajlrasjx4xsbuqe3 Error 2014-06-26 12:33:32 2014-06-26 12:49:44
bfptmgrxe4ckkjtcjhxybjp Error 2014-06-08 16:07:14 2014-06-08 16:29:46
bmbmdmh33whpxyqqbj9f7sb Finished 2014-06-08 13:35:41 2014-06-08 14:05:04

As a result, the public image for dockenstack is currently three months out of date/

dockenstack local build fails

After adding python-pip

Mask python-six because the apt package can conflict with the pypi version.

RUN apt-get remove -q -y python-six
RUN apt-get install -y python-pip

The build failed with:
2014/06/10 23:35:17 The command [/bin/sh -c pip install -r https://raw.github.com/openstack/requirements/master/global-requirements.txt] returned a non-zero code: 1

Please find appended below the tail of the build.

Regards,

PhiHo

...
...
running build
running build_ext
building 'kerberos' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/kerberos.c -o build/temp.linux-x86_64-2.7/src/kerberos.o sh: 1: krb5-config: not found
x86_64-linux-gnu-gcc: error: sh:: No such file or directory
x86_64-linux-gnu-gcc: error: 1:: No such file or directory
x86_64-linux-gnu-gcc: error: krb5-config:: No such file or directory
x86_64-linux-gnu-gcc: error: not: No such file or directory
x86_64-linux-gnu-gcc: error: found: No such file or directory
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/kerberos/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-snR0zm-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/kerberos
Storing debug log for failure in /.pip/pip.log
2014/06/10 23:35:17 The command [/bin/sh -c pip install -r https://raw.github.com/openstack/requirements/master/global-requirements.txt] returned a non-zero code: 1

E: Unable to locate package apt-transport-https

Jonathans-MacBook-Pro:dockenstack jonathan$ docker build -t ewindisch/dockenstack dockenstack 
Sending build context to Docker daemon 22.02 kB
Sending build context to Docker daemon 
Step 1 : FROM ubuntu:trusty
 ---> 38c759202e30
Step 2 : MAINTAINER Eric Windisch "[email protected]"
 ---> Using cache
 ---> c05de268b27b
Step 3 : EXPOSE 80 5000 8773 8774 8776 9292
 ---> Using cache
 ---> e182bbb7e8bb
Step 4 : ENV DEBIAN_FRONTEND "noninteractive"
 ---> Using cache
 ---> 5de56c28f834
Step 5 : RUN apt-get install -qqy apt-transport-https; apt-key adv --keyserver "hkp://keyserver.ubuntu.com:80" --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9;     echo 'deb http://get.docker.io/ubuntu docker main' > /etc/apt/sources.list.d/docker.list;     apt-get update;     apt-get install -qqy lxc-docker
 ---> Running in 606458730d3c
E: Unable to locate package apt-transport-https
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.lXvQbRJQXf --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
gpg: requesting key A88D21E9 from hkp server keyserver.ubuntu.com
gpg: key A88D21E9: public key "Docker Release Tool (releasedocker) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
E: The method driver /usr/lib/apt/methods/https could not be found.
E: Unable to locate package lxc-docker
The command '/bin/sh -c apt-get install -qqy apt-transport-https; apt-key adv --keyserver "hkp://keyserver.ubuntu.com:80" --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9;     echo 'deb http://get.docker.io/ubuntu docker main' > /etc/apt/sources.list.d/docker.list;     apt-get update;     apt-get install -qqy lxc-docker' returned a non-zero code: 100

sysctl: cannot stat /proc/sys/net/ipv4/ip_local_reserved_ports: No such file or directory

hurruh new problem:

root@lolnowat:/root/dockenstack# docker run -t -i --privileged=true -p 0.0.0.0:80:80  dockenstack bash
root@ce128c29b517:/#
root@ce128c29b517:/# /opt/dockenstack/bin/devstack-init
 * Starting message broker rabbitmq-server                                                                                                                                                 140630 15:40:42 mysqld_safe Can't log to error log and syslog at the same time.  Remove all --log-error configuration options for --syslog to take effect.
140630 15:40:42 mysqld_safe Logging to '/var/log/mysql/error.log'.
140630 15:40:42 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
                                                                                                                                                                                    [ OK ]
2014/06/30 15:40:52 socat[646] E connect(3, AF=1 "/var/run/docker.sock", 22): Connection refused
2014/06/30 15:40:52 docker daemon: 1.0.1 990021a; execdriver: native; graphdriver:
[baba97bc] +job serveapi(unix:///var/run/docker.sock)
[baba97bc] +job initserver()
[baba97bc.initserver()] Creating server
2014/06/30 15:40:52 Listening for HTTP on unix (/var/run/docker.sock)
[baba97bc] +job init_networkdriver()
[baba97bc.init_networkdriver()] creating new bridge for docker0
[baba97bc.init_networkdriver()] getting iface addr
[baba97bc] -job init_networkdriver() = OK (0)
2014/06/30 15:40:54 WARNING: Your kernel does not support cgroup swap limit.
[baba97bc.initserver()] Creating pidfile
[baba97bc.initserver()] Setting up signal traps
[baba97bc] -job initserver() = OK (0)
[baba97bc] +job acceptconnections()
[baba97bc] -job acceptconnections() = OK (0)
2014/06/30 15:40:54 GET /v1.3/version
[baba97bc] +job version()
[baba97bc] -job version() = OK (0)
2014/06/30 15:40:54 GET /v1.3/version
[baba97bc] +job version()
[baba97bc] -job version() = OK (0)
2014/06/30 15:40:54 GET /v1.12/images/json?filter=cirros
[baba97bc] +job images()
[baba97bc] -job images() = OK (0)
2014/06/30 15:40:55 POST /images/load
[baba97bc] +job load()
[baba97bc] +job image_get(13d63e956c592664db7638100fbd2b7c10d5d25dfe0c50403580b453acd8f686)
No such id: 13d63e956c592664db7638100fbd2b7c10d5d25dfe0c50403580b453acd8f686
[baba97bc] -job image_get(13d63e956c592664db7638100fbd2b7c10d5d25dfe0c50403580b453acd8f686) = ERR (1)
[baba97bc] +job image_get(23ce110914ddd16b62fbfc80368ade3ffb2ca055fb7e4029592fe02321d346f5)
No such id: 23ce110914ddd16b62fbfc80368ade3ffb2ca055fb7e4029592fe02321d346f5
[baba97bc] -job image_get(23ce110914ddd16b62fbfc80368ade3ffb2ca055fb7e4029592fe02321d346f5) = ERR (1)
[baba97bc] +job image_get(b79d0f5d661026dcd8eadeca0e278840346b665b269623c17a385421d63c3683)
No such id: b79d0f5d661026dcd8eadeca0e278840346b665b269623c17a385421d63c3683
[baba97bc] -job image_get(b79d0f5d661026dcd8eadeca0e278840346b665b269623c17a385421d63c3683) = ERR (1)
[baba97bc] +job image_get(d5607b4688eab7710e2d3e103b811b33e5328cdb86850bfefe190a9cc9d830a9)
No such id: d5607b4688eab7710e2d3e103b811b33e5328cdb86850bfefe190a9cc9d830a9
[baba97bc] -job image_get(d5607b4688eab7710e2d3e103b811b33e5328cdb86850bfefe190a9cc9d830a9) = ERR (1)
[baba97bc] +job image_get(5e11b6cb66e0f8a1e9e728f1d24e91ae9c747c768db0d632c319d4f304568685)
No such id: 5e11b6cb66e0f8a1e9e728f1d24e91ae9c747c768db0d632c319d4f304568685
[baba97bc] -job image_get(5e11b6cb66e0f8a1e9e728f1d24e91ae9c747c768db0d632c319d4f304568685) = ERR (1)
[baba97bc] +job image_get(511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158)
No such id: 511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158
[baba97bc] -job image_get(511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158) = ERR (1)
[baba97bc] +job image_get(23ce110914ddd16b62fbfc80368ade3ffb2ca055fb7e4029592fe02321d346f5)
[baba97bc] -job image_get(23ce110914ddd16b62fbfc80368ade3ffb2ca055fb7e4029592fe02321d346f5) = OK (0)
[baba97bc] +job image_get(511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158)
[baba97bc] -job image_get(511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158) = OK (0)
[baba97bc] +job image_get(5e11b6cb66e0f8a1e9e728f1d24e91ae9c747c768db0d632c319d4f304568685)
[baba97bc] -job image_get(5e11b6cb66e0f8a1e9e728f1d24e91ae9c747c768db0d632c319d4f304568685) = OK (0)
[baba97bc] +job image_get(68c7862fa6f23a9c69db32451684f90a89cdd86b54a90192c4a91437577363fa)
No such id: 68c7862fa6f23a9c69db32451684f90a89cdd86b54a90192c4a91437577363fa
[baba97bc] -job image_get(68c7862fa6f23a9c69db32451684f90a89cdd86b54a90192c4a91437577363fa) = ERR (1)
[baba97bc] +job image_get(8714d0d3568bc690ed74e0cb0bd520ac825d76e07f2ceaa80e856bb1b24d58b0)
No such id: 8714d0d3568bc690ed74e0cb0bd520ac825d76e07f2ceaa80e856bb1b24d58b0
[baba97bc] -job image_get(8714d0d3568bc690ed74e0cb0bd520ac825d76e07f2ceaa80e856bb1b24d58b0) = ERR (1)
[baba97bc] +job image_get(eeeac0c9745a4fc39a1458a48284c87ff360ab6fdf51542ccb95da55a1a4e69f)
No such id: eeeac0c9745a4fc39a1458a48284c87ff360ab6fdf51542ccb95da55a1a4e69f
[baba97bc] -job image_get(eeeac0c9745a4fc39a1458a48284c87ff360ab6fdf51542ccb95da55a1a4e69f) = ERR (1)
[baba97bc] +job image_get(b79d0f5d661026dcd8eadeca0e278840346b665b269623c17a385421d63c3683)
[baba97bc] -job image_get(b79d0f5d661026dcd8eadeca0e278840346b665b269623c17a385421d63c3683) = OK (0)
[baba97bc] +job image_get(d5607b4688eab7710e2d3e103b811b33e5328cdb86850bfefe190a9cc9d830a9)
[baba97bc] -job image_get(d5607b4688eab7710e2d3e103b811b33e5328cdb86850bfefe190a9cc9d830a9) = OK (0)
[baba97bc] +job image_get(eeeac0c9745a4fc39a1458a48284c87ff360ab6fdf51542ccb95da55a1a4e69f)
[baba97bc] -job image_get(eeeac0c9745a4fc39a1458a48284c87ff360ab6fdf51542ccb95da55a1a4e69f) = OK (0)
[baba97bc] -job load() = OK (0)
2014/06/30 15:40:56 GET /v1.12/images/json?filter=registry
[baba97bc] +job images()
[baba97bc] -job images() = OK (0)
2014/06/30 15:40:56 POST /images/load
[baba97bc] +job load()
[baba97bc] +job image_get(0ad7bae56bd71a4ec5153b5ffb639552c141867c205e44de4f41cb7cf998dd22)
No such id: 0ad7bae56bd71a4ec5153b5ffb639552c141867c205e44de4f41cb7cf998dd22
[baba97bc] -job image_get(0ad7bae56bd71a4ec5153b5ffb639552c141867c205e44de4f41cb7cf998dd22) = ERR (1)
[baba97bc] +job image_get(376ca9433bfe4b62ad1067bdb45604eeec687dd868f11afd851090badb0baf7d)
No such id: 376ca9433bfe4b62ad1067bdb45604eeec687dd868f11afd851090badb0baf7d
[baba97bc] -job image_get(376ca9433bfe4b62ad1067bdb45604eeec687dd868f11afd851090badb0baf7d) = ERR (1)
[baba97bc] +job image_get(d1f2b453a6c71efc47a8d24f2ff4aa77a93921557c756e9fbb4333a69eb82c0f)
No such id: d1f2b453a6c71efc47a8d24f2ff4aa77a93921557c756e9fbb4333a69eb82c0f
[baba97bc] -job image_get(d1f2b453a6c71efc47a8d24f2ff4aa77a93921557c756e9fbb4333a69eb82c0f) = ERR (1)
[baba97bc] +job image_get(14b1999c6946f94606c1cb4370903714e5023d2363143123b767c23d17e2bf6d)
No such id: 14b1999c6946f94606c1cb4370903714e5023d2363143123b767c23d17e2bf6d
[baba97bc] -job image_get(14b1999c6946f94606c1cb4370903714e5023d2363143123b767c23d17e2bf6d) = ERR (1)
[baba97bc] +job image_get(b6a21b9fd5f570fb1d1f7bfad84bf788ff18e5952bf2ee8e1ff8760df1d94c12)
No such id: b6a21b9fd5f570fb1d1f7bfad84bf788ff18e5952bf2ee8e1ff8760df1d94c12
[baba97bc] -job image_get(b6a21b9fd5f570fb1d1f7bfad84bf788ff18e5952bf2ee8e1ff8760df1d94c12) = ERR (1)
[baba97bc] +job image_get(59f37135f7e1fafd11c2367bcf06e7ccbdfc479471db91cad70c18052358f612)
No such id: 59f37135f7e1fafd11c2367bcf06e7ccbdfc479471db91cad70c18052358f612
[baba97bc] -job image_get(59f37135f7e1fafd11c2367bcf06e7ccbdfc479471db91cad70c18052358f612) = ERR (1)
[baba97bc] +job image_get(956865a3475d3ce357518913cad8fd83745df651bf2070f5a261311b02ee06cc)
No such id: 956865a3475d3ce357518913cad8fd83745df651bf2070f5a261311b02ee06cc
[baba97bc] -job image_get(956865a3475d3ce357518913cad8fd83745df651bf2070f5a261311b02ee06cc) = ERR (1)
[baba97bc] +job image_get(b09396059e11283821099b23cbd031c75ce0dcb31d075b64dbbe160a93e34af9)
No such id: b09396059e11283821099b23cbd031c75ce0dcb31d075b64dbbe160a93e34af9
[baba97bc] -job image_get(b09396059e11283821099b23cbd031c75ce0dcb31d075b64dbbe160a93e34af9) = ERR (1)
[baba97bc] +job image_get(8183e15123507fc7bda147e675e50bf4ebecedc11fa0b79eb2bf9d55365ca69b)
No such id: 8183e15123507fc7bda147e675e50bf4ebecedc11fa0b79eb2bf9d55365ca69b
[baba97bc] -job image_get(8183e15123507fc7bda147e675e50bf4ebecedc11fa0b79eb2bf9d55365ca69b) = ERR (1)
[baba97bc] +job image_get(1eb901173c39bb3fa57ef153c09897b5436083e8f2ad026fc1a1b647b7f11e36)
No such id: 1eb901173c39bb3fa57ef153c09897b5436083e8f2ad026fc1a1b647b7f11e36
[baba97bc] -job image_get(1eb901173c39bb3fa57ef153c09897b5436083e8f2ad026fc1a1b647b7f11e36) = ERR (1)
[baba97bc] +job image_get(23cc61a3cbdaa12634a044f5b63d6cd995a474d48d5675c2ad2b3ad98705b6c1)
No such id: 23cc61a3cbdaa12634a044f5b63d6cd995a474d48d5675c2ad2b3ad98705b6c1
[baba97bc] -job image_get(23cc61a3cbdaa12634a044f5b63d6cd995a474d48d5675c2ad2b3ad98705b6c1) = ERR (1)
[baba97bc] +job image_get(0e5997dad26c7d159fc2f6d1e781c02d13526c7696cb186abd101b72518f67c2)
No such id: 0e5997dad26c7d159fc2f6d1e781c02d13526c7696cb186abd101b72518f67c2
[baba97bc] -job image_get(0e5997dad26c7d159fc2f6d1e781c02d13526c7696cb186abd101b72518f67c2) = ERR (1)
[baba97bc] +job image_get(46e4dee27895629af45836e568044a8c27a27bedf4cd5a456fc345cf4c0c622d)
No such id: 46e4dee27895629af45836e568044a8c27a27bedf4cd5a456fc345cf4c0c622d
[baba97bc] -job image_get(46e4dee27895629af45836e568044a8c27a27bedf4cd5a456fc345cf4c0c622d) = ERR (1)



[baba97bc] +job image_get(0e5997dad26c7d159fc2f6d1e781c02d13526c7696cb186abd101b72518f67c2)
[baba97bc] -job image_get(0e5997dad26c7d159fc2f6d1e781c02d13526c7696cb186abd101b72518f67c2) = OK (0)
[baba97bc] +job image_get(14b1999c6946f94606c1cb4370903714e5023d2363143123b767c23d17e2bf6d)
[baba97bc] -job image_get(14b1999c6946f94606c1cb4370903714e5023d2363143123b767c23d17e2bf6d) = OK (0)
[baba97bc] +job image_get(1eb901173c39bb3fa57ef153c09897b5436083e8f2ad026fc1a1b647b7f11e36)
[baba97bc] -job image_get(1eb901173c39bb3fa57ef153c09897b5436083e8f2ad026fc1a1b647b7f11e36) = OK (0)
[baba97bc] +job image_get(23cc61a3cbdaa12634a044f5b63d6cd995a474d48d5675c2ad2b3ad98705b6c1)
[baba97bc] -job image_get(23cc61a3cbdaa12634a044f5b63d6cd995a474d48d5675c2ad2b3ad98705b6c1) = OK (0)
[baba97bc] +job image_get(376ca9433bfe4b62ad1067bdb45604eeec687dd868f11afd851090badb0baf7d)
[baba97bc] -job image_get(376ca9433bfe4b62ad1067bdb45604eeec687dd868f11afd851090badb0baf7d) = OK (0)
[baba97bc] +job image_get(46e4dee27895629af45836e568044a8c27a27bedf4cd5a456fc345cf4c0c622d)
[baba97bc] -job image_get(46e4dee27895629af45836e568044a8c27a27bedf4cd5a456fc345cf4c0c622d) = OK (0)
[baba97bc] +job image_get(511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158)
[baba97bc] -job image_get(511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158) = OK (0)
[baba97bc] +job image_get(59f37135f7e1fafd11c2367bcf06e7ccbdfc479471db91cad70c18052358f612)
[baba97bc] -job image_get(59f37135f7e1fafd11c2367bcf06e7ccbdfc479471db91cad70c18052358f612) = OK (0)
[baba97bc] +job image_get(8183e15123507fc7bda147e675e50bf4ebecedc11fa0b79eb2bf9d55365ca69b)
[baba97bc] -job image_get(8183e15123507fc7bda147e675e50bf4ebecedc11fa0b79eb2bf9d55365ca69b) = OK (0)
[baba97bc] +job image_get(956865a3475d3ce357518913cad8fd83745df651bf2070f5a261311b02ee06cc)
[baba97bc] -job image_get(956865a3475d3ce357518913cad8fd83745df651bf2070f5a261311b02ee06cc) = OK (0)
[baba97bc] +job image_get(b09396059e11283821099b23cbd031c75ce0dcb31d075b64dbbe160a93e34af9)
[baba97bc] -job image_get(b09396059e11283821099b23cbd031c75ce0dcb31d075b64dbbe160a93e34af9) = OK (0)
[baba97bc] +job image_get(b6a21b9fd5f570fb1d1f7bfad84bf788ff18e5952bf2ee8e1ff8760df1d94c12)
[baba97bc] -job image_get(b6a21b9fd5f570fb1d1f7bfad84bf788ff18e5952bf2ee8e1ff8760df1d94c12) = OK (0)
[baba97bc] +job image_get(d1f2b453a6c71efc47a8d24f2ff4aa77a93921557c756e9fbb4333a69eb82c0f)
[baba97bc] -job image_get(d1f2b453a6c71efc47a8d24f2ff4aa77a93921557c756e9fbb4333a69eb82c0f) = OK (0)
[baba97bc] -job load() = OK (0)
2014/06/30 15:41:50 POST /v1.12/images/registry/tag?repo=docker-registry&tag=
[baba97bc] +job tag(registry, docker-registry, )
[baba97bc] -job tag(registry, docker-registry, ) = OK (0)
APT::Acquire::Retries "20";
sed: cannot rename /etc/sedvEWdUp: Device or resource busy
/devstack /devstack
Using mysql database backend
2014-06-30 15:41:55.450 | + echo_summary 'Installing package prerequisites'
2014-06-30 15:41:55.451 | + [[ -t 3 ]]
2014-06-30 15:41:55.451 | + [[ True != \T\r\u\e ]]
2014-06-30 15:41:55.451 | + echo -e Installing package prerequisites
2014-06-30 15:41:55.451 | + source /devstack/tools/install_prereqs.sh
2014-06-30 15:41:55.451 | ++ [[ -n '' ]]
2014-06-30 15:41:55.451 | ++ [[ -z /devstack ]]
2014-06-30 15:41:55.451 | ++ PREREQ_RERUN_MARKER=/devstack/.prereqs
2014-06-30 15:41:55.451 | ++ PREREQ_RERUN_HOURS=2
2014-06-30 15:41:55.451 | ++ PREREQ_RERUN_SECONDS=7200
2014-06-30 15:41:55.451 | +++ date +%s
2014-06-30 15:41:55.451 | ++ NOW=1404142915
2014-06-30 15:41:55.451 | +++ head -1 /devstack/.prereqs
2014-06-30 15:41:55.451 | ++ LAST_RUN=1404141221
2014-06-30 15:41:55.451 | ++ DELTA=1694
2014-06-30 15:41:55.452 | ++ [[ 1694 -lt 7200 ]]
2014-06-30 15:41:55.452 | ++ [[ -z '' ]]
2014-06-30 15:41:55.452 | ++ echo 'Re-run time has not expired (5506 seconds remaining) '
2014-06-30 15:41:55.452 | Re-run time has not expired (5506 seconds remaining)
2014-06-30 15:41:55.452 | ++ echo 'and FORCE_PREREQ not set; exiting...'
2014-06-30 15:41:55.452 | and FORCE_PREREQ not set; exiting...
2014-06-30 15:41:55.452 | ++ return 0
2014-06-30 15:41:55.452 | + [[ False != \T\r\u\e ]]
2014-06-30 15:41:55.452 | + /devstack/tools/install_pip.sh
2014-06-30 15:41:55.452 | +++ dirname /devstack/tools/install_pip.sh
2014-06-30 15:41:55.455 | ++ cd /devstack/tools
2014-06-30 15:41:55.455 | ++ pwd
2014-06-30 15:41:55.456 | + TOOLS_DIR=/devstack/tools
2014-06-30 15:41:55.457 | ++ cd /devstack/tools/..
2014-06-30 15:41:55.457 | ++ pwd
2014-06-30 15:41:55.457 | + TOP_DIR=/devstack
2014-06-30 15:41:55.457 | + cd /devstack
2014-06-30 15:41:55.457 | + source /devstack/functions
2014-06-30 15:41:55.460 | ++++ dirname /devstack/functions
2014-06-30 15:41:55.463 | +++ cd /devstack
2014-06-30 15:41:55.463 | +++ pwd
2014-06-30 15:41:55.463 | ++ FUNC_DIR=/devstack
2014-06-30 15:41:55.464 | ++ source /devstack/functions-common
2014-06-30 15:41:55.486 | + FILES=/devstack/files
2014-06-30 15:41:55.486 | + PIP_GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
2014-06-30 15:41:55.487 | ++ basename https://bootstrap.pypa.io/get-pip.py
2014-06-30 15:41:55.489 | + LOCAL_PIP=/devstack/files/get-pip.py
2014-06-30 15:41:55.489 | + GetDistro
2014-06-30 15:41:55.489 | + GetOSVersion
2014-06-30 15:41:55.491 | ++ which sw_vers
2014-06-30 15:41:55.494 | + [[ -x '' ]]
2014-06-30 15:41:55.496 | ++ which lsb_release
2014-06-30 15:41:55.500 | + [[ -x /usr/bin/lsb_release ]]
2014-06-30 15:41:55.501 | ++ lsb_release -i -s
2014-06-30 15:41:55.558 | + os_VENDOR=Ubuntu
2014-06-30 15:41:55.559 | ++ lsb_release -r -s
2014-06-30 15:41:55.617 | + os_RELEASE=14.04
2014-06-30 15:41:55.619 | + os_UPDATE=
2014-06-30 15:41:55.619 | + os_PACKAGE=rpm
2014-06-30 15:41:55.619 | + [[ Debian,Ubuntu,LinuxMint =~ Ubuntu ]]
2014-06-30 15:41:55.619 | + os_PACKAGE=deb
2014-06-30 15:41:55.620 | ++ lsb_release -c -s
2014-06-30 15:41:55.678 | + os_CODENAME=trusty
2014-06-30 15:41:55.678 | + export os_VENDOR os_RELEASE os_UPDATE os_PACKAGE os_CODENAME
2014-06-30 15:41:55.678 | + [[ Ubuntu =~ (Ubuntu) ]]
2014-06-30 15:41:55.679 | + DISTRO=trusty
2014-06-30 15:41:55.680 | + export DISTRO
2014-06-30 15:41:55.680 | + echo 'Distro: trusty'
2014-06-30 15:41:55.680 | Distro: trusty
2014-06-30 15:41:55.681 | + get_versions
2014-06-30 15:41:55.681 | ++ which pip
2014-06-30 15:41:55.685 | + PIP=/usr/bin/pip
2014-06-30 15:41:55.685 | + [[ -n /usr/bin/pip ]]
2014-06-30 15:41:55.688 | ++ /usr/bin/pip --version
2014-06-30 15:41:55.688 | ++ awk '{ print $2}'
2014-06-30 15:41:56.311 | + PIP_VERSION=1.5.4
2014-06-30 15:41:56.312 | + echo 'pip: 1.5.4'
2014-06-30 15:41:56.312 | pip: 1.5.4
2014-06-30 15:41:56.312 | + uninstall_package python-pip
2014-06-30 15:41:56.312 | + is_ubuntu
2014-06-30 15:41:56.312 | + [[ -z deb ]]
2014-06-30 15:41:56.312 | + '[' deb = deb ']'
2014-06-30 15:41:56.312 | + apt_get purge python-pip
2014-06-30 15:41:56.322 | + sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assume-yes purge python-pip
2014-06-30 15:42:00.697 | Reading package lists...
2014-06-30 15:42:02.532 | Building dependency tree...
2014-06-30 15:42:02.532 | Reading state information...
2014-06-30 15:42:02.617 | The following packages will be REMOVED:
2014-06-30 15:42:02.617 |   python-pip*
2014-06-30 15:42:04.703 | 0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
2014-06-30 15:42:04.703 | After this operation, 479 kB disk space will be freed.
2014-06-30 15:42:06.546 | (Reading database ... 36545 files and directories currently installed.)
2014-06-30 15:42:06.546 | Removing python-pip (1.5.4-1) ...
2014-06-30 15:42:08.458 | + install_get_pip
2014-06-30 15:42:08.458 | + [[ ! -r /devstack/files/get-pip.py ]]
2014-06-30 15:42:08.458 | + curl -o /devstack/files/get-pip.py https://bootstrap.pypa.io/get-pip.py
2014-06-30 15:42:08.471 |   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2014-06-30 15:42:08.471 |                                  Dload  Upload   Total   Spent    Left  Speed
100 1309k  100 1309k    0     0  1813k      0 --:--:-- --:--:-- --:--:-- 1811k
2014-06-30 15:42:09.195 | + sudo -E python /devstack/files/get-pip.py
2014-06-30 15:42:10.517 | Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-1.5.6-py2.py3-none-any.whl#md5=4d4fb4b69df6731c7aeaadd6300bc1f2
2014-06-30 15:42:11.103 | Installing collected packages: pip
2014-06-30 15:42:11.103 |   Found existing installation: pip 1.5.4
2014-06-30 15:42:11.106 |     Uninstalling pip:
2014-06-30 15:42:11.144 |       Successfully uninstalled pip
2014-06-30 15:42:11.889 | Successfully installed pip
2014-06-30 15:42:11.889 | Cleaning up...
2014-06-30 15:42:11.944 | + pip_install -U setuptools
2014-06-30 15:42:11.959 | + sudo PIP_DOWNLOAD_CACHE=/var/cache/pip http_proxy= https_proxy= no_proxy= /usr/local/bin/pip install --build=/tmp/pip-build.wKoBR -U setuptools
2014-06-30 15:42:12.550 | DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated.  See https://github.com/pypa/pip/issues/906.
2014-06-30 15:42:14.551 | Downloading/unpacking setuptools from https://pypi.python.org/packages/3.4/s/setuptools/setuptools-5.3-py2.py3-none-any.whl#md5=bc226173e1afd0b446a3ef3ea416848d
2014-06-30 15:42:14.551 | Creating supposed download cache at /var/cache/pip
2014-06-30 15:42:15.009 |   Storing download in cache at /var/cache/pip/https%3A%2F%2Fpypi.python.org%2Fpackages%2F3.4%2Fs%2Fsetuptools%2Fsetuptools-5.3-py2.py3-none-any.whl
2014-06-30 15:42:15.021 | Installing collected packages: setuptools
2014-06-30 15:42:15.038 |   Found existing installation: setuptools 3.3
2014-06-30 15:42:15.042 |     Uninstalling setuptools:
2014-06-30 15:42:15.108 |       Successfully uninstalled setuptools
2014-06-30 15:42:15.336 | Successfully installed setuptools
2014-06-30 15:42:15.336 | Cleaning up...
2014-06-30 15:42:15.398 | + sudo rm -rf /tmp/pip-build.wKoBR
2014-06-30 15:42:15.419 | + get_versions
2014-06-30 15:42:15.421 | ++ which pip
2014-06-30 15:42:15.424 | + PIP=/usr/local/bin/pip
2014-06-30 15:42:15.425 | + [[ -n /usr/local/bin/pip ]]
2014-06-30 15:42:15.427 | ++ /usr/local/bin/pip --version
2014-06-30 15:42:15.428 | ++ awk '{ print $2}'
2014-06-30 15:42:16.026 | + PIP_VERSION=1.5.6
2014-06-30 15:42:16.027 | + echo 'pip: 1.5.6'
2014-06-30 15:42:16.027 | pip: 1.5.6
2014-06-30 15:42:16.027 | + /devstack/tools/fixup_stuff.sh
2014-06-30 15:42:16.037 | +++ dirname /devstack/tools/fixup_stuff.sh
2014-06-30 15:42:16.040 | ++ cd /devstack/tools
2014-06-30 15:42:16.040 | ++ pwd
2014-06-30 15:42:16.041 | + TOOLS_DIR=/devstack/tools
2014-06-30 15:42:16.042 | ++ cd /devstack/tools/..
2014-06-30 15:42:16.042 | ++ pwd
2014-06-30 15:42:16.043 | + TOP_DIR=/devstack
2014-06-30 15:42:16.043 | + cd /devstack
2014-06-30 15:42:16.043 | + source /devstack/functions
2014-06-30 15:42:16.045 | ++++ dirname /devstack/functions
2014-06-30 15:42:16.048 | +++ cd /devstack
2014-06-30 15:42:16.048 | +++ pwd
2014-06-30 15:42:16.049 | ++ FUNC_DIR=/devstack
2014-06-30 15:42:16.049 | ++ source /devstack/functions-common
2014-06-30 15:42:16.071 | + FILES=/devstack/files
2014-06-30 15:42:16.071 | + keystone_ports=35357,35358
2014-06-30 15:42:16.073 | ++ sysctl net.ipv4.ip_local_reserved_ports
2014-06-30 15:42:16.074 | ++ awk -F= '{print $2;}'
2014-06-30 15:42:16.075 | sysctl: cannot stat /proc/sys/net/ipv4/ip_local_reserved_ports: No such file or directory
2014-06-30 15:42:16.075 | ++ sed 's/^ //'
2014-06-30 15:42:16.079 | + reserved_ports=
2014-06-30 15:42:16.079 | + [[ -z '' ]]
2014-06-30 15:42:16.079 | + sudo sysctl -w net.ipv4.ip_local_reserved_ports=35357,35358
2014-06-30 15:42:16.093 | sysctl: cannot stat /proc/sys/net/ipv4/ip_local_reserved_ports: No such file or directory
2014-06-30 15:42:16.096 | ++ err_trap
2014-06-30 15:42:16.096 | ++ local r=255
2014-06-30 15:42:16.096 | stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2014-06-30-154155
2014-06-30 15:42:16.099 | Error on exit
2014-06-30 15:42:16.101 | /devstack/stack.sh: line 626: ./tools/worlddump.py: No such file or directory
root@ce128c29b517:/# sysctl net.ipv4.ip_local_reserved_ports
sysctl: cannot stat /proc/sys/net/ipv4/ip_local_reserved_ports: No such file or directory
root@ce128c29b517:/# touch /proc/sys/net/ipv
ipv4/ ipv6/
root@ce128c29b517:/# touch /proc/sys/net/ipv4/ip_local_resrved_ports
touch: cannot touch '/proc/sys/net/ipv4/ip_local_resrved_ports': No such file or directory
root@ce128c29b517:/#

No distributions matching the version for oslotest>=1.1.0

$ uname -a
Linux mydocker 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ sudo docker version
Client version: 1.1.2
Client API version: 1.13
Go version (client): go1.2.1
Git commit (client): d84a070
Server version: 1.1.2
Server API version: 1.13
Go version (server): go1.2.1
Git commit (server): d84a070

$ sudo docker build -t ewindisch/dockenstack dockenstack
...
...
...
Requirement already satisfied (use --upgrade to upgrade): mox>=0.5.3 in /usr/lib/python2.7/dist-packages (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 185))
Downloading/unpacking mox3>=0.7.0 (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 186))
Running setup.py (path:/tmp/pip_build_root/mox3/setup.py) egg_info for package mox3
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found

warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution

Requirement already satisfied (use --upgrade to upgrade): MySQL-python in /usr/lib/python2.7/dist-packages (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 187))
Downloading/unpacking nodeenv>=0.9.4 (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 188))
Downloading nodeenv-0.11.0.tar.gz
Running setup.py (path:/tmp/pip_build_root/nodeenv/setup.py) egg_info for package nodeenv

no previously-included directories found matching 'debian/nodeenv'
no previously-included directories found matching 'debian/sdist'
warning: no previously-included files matching '*.log' found under directory 'debian'
warning: no previously-included files matching '*.substvars' found under directory 'debian'
warning: no previously-included files matching 'files' found under directory 'debian'

Requirement already satisfied (use --upgrade to upgrade): nose in /usr/lib/python2.7/dist-packages (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 189))
Downloading/unpacking nose-exclude (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 190))
Downloading nose-exclude-0.2.0.tar.gz
Running setup.py (path:/tmp/pip_build_root/nose-exclude/setup.py) egg_info for package nose-exclude

Downloading/unpacking nosehtmloutput>=0.0.3 (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 191))
Downloading nosehtmloutput-0.0.5.tar.gz
Running setup.py (path:/tmp/pip_build_root/nosehtmloutput/setup.py) egg_info for package nosehtmloutput

Downloading/unpacking nosexcover (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 192))
Downloading nosexcover-1.0.10.tar.gz
Running setup.py (path:/tmp/pip_build_root/nosexcover/setup.py) egg_info for package nosexcover

Downloading/unpacking openstack-doc-tools>=0.18.1 (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 193))
Downloading/unpacking openstack.nose-plugin>=0.7 (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 194))
Downloading openstack.nose_plugin-0.11.tar.gz
Running setup.py (path:/tmp/pip_build_root/openstack.nose-plugin/setup.py) egg_info for package openstack.nose-plugin

Downloading/unpacking oslosphinx (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 195))
Downloading oslosphinx-2.1.0.tar.gz
Running setup.py (path:/tmp/pip_build_root/oslosphinx/setup.py) egg_info for package oslosphinx
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found

warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no files found matching '*.js' under directory 'oslosphinx'

Downloading/unpacking oslotest>=1.1.0 (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 196))
Could not find a version that satisfies the requirement oslotest>=1.1.0 (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 196)) (from versions: 1.1.0.0a1, 0.1, 1.0.0)
Some externally hosted files were ignored (use --allow-external to allow).
Cleaning up...
No distributions matching the version for oslotest>=1.1.0 (from -r https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt (line 196))
Storing debug log for failure in /.pip/pip.log
2014/08/21 03:58:18 The command [/bin/sh -c pip install -r https://raw.github.com/openstack/requirements/master/global-requirements.txt] returned a non-zero code: 1
$

Cannot create directory /sys/fs/cgroup

Hi
with Docker version 1.1.2, build d84a070/1.1.2 I get the following error:
"docker run -privileged -t -i ewindisch/dockenstack
Warning: '-privileged' is deprecated, it will be replaced by '--privileged' soon. See usage.

  • Starting message broker rabbitmq-server 140913 04:39:39 mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect.
    140913 04:39:39 mysqld_safe Logging to '/var/log/mysql/error.log'.
    140913 04:39:40 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    [ OK ]
    mkdir: cannot create directory '/sys/fs/cgroup': No such file or directory
    mount: mount point /sys/fs/cgroup does not exist
    Could not make a tmpfs mount. Did you use -privileged?
    root@a87988ae574d:/#
    "

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.