<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello pulp-list,</p>
    <p>I am attempting to migrate my pulp2 to pulp3.</p>
    <p>I seem to be facing difficulties at every step.</p>
    <p>After overcoming the initial difficulties of installation, I am
      now up to trying to migrate the data. Looking at the migration
      documentation:</p>
    <p> </p>
    <p><a
href="https://pulp-2to3-migration.readthedocs.io/en/latest/workflows.html">https://pulp-2to3-migration.readthedocs.io/en/latest/workflows.html</a></p>
    <p>I note that the command in the documentation is incorrect:</p>
    <p> </p>
    <p style="margin-bottom: 0cm; line-height: 100%">
      <font face="Liberation Mono, monospace">[root@honeybee plans]# <b>pulp
          --no-verify-ssl --username </b><font face="Liberation Mono,
          monospace"><i><b>USERNAME</b></i></font><b>
          --password </b><font face="Liberation Mono, monospace"><i><b>PASSWORD</b></i></font><b>
          migration plan create plan='{"plugins": [{"type":
          "iso"}]}'</b></font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"><font
        face="Liberation Mono, monospace">Usage:
        pulp migration plan create [OPTIONS]</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"><font
        face="Liberation Mono, monospace">Try
        'pulp migration plan create --help' for help.</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0cm; line-height: 100%"><font
        face="Liberation Mono, monospace"><span style="background:
          #ffff00">Error:
          Missing option '--plan'.</span></font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"><font
        face="Liberation Mono, monospace">[root@honeybee
        plans]# </font>
    </p>
    <p>The documentation should be corrected to use --plan=<stuff>
      instead of plan=<stuff> .<br>
      <br>
    </p>
    <p>
      Even after I corrected the command to use --plan=<stuff>, I
      got a huge error message.</p>
    <p> </p>
    <p style="margin-bottom: 0cm; line-height: 100%">
      root@honeybee plans]# <b>pulp --no-verify-ssl --username </b><i><b>USERNAME</b></i><b>
        --password </b><i><b>PASSWORD</b></i><b> migration plan create
        --plan='{"plugins": [{"type": "iso"}]}'</b></p>
    <p style="margin-bottom: 0cm; line-height: 100%"><font
        face="Liberation Mono, monospace">Traceback
        (most recent call last):</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/cli/common/openapi.py",
        line 219, in parse_response</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">response_spec
        = method_spec["responses"][str(response.status_code)]</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"><font
        face="Liberation Mono, monospace">KeyError:
        '200'</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0cm; line-height: 100%"><font
        face="Liberation Mono, monospace">During
        handling of the above exception, another exception occurred:</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0cm; line-height: 100%"><font
        face="Liberation Mono, monospace">Traceback
        (most recent call last):</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
        "/usr/local/bin/pulp", line 8, in <module></font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">sys.exit(main())</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/core.py",
        line 829, in __call__</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        self.main(*args, **kwargs)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/core.py",
        line 782, in main</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">rv
        = self.invoke(ctx)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/core.py",
        line 1259, in invoke</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        _process_result(sub_ctx.command.invoke(sub_ctx))</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/core.py",
        line 1259, in invoke</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        _process_result(sub_ctx.command.invoke(sub_ctx))</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/core.py",
        line 1259, in invoke</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        _process_result(sub_ctx.command.invoke(sub_ctx))</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/core.py",
        line 1066, in invoke</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        ctx.invoke(self.callback, **ctx.params)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/core.py",
        line 610, in invoke</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        callback(*args, **kwargs)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/decorators.py",
        line 73, in new_func</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        ctx.invoke(f, obj, *args, **kwargs)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/core.py",
        line 610, in invoke</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        callback(*args, **kwargs)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/decorators.py",
        line 73, in new_func</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        ctx.invoke(f, obj, *args, **kwargs)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/click/core.py",
        line 610, in invoke</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        callback(*args, **kwargs)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/cli/common/generic.py",
        line 287, in callback</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">result
        = entity_ctx.create(body=body)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/cli/common/context.py",
        line 364, in create</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">self.CREATE_ID,
        parameters=_parameters, body=body, non_blocking=non_blocking</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/cli/common/context.py",
        line 129, in call</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">result
        = self.api.call(operation_id, *args, **kwargs)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/cli/common/openapi.py",
        line 284, in call</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">return
        self.parse_response(method_spec, response)</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">File
"/usr/local/lib/pulp/lib64/python3.6/site-packages/pulpcore/cli/common/openapi.py",
        line 222, in parse_response</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"> <font
        face="Liberation Mono, monospace">response_spec
        = method_spec["responses"][str(100 *
        int(response.status_code / 100))]</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"><font
        face="Liberation Mono, monospace">KeyError:
        '200'</font></p>
    <p style="margin-bottom: 0cm; line-height: 100%"><font
        face="Liberation Mono, monospace">[root@honeybee
        plans]# </font>
    </p>
    <p><br>
      <br>
    </p>
    <p>What do I need to fix to proceed with my migration?</p>
    <p>And I'd also like to know how I can get it to work without having
      to specify --no-verify-ssl . Note that I have a self-signed
      certificate. I don't mind pointing the pulp command to the
      self-signed certificate file so that it will accept it, but I
      don't know how to do that.<br>
    </p>
    <p>Thanks,<br>
      Ben Stanley.</p>
    <p><br>
    </p>
    <p>
      <style type="text/css">p { margin-bottom: 0.25cm; line-height: 120%; background: transparent }a:link { color: #000080; so-language: zxx; text-decoration: underline }</style></p>
    <p>
      <style type="text/css">p { margin-bottom: 0.25cm; line-height: 120%; background: transparent }a:link { color: #000080; so-language: zxx; text-decoration: underline }</style></p>
    <p>
      <style type="text/css">p { margin-bottom: 0.25cm; line-height: 120%; background: transparent }a:link { color: #000080; so-language: zxx; text-decoration: underline }</style></p>
  </body>
</html>