Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

./stack.sh error for cinder on newton branch

HI All,

I'm seeing this issue related to cinder on the latest stable newton branch(devstack). I'm Using Ubuntu 14.04 LTS OS. Below are the my local.conf file and error related to cinder from the console.

I tried ./unstack.sh; ./clean.sh; ./stack.sh multiple times, even with that I see the same error. Even ./unstack.sh; ./clean.sh; sudo rm -rf /opt/stack/; ./stack.sh dint help. I saw the same below error related to cinder. Somebody please help me how to fix this issue.

local.conf:

[[local|localrc]]

FLOATING_RANGE=172.18.161.0/24

FIXED_RANGE=10.0.0.0/24 FIXED_NETWORK_SIZE=256 ADMIN_PASSWORD=supersecret DATABASE_PASSWORD=iheartdatabases RABBIT_PASSWORD=flopsymopsy SERVICE_PASSWORD=iheartksl disable_service n-net

Enable heat services

enable_service h-eng h-api h-api-cfn h-api-cw

Enable heat plugin

enable_plugin heat https://git.openstack.org/openstack/heat stable/newton

IMAGE_URL_SITE="https://dl.fedoraproject.org" IMAGE_URL_PATH="/pub/archive/fedora/linux/releases/21/Cloud/Images/x86_64/" IMAGE_URL_FILE="Fedora-Cloud-Base-20141203-21.x86_64.qcow2" IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE

enable_service q-svc q-agt q-dhcp q-l3 q-meta neutron PUBLIC_INTERFACE=eth1 NETWORK_GATEWAY=10.0.0.1 FLAT_INTERFACE=eth1 Q_FLOATING_ALLOCATION_POOL=start=172.24.4.10,end=172.24.4.20 PUBLIC_NETWORK_GATEWAY=172.24.4.1 Q_USE_PROVIDERNET_FOR_PUBLIC=True OVS_PHYSICAL_BRIDGE=br-ex PUBLIC_BRIDGE=br-ex OVS_BRIDGE_MAPPINGS=public:br-ex Q_PLUGIN=ml2

Error:

+functions-common:time_start:2386 [[ -n '' ]] ++functions-common:time_start:2389 date +%s +functions-common:time_start:2389 _TIME_START[$name]=1484151049 +functions-common:git_timed:598 timeout -s SIGINT 0 git clone git://git.openstack.org/openstack/cinder.git /opt/stack/cinder --branch master Cloning into '/opt/stack/cinder'... remote: Counting objects: 119673, done. remote: Compressing objects: 100% (59760/59760), done. remote: Total 119673 (delta 87629), reused 81610 (delta 51312) Receiving objects: 100% (119673/119673), 46.04 MiB | 36.00 KiB/s, done. Resolving deltas: 100% (87629/87629), done. Checking connectivity... done. +functions-common:git_timed:612 time_stop git_timed +functions-common:time_stop:2398 local name +functions-common:time_stop:2399 local end_time +functions-common:time_stop:2400 local elapsed_time +functions-common:time_stop:2401 local total +functions-common:time_stop:2402 local start_time +functions-common:time_stop:2404 name=git_timed +functions-common:time_stop:2405 start_time=1484151049 +functions-common:time_stop:2407 [[ -z 1484151049 ]] ++functions-common:time_stop:2410 date +%s +functions-common:time_stop:2410 end_time=1484153906 +functions-common:time_stop:2411 elapsed_time=2857 +functions-common:time_stop:2412 total=3774 +functions-common:time_stop:2414 _TIME_START[$name]= +functions-common:time_stop:2415 _TIME_TOTAL[$name]=6631 +functions-common:git_clone:565 cd /opt/stack/cinder +functions-common:git_clone:566 git show --oneline +functions-common:git_clone:566 head -1 a7e898b Merge "Revert "Swap volume type for migration started by retype"" +functions-common:git_clone:567 cd /home/stack/suresh/DEVSTACK/stable/newton +lib/cinder:install_cinder:459 setup_develop /opt/stack/cinder +inc/python:setup_develop:324 local project_dir=/opt/stack/cinder +inc/python:setup_develop:325 local extras= +inc/python:setup_develop:326 _setup_package_with_constraints_edit /opt/stack/cinder -e +inc/python:_setup_package_with_constraints_edit:356 local project_dir=/opt/stack/cinder +inc/python:_setup_package_with_constraints_edit:357 local flags=-e +inc/python:_setup_package_with_constraints_edit:358 local extras= ++inc/python:_setup_package_with_constraints_edit:365 cd /opt/stack/cinder ++inc/python:_setup_package_with_constraints_edit:365 pwd +inc/python:_setup_package_with_constraints_edit:365 project_dir=/opt/stack/cinder +inc/python:_setup_package_with_constraints_edit:367 '[' -n /opt/stack/requirements ']' +inc/python:_setup_package_with_constraints_edit:369 local name ++inc/python:_setup_package_with_constraints_edit:370 awk '/^name.=/ {print $3}' /opt/stack/cinder/setup.cfg +inc/python:_setup_package_with_constraints_edit:370 name=cinder +inc/python:_setup_package_with_constraints_edit:372 /opt/stack/requirements/.venv/bin/edit-constraints /opt/stack/requirements/upper-constraints.txt -- cinder '-e file:///opt/stack/cinder#egg=cinder' +inc/python:_setup_package_with_constraints_edit:376 setup_package /opt/stack/cinder -e +inc/python:setup_package:392 local project_dir=/opt/stack/cinder +inc/python:setup_package:393 local flags=-e +inc/python:setup_package:394 local extras= +inc/python:setup_package:398 [[ -n -e ]] +inc/python:setup_package:398 [[ -z '' ]] +inc/python:setup_package:398 [[ ! -e =~ ^-. ]] +inc/python:setup_package:403 [[ ! -z '' ]] +inc/python:setup_package:407 pip_install -e /opt/stack/cinder +inc/python:pip_install:105 local xtrace result ++inc/python:pip_install:106 set +o ++inc/python:pip_install:106 grep xtrace +inc/python:pip_install:106 xtrace='set -o xtrace' +inc/python:pip_install:107 set +o xtrace +inc/python:pip_install:208 sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/local/bin/pip2.7 install -c /opt/stack/requirements/upper-constraints.txt -e /opt/stack/cinder Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment

Obtaining file:///opt/stack/cinder Exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 335, in run wb.build(autobuilding=True) File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 521, in _prepare_file req_to_install.check_if_exists() File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 1036, in check_if_exists self.req.name File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 558, in get_distribution dist = get_provider(dist) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 432, in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 968, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 859, in resolve raise VersionConflict(dist, req).with_context(dependent_req) ContextualVersionConflict: (os-brick 1.7.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('os-brick>=1.8.0'), set(['cinder'])) +inc/python:pip_install:1 exit_trap +./stack.sh:exit_trap:487 local r=2 ++./stack.sh:exit_trap:488 jobs -p +./stack.sh:exit_trap:488 jobs= +./stack.sh:exit_trap:491 [[ -n '' ]] +./stack.sh:exit_trap:497 kill_spinner +./stack.sh:kill_spinner:383 '[' '!' -z '' ']' +./stack.sh:exit_trap:499 [[ 2 -ne 0 ]] +./stack.sh:exit_trap:500 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:501 generate-subunit 1484146928 6983 fail +./stack.sh:exit_trap:502 [[ -z /opt/stack/logs ]] +./stack.sh:exit_trap:505 /home/stack/suresh/DEVSTACK/stable/newton/tools/worlddump.py -d /opt/stack/logs World dumping... see /opt/stack/logs/worlddump-2017-01-11-165831.txt for details +./stack.sh:exit_trap:511 exit 2

./stack.sh error for cinder on newton branch

HI All,

I'm seeing this issue related to cinder on the latest stable newton branch(devstack). I'm Using Ubuntu 14.04 LTS OS. Below are the my local.conf file and error related to cinder from the console.

I tried ./unstack.sh; ./clean.sh; ./stack.sh multiple times, even with that I see the same error. Even ./unstack.sh; ./clean.sh; sudo rm -rf /opt/stack/; ./stack.sh dint help. I saw the same below error related to cinder. Somebody please help me how to fix this issue.

local.conf:

[[local|localrc]]

FLOATING_RANGE=172.18.161.0/24

local.conf:
-----------
[[local|localrc]]
#FLOATING_RANGE=172.18.161.0/24
FIXED_RANGE=10.0.0.0/24
FIXED_NETWORK_SIZE=256
ADMIN_PASSWORD=supersecret
DATABASE_PASSWORD=iheartdatabases
RABBIT_PASSWORD=flopsymopsy
SERVICE_PASSWORD=iheartksl
disable_service n-net

Enable n-net #Enable heat services

services enable_service h-eng h-api h-api-cfn h-api-cw

Enable h-api-cw #Enable heat plugin

plugin enable_plugin heat https://git.openstack.org/openstack/heat stable/newton

stable/newton IMAGE_URL_SITE="https://dl.fedoraproject.org" IMAGE_URL_PATH="/pub/archive/fedora/linux/releases/21/Cloud/Images/x86_64/" IMAGE_URL_FILE="Fedora-Cloud-Base-20141203-21.x86_64.qcow2" IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE

IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE enable_service q-svc q-agt q-dhcp q-l3 q-meta neutron PUBLIC_INTERFACE=eth1 NETWORK_GATEWAY=10.0.0.1 FLAT_INTERFACE=eth1 Q_FLOATING_ALLOCATION_POOL=start=172.24.4.10,end=172.24.4.20 PUBLIC_NETWORK_GATEWAY=172.24.4.1 Q_USE_PROVIDERNET_FOR_PUBLIC=True OVS_PHYSICAL_BRIDGE=br-ex PUBLIC_BRIDGE=br-ex OVS_BRIDGE_MAPPINGS=public:br-ex Q_PLUGIN=ml2Q_PLUGIN=ml2

Error:

Error:

------
+functions-common:time_start:2386          [[ -n '' ]]
++functions-common:time_start:2389          date +%s
+functions-common:time_start:2389          _TIME_START[$name]=1484151049
+functions-common:git_timed:598            timeout -s SIGINT 0 git clone git://git.openstack.org/openstack/cinder.git /opt/stack/cinder --branch master
Cloning into '/opt/stack/cinder'...
remote: Counting objects: 119673, done.
remote: Compressing objects: 100% (59760/59760), done.
remote: Total 119673 (delta 87629), reused 81610 (delta 51312)
Receiving objects: 100% (119673/119673), 46.04 MiB | 36.00 KiB/s, done.
Resolving deltas: 100% (87629/87629), done.
Checking connectivity... done.
+functions-common:git_timed:612            time_stop git_timed
+functions-common:time_stop:2398           local name
+functions-common:time_stop:2399           local end_time
+functions-common:time_stop:2400           local elapsed_time
+functions-common:time_stop:2401           local total
+functions-common:time_stop:2402           local start_time
+functions-common:time_stop:2404           name=git_timed
+functions-common:time_stop:2405           start_time=1484151049
+functions-common:time_stop:2407           [[ -z 1484151049 ]]
++functions-common:time_stop:2410           date +%s
+functions-common:time_stop:2410           end_time=1484153906
+functions-common:time_stop:2411           elapsed_time=2857
+functions-common:time_stop:2412           total=3774
+functions-common:time_stop:2414           _TIME_START[$name]=
+functions-common:time_stop:2415           _TIME_TOTAL[$name]=6631
+functions-common:git_clone:565            cd /opt/stack/cinder
+functions-common:git_clone:566            git show --oneline
+functions-common:git_clone:566            head -1
a7e898b Merge "Revert "Swap volume type for migration started by retype""
+functions-common:git_clone:567            cd /home/stack/suresh/DEVSTACK/stable/newton
+lib/cinder:install_cinder:459             setup_develop /opt/stack/cinder
+inc/python:setup_develop:324              local project_dir=/opt/stack/cinder
+inc/python:setup_develop:325              local extras=
+inc/python:setup_develop:326              _setup_package_with_constraints_edit /opt/stack/cinder -e
+inc/python:_setup_package_with_constraints_edit:356  local project_dir=/opt/stack/cinder
+inc/python:_setup_package_with_constraints_edit:357  local flags=-e
+inc/python:_setup_package_with_constraints_edit:358  local extras=
++inc/python:_setup_package_with_constraints_edit:365  cd /opt/stack/cinder
++inc/python:_setup_package_with_constraints_edit:365  pwd
+inc/python:_setup_package_with_constraints_edit:365  project_dir=/opt/stack/cinder
+inc/python:_setup_package_with_constraints_edit:367  '[' -n /opt/stack/requirements ']'
+inc/python:_setup_package_with_constraints_edit:369  local name
++inc/python:_setup_package_with_constraints_edit:370  awk '/^name.=/ '/^name.*=/ {print $3}' /opt/stack/cinder/setup.cfg
+inc/python:_setup_package_with_constraints_edit:370  name=cinder
+inc/python:_setup_package_with_constraints_edit:372  /opt/stack/requirements/.venv/bin/edit-constraints /opt/stack/requirements/upper-constraints.txt -- cinder '-e file:///opt/stack/cinder#egg=cinder'
+inc/python:_setup_package_with_constraints_edit:376  setup_package /opt/stack/cinder -e
+inc/python:setup_package:392              local project_dir=/opt/stack/cinder
+inc/python:setup_package:393              local flags=-e
+inc/python:setup_package:394              local extras=
+inc/python:setup_package:398              [[ -n -e ]]
+inc/python:setup_package:398              [[ -z '' ]]
+inc/python:setup_package:398              [[ ! -e =~ ^-. ^-.* ]]
+inc/python:setup_package:403              [[ ! -z '' ]]
+inc/python:setup_package:407              pip_install -e /opt/stack/cinder
+inc/python:pip_install:105                local xtrace result
++inc/python:pip_install:106                set +o
++inc/python:pip_install:106                grep xtrace
+inc/python:pip_install:106                xtrace='set -o xtrace'
+inc/python:pip_install:107                set +o xtrace
+inc/python:pip_install:208                sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/local/bin/pip2.7 install -c /opt/stack/requirements/upper-constraints.txt -e /opt/stack/cinder
Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment

environment Obtaining file:///opt/stack/cinder Exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 335, in run wb.build(autobuilding=True) File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 521, in _prepare_file req_to_install.check_if_exists() File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 1036, in check_if_exists self.req.name File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 558, in get_distribution dist = get_provider(dist) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 432, in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 968, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 859, in resolve raise VersionConflict(dist, req).with_context(dependent_req) ContextualVersionConflict: (os-brick 1.7.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('os-brick>=1.8.0'), set(['cinder'])) +inc/python:pip_install:1 exit_trap +./stack.sh:exit_trap:487 local r=2 ++./stack.sh:exit_trap:488 jobs -p +./stack.sh:exit_trap:488 jobs= +./stack.sh:exit_trap:491 [[ -n '' ]] +./stack.sh:exit_trap:497 kill_spinner +./stack.sh:kill_spinner:383 '[' '!' -z '' ']' +./stack.sh:exit_trap:499 [[ 2 -ne 0 ]] +./stack.sh:exit_trap:500 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:501 generate-subunit 1484146928 6983 fail +./stack.sh:exit_trap:502 [[ -z /opt/stack/logs ]] +./stack.sh:exit_trap:505 /home/stack/suresh/DEVSTACK/stable/newton/tools/worlddump.py -d /opt/stack/logs World dumping... see /opt/stack/logs/worlddump-2017-01-11-165831.txt for details +./stack.sh:exit_trap:511 exit 2

2