Hi list,
reason why all of you had issues with updates from opensuse 15.1 is
kernel update that originated from suse sources (or someone made
exactly SAME kind of mistake)
in source code (database code) you will find your mentioned unique
index creation code
```
CREATE UNIQUE INDEX rhn_pkg_clr_pid_cld_uq
ON rhnPackageChangeLogRec (package_id, changelog_data_id)
NOLOGGING
TABLESPACE [[32m_tbs]];
```
so what happens in other part of code is next
get changelog data from rpm, insert it into db line by line (all text
as one row)
some other stuff in between
try adding rpm package changelog info into table as bellow (arbitrary
values 10 and 3 just to show point)
```
info into packagechangelogrec ( pkg_id=10 , chg_id=3 ,...);
info into packagechangelogrec ( pkg_id=10 , chg_id=3 ,...); <- second
one fails with unique index problerm
`
insert will of course fail with given error (from log file pasted) as
package has exactly same changelog entries.
hope this helps someone in future to debug this kind of error
P.S.
sorry for not responding to thread as is, simply was not subscribed before :)
--
To unsubscribe, e-mail: uyuni-users+unsubscribe(a)opensuse.org
To contact the owner, e-mail: uyuni-users+owner(a)opensuse.org
Should I do this differently?
uyuni:~ # /usr/bin/python3 -u /usr/bin/spacewalk-repo-sync --channel
opensuse_leap15_1-uyuni-client-x86_64 --type yum --non-interactive
09:22:44 ======================================
09:22:44 | Channel: opensuse_leap15_1-uyuni-client-x86_64
09:22:44 ======================================
09:22:44 Sync of channel started.
Retrieving repository 'opensuse_leap15_1-uyuni-client-x86_64' metadata
...........................................[done]
Building repository 'opensuse_leap15_1-uyuni-client-x86_64' cache
................................................[done]
All repositories have been refreshed.
09:22:48 Repo URL: https://download.opensuse.org/repositories/systemsm
anagement:/Uyuni:/Stable:/openSUSE_Leap_15-Uyuni-Client-
Tools/openSUSE_Leap_15.0/
09:22:48 Packages in repo: 123
09:22:49 Packages already synced: 118
09:22:49 Packages to sync: 5
09:22:49 New packages to download: 5
09:22:49 Downloading packages:
09:22:49 Downloading total 5 files from 1 queues.
09:22:51 ERROR: Download failed: https://download.opensuse.org/reposit
ories/systemsmanagement:/Uyuni:/Stable:/openSUSE_Leap_15-Uyuni-Client-
Tools/openSUSE_Leap_15.0/noarch/hwdata-0.314-lp150.3.1.noarch.rpm -
Target file isn't valid. Checksum should be
9efe07771dca0e0a2c4a258eba4af7c172ef200ed5b06f811cae7663716980d7
(sha256)..
09:22:51 1/5 : hwdata-0.314-lp150.3.1.noarch.rpm (failed)
09:22:52 ERROR: Download failed: https://download.opensuse.org/reposit
ories/systemsmanagement:/Uyuni:/Stable:/openSUSE_Leap_15-Uyuni-Client-
Tools/openSUSE_Leap_15.0/noarch/zypp-plugin-python-0.6.2-
lp150.2.1.noarch.rpm - Target file isn't valid. Checksum should be
e713e07a5d980f49da0224348e9d5c65414feb3d8257eb7f8e43e32493081f68
(sha256)..
09:22:52 2/5 : zypp-plugin-python-0.6.2-lp150.2.1.noarch.rpm
(failed)
09:22:52 ERROR: Download failed: https://download.opensuse.org/reposit
ories/systemsmanagement:/Uyuni:/Stable:/openSUSE_Leap_15-Uyuni-Client-
Tools/openSUSE_Leap_15.0/noarch/python3-zypp-plugin-0.6.2-
lp150.2.1.noarch.rpm - Target file isn't valid. Checksum should be
dff89cb791181e1651885ff4983ffa1f3a39889fb2a74c803a2abe3b9f698449
(sha256)..
09:22:52 3/5 : python3-zypp-plugin-0.6.2-lp150.2.1.noarch.rpm
(failed)
09:22:52 ERROR: Download failed: https://download.opensuse.org/reposit
ories/systemsmanagement:/Uyuni:/Stable:/openSUSE_Leap_15-Uyuni-Client-
Tools/openSUSE_Leap_15.0/noarch/python2-hwdata-2.3.5-
lp150.2.1.noarch.rpm - Target file isn't valid. Checksum should be
3f5e8bba771b469abeb1155d48fa22953f6bd0afc45d5443a5f2ffbeadfcd76a
(sha256)..
09:22:52 4/5 : python2-hwdata-2.3.5-lp150.2.1.noarch.rpm (failed)
09:22:52 ERROR: Download failed: https://download.opensuse.org/reposit
ories/systemsmanagement:/Uyuni:/Stable:/openSUSE_Leap_15-Uyuni-Client-
Tools/openSUSE_Leap_15.0/noarch/python3-hwdata-2.3.5-
lp150.2.1.noarch.rpm - Target file isn't valid. Checksum should be
ec6088beeca617a4c43497683e87b890080724cd545720b22b7cc69b8484b23d
(sha256)..
09:22:52 5/5 : python3-hwdata-2.3.5-lp150.2.1.noarch.rpm (failed)
09:22:53
09:22:53 Importing packages to DB:
09:22:53 (50, 'checksums did not match
9efe07771dca0e0a2c4a258eba4af7c172ef200ed5b06f811cae7663716980d7 vs
3c128ae7f24082c6961e17c445b1d7b3bdd6dde43225b290a9197c5657650ecd',
'Invalid information uploaded to the server')
Importing packages: |##########------------------
----------------------| 20.0% 09:22:53 (50, 'checksums did not match
3f5e8bba771b469abeb1155d48fa22953f6bd0afc45d5443a5f2ffbeadfcd76a vs
b0869bfea041ebae80f00d7aba2b50fb06e7169ae83d8b5b6c396f0786b76498',
'Invalid information uploaded to the server')
Importing packages: |####################--------
----------------------| 40.0% 09:22:53 (50, 'checksums did not match
ec6088beeca617a4c43497683e87b890080724cd545720b22b7cc69b8484b23d vs
0725f19eff9105cfad0604aa22abe1fbcbf879f66e1898da5ece15ec0acccb31',
'Invalid information uploaded to the server')
Importing
packages: |##############################--------------------|
60.0% 09:22:53 (50, 'checksums did not match
dff89cb791181e1651885ff4983ffa1f3a39889fb2a74c803a2abe3b9f698449 vs
ab2757422568071daa04b735ef9b05ad0066ed52b8b4848ec0b2999a412e6a03',
'Invalid information uploaded to the server')
Importing
packages: |########################################----------|
80.0% 09:22:53 (50, 'checksums did not match
e713e07a5d980f49da0224348e9d5c65414feb3d8257eb7f8e43e32493081f68 vs
ec3b1d39297966d6e972b449f02a161ebc1b93f794e3bfde16d53cb63e9ea234',
'Invalid information uploaded to the server')
Importing
packages: |##################################################|
100.0%
09:22:53
09:22:53 Patches in repo: 0.
09:22:53 Total time: 0:00:08
--
To unsubscribe, e-mail: uyuni-users+unsubscribe(a)opensuse.org
To contact the owner, e-mail: uyuni-users+owner(a)opensuse.org
Hello All,
Can someone rebuild the reference guide for Uyuni 4.0.2 ,as there is a difference between the PDF and the HTML ?
I have described the issue in :
https://github.com/uyuni-project/uyuni-docs/issues/6
Best Regards,
Strahil Nikolov
--
To unsubscribe, e-mail: uyuni-users+unsubscribe(a)opensuse.org
To contact the owner, e-mail: uyuni-users+owner(a)opensuse.org
Hello All,
I just want to say a big "THANK YOU!" for your efforts. I really like the project and I will try to "contribute" as much as possible (although some people might think I'm just complaining).
P.S.: As the SUMA is not being recommended to be migrated in-place, I've decided to just go with a fresh install.
Thanks again and keep up the good work!
Best Regards,
Strahil Nikolov
--
To unsubscribe, e-mail: uyuni-users+unsubscribe(a)opensuse.org
To contact the owner, e-mail: uyuni-users+owner(a)opensuse.org
Hello,
First of all, I love you work. It helped me very much in last months.
I have Uyuni server on Opensuse 15.0 which used devel repos until
Opensuse 15.1 switch.
I look over documentation andnot found how to upgrade OS and Uyuni
whitout loose minion settings (or readd to the master).
What you suggest to do:
a) Clean install and reattach minions to the new master?
b) backup salt master config files, postgresql database, and restore on
new machine, after ?
c) Upgrade OS and Uyuni whithout any changes?
Thank you in advance for any replay.
--
Cristian Gherman
--
To unsubscribe, e-mail: uyuni-users+unsubscribe(a)opensuse.org
To contact the owner, e-mail: uyuni-users+owner(a)opensuse.org