Project

Profile

Help

Issue #6696

open

pulp_installer fails to run "Collect static content" task when pulp_source_dir is set

Added by ironfroggy over 2 years ago. Updated 11 months ago.

Status:
ASSIGNED
Priority:
Normal
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Sprint 112
Quarter:

Description

Either needs to be a documented incompatibility and issue an error, or needs to run the correct steps when galaxy_ng is installed and the UI must be part of the installation.

This is not a problem for most uses but will be an issue if we need to test unreleased changes in pulpcore for QA purposes.

Working:

- hosts: all
  vars:
    pulp_settings:
      secret_key: secret
      content_origin: "http://{{ ansible_fqdn }}"
    pulp_default_admin_password: password
    pulp_install_plugins:
      pulp-ansible: {}
      galaxy-ng: {}
      pulp-container: {}
  roles:
    - pulp-database
    - pulp-workers
    - pulp-resource-manager
    - pulp-webserver
    - pulp-content
  environment:
    DJANGO_SETTINGS_MODULE: pulpcore.app.settings

Not Working:

- hosts: all
  vars:
    pulp_settings:
      secret_key: secret
      content_origin: "http://{{ ansible_fqdn }}"
    pulp_default_admin_password: password
    pulp_install_plugins:
      pulp-ansible: {}
      galaxy-ng: {}
      pulp-container: {}
    pulp_source_dir: "git+https://github.com/pulp/pulpcore.git@3.3.0#egg=pulpcore"
  roles:
    - pulp-database
    - pulp-workers
    - pulp-resource-manager
    - pulp-webserver
    - pulp-content
  environment:
    DJANGO_SETTINGS_MODULE: pulpcore.app.settings

Related issues

Related to Pulp - Task #6547: pulp_installer: Add variables for molecule prepare.yml to clone the branchesCLOSED - CURRENTRELEASErochacbruno

Actions
Actions #1

Updated by fao89 over 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 72
Actions #2

Updated by bmbouter over 2 years ago

  • Category set to Installer - Moved to GitHub issues
  • Tags deleted (Pulp 3 installer)
Actions #3

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 72 to Sprint 73
Actions #4

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 73 to Sprint 74
Actions #5

Updated by dkliban@redhat.com over 2 years ago

  • Status changed from NEW to CLOSED - WORKSFORME

This problem occurs when the user/group owner of the directory that contains the git source code does not match the 'pulp_user' or 'pulp_group'. This permissions mismatch causes the installer to not behave as expected.

It seems to me that your use case will most likely be alleviated by this issue: https://pulp.plan.io/issues/6903

Actions #6

Updated by dkliban@redhat.com about 2 years ago

  • Status changed from CLOSED - WORKSFORME to NEW
  • Triaged changed from Yes to No

I am reopening because the issue only occurs when the source code is specified using a git URL. My previous comment only makes sense for installations where the path is a directory on the local filesystem.

I suspect that in these cases the installer should not install the package in editable mode.

https://github.com/pulp/pulp_installer/blob/master/roles/pulp_common/tasks/install_pip.yml#L228

Actions #7

Updated by mdepaulo@redhat.com about 2 years ago

What I suggest we do instead is to have a separate variable under pulp_install_plugins, and for pulpcore, like "vcs_url" / "pulp_vcs_url" . If defined, the plugin / pulpcore will be cloned to the "source_dir" / "pulp_source_dir", then installed.

This is mentioned as an implementation here: https://pulp.plan.io/issues/6547

In the meantime, we document/accept this as a limitation.

Actions #8

Updated by mdepaulo@redhat.com about 2 years ago

  • Related to Task #6547: pulp_installer: Add variables for molecule prepare.yml to clone the branches added
Actions #9

Updated by mdepaulo@redhat.com about 2 years ago

  • Assignee set to mdepaulo@redhat.com
  • Triaged changed from No to Yes
  • Sprint changed from Sprint 74 to Sprint 84
  • Tags Documentation added
Actions #10

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 84 to Sprint 85
Actions #11

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 85 to Sprint 86
Actions #12

Updated by rchan almost 2 years ago

  • Sprint changed from Sprint 86 to Sprint 87
Actions #13

Updated by rchan almost 2 years ago

  • Sprint changed from Sprint 87 to Sprint 88
Actions #14

Updated by rchan almost 2 years ago

  • Sprint changed from Sprint 88 to Sprint 89
Actions #15

Updated by rchan almost 2 years ago

  • Sprint changed from Sprint 89 to Sprint 90
Actions #16

Updated by rchan almost 2 years ago

  • Sprint changed from Sprint 90 to Sprint 91
Actions #17

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 91 to Sprint 92
Actions #18

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 92 to Sprint 93
Actions #19

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 93 to Sprint 94
Actions #20

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 94 to Sprint 95
Actions #21

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 95 to Sprint 96
Actions #22

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 96 to Sprint 97
Actions #23

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 97 to Sprint 98
Actions #24

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 98 to Sprint 99
Actions #25

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 99 to Sprint 100
Actions #26

Updated by lmjachky over 1 year ago

  • Status changed from NEW to ASSIGNED
Actions #27

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 100 to Sprint 101
Actions #28

Updated by ipanova@redhat.com over 1 year ago

  • Sprint changed from Sprint 101 to Sprint 102
Actions #29

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 102 to Sprint 103
Actions #30

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 103 to Sprint 104
Actions #31

Updated by rchan about 1 year ago

  • Sprint changed from Sprint 104 to Sprint 105
Actions #32

Updated by rchan about 1 year ago

  • Sprint changed from Sprint 105 to Sprint 106
Actions #33

Updated by rchan about 1 year ago

  • Sprint changed from Sprint 106 to Sprint 107
Actions #34

Updated by rchan about 1 year ago

  • Sprint changed from Sprint 107 to Sprint 108
Actions #35

Updated by rchan about 1 year ago

  • Sprint changed from Sprint 108 to Sprint 109
Actions #36

Updated by rchan about 1 year ago

  • Sprint changed from Sprint 109 to Sprint 110
Actions #37

Updated by rchan 12 months ago

  • Sprint changed from Sprint 110 to Sprint 111
Actions #38

Updated by rchan 11 months ago

  • Sprint changed from Sprint 111 to Sprint 112

Also available in: Atom PDF