[Pulp-list] pulp-2to3-migration Only one migration plan can run or be reset at a time
Tanya Tereshchenko
ttereshc at redhat.com
Tue May 18 08:28:05 UTC 2021
Adding pulp-list back, missed the reply-all button.
On Tue, May 18, 2021 at 10:27 AM Tanya Tereshchenko <ttereshc at redhat.com>
wrote:
> Hello Ben,
>
> Just to be clear, the reset step is optional. It's only needed if
> something went very wrong and you'd like to start migration of a certain
> plugin from scratch.
> In the majority of cases the reset operation is not needed. Just create a
> plan and run it.
>
> To see tasks in the running state, you can use
> $ pulp task list --state running
>
> To check tasks which are waiting to be picked up, you can use
> $ pulp task list --state waiting
>
> For more options, check
> $ pulp task list --help
>
> To cancel a task, see
> $ pulp task cancel --help
>
> Tanya
>
> On Tue, May 18, 2021 at 4:47 AM Ben Stanley <ben.stanley at gmail.com> wrote:
>
>> Hello pulp-list,
>>
>> I'm trying to migrate my rpm repositories.
>>
>> I have learned that there are 3 steps:
>>
>> 1. Create a migration plan
>> 2. Reset the migration plan
>> 3. Run the migration plan
>>
>> Unfortunately I'm getting an error.
>>
>> [root at honeybee ~]# pulp migration plan create --plan='{"plugins":
>> [{"type": "rpm"}]}'
>> {
>> "pulp_href":
>> "/pulp/api/v3/migration-plans/eeb9ad6e-ef60-4d17-b238-a7bf79e752e1/",
>> "pulp_created": "2021-05-17T07:10:43.299967Z",
>> "plan": {
>> "plugins": [
>> {
>> "type": "rpm"
>> }
>> ]
>> }
>> }
>>
>> [root at honeybee ~]# pulp migration plan reset --href
>> "/pulp/api/v3/migration-plans/eeb9ad6e-ef60-4d17-b238-a7bf79e752e1/"
>> Error: ["Only one migration plan can run or be reset at a time"]
>> [root at honeybee ~]#
>>
>> How can I find out what migration plan is running/resetting and what it's
>> status is? And perhaps also how to kill it?
>>
>> Thanks,
>> Ben Stanley
>>
>>
>> _______________________________________________
>> 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/20210518/ae0e3012/attachment.htm>
More information about the Pulp-list
mailing list