<div dir="ltr">Documentation is still proposing to remove pulp-server package. I suppose it should be fixed :)</div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-05 23:15 GMT+03:00 Jeff Ortel <span dir="ltr"><<a href="mailto:jortel@redhat.com" target="_blank">jortel@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
<br>
<br>
</span><span class="">On 04/05/2016 02:40 PM, Konstantin M. Khankin wrote:<br>
> On pulp-server:<br>
><br>
</span>> [root@nms pulp]# LANG=C ls -l total 16 -rw-r-----. 1 root   apache 1021 *Mar 24* 23:47 ca.crt -rw-r-----.<br>
> 1 root   apache 1675 *Mar 24* 23:47 ca.key drwxr-xr-x. 2 apache apache   33 Mar 15 08:32 content<br>
> -rw-r-----. 1 root   apache 1675 *Mar 24* 23:47 rsa.key -rw-r--r--. 1 root   apache  451 *Mar 24* 23:47<br>
<span class="">> rsa_pub.key<br>
><br>
> [root@nms pulp]# grep pulp /var/log/yum.log Mar 24 23:45:53 Erased:<br>
> pulp-puppet-plugins-2.7.1-1.el7.noarch Mar 24 23:45:54 Erased: pulp-rpm-plugins-2.7.1-1.el7.noarch Mar 24<br>
> 23:46:13 Erased: pulp-server-2.7.1-1.el7.noarch Mar 24 23:47:00 Updated:<br>
> python-pulp-common-2.8.0-1.el7.noarch Mar 24 23:47:01 Updated: python-pulp-repoauth-2.8.0-1.el7.noarch<br>
> Mar 24 23:47:03 Updated: python-pulp-rpm-common-2.8.0-1.el7.noarch Mar 24 23:47:03 Updated:<br>
> python-pulp-client-lib-2.8.0-1.el7.noarch Mar 24 23:47:04 Updated:<br>
> python-pulp-puppet-common-2.8.0-1.el7.noarch Mar 24 23:47:04 Installed:<br>
> python-pulp-docker-common-2.0.0-1.el7.noarch Mar 24 23:47:05 Updated:<br>
> python-pulp-bindings-2.8.0-1.el7.noarch Mar 24 23:47:06 Updated: pulp-admin-client-2.8.0-1.el7.noarch<br>
</span>> *Mar 24 23:47:14 Installed: pulp-server-2.8.0-1.el7.noarch* Mar 24 23:47:15 Installed:<br>
<span class="">> pulp-docker-plugins-2.0.0-1.el7.noarch Mar 24 23:47:16 Updated:<br>
> pulp-rpm-admin-extensions-2.8.0-1.el7.noarch Mar 24 23:47:17 Updated:<br>
> pulp-puppet-admin-extensions-2.8.0-1.el7.noarch Mar 24 23:47:18 Updated:<br>
> python-pulp-oid_validation-2.8.0-1.el7.noarch Mar 24 23:49:01 Updated: pulp-selinux-2.8.0-1.el7.noarch<br>
> Mar 25 00:01:40 Installed: pulp-rpm-plugins-2.8.0-1.el7.noarch Mar 25 04:31:03 Обновлено:<br>
> python-kombu.noarch 1:3.0.33-4.pulp.el7 Mar 25 04:31:13 Установлено: pulp-docker-admin-extensions.noarch<br>
> 2.0.0-1.el7<br>
><br>
> On pulp-consumer key was not changed since pulp-consumer installation time (June 2015)<br>
><br>
> I think the root cause for this is here -><br>
> <a href="http://pulp.readthedocs.org/en/latest/user-guide/release-notes/2.8.x.html#upgrade-instructions-for-2-7-x-2-8" rel="noreferrer" target="_blank">http://pulp.readthedocs.org/en/latest/user-guide/release-notes/2.8.x.html#upgrade-instructions-for-2-7-x-2-8</a><br>
</span>- -x.<br>
<span class="">><br>
><br>
Removing python-semantic-version package causes removal of pulp-server package. Later on when I reinstalled<br>
> server, certificates were updated as well<br>
<br>
</span>Yikes.  We should be advising users to do:<br>
<br>
$ rpm -e --nodeps python-semantic-version<br>
<br>
instead of using yum/dnf for just this reason when working around this upgrade problem.<br>
<span class=""><br>
><br>
> Discussion thread is here -> <a href="https://www.redhat.com/archives/pulp-list/2016-March/msg00078.html" rel="noreferrer" target="_blank">https://www.redhat.com/archives/pulp-list/2016-March/msg00078.html</a><br>
><br>
><br>
</span>> 2016-04-05 16:32 GMT+03:00 Jeff Ortel <<a href="mailto:jortel@redhat.com">jortel@redhat.com</a> <mailto:<a href="mailto:jortel@redhat.com">jortel@redhat.com</a>>>:<br>
<div><div class="h5">><br>
><br>
><br>
> On 04/04/2016 09:53 AM, Konstantin M. Khankin wrote:<br>
>> Hi Jeff!<br>
><br>
>> [root@drone ~]# pulp-consumer -v history<br>
>> +----------------------------------------------------------------------+ Consumer History [drone]<br>
>> +----------------------------------------------------------------------+<br>
><br>
>> 2016-04-04 19:46:18,164 - ERROR - Client-side exception occurred Traceback (most recent call last):<br>
>> File "/usr/lib/python2.7/site-packages/pulp/client/extensions/core.py", line 474, in run exit_code =<br>
>> Cli.run(self, args) File "/usr/lib/python2.7/site-packages/okaara/cli.py", line 974, in run exit_code<br>
>> = command_or_section.execute(self.prompt, remaining_args) File<br>
>> "/usr/lib/python2.7/site-packages/pulp/client/extensions/extensions.py", line 210, in execute return<br>
>> self.method(*arg_list, **clean_kwargs) File<br>
>> "/usr/lib/python2.7/site-packages/pulp/client/consumer/cli.py", line 367, in history<br>
>> kwargs['start-date'], kwargs['end-date']).response_body File<br>
>> "/usr/lib/python2.7/site-packages/pulp/bindings/consumer.py", line 199, in history return<br>
>> self.server.GET(path, queries) File "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line<br>
>> 92, in GET return self._request('GET', path, queries, ignore_prefix=ignore_prefix) File<br>
>> "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 152, in _request response_code,<br>
>> response_body = self.server_wrapper.request(method, url, body) File<br>
>> "/usr/lib/python2.7/site-packages/pulp/bindings/server.py", line 349, in request raise<br>
>> exceptions.ConnectionException(None, str(err), None) ConnectionException: (None, 'tlsv1 alert decrypt<br>
>> error', None) An error occurred attempting to contact the server. More information may be found using<br>
>> the -v flag.<br>
><br>
>> /etc/pulp/consumer/consumer.conf looks correct (correct server name and verify_ssl: False). Checked on<br>
>> a server - httpd's configs pulp.conf and pulp.conf.rpmsave have no differences in SSL section.<br>
>> .pulp/consumer.log does not contain any recent records<br>
><br>
>> I just think that maybe I need to re-register my consumers... But then again why could it have<br>
>> happened?<br>
><br>
> I wonder if the /etc/pki/pulp/ca.* got updated somehow during the upgrade.  Can you check the date on<br>
> those files?<br>
><br>
><br>
>> 2016-04-04 17:21 GMT+03:00 Jeff Ortel <<a href="mailto:jortel@redhat.com">jortel@redhat.com</a> <mailto:<a href="mailto:jortel@redhat.com">jortel@redhat.com</a>><br>
</div></div>> <mailto:<a href="mailto:jortel@redhat.com">jortel@redhat.com</a> <mailto:<a href="mailto:jortel@redhat.com">jortel@redhat.com</a>>>>:<br>
<span class="">><br>
>> Konstantin,<br>
><br>
>> The agent validates registration by making a REST API call to the server using the consumer<br>
>> certificate. On the consumer, can you try running a pulp-consumer command?<br>
><br>
>> For example:<br>
><br>
>> $ pulp-consumer history<br>
><br>
>> Thanks,<br>
><br>
>> Jeff<br>
><br>
>> On 04/02/2016 04:51 PM, Konstantin M. Khankin wrote:<br>
>>> Hello!<br>
><br>
>>> After 2.7->2.8 upgrade all consumers cannot talk to pulp server - goferd returns the next error on<br>
>>> any operation: [WARNING][MainThread] pulp.agent.gofer.pulpplugin:107 - validate registration failed:<br>
>>> (None, 'tlsv1 alert decrypt error', None)<br>
><br>
>>> I didn't change any keys or configs. Logs also do not help. What could went wrong?<br>
><br>
>>> Thanks!<br>
><br>
>>> -- Konstantin Khankin<br>
><br>
><br>
>>> _______________________________________________ Pulp-list mailing list <a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>
>>> <mailto:<a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a>><br>
</span>>> <mailto:<a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a> <mailto:<a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a>>><br>
<span class="">>>> <a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a><br>
><br>
><br>
><br>
><br>
><br>
>> -- Ханкин Константин<br>
><br>
><br>
><br>
><br>
> -- Ханкин Константин<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2<br>
<br>
</span>iQIcBAEBCAAGBQJXBBzIAAoJEM9lW7UwFwZXFLwP/R/gaQLT80CmEu4XzIvrCCnc<br>
626lxKdYd3qKgyLNJvFrfgY4pFFbcwHCNGx9BhX1skt+gUoQ5yw3JxzIMTuenbma<br>
vL3LLSwiCaszKfEd1Lcl4EBhgcZ56Z4+88AFcj4JOs2tKLYlDsn4Y1vaC0tuKbnr<br>
RFVpjb8QiPi0PJXZwI/kv1PQTwOV8NwE7VOgDqcrkXVEdlYniSs6qG419ajipRdC<br>
QNbFPpRolY23+hztW4wL7PBMbapGF2iWQurAJer4xLX5WuB6Yxfcxr+Aw6uqVdf0<br>
is7teO2yTphVXSBcmaYy2WGdLMl4TA7LGInlveTvHiD3be6uachFESD/s7dwnr14<br>
djqi7Y1093xQF8jzPW0RV2G8ZVxUntVE5onQ89SII08YP32li3S7aUQjt/ii6pes<br>
pprjJAdBGAl29v9cnbYx9NUOI5caasyk1w4I01H7dg6b43tjkm2jM/tJTV+PKgWP<br>
y4PKeS8afaaKdThBLCisQ19mnDQ04voknK1UTDnOSaRSIjY2Mx8iB8BD7iXwVbOx<br>
Q2q6Pqy6t+KsfbQ9YkzDZq/a54O+dYbAZMBDztFvvAvDrqodm6qpnyJX2klolChV<br>
j6MoOp5dmRpmq5nadQ9rtZhEa5LUccF39y97hWMwDQEEUTuON3owZc24yxYQYARj<br>
I+j+OPn3WX81RTD7GFlS<br>
=b1v5<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ханкин Константин<br></div>
</div>