Giter Club home page Giter Club logo

dockstack's Issues

Failure in Step 17/23 - pip installation

Hi,

I tried setting up DockStack but I am facing issues in pip packages installation.
Has anyone faced the same issue ?

Step 17/23 : RUN pip install         --no-cache-dir         --constraint  /opt/stack/requirements/upper-constraints.txt         --requirement /opt/stack/requirements/global-requirements.txt         --requirement /opt/stack/requirements/test-requirements.txt
 ---> Running in 9d64eeef3f28
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Ignoring mypy-extensions: markers 'python_version == "3.4"' don't match your environment
Ignoring mypy-extensions: markers 'python_version == "3.5"' don't match your environment
Ignoring mypy-extensions: markers 'python_version == "3.6"' don't match your environment
Ignoring tornado: markers 'python_version == "3.4"' don't match your environment
Ignoring tornado: markers 'python_version == "3.5"' don't match your environment
Ignoring tornado: markers 'python_version == "3.6"' don't match your environment
Ignoring asyncio: markers 'python_version == "3.4"' don't match your environment
Ignoring asyncio: markers 'python_version == "3.5"' don't match your environment
Ignoring asyncio: markers 'python_version == "3.6"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.6"' don't match your environment
Ignoring mypy: markers 'python_version == "3.4"' don't match your environment
Ignoring mypy: markers 'python_version == "3.5"' don't match your environment
Ignoring mypy: markers 'python_version == "3.6"' don't match your environment
Ignoring jeepney: markers 'python_version == "3.4"' don't match your environment
Ignoring jeepney: markers 'python_version == "3.5"' don't match your environment
Ignoring jeepney: markers 'python_version == "3.6"' don't match your environment
Ignoring SecretStorage: markers 'python_version == "3.4"' don't match your environment
Ignoring SecretStorage: markers 'python_version == "3.5"' don't match your environment
Ignoring SecretStorage: markers 'python_version == "3.6"' don't match your environment
Ignoring more-itertools: markers 'python_version == "3.4"' don't match your environment
Ignoring more-itertools: markers 'python_version == "3.5"' don't match your environment
Ignoring more-itertools: markers 'python_version == "3.6"' don't match your environment
Ignoring Django: markers 'python_version == "3.4"' don't match your environment
Ignoring Django: markers 'python_version == "3.5"' don't match your environment
Ignoring Django: markers 'python_version == "3.6"' don't match your environment
Ignoring typed-ast: markers 'python_version == "3.4"' don't match your environment
Ignoring typed-ast: markers 'python_version == "3.5"' don't match your environment
Ignoring typed-ast: markers 'python_version == "3.6"' don't match your environment
Ignoring dnspython: markers 'python_version == "3.4"' don't match your environment
Ignoring dnspython: markers 'python_version == "3.5"' don't match your environment
Ignoring dnspython: markers 'python_version == "3.6"' don't match your environment
Ignoring Django: markers 'python_version >= "3.0"' don't match your environment
Ignoring dnspython3: markers 'python_version >= "3.0"' don't match your environment
Ignoring mypy: markers 'python_version >= "3.4"' don't match your environment
Ignoring PyMI: markers 'sys_platform == "win32"' don't match your environment
Ignoring wmi: markers 'sys_platform == "win32"' don't match your environment
Double requirement given: setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0 (from -r /opt/stack/requirements/test-requirements.txt (line 10)) (already in setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0 (from -r /opt/stack/requirements/global-requirements.txt (line 441)), name='setuptools')
The command '/bin/sh -c pip install         --no-cache-dir         --constraint  /opt/stack/requirements/upper-constraints.txt         --requirement /opt/stack/requirements/global-requirements.txt         --requirement /opt/stack/requirements/test-requirements.txt' returned a non-zero code: 1
Makefile:28: recipe for target 'build' failed
make: *** [build] Error 1
root@manik-demo:~/docker-work/new-dockstack/DockStack# 

Cannot uninstall 'psutil'

I get below error while trying to spin up the container using make.

Cannot uninstall 'psutil'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
The command '/bin/sh -c pip install         --no-cache-dir         --constraint  /opt/stack/requirements/upper-constraints.txt         --requirement /opt/stack/requirements/global-requirements.txt' returned a non-zero code: 1
Makefile:28: recipe for target 'build' failed
make: *** [build] Error 1

./stack.sh fails to connect to mysql

Hello, I'm new to OpenStack. I've been trying to use Dockstack to learn and test some small deployments. I think is a very cool idea to have a small dev environment in a container on your local machine 👍

I run first make build, which goes smoothly. Then I executed make run. It seems that the ./stack.sh command is failing when trying to connect to the database. I don't understand the ./stack.sh script, so I don't know what is happening. I put the output bellow:

+stack.sh:main:1008                        configure_database
+lib/database:configure_database:128       configure_database_mysql
+lib/databases/mysql:configure_database_mysql:61  local my_conf mysql slow_log
+lib/databases/mysql:configure_database_mysql:62  echo_summary 'Configuring and starting MySQL'
+stack.sh:echo_summary:433                 [[ -t 3 ]]
+stack.sh:echo_summary:433                 [[ True != \T\r\u\e ]]
+stack.sh:echo_summary:439                 echo -e Configuring and starting MySQL
2018-02-09 11:09:20.967 | Configuring and starting MySQL
+lib/databases/mysql:configure_database_mysql:64  is_ubuntu
+functions-common:is_ubuntu:462            [[ -z deb ]]
+functions-common:is_ubuntu:465            '[' deb = deb ']'
+lib/databases/mysql:configure_database_mysql:65  my_conf=/etc/mysql/my.cnf
+lib/databases/mysql:configure_database_mysql:79  is_fedora
+functions-common:is_fedora:435            [[ -z Ubuntu ]]
+functions-common:is_fedora:439            '[' Ubuntu = Fedora ']'
+functions-common:is_fedora:439            '[' Ubuntu = 'Red Hat' ']'
+functions-common:is_fedora:440            '[' Ubuntu = RedHatEnterpriseServer ']'
+functions-common:is_fedora:441            '[' Ubuntu = CentOS ']'
+functions-common:is_fedora:441            '[' Ubuntu = OracleServer ']'
+functions-common:is_fedora:442            '[' Ubuntu = Virtuozzo ']'
+lib/databases/mysql:configure_database_mysql:79  is_suse
+functions-common:is_suse:450              [[ -z Ubuntu ]]
+functions-common:is_suse:454              [[ Ubuntu =~ (openSUSE) ]]
+functions-common:is_suse:454              [[ Ubuntu == \S\U\S\E\ \L\I\N\U\X ]]
+lib/databases/mysql:configure_database_mysql:87  sudo mysqladmin -u root password secret
mysqladmin: connect to server at '127.0.0.1' failed
error: 'Can't connect to MySQL server on '127.0.0.1' (111)'
Check that mysqld is running on 127.0.0.1 and that the port is 3306.
You can check this by doing 'telnet 127.0.0.1 3306'
+lib/databases/mysql:configure_database_mysql:87  true
+lib/databases/mysql:configure_database_mysql:90  sudo mysql -uroot -psecret -h127.0.0.1 -e 'GRANT ALL PRIVILEGES ON *.* TO '\''root'\''@'\''%'\'' identified by '\''secret'\'';'
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
+lib/databases/mysql:configure_database_mysql:1  exit_trap
+stack.sh:exit_trap:510                    local r=1
++stack.sh:exit_trap:511                    jobs -p
+stack.sh:exit_trap:511                    jobs=
+stack.sh:exit_trap:514                    [[ -n '' ]]
+stack.sh:exit_trap:520                    '[' -f /tmp/tmp.oZEVMePGQz ']'
+stack.sh:exit_trap:521                    rm /tmp/tmp.oZEVMePGQz
+stack.sh:exit_trap:525                    kill_spinner
+stack.sh:kill_spinner:424                 '[' '!' -z '' ']'
+stack.sh:exit_trap:527                    [[ 1 -ne 0 ]]
+stack.sh:exit_trap:528                    echo 'Error on exit'
Error on exit
+stack.sh:exit_trap:530                    type -p generate-subunit
+stack.sh:exit_trap:531                    generate-subunit 1518173927 634 fail
+stack.sh:exit_trap:533                    [[ -z /opt/stack/logs ]]
+stack.sh:exit_trap:536                    /devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2018-02-09-110921.txt for details
+stack.sh:exit_trap:545                    exit 1
Makefile:40: recipe for target 'run' failed
make: *** [run] Error 1

Thank you very much

Separate Control and Compute Containers

Hello i tried to install openstack into a docker container with your tool/dockerbuild file and that works! But i have one question: what i need to do if i want to create another one more container ONLY for computer (so nova) and add that into the openstack installation (that is into in the first container) ?

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.