Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
b479d8db
"...kolla-ansible.git" did not exist on "56b2e947a1afae30ef21113717f61e96116aa873"
Commit
b479d8db
authored
9 years ago
by
Jenkins
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Remove unnecessary patch for oslo.log"
parents
1fdae5b9
bed9ed97
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/openstack-base/Dockerfile.j2
+0
-4
0 additions, 4 deletions
docker/openstack-base/Dockerfile.j2
docker/openstack-base/oslo-log-bug1499620.patch
+0
-18
0 additions, 18 deletions
docker/openstack-base/oslo-log-bug1499620.patch
with
0 additions
and
22 deletions
docker/openstack-base/Dockerfile.j2
+
0
−
4
View file @
b479d8db
...
@@ -39,7 +39,6 @@ RUN yum -y install \
...
@@ -39,7 +39,6 @@ RUN yum -y install \
# This will prevent questions from being asked during the install
# This will prevent questions from being asked during the install
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND noninteractive
COPY oslo-log-bug1499620.patch /var/lib/kolla/oslo-log-bug1499620.patch
# There is no python-tuskarclient in ubuntu 14.04
# There is no python-tuskarclient in ubuntu 14.04
RUN apt-get install -y --no-install-recommends \
RUN apt-get install -y --no-install-recommends \
python-barbicanclient \
python-barbicanclient \
...
@@ -65,9 +64,6 @@ RUN apt-get install -y --no-install-recommends \
...
@@ -65,9 +64,6 @@ RUN apt-get install -y --no-install-recommends \
patch \
patch \
&& apt-get clean
&& apt-get clean
# python-oslo-log patch to bug 1499620 (it fixed in python-oslo-log 1.11.1)
RUN patch -d /usr/lib/python2.7/site-packages -p1 < /var/lib/kolla/oslo-log-bug1499620.patch
{% endif %}
{% endif %}
{% elif install_type == 'source' %}
{% elif install_type == 'source' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
...
...
This diff is collapsed.
Click to expand it.
docker/openstack-base/oslo-log-bug1499620.patch
deleted
100644 → 0
+
0
−
18
View file @
1fdae5b9
diff --git a/oslo_log/log.py b/oslo_log/log.py
index 8d8c240..1b19072 100644
--- a/oslo_log/log.py
+++ b/oslo_log/log.py
@@ -285,10 +285,10 @@
def _setup_logging_from_conf(conf, project, version):
facility = _find_facility(conf.syslog_log_facility)
# TODO(bogdando) use the format provided by RFCSysLogHandler after
# existing syslog format deprecation in J
- syslog = handlers.OSSysLogHandler(
+ syslog_handler = handlers.OSSysLogHandler(
facility=facility,
use_syslog_rfc_format=conf.use_syslog_rfc_format)
- log_root.addHandler(syslog)
+ log_root.addHandler(syslog_handler)
datefmt = conf.log_date_format
for handler in log_root.handlers:
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment