
- With bionic image based shipyard docker images, uwsgi crashes with segmentation fault, when it tries to load the psycopg2 library, causing the api become unreachable on both shipyard docker images. This happens because psycopg2 2.7.x and uwsgi binary wheels are built with incompatible ssl libraries. This patch upgrades psycopg2 to the latest release to address this issue. - The existing image build script cannot run in a docker or a pod, based pipeline because of two reasons: - The build script runs a docker (docker-in-docker) and mounts a volume. In a dind case, volume bind mounts will not work, because the nested container will need the host file system's path for the source path. - The shipyard service listens to its exposed service port in the nested docker network namespace, which is not reachable from the host pod/container. This patch address both of the above issues. It first creates the container, copies needed config files to the container and then starts it. Also it execs into the nested docker to access the shipyard services in a dind (docker-in-dcoker) case. Change-Id: Ifdfed539babab01608bfaef37001bb79cd3a080d
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
# Copyright 2017 AT&T Intellectual Property. All other rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
pytz==2018.5
|
|
pyOpenSSL==18.0.0
|
|
ndg-httpsclient==0.5.1
|
|
pyasn1==0.4.4
|
|
psycopg2-binary==2.8.4
|
|
docker==3.5.0
|
|
# Airflow is now installed in the Dockerfile directory to allow for
|
|
# overriding where it is sourced from
|
|
python-openstackclient==3.16.1
|
|
kubernetes>=6.0.0
|
|
# Need to lock marshmellow-sqlalchemy and tabulate for compatibility issues
|
|
marshmallow-sqlalchemy==0.18.0
|
|
tabulate==0.8.03
|
|
|
|
# Dependencies for other UCP components
|
|
git+https://opendev.org/airship/deckhand.git@e7ba6828a0a1ca27fae596f6e0ee5a857f28001d#egg=deckhand
|
|
git+https://opendev.org/airship/drydock.git@586bcf8ebed430b4de82edd9a527566ed39704b7#egg=drydock_provisioner&subdirectory=python
|
|
git+https://opendev.org/airship/armada.git@af8a9ffd0873c2fbc915794e235dbd357f2adab1#egg=armada
|