ansible / awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Other
14.11k stars 3.43k forks source link

Collection 24.3.1 displays warning claiming 0.0.1-devel #15172

Open MallocArray opened 6 months ago

MallocArray commented 6 months ago

Please confirm the following

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

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

TheRealHaoLiu commented 6 months ago

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

ansible-galaxy collection install -f awx.awx

and retry

MallocArray commented 6 months ago

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