Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
paulczar opened this issue Jun 30, 2014 · 5 comments

Comments

@paulczar
Copy link
Contributor

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:/#
@lahorite
Copy link

lahorite commented Jul 8, 2014

I have hit a similar issue as well ...

  • exit_trap
  • local r=1
    ++ jobs -p
  • jobs=
  • [[ -n '' ]]
  • kill_spinner
  • '[' '!' -z '' ']'
  • [[ 1 -ne 0 ]]
  • echo 'Error on exit'
    Error on exit
  • ./tools/worlddump.py -d
    usage: worlddump.py [-h] [-d DIR]
    worlddump.py: error: argument -d/--dir: expected one argument
    stack@openstack:~/devstack$

@asajeffrey
Copy link

This has been reported as a bug with LXC, and diagnosed as a kernel issue. https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1279041

ccrouch added a commit to ccrouch/devstack that referenced this issue Oct 20, 2014
calls to sysctl fail within a docker container due to ewindisch/dockenstack#11
so lets try without it
@digambar15
Copy link

2015-01-12 05:54:37.855 | ++ trueorfalse False
2015-01-12 05:54:37.858 | + INSTALL_TESTONLY_PACKAGES=False
2015-01-12 05:54:37.858 | + [[ False == \T\r\u\e ]]
2015-01-12 05:54:37.858 | + get_versions
2015-01-12 05:54:37.858 | ++ which pip
2015-01-12 05:54:37.859 | + PIP=/usr/local/bin/pip
2015-01-12 05:54:37.859 | + [[ -n /usr/local/bin/pip ]]
2015-01-12 05:54:37.860 | ++ awk '{ print $2}'
2015-01-12 05:54:37.860 | ++ /usr/local/bin/pip --version
2015-01-12 05:54:38.282 | + PIP_VERSION=6.0.6
2015-01-12 05:54:38.282 | + echo 'pip: 6.0.6'
2015-01-12 05:54:38.282 | pip: 6.0.6
2015-01-12 05:54:38.283 | + source /home/openstack/devstack/tools/fixup_stuff.sh
2015-01-12 05:54:38.283 | ++ [[ -z /home/openstack/devstack ]]
2015-01-12 05:54:38.283 | ++ keystone_ports=35357,35358
2015-01-12 05:54:38.283 | ++ sysctl net.ipv4.ip_local_reserved_ports
2015-01-12 05:54:38.286 | +++ sed 's/^ //'
2015-01-12 05:54:38.287 | +++ awk -F= '{print $2;}'
2015-01-12 05:54:38.288 | +++ sysctl net.ipv4.ip_local_reserved_ports
2015-01-12 05:54:38.289 | ++ reserved_ports=
2015-01-12 05:54:38.289 | ++ [[ -z '' ]]
2015-01-12 05:54:38.289 | ++ sudo sysctl -w net.ipv4.ip_local_reserved_ports=35357,35358
2015-01-12 05:54:38.312 | error: "Read-only file system" setting key "net.ipv4.ip_local_reserved_ports"
2015-01-12 05:54:38.313 | +++ err_trap
2015-01-12 05:54:38.314 | +++ local r=255
2015-01-12 05:54:38.314 | stack.sh failed: full log in /opt/stack/logs/devstack.log.2015-01-12-055432
2015-01-12 05:54:38.314 | Error on exit

Getting ReadOnly file system error while installing devstack on container

& if I comment
#6 sudo sysctl -w net.ipv4.ip_local_reserved_ports=35357,35358

then

2015-01-12 05:27:27.097 | ++ local volume_group_name=stack-volumes
2015-01-12 05:27:27.097 | ++ [[ -z '' ]]
2015-01-12 05:27:27.097 | ++ volume_group_name+=-lvmdriver-1
2015-01-12 05:27:27.097 | ++ echo stack-volumes-lvmdriver-1
2015-01-12 05:27:27.098 | + local volume_group_name=stack-volumes-lvmdriver-1
2015-01-12 05:27:27.098 | + _create_cinder_volume_group stack-volumes-lvmdriver-1 /opt/stack/data/stack-volumes-lvmdriver-1-backing-file
2015-01-12 05:27:27.098 | + local vg_name=stack-volumes-lvmdriver-1
2015-01-12 05:27:27.098 | + local backing_file=/opt/stack/data/stack-volumes-lvmdriver-1-backing-file
2015-01-12 05:27:27.098 | + sudo vgs stack-volumes-lvmdriver-1
2015-01-12 05:27:27.168 | Volume group "stack-volumes-lvmdriver-1" not found
2015-01-12 05:27:27.168 | Skipping volume group stack-volumes-lvmdriver-1
2015-01-12 05:27:27.169 | + '[' -z '' ']'
2015-01-12 05:27:27.169 | + [[ -f /opt/stack/data/stack-volumes-lvmdriver-1-backing-file ]]
2015-01-12 05:27:27.169 | + truncate -s 10250M /opt/stack/data/stack-volumes-lvmdriver-1-backing-file
2015-01-12 05:27:27.172 | ++ sudo losetup -f --show /opt/stack/data/stack-volumes-lvmdriver-1-backing-file
2015-01-12 05:27:27.197 | losetup: Could not find any loop device. Maybe this kernel does not know
2015-01-12 05:27:27.197 | about the loop device? (If so, recompile or modprobe loop'.) 2015-01-12 05:27:27.197 | + local vg_dev= 2015-01-12 05:27:27.198 | + sudo vgs stack-volumes-lvmdriver-1 2015-01-12 05:27:27.222 | Volume group "stack-volumes-lvmdriver-1" not found 2015-01-12 05:27:27.222 | Skipping volume group stack-volumes-lvmdriver-1 2015-01-12 05:27:27.223 | + sudo vgcreate stack-volumes-lvmdriver-1 2015-01-12 05:27:27.246 | Please enter a physical volume path 2015-01-12 05:27:27.246 | Runvgcreate --help' for more information.
2015-01-12 05:27:27.247 | + exit_trap
2015-01-12 05:27:27.247 | + local r=3
2015-01-12 05:27:27.248 | ++ jobs -p
2015-01-12 05:27:27.248 | + jobs=
2015-01-12 05:27:27.248 | + [[ -n '' ]]
2015-01-12 05:27:27.248 | + kill_spinner
2015-01-12 05:27:27.248 | + '[' '!' -z '' ']'
2015-01-12 05:27:27.248 | + [[ 3 -ne 0 ]]
2015-01-12 05:27:27.248 | + echo 'Error on exit'

Devstack fails at volume create.

@kbaegis
Copy link

kbaegis commented Jul 3, 2016

+1. Same issue, a full year and a half later. :/

@ewindisch
Copy link
Owner

@kbaegis I'm not actively developing fixes for this repo, but happy to merge pull requests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants