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

Collection 24.3.1 displays warning claiming 0.0.1-devel #15172

Open
5 of 11 tasks
MallocArray opened this issue May 8, 2024 · 2 comments
Open
5 of 11 tasks

Collection 24.3.1 displays warning claiming 0.0.1-devel #15172

MallocArray opened this issue May 8, 2024 · 2 comments
Labels
community component:awx_collection issues related to the collection for controlling AWX type:bug

Comments

@MallocArray
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to security@ansible.com instead.)

Bug Summary

Similar to #12060 after upgrading to Collection 24.3.0 or 24.3.1, I get a warning when running a task
[WARNING]: You are running collection version 0.0.1-devel but connecting to AWX version 24.1.0

Installed using ansible-galaxy collection install awx.awx --force

AWX version

24.1.0

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

openshift

Modifications

no

Ansible version

2.16.6

Operating system

quay.io/centos/centos:stream9

Web browser

No response

Steps to reproduce

Seeing the message with my first task in a playbook

    - name: Generate Token for Authentication
      awx.awx.token:
        controller_host: "{{ inventory_hostname }}"
        controller_username: "{{ controller_username | default(omit) }}"
        controller_password: "{{ controller_password | default(omit) }}"
        controller_oauthtoken: "{{ controller_oauthtoken | default(omit) }}"
        validate_certs: "{{ validate_certs | default(yes) }}"
        scope: write
        state: present
      register: token_result
      check_mode: false
      tags:
        - always

Expected results

Task completes without warning

Actual results

Warning message is display, but task completes as expected

Additional information

No response

@github-actions github-actions bot added component:awx_collection issues related to the collection for controlling AWX needs_triage type:bug community labels May 8, 2024
@TheRealHaoLiu
Copy link
Member

u get this when installing the collection from devel i think... can you do

ansible-galaxy collection install -f awx.awx

and retry

@MallocArray
Copy link
Author

MallocArray commented May 15, 2024

I did install with ansible-galaxy collection install -f awx.awx originally when I started receiving this message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community component:awx_collection issues related to the collection for controlling AWX type:bug
Projects
None yet
Development

No branches or pull requests

2 participants