Ask Your Question
0

liberty installation failed

asked 2017-03-21 07:58:41 -0500

alokv gravatar image

updated 2017-03-21 21:33:56 -0500

Failure log:

2017-03-21 09:06:41.830 | setuptools must be installed to install from a source distribution
2017-03-21 09:06:42.030 | You are using pip version 7.1.2, however version 9.0.1 is available.
2017-03-21 09:06:42.031 | You should consider upgrading via the 'pip install --upgrade pip' command.
2017-03-21 09:06:42.048 | + exit_trap
2017-03-21 09:06:42.048 | + local r=1
2017-03-21 09:06:42.049 | ++ jobs -p
2017-03-21 09:06:42.050 | + jobs=
2017-03-21 09:06:42.050 | + [[ -n '' ]]
2017-03-21 09:06:42.050 | + kill_spinner
2017-03-21 09:06:42.050 | + '[' '!' -z '' ']'
2017-03-21 09:06:42.050 | + [[ 1 -ne 0 ]]
2017-03-21 09:06:42.050 | + echo 'Error on exit'
2017-03-21 09:06:42.050 | Error on exit
2017-03-21 09:06:42.050 | + generate-subunit 1490087181 21 fail
2017-03-21 09:06:42.050 | ./stack.sh: line 462: generate-subunit: command not found

Local.conf file

[[local|localrc]]
HOST_IP=x.y.z

DATABASE_PASSWORD=admin
RABBIT_PASSWORD=admin
SERVICE_TOKEN=admin
SERVICE_PASSWORD=admin
ADMIN_PASSWORD=admin
MYSQL_PASSWORD=admin

# Services
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,horizon
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth
ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-metering,tempest
ENABLED_SERVICES+=,g-api,g-reg

# Neutron OVS (vxlan)
Q_PLUGIN=ml2
Q_ML2_TENANT_NETWORK_TYPE=vxlan
Q_ML2_PLUGIN_TYPE_DRIVERS=vxlan
Q_ML2_PLUGIN_VXLAN_TYPE_OPTIONS=(vni_ranges=1001:2000)
Q_AGENT_EXTRA_AGENT_OPTS=(tunnel_types=vxlan vxlan_udp_port=8472)
Q_USE_NAMESPACE=True
Q_USE_SECGROUP=True

# Images
IMAGE_URLS+=",http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img"

# Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs/screen
LOGDAYS=1

RECLONE=no
NEUTRON_CREATE_INITIAL_NETWORKS=True

# Credentials
[[post-config|/etc/neutron/neutron.conf]]
[DEFAULT]
host=stack-virtual-machine
debug=False
verbose=True

[[post-config|/etc/neutron/dhcp_agent.ini]]
[DEFAULT]
debug=True
dhcp_delete_namespaces=True
dhcp_agent_manager=neutron.agent.dhcp_agent.DhcpAgentWithStateReport

[[post-config|/etc/neutron/l3_agent.ini]]
[DEFAULT]
debug=True
verbose=True
use_namespaces=True
l3_agent_manager=neutron.agent.l3_agent.L3NATAgentWithStateReport
interface_driver=neutron.agent.linux.interface.OVSInterfaceDriver
ovs_use_veth=False
root_helper=sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf

[[post-config|/etc/nova/nova.conf]]
[DEFAULT]
Host=stack-virtual-machine
console_host=stack-virtual-machine
edit retag flag offensive close merge delete

Comments

The error message is a consequence of an earlier error. Go up in the log and look for other messages.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-21 21:39:10 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-03-22 03:01:50 -0500

Mohit gravatar image

Try:

pip install --upgrade pip

pip install --upgrade setuptools
edit flag offensive delete link more

Comments

Hi Mohit,

Have you idea about

keystone failure

failure log: sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/local/bin/pip install -c /opt/stack/requirements/upper-constraints.txt -e /opt/stack/keystone

alokv gravatar imagealokv ( 2017-03-22 03:20:05 -0500 )edit
0

answered 2017-03-21 23:54:46 -0500

alokv gravatar image

updated 2017-03-22 03:29:26 -0500

Hi Bernd,

Hope it will help you

Failure log:

2017-03-22 04:50:53.841 | + curl --retry 6 --retry-delay 5 -z /opt/devstack/files/get-pip.py -o /opt/devstack/files/get-pip.py https://bootstrap.pypa.io/get-pip.py
2017-03-22 04:50:53.848 |   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
2017-03-22 04:50:53.848 |                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2017-03-22 04:50:53.905 | + touch /opt/devstack/files/get-pip.py.downloaded
2017-03-22 04:50:53.909 | + sudo -H -E python /opt/devstack/files/get-pip.py -c /opt/devstack/tools/cap-pip.txt
2017-03-22 04:50:55.128 | /tmp/tmpOsj5sb/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
2017-03-22 04:50:55.128 | /tmp/tmpOsj5sb/pip.zip/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.io/en/latest/security.html#insecureplatformwarning.
2017-03-22 04:50:55.213 | Requirement already up-to-date: pip<8 in /usr/local/lib/python2.7/dist-packages (from -c /opt/devstack/tools/cap-pip.txt (line 1))
2017-03-22 04:50:55.551 | Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages
2017-03-22 04:50:55.573 | Collecting appdirs>=1.4.0 (from setuptools)
2017-03-22 04:50:55.582 |   Using cached appdirs-1.4.3-py2.py3-none-any.whl
2017-03-22 04:50:55.588 | Collecting packaging>=16.8 (from setuptools)
2017-03-22 04:50:55.613 |   Using cached packaging-16.8-py2.py3-none-any.whl
2017-03-22 04:50:55.643 | Requirement already up-to-date: six>=1.6.0 in /usr/local/lib/python2.7/dist-packages (from setuptools)
2017-03-22 04:50:55.727 | Requirement already up-to-date: pyparsing in /usr/local/lib/python2.7/dist-packages (from packaging>=16.8->setuptools)
2017-03-22 04:50:55.727 | Installing collected packages: appdirs, packaging
2017-03-22 04:50:55.727 |   Found existing installation: appdirs 1.4.0
2017-03-22 04:50:55.730 |     Uninstalling appdirs-1.4.0:
2017-03-22 04:50:55.732 |       Successfully uninstalled appdirs-1.4.0
2017-03-22 04:50:55.740 |   Found existing installation: packaging 15.3
2017-03-22 04:50:55.743 |     Uninstalling packaging-15.3:
2017-03-22 04:50:55.744 |       Successfully uninstalled packaging-15.3
2017-03-22 04:50:55.781 | Successfully installed appdirs-1.4.3 packaging-16.8
2017-03-22 04:50:55.837 | You are using pip version 7.1.2, however version 9.0.1 is available.
2017-03-22 04:50:55.837 | You should consider upgrading via the 'pip install --upgrade pip' command.
2017-03-22 04:50 ...
(more)
edit flag offensive delete link more

Comments

I don't see any errors in this text. Perhaps further above? I don't know whether the messages about TLS/SSL are relevant.

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-22 03:33:23 -0500 )edit

By the way, to format log file output so that it's readable to humans, use the "preformatted text" button with the "101010".

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-22 03:34:19 -0500 )edit

I wonder if the messages about pip and setuptools indicate that you did NOT install DevStack on a fresh operating system. The documentation says: "Start with a clean and minimal install of a Linux system".

Bernd Bausch gravatar imageBernd Bausch ( 2017-03-22 04:15:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-03-21 07:58:41 -0500

Seen: 180 times

Last updated: Mar 22 '17