Trouble upgrading pagure01 to Leap 15.3
Hey all, I'm attempting to do the Leap 15.3 upgrade, and I ran into a few issues: First, there were some weird resolution stuff, which I just said to keep all obsolete packages: Computing distribution upgrade... 7 Problems: Problem: problem with the installed python2-six-1.15.0-lp152.3.1.noarch Problem: problem with the installed python3-requests-2.25.1-lp152.5.1.noarch Problem: problem with the installed python3-salt-3000.3-lp152.12.1.x86_64 Problem: problem with the installed python3-six-1.15.0-lp152.3.1.noarch Problem: problem with the installed python3-urllib3-1.25.9-lp152.2.1.noarch Problem: problem with the installed salt-3000.3-lp152.12.1.x86_64 Problem: problem with the installed salt-minion-3000.3-lp152.12.1.x86_64 After that, it failed to download packages with the following error: Media source 'http://download.infra.opensuse.org/distribution/leap/15.3/repo/oss/' does not contain the desired medium Are there some extra steps I'm missing to fix this? Thanks in advance! -- 真実はいつも一つ!/ Always, there's only one truth!
Hi Neil Am Mon, 11 Oct 2021 10:46:45 -0400 schrieb Neal Gompa <ngompa13@gmail.com>:
First, there were some weird resolution stuff, which I just said to keep all obsolete packages:
Well: in my experience, keeping old stuff is always a setup for (later) problems. Better get the main package upgraded than using old, unmaintained stuff...
Computing distribution upgrade... 7 Problems: Problem: problem with the installed python2-six-1.15.0-lp152.3.1.noarch Problem: problem with the installed python3-requests-2.25.1-lp152.5.1.noarch Problem: problem with the installed python3-salt-3000.3-lp152.12.1.x86_64 Problem: problem with the installed python3-six-1.15.0-lp152.3.1.noarch Problem: problem with the installed python3-urllib3-1.25.9-lp152.2.1.noarch Problem: problem with the installed salt-3000.3-lp152.12.1.x86_64 Problem: problem with the installed salt-minion-3000.3-lp152.12.1.x86_64
Salt shouldn't be a problem. Just replace it with the new one. Using python2-six and otherwise trying to run Python3 only is ... broken.
After that, it failed to download packages with the following error:
Media source 'http://download.infra.opensuse.org/distribution/leap/15.3/repo/oss/' does not contain the desired medium
This sounds broken. But it's hard to tell where it's broken without further information (logs).
Are there some extra steps I'm missing to fix this?
Just port pagure (or pygit2) to fully support python3? :D Sorry, couldn't resist. Regards, Lars
On Mon, Oct 11, 2021 at 11:38 AM Lars Vogdt <lars@linux-schulserver.de> wrote:
Hi Neil
Am Mon, 11 Oct 2021 10:46:45 -0400 schrieb Neal Gompa <ngompa13@gmail.com>:
First, there were some weird resolution stuff, which I just said to keep all obsolete packages:
Well: in my experience, keeping old stuff is always a setup for (later) problems. Better get the main package upgraded than using old, unmaintained stuff...
Computing distribution upgrade... 7 Problems: Problem: problem with the installed python2-six-1.15.0-lp152.3.1.noarch Problem: problem with the installed python3-requests-2.25.1-lp152.5.1.noarch Problem: problem with the installed python3-salt-3000.3-lp152.12.1.x86_64 Problem: problem with the installed python3-six-1.15.0-lp152.3.1.noarch Problem: problem with the installed python3-urllib3-1.25.9-lp152.2.1.noarch Problem: problem with the installed salt-3000.3-lp152.12.1.x86_64 Problem: problem with the installed salt-minion-3000.3-lp152.12.1.x86_64
Salt shouldn't be a problem. Just replace it with the new one. Using python2-six and otherwise trying to run Python3 only is ... broken.
After that, it failed to download packages with the following error:
Media source 'http://download.infra.opensuse.org/distribution/leap/15.3/repo/oss/' does not contain the desired medium
This sounds broken. But it's hard to tell where it's broken without further information (logs).
The logs are basically repeating lines of that. :(
Are there some extra steps I'm missing to fix this?
Just port pagure (or pygit2) to fully support python3? :D Sorry, couldn't resist.
Pagure is already on Python 3. The Python 2 stuff is not my stuff. -- 真実はいつも一つ!/ Always, there's only one truth!
Am Mon, 11 Oct 2021 11:38:55 -0400 schrieb Neal Gompa <ngompa13@gmail.com>:
Pagure is already on Python 3. The Python 2 stuff is not my stuff.
Good to know. In the end, it turned out that it was just vendor migrations (could be auto-accepted by using --allow-vendor-change, but better to check twice with such a low amount of warnings). Finally, I just accepted the 6 vendor migrations from: obs://build.opensuse.org/openSUSE -> SUSE LLC <https://www.suse.com/> and started the dist-upgrade (628 packages). pagure01 is on Leap 15.3 with pagure version 5.13.2. But it looks like it's not soo happy with the new glibc - from /var/log/pagure/error_web.log : Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/gunicorn/arbiter.py", line 578, in spawn_worker worker.init_process() File "/usr/lib/python3.6/site-packages/gunicorn/workers/base.py", line 126, in init_process self.load_wsgi() File "/usr/lib/python3.6/site-packages/gunicorn/workers/base.py", line 135, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 65, in load return self.load_wsgiapp() File "/usr/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/lib/python3.6/site-packages/gunicorn/util.py", line 352, in import_app __import__(module) File "/usr/lib/python3.6/site-packages/pagure/flask_app.py", line 22, in <module> import pygit2 File "/usr/lib64/python3.6/site-packages/pygit2/__init__.py", line 32, in <module> from _pygit2 import * ImportError: /lib64/librt.so.1: symbol __close_nocancel, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference Sorry, I broke it. If you can not find the problem, I will try again tomorrow. Regards, Lars
On Mon, Oct 11, 2021 at 4:13 PM Lars Vogdt <lars@linux-schulserver.de> wrote:
Am Mon, 11 Oct 2021 11:38:55 -0400 schrieb Neal Gompa <ngompa13@gmail.com>:
Pagure is already on Python 3. The Python 2 stuff is not my stuff.
Good to know. In the end, it turned out that it was just vendor migrations (could be auto-accepted by using --allow-vendor-change, but better to check twice with such a low amount of warnings).
Finally, I just accepted the 6 vendor migrations from: obs://build.opensuse.org/openSUSE -> SUSE LLC <https://www.suse.com/> and started the dist-upgrade (628 packages).
pagure01 is on Leap 15.3 with pagure version 5.13.2. But it looks like it's not soo happy with the new glibc - from /var/log/pagure/error_web.log :
Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/gunicorn/arbiter.py", line 578, in spawn_worker worker.init_process() File "/usr/lib/python3.6/site-packages/gunicorn/workers/base.py", line 126, in init_process self.load_wsgi() File "/usr/lib/python3.6/site-packages/gunicorn/workers/base.py", line 135, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 65, in load return self.load_wsgiapp() File "/usr/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/lib/python3.6/site-packages/gunicorn/util.py", line 352, in import_app __import__(module) File "/usr/lib/python3.6/site-packages/pagure/flask_app.py", line 22, in <module> import pygit2 File "/usr/lib64/python3.6/site-packages/pygit2/__init__.py", line 32, in <module> from _pygit2 import * ImportError: /lib64/librt.so.1: symbol __close_nocancel, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
Sorry, I broke it. If you can not find the problem, I will try again tomorrow.
Restarting the pagure services and changing /srv/gitolite directory to "git:nginx" ownership seemed to fix it. Now it's up with openSUSE Leap 15.3. -- 真実はいつも一つ!/ Always, there's only one truth!
Restarting the pagure services and changing /srv/gitolite directory to "git:nginx" ownership seemed to fix it.
Now it's up with openSUSE Leap 15.3.
Perfect. Thanks for the team work! :-) --- JFYI - Now we are at: 1 CentOS Stream 8 1 SUSE Linux Enterprise Server 12 SP5 1 openSUSE Tumbleweed 10 openSUSE Leap 15.2 54 openSUSE Leap 15.3 9 undecided (not reachable) Total 76 Our Monitoring lists 79 hosts and I setup 3 more in Provo (to build the same DB clusters as in Nuremberg). So we still have a slight difference about the total amount of machines. But we are getting closer - and getting more into a "all supported" state. Regards, Lars
participants (2)
-
Lars Vogdt
-
Neal Gompa