Compute UC python and Ubuntu upgrade.
This Patchset updated Ubuntu to Bionic and Python from 2.0 to 3.0. Change-Id: Ife0b2041c6c5c8935eb11d9157f39a217b130ae1
This commit is contained in:
parent
c8afd0480b
commit
9c2038cb59
@ -23,10 +23,10 @@ root logger by oslo-rootwrap module, imported in _openstack-utility-rootwrap.tpl
|
||||
These lines will get rid of duplicate logs, generated because of the formatter
|
||||
attached by oslo-rootwrap.
|
||||
*/}}
|
||||
sed -i "/rootwrap_logger.setLevel/s/.*/#&/" /usr/lib/python2.7/dist-packages/oslo_rootwrap/wrapper.py
|
||||
sed -i "/handler.setFormatter/s/.*/#&/" /usr/lib/python2.7/dist-packages/oslo_rootwrap/wrapper.py
|
||||
sed -i "/os.path.basename/s/.*/#&/" /usr/lib/python2.7/dist-packages/oslo_rootwrap/wrapper.py
|
||||
sed -i "/rootwrap_logger.addHandler/s/.*/#&/" /usr/lib/python2.7/dist-packages/oslo_rootwrap/wrapper.py
|
||||
sed -i "/rootwrap_logger.setLevel/s/.*/#&/" /usr/lib/python3/dist-packages/oslo_rootwrap/wrapper.py
|
||||
sed -i "/handler.setFormatter/s/.*/#&/" /usr/lib/python3/dist-packages/oslo_rootwrap/wrapper.py
|
||||
sed -i "/os.path.basename/s/.*/#&/" /usr/lib/python3/dist-packages/oslo_rootwrap/wrapper.py
|
||||
sed -i "/rootwrap_logger.addHandler/s/.*/#&/" /usr/lib/python3/dist-packages/oslo_rootwrap/wrapper.py
|
||||
|
||||
# for readiness probe
|
||||
touch /tmp/done
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python3
|
||||
{{/*
|
||||
Copyright 2019 The Openstack-Helm Authors.
|
||||
|
||||
|
@ -27,7 +27,7 @@ release_uuid: null
|
||||
images:
|
||||
pull_policy: IfNotPresent
|
||||
tags:
|
||||
compute_utility: 'quay.io/airshipit/porthole-compute-utility:latest-ubuntu_xenial'
|
||||
compute_utility: 'quay.io/airshipit/porthole-compute-utility:latest-ubuntu_bionic'
|
||||
image_repo_sync: docker.io/docker:18.09.02
|
||||
local_registry:
|
||||
active: false
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG FROM=docker.io/ubuntu:xenial
|
||||
ARG FROM=docker.io/ubuntu:bionic
|
||||
FROM ${FROM}
|
||||
|
||||
LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc://#airshipit@freenode' \
|
||||
@ -10,6 +10,8 @@ LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc
|
||||
|
||||
ARG KUBE_VERSION=1.12.2
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN set -xe \
|
||||
&& sed -i '/nobody/d' /etc/passwd \
|
||||
&& echo "nobody:x:65534:65534:nobody:/nonexistent:/bin/bash" >> /etc/passwd \
|
||||
@ -23,7 +25,9 @@ RUN set -xe \
|
||||
iperf \
|
||||
jq \
|
||||
moreutils \
|
||||
python-oslo.rootwrap \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-oslo.rootwrap \
|
||||
radosgw \
|
||||
rsyslog \
|
||||
s3cmd \
|
@ -17,7 +17,7 @@
|
||||
parent: &parent airship-porthole-images
|
||||
vars:
|
||||
image_name: &image_name porthole-compute-utility
|
||||
distro_suffix: &distro_suffix ubuntu_xenial
|
||||
distro_suffix: &distro_suffix ubuntu_bionic
|
||||
files:
|
||||
- ^charts/compute-utility/.*$
|
||||
- ^images/compute-utility/.*$
|
||||
|
Loading…
x
Reference in New Issue
Block a user