Matthias,

I tried --force, but I couldn't get it to work.

[root@honeybee plans]# ansible-galaxy collection upgrade --force pulp.pulp_installer:==3.12.2
usage: ansible-galaxy collection [-h] COLLECTION_ACTION ...
ansible-galaxy collection: error: argument COLLECTION_ACTION: invalid choice: u'upgrade' (choose from 'init', 'build', 'publish', 'install') [root@honeybee plans]# ansible-galaxy collection upgrade pulp.pulp_installer:==3.12.2 --force
usage: ansible-galaxy collection [-h] COLLECTION_ACTION ...
ansible-galaxy collection: error: argument COLLECTION_ACTION: invalid choice: u'upgrade' (choose from 'init', 'build', 'publish', 'install') [root@honeybee plans]# ansible-galaxy collection --force upgrade pulp.pulp_installer:==3.12.2
usage: ansible-galaxy collection [-h] COLLECTION_ACTION ...
ansible-galaxy collection: error: argument COLLECTION_ACTION: invalid choice: u'upgrade' (choose from 'init', 'build', 'publish', 'install')

Any other ideas?

Ben.

On 5/5/21 6:19 pm, Matthias Dellweg wrote:
Hello Ben,
as far as i remember "--force" is needed with the ansible-galaxy command to (re-)install any already installed collection. Even if the collection is available in a newer version.
I'm sorry for the inconvenience.
Matthias

On Wed, May 5, 2021 at 8:10 AM Ben Stanley <[email protected] <mailto:[email protected]>> wrote:

    Hello Tanya,

    I tried to upgrade my pulp.pulp_installer, but I got an error:

    [root@honeybee ]# ansible-galaxy collection install
    pulp.pulp_installer:==3.12.2
    Process install dependency map
    ERROR! Cannot meet requirement pulp.pulp_installer:==3.12.2 as it
    is already installed at version '3.12.0'. Use --force to overwrite
    [root@honeybee ]#

    Sorry I'm no expert on ansible or ansible-galaxy.
    Could you please explain how I can upgrade pulp.pulp_installer?

    Thanks,
    Ben Stanley

    On 4/5/21 4:14 am, Tanya Tereshchenko wrote:
    Pulpcore 3.12.2 is now available [0].
    This release contains a backport which fixes handling of
    repositories with non-sha256 checksums.

    For more details, see the 3.12.2 changelog [1].

    # Installation and Upgrade

    Users should use the 3.12.2 release of pulp_installer [2] to
    install or upgrade their installations.
    This version of the installer will check compatibility of all
    installed plugins with pulpcore 3.12. The installer will abort if
    any plugin is incompatible.

    The 3.12.2 pulp_installer collection can be installed from
    Ansible Galaxy with the following command:

        ansible-galaxy collection install pulp.pulp_installer:==3.12.2

    For installer fixes included in 3.12.2 release, see its changelog
    [3].

    [0] https://pypi.org/project/pulpcore/3.12.2/
    <https://pypi.org/project/pulpcore/3.12.2/>
    [1]
    https://docs.pulpproject.org/pulpcore/en/3.12.2/changes.html#id1
    <https://docs.pulpproject.org/pulpcore/en/3.12.2/changes.html#id1>
    [2] https://galaxy.ansible.com/pulp/pulp_installer
    <https://galaxy.ansible.com/pulp/pulp_installer>
    [3]
    https://pulp-installer.readthedocs.io/en/latest/CHANGES/#3122-2021-04-30
    <https://pulp-installer.readthedocs.io/en/latest/CHANGES/#3122-2021-04-30>

    _______________________________________________
    Pulp-list mailing list
    [email protected]  <mailto:[email protected]>
    https://listman.redhat.com/mailman/listinfo/pulp-list  
<https://listman.redhat.com/mailman/listinfo/pulp-list>
    _______________________________________________
    Pulp-list mailing list
    [email protected] <mailto:[email protected]>
    https://listman.redhat.com/mailman/listinfo/pulp-list
    <https://listman.redhat.com/mailman/listinfo/pulp-list>

_______________________________________________
Pulp-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/pulp-list

Reply via email to