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

Setting rhbk_download_url to artifactory is not working. #219

Closed
RHatDev opened this issue May 9, 2024 · 1 comment · Fixed by #220
Closed

Setting rhbk_download_url to artifactory is not working. #219

RHatDev opened this issue May 9, 2024 · 1 comment · Fixed by #220
Labels
enhancement New feature or request

Comments

@RHatDev
Copy link

RHatDev commented May 9, 2024

SUMMARY

Hello, I am trying to deploy rhbk on a VM using rhbk collections. The playbook worked when I downloaded the zip file on the controller node and ran the playbook with rhbk_offline_install: true but now I am trying to download the file from an artifactory by providing rhbk_download_url and it is failing with the following message:

TASK [redhat.rhbk.rhbk : Download rhbk archive] **********************************************************************************************************
skipping: [x.x.x.x]

TASK [redhat.rhbk.rhbk : Retrieve product download using JBoss Network API] ******************************************************************************
fatal: [x.x.x.x -> localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
ISSUE TYPE
  • Bug Report
ANSIBLE VERSION
ansible [core 2.15.10]
  config file = /home/user1/rhbk_deployment/rhbk/ansible.cfg
  configured module search path = ['/home/user1/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.9/site-packages/ansible
  ansible collection location = /home/user1/rhbk_deployment/rhbk/collections:/home/user1/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.9.18 (main, Jan  4 2024, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/usr/bin/python3)
  jinja version = 3.0.3
  libyaml = True
COLLECTION VERSION
redhat.rhbk                    2.2.2  
STEPS TO REPRODUCE
---
- name: Playbook for Keycloak Hosts
  hosts: all
  vars:
   rhbk_download_url: <local_artifactory>
    rhbk_admin_password: "remembertochangeme"
  roles:
    - redhat.rhbk.rhbk
EXPECTED RESULTS

Should be able to download the product from the rhbk_download_url but it is skipping that task

ACTUAL RESULTS
TASK [redhat.rhbk.rhbk : Download rhbk archive] **********************************************************************************************************
skipping: [x.x.x.x]

TASK [redhat.rhbk.rhbk : Retrieve product download using JBoss Network API] ******************************************************************************
fatal: [x.x.x.x -> localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
@guidograzioli
Copy link
Member

Hello, thanks for reporting; the possibility to download from an alternate URL (like it was in redhat.sso) is not implemented in rhbk yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants