[Pulp-list] pulpcore 3.12.2 is Generally Available - upgrade error

Matthias Dellweg mdellweg at redhat.com
Thu May 6 10:04:07 UTC 2021


I think it needs to be "ansible-galaxy collection install --force
pulp.pulp_installer". There is no upgrade subcommand.
See also
https://docs.ansible.com/ansible/devel/user_guide/collections_using.html#installing-collections

Best of luck!
  Matthias

On Thu, May 6, 2021 at 1:52 AM Ben Stanley <ben.stanley at gmail.com> wrote:

>
> Matthias,
>
> I tried --force, but I couldn't get it to work.
>
> [root at 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 at 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 at 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 <ben.stanley at gmail.com> wrote:
>
>> Hello Tanya,
>>
>> I tried to upgrade my pulp.pulp_installer, but I got an error:
>>
>> [root at 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 at 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/
>> [1] https://docs.pulpproject.org/pulpcore/en/3.12.2/changes.html#id1
>> [2] https://galaxy.ansible.com/pulp/pulp_installer
>> [3]
>> https://pulp-installer.readthedocs.io/en/latest/CHANGES/#3122-2021-04-30
>>
>> _______________________________________________
>> Pulp-list mailing listPulp-list at redhat.comhttps://listman.redhat.com/mailman/listinfo/pulp-list
>>
>> _______________________________________________
>> Pulp-list mailing list
>> Pulp-list at redhat.com
>> https://listman.redhat.com/mailman/listinfo/pulp-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20210506/e6cdfbd0/attachment.htm>


More information about the Pulp-list mailing list