Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulp version locking of pulp_installer, pulpcore and pulp-rpm. Working solution for now #432

Merged
merged 4 commits into from
Jul 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions documentation/Configuring_Pulp.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,27 @@ Furthermore the role cannot know when you want to sync a _repo_ with a _remote_

### Manual work following the pulp_server role

For the `pulpcore` version `3.12.2` and `pulp-rpm` version `3.10.0` you need to downgrade the package `productmd` to version `1.32` due to the [known bug](https://pulp.plan.io/issues/8825)

```bash
[root @ reposrv ] # cd /usr/local/lib/pulp/
[root @ reposrv ] # source bin/activate
[root @ reposrv ] # pip install 'productmd==1.32' --force-reinstall
[root @ reposrv ] # shutdown -r now
```
And then check for core and plugin versions

```bash
[ repoadmin @ reposrv ] $ pulp status
...
- component: core
version: 3.12.2
- component: rpm
version: 3.10.0
- component: file
version: 1.7.0
```

The following steps must be performed manually for now:

* Add content (RPMs) to a _repository_ for the ones without _remote_.
Expand Down
2 changes: 1 addition & 1 deletion galaxy-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ collections:
- name: ansible.posix
version: '>=1.2.0'
- name: pulp.pulp_installer
version: '>=3.12.2'
version: '==3.12.2'
- name: pulp.squeezer
version: '>=0.0.8'
...
Expand Down
14 changes: 7 additions & 7 deletions group_vars/hyperchicken_cluster/ip_addresses.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
---
ip_addresses:
hc-repo:
addr: 10.10.1.167
addr: 10.10.1.87
mask: /32
vlan: hc_internal_management
fqdn:
hc-dai:
addr: 10.10.1.86
hc-sai:
addr: 10.10.1.70
mask: /32
vlan: hc_internal_management
fqdn:
desc: Deploy Admin Interface
hc-sai:
addr: 10.10.1.237
desc: Sys Admin Interface
hc-dai:
addr: 10.10.1.75
mask: /32
vlan: hc_internal_management
fqdn:
desc: Sys Admin Interface
desc: Deploy Admin Interface
hc-vcompute01:
addr: 10.10.1.31
mask: /32
Expand Down
4 changes: 3 additions & 1 deletion roles/pulp_server/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pulp_api_host: localhost
pulp_api_port: 24817
pulp_api_baseurl: "http://{{ pulp_api_host }}:{{ pulp_api_port }}"
pulp_default_admin_password: "{{ pulp_api_password }}"
pulpcore_version: "==3.12.2"
pulp_install_plugins:
# galaxy-ng: {}
# pulp-2to3-migration: {}
Expand All @@ -32,7 +33,8 @@ pulp_install_plugins:
# pulp-maven: {}
# pulp-npm: {}
# pulp-python: {}
pulp-rpm: {}
pulp-rpm:
version: "==3.10.0"
pulp_settings:
secret_key: "{{ pulp_secret }}"
content_origin: "{{ pulp_webserver_disable_https | default(false) | ternary('http', 'https') }}://{{ ansible_fqdn }}"
Expand Down