Project

Profile

Help

Issue #5104

Pulp 2 stops working after installing Pulp 3

Added by dkliban@redhat.com over 1 year ago. Updated 12 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 56
Quarter:

Description

After Pulp 3 is installed on the same machine that has Pulp 2 running on it the following message appears in the logs anytime httpd tries to connect to Qpid:

Jul 10 11:48:07 pulp2-nightly-pulp3-source-centos7.localhost.example.com pulp[19490]: gofer.messaging.adapter.connect:INFO: connecting: qpid+tcp://localhost:5672
Jul 10 11:48:07 pulp2-nightly-pulp3-source-centos7.localhost.example.com pulp[19490]: gofer.messaging.adapter.qpid.connection:INFO: open: URL: tcp://localhost|SSL: ca: /etc/pki/qpid/ca/
ca.crt|key: None|certificate: /etc/pki/qpid/client/client.pem|host-validation: False
Jul 10 11:48:07 pulp2-nightly-pulp3-source-centos7.localhost.example.com qpidd[19462]: 2019-07-10 11:48:07 [Security] error Rejected un-encrypted connection.
Jul 10 11:48:07 pulp2-nightly-pulp3-source-centos7.localhost.example.com qpidd[19462]: 2019-07-10 11:48:07 [Protocol] error Connection qpid.[::1]:5672-[::1]:36582 closed by error: conne
ction-forced: Connection must be encrypted.(320)
Jul 10 11:48:07 pulp2-nightly-pulp3-source-centos7.localhost.example.com pulp[19490]: gofer.messaging.adapter.connect:ERROR: connect: qpid+tcp://localhost:5672, failed: connection abort
ed
Jul 10 11:48:07 pulp2-nightly-pulp3-source-centos7.localhost.example.com pulp[19490]: gofer.messaging.adapter.connect:INFO: retry in 10 seconds

Related issues

Related to Migration Plugin - Test #5258: Test - Pulp 2 stops working after installing Pulp 3NEW<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision a8d2b05c View on GitHub
Added by dkliban@redhat.com over 1 year ago

Problem: Pulp 2 stops working after installing Pulp 3

Solution: make use of the 'pulp' group when setting permissions

Pulp 2.20 changed ownership of /var/lib/pulp and /etc/pulp from group 'apache' to group 'pulp'. This change to the installer ensures that the permissions on these directories remain the same after the installer runs on a machine that already has Pulp 2 installed.

This patch introduces 3 new pulp settings called 'pulp_group', 'pulp_group_id', and 'pulp_user_id'. The 'pulp_group' defaults to 'pulp'. The 'pulp_user' is added to the 'pulp_ group' group. The connection is reset after this to support installations where the ssh user being used for ansible is the same as the pulp_user. This allows the user changes to take affect. The defaults for 'pulp_user_id' and 'pulp_group_id' are empty. When specified, the installer will use values to set 'uid' and 'gid' respectively.

closes: #5104 https://pulp.plan.io/issues/5104

Revision a8d2b05c View on GitHub
Added by dkliban@redhat.com over 1 year ago

Problem: Pulp 2 stops working after installing Pulp 3

Solution: make use of the 'pulp' group when setting permissions

Pulp 2.20 changed ownership of /var/lib/pulp and /etc/pulp from group 'apache' to group 'pulp'. This change to the installer ensures that the permissions on these directories remain the same after the installer runs on a machine that already has Pulp 2 installed.

This patch introduces 3 new pulp settings called 'pulp_group', 'pulp_group_id', and 'pulp_user_id'. The 'pulp_group' defaults to 'pulp'. The 'pulp_user' is added to the 'pulp_ group' group. The connection is reset after this to support installations where the ssh user being used for ansible is the same as the pulp_user. This allows the user changes to take affect. The defaults for 'pulp_user_id' and 'pulp_group_id' are empty. When specified, the installer will use values to set 'uid' and 'gid' respectively.

closes: #5104 https://pulp.plan.io/issues/5104

History

#1 Updated by dalley over 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 56

#2 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#3 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from ASSIGNED to POST

#4 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from POST to MODIFIED

#6 Updated by kersom over 1 year ago

  • Related to Test #5258: Test - Pulp 2 stops working after installing Pulp 3 added

#7 Updated by bmbouter 12 months ago

  • Sprint/Milestone set to 3.0.0

#8 Updated by bmbouter 12 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF