Ask Your Question
0

Failing to build neutron-containers with kolla-build 6.0.1

asked 2018-06-28 10:42:36 -0500

BenvanDamme gravatar image

Hello,

i am trying to build the containers for openstack queens with kolla-build 6.0.1, everything is built fine only the neutron-containers are failing. The neutron-base-container has a few scripterrors in it but completes fine.

   INFO:kolla.common.utils.neutron-base:Installing collected packages: pyasn1, bcrypt, PyNaCl, paramiko, scp, pyserial, textfsm, netmiko, oslo.vmware, networking-baremetal, networking-generic-switch, networking-sfc, neutron-fwaas, neutron-vpnaas, vmware-nsx
INFO:kolla.common.utils.neutron-base:  Running setup.py install for textfsm: started
INFO:kolla.common.utils.neutron-base:    Running setup.py install for textfsm: finished with status 'done'
INFO:kolla.common.utils.neutron-base:  Running setup.py install for netmiko: started
INFO:kolla.common.utils.neutron-base:    Running setup.py install for netmiko: finished with status 'done'
INFO:kolla.common.utils.neutron-base:  Found existing installation: oslo.vmware 2.30.0
INFO:kolla.common.utils.neutron-base:    Uninstalling oslo.vmware-2.30.0:
INFO:kolla.common.utils.neutron-base:      Successfully uninstalled oslo.vmware-2.30.0
INFO:kolla.common.utils.neutron-base:  Running setup.py install for networking-baremetal: started

INFO:kolla.common.utils.neutron-base:    Running setup.py install for networking-baremetal: finished with status 'done'
INFO:kolla.common.utils.neutron-base:  Running setup.py install for networking-generic-switch: started
INFO:kolla.common.utils.neutron-base:    Running setup.py install for networking-generic-switch: finished with status 'done'
INFO:kolla.common.utils.neutron-base:  Running setup.py install for networking-sfc: started
INFO:kolla.common.utils.neutron-base:    Running setup.py install for networking-sfc: finished with status 'done'
INFO:kolla.common.utils.neutron-base:  Running setup.py install for neutron-fwaas: started
INFO:kolla.common.utils.neutron-base:    Running setup.py install for neutron-fwaas: finished with status 'done

'
INFO:kolla.common.utils.neutron-base:  Running setup.py install for neutron-vpnaas: started
INFO:kolla.common.utils.neutron-base:    Running setup.py install for neutron-vpnaas: finished with status 'done'
INFO:kolla.common.utils.neutron-base:  Running setup.py install for vmware-nsx: started
INFO:kolla.common.utils.neutron-base:    Running setup.py install for vmware-nsx: finished with status 'done'
INFO:kolla.common.utils.neutron-base:Successfully installed PyNaCl-1.2.1 bcrypt-3.1.4 netmiko-2.0.1 networking-baremetal-1.0.0 networking-generic-switch-1.0.0 networking-sfc-6.0.0 neutron-fwaas-12.0.0 neutron-vpnaas-12.0.0 oslo.vmware-2.26.0 paramiko-2.4.0 pyasn1-0.4.2 pyserial-3.4 scp-0.10.2 textfsm-0.3.2 vmware-nsx-12.0.1
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: 
INFO:kolla.common.utils.neutron-base:[[: not found
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:
INFO:kolla.common.utils.neutron-base:
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:
INFO:kolla.common.utils.neutron-base:Removing intermediate container c598cb64b6ad

The neutron-server-container fails at this point

    INFO:kolla.common.utils.neutron-server:ESC[91mCould not satisfy constraints for 'neutron-lbaas': installation from path or url cannot be constrained to a version
INFO:kolla.common.utils.neutron-server:ESC[0m
INFO:kolla.common.utils.neutron-server ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-06-29 08:30:22 -0500

BenvanDamme gravatar image

Fixed it through adding the following line to the Dockerfile of neutron-server.

RUN sed -i 's/neutron-lbaas===12.0.0//g' /requirements/upper-constraints.txt

The log says that neutron-lbaas is installed in version 12.0.0 even without it. Next week i will test if the containers are working and report it back.

edit flag offensive delete link more

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

1 follower

Stats

Asked: 2018-06-28 10:42:36 -0500

Seen: 121 times

Last updated: Jun 29 '18