<html><head><title></title></head><body><!-- rte-version 0.2 9947551637294008b77bce25eb683dac --><div class="rte-style-maintainer rte-pre-wrap" data-color="global-default" bbg-color="default" data-bb-font-size="medium"bbg-font-size="medium" style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);">I installed the latest version of component. No more errors when try to sync the repo but the task is in waiting state forever. Any idea what I should check?<div><br></div><div>    "versions": [</div><div>        {</div><div>            "component": "pulpcore", </div><div>            "version": "3.0.0rc3.dev0"</div><div>        }, </div><div>        {</div><div>            "component": "pulpcore-plugin", </div><div>            "version": "0.1.0rc3.dev0"</div><div>        }, </div><div>        {</div><div>            "component": "pulp_rpm", </div><div>            "version": "3.0.0b4.dev0"</div><div>        }</div><div><br><div><br><br><div class="rte-style-maintainer" data-color="global-default"bbg-color="default" data-bb-font-size="medium" bbg-font-size="medium" style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);"><div><div class="bbg-rte-fold-content" data-header="From: dkliban@redhat.com At: 06/18/19 13:42:01" data-digest="From: dkliban@redhat.com At: 06/18/19 13:42:01" style=""><div class="bbg-rte-fold-summary">From: dkliban@redhat.com At: 06/18/19 13:42:01</div>To: <a spellcheck="false" bbg-destination="mailto:bli111@bloomberg.net" href="mailto:bli111@bloomberg.net"> Bin Li (BLOOMBERG/ 120 PARK ) </a><br>Cc: <a spellcheck="false"bbg-destination="mailto:pulp-list@redhat.com" href="mailto:pulp-list@redhat.com"> pulp-list@redhat.com</a><br>Subject: Re: [Pulp-list] create remote to redhat on pulp 3</div><br></div><div class="rte-internet-block-wrapper" style="background: white; color: black; font-family: Arial, "BB.Proportional"; font-size: small; white-space: normal;"><div class="rte-internet-block"><blockquote><div dir="ltr"><div>This issue has now been resolved and a fix is available on master branch of pulpcore-plugin[0]. </div><div><br></div><div><br></div><div>[0] <a spellcheck="false" bbg-destination="rte:bind" class=""href="https://github.com/pulp/pulpcore-plugin/tree/master/"data-destination="rte:bind">https://github.com/pulp/pulpcore-plugin/tree/master/</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 12, 2019 at 1:51 PM Dennis Kliban <<a spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:dkliban@redhat.com" data-destination="mailto:rte:bind">dkliban@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>There is an open issue about this[0]. I recommend clicking the watch button so you get notifications about it. We should be fixing this soon. <br></div><div><br></div><div>[0] <a spellcheck="false" bbg-destination="rte:bind" class=""href="https://pulp.plan.io/issues/4825" data-destination="rte:bind">https://pulp.plan.io/issues/4825</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 12, 2019 at 1:42 PM Bin Li (BLOOMBERG/ 120 PARK) <<a spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:bli111@bloomberg.net" data-destination="mailto:rte:bind">bli111@bloomberg.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_-1423717654734810632gmail-m_-5849831393299595243rte-style-maintainer gmail-m_-1423717654734810632gmail-m_-5849831393299595243rte-pre-wrap"style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"><br><div class="gmail-m_-1423717654734810632gmail-m_-5849831393299595243rte-style-maintainer gmail-m_-1423717654734810632gmail-m_-5849831393299595243rte-pre-wrap"style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";">I was not able to sync a protected repo from redhat. The host running pulp 3 subscribes to redhat directly.<div><br></div><div>I first tried to use the following to create remote:<div>{</div><div>"name": "rhel-x86_64-server-7",</div><div>"url": "<a spellcheck="false" bbg-destination="rte:bind"class="" href="https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os"data-destination="rte:bind">https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os</a>",</div><div>"ssl_ca_certificate": "/etc/rhsm/ca/redhat-uep.pem",</div><div>"ssl_client_certificate": "/etc/pki/consumer/cert.pem",                  </div><div>"ssl_client_key": "/etc/pki/consumer/key.pem",</div><div>"ssl_validation": true,</div><div>"proxy_url": "<a spellcheck="false" bbg-destination="rte:bind"class="" href="http://proxy:80" data-destination="rte:bind">http://proxy:80</a>",</div><div>"download_concurrency": 1,</div><div>"policy": "immediate"</div><div>} </div><div><br></div><div>Remote was created but I got errors "Jun 12 12:51:43 ip-1-76-158-244 rq[19389]: pulp: rq.worker:ERROR: ssl.SSLError: [PEM: NO_START_LINE] no start line (_ssl.c:3626)" when I tried to sync with http POST :24817${REMOTE_HREF}sync/ repository=$REPO_HREF</div><div><br></div><div>Then I tried to converted the pem file to a json format </div><div>{</div><div>"name": "rhel-x86_64-server-7",</div><div>"url": "<a spellcheck="false" bbg-destination="rte:bind"class="" href="https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os"data-destination="rte:bind">https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os</a>",</div><div>"ssl_ca_certificate": "-----BEGIN CERTIFICATE-----\nMIIG/TCCBOWgAwIBAgIBNzANBgkqhkiG9w0BAQUFADCBsTELMAkGA1UEBhMCVVMx\nFzAVBg</div><div>...</div><div>"ssl_client_certificate": "-----BEGIN CERTIFICATE-----\nMIIMojCCCoqgAwIBAgIISqmnKnJ9sEowDQ</div><div>...</div><div>"ssl_client_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIJKQIBAAKCAgEAuujl5HxnIDTSOemZOyH3Jr5xxgrc1rCee</div><div>...</div><div>"ssl_validation": true,</div><div>"proxy_url": "<a spellcheck="false" bbg-destination="rte:bind"class="" href="http://proxy:80" data-destination="rte:bind">http://proxy:80</a>",</div><div>"download_concurrency": 1,</div><div>"policy": "immediate"</div><div>} </div><div><br></div><div>I got this error when I tried to sync repo with the remote:</div><div>Jun 12 12:07:57 ip-1-76-158-244 rq[19389]: ssl.SSLError: [SSL] PEM lib (_ssl.c:3503)</div><div><br></div></div><div><br></div><div>What is the correct json input for creating a remote to redhat? How do I troubleshoot the sync issue? Thanks for your help.</div></div></div></div>_______________________________________________<br>Pulp-list mailing list<br><a spellcheck="false"bbg-destination="mailto:rte:bind" class="" href="mailto:Pulp-list@redhat.com" data-destination="mailto:rte:bind">Pulp-list@redhat.com</a><br><a spellcheck="false"bbg-destination="rte:bind" class="" href="https://www.redhat.com/mailman/listinfo/pulp-list"data-destination="rte:bind">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div></blockquote></div></blockquote><br></div></div></div></div></div></div></body></html>