On August 23, 2019 5:06:33 PM GMT+03:00, Boris Manojlovic <boris(a)steki.net> wrote:
>kernel-default but it is multiple packages that will trigger this
>(same update as in SLE SP1 in which i first noticed this issue with
>this specific changelog entry )
>
>sw:~ # cat /etc/*rele*
>NAME="openSUSE Leap"
>VERSION="15.1 "
>ID="opensuse-leap"
>ID_LIKE="suse opensuse"
>VERSION_ID="15.1"
>PRETTY_NAME="openSUSE Leap 15.1"
>ANSI_COLOR="0;32"
>CPE_NAME="cpe:/o:opensuse:leap:15.1"
>BUG_REPORT_URL="https://bugs.opensuse.org"
>HOME_URL="https://www.opensuse.org/"
>Spacewalk release 4.0 (Smile)
>sw:~ # rpm -q --changelog kernel-default |grep -A 5 -B1
>'reclaimed_journal_buckets'
>* Mon Jul 15 2019 colyli(a)suse.de
>- bcache: add reclaimed_journal_buckets to struct cache_set
> (bsc#1140652).
>- bcache: performance improvement for btree_flush_write()
> (bsc#1140652).
>- bcache: fix race in btree_flush_write() (bsc#1140652).
>- bcache: remove retry_flush_write from struct cache_set
>--
>* Mon Jul 15 2019 colyli(a)suse.de
>- bcache: add reclaimed_journal_buckets to struct cache_set
> (bsc#1140652).
>- bcache: performance improvement for btree_flush_write()
> (bsc#1140652).
>- bcache: fix race in btree_flush_write() (bsc#1140652).
>- bcache: remove retry_flush_write from struct cache_set
>sw:~ #
>
>On Fri, Aug 23, 2019 at 12:46 AM Strahil Nikolov
><hunter86_bg(a)yahoo.com> wrote:
>>
>>
>> On August 21, 2019 12:21:29 PM GMT+03:00, Boris Manojlovic
><boris(a)steki.net> wrote:
>>
>> >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 per changelog entry )
>> >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 :)
>> >
>> >P.P.S.
>> >
>> >Not sure list got it as i still did not confirm my subscription
>before
>> >sending...
>> >
>> >
>> >Is it fixed, as I thought my Uyuni DB 'ended' and redeployed again
>:) ?
>> >
>> >I will need to create all repos again.
>> >
>> >Best Regards,
>> >Strahil Nikolov
>>
>>
>> It's definitely not fixed:
>>
>> 01:39:50 01:39:50 Importing packages to DB:
>Importing packages:
>|--------------------------------------------------| 0.21% 01:41:24
>0.21 % Importing packages:
>|--------------------------------------------------| 0.38% 01:42:40
>duplicate key value violates unique constraint "rhn_pkg_clr_pid_cld_uq"
>DETAIL: Key (package_id, changelog_data_id)=(36047, 35803) already
>exists. 01:42:40 Unexpected error: 01:42:40 Traceback (most recent call
>last): File
>"/usr/lib/python3.6/site-packages/spacewalk/satellite_tools/reposync.py",
>line 568, in sync ret = self.import_packages(plugin, data['id'],
>url, is_non_local_repo) File
>"/usr/lib/python3.6/site-packages/spacewalk/satellite_tools/reposync.py",
>line 1086, in import_packages importer.run() File
>"/usr/lib/python3.6/site-packages/spacewalk/server/importlib/importLib.py",
>line 764, in run self.submit() File
>"/usr/lib/python3.6/site-packages/spacewalk/server/importlib/packageImport.py",
>line 343, in submit transactional=self.transactional) File
>"/usr/lib/python3.6/site-packages/spacewalk/server/importlib/backend.py",
>line 853, in processPackages transactional=transactional) File
>"/usr/lib/python3.6/site-packages/spacewalk/server/importlib/backend.py",
>line 2158, in __processObjectCollection__ return self.__doDML(dml)
>File
>"/usr/lib/python3.6/site-packages/spacewalk/server/importlib/backend.py",
>line 2263, in __doDML self.__doInsert(dml.insert, dml.tables)
>File
>"/usr/lib/python3.6/site-packages/spacewalk/server/importlib/backend.py",
>line 2270, in __doInsert self.__doInsertTable(tname, dict) File
>"/usr/lib/python3.6/site-packages/spacewalk/server/importlib/backend.py",
>line 2285, in __doInsertTable insertObj.query(hash) File
>"/usr/lib/python3.6/site-packages/spacewalk/server/importlib/backendLib.py",
>line 459, in query executeStatement(statement, values, chunksize)
>File
>"/usr/lib/python3.6/site-packages/spacewalk/server/importlib/backendLib.py",
>line 484, in executeStatement count +=
>statement.executemany(**tempdict) File
>"/usr/lib/python3.6/site-packages/spacewalk/server/rhnSQL/sql_base.py",
>line 159, in executemany return
>self._execute_wrapper(self._executemany, *p, **kw) File
>"/usr/lib/python3.6/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py",
>line 298, in _execute_wrapper retval = function(*p, **kw) File
>"/usr/lib/python3.6/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py",
>line 348, in _executemany self._real_cursor.executemany(self.sql,
>all_kwargs) psycopg2.IntegrityError: duplicate key value violates
>unique constraint "rhn_pkg_clr_pid_cld_uq" DETAIL: Key (package_id,
>changelog_data_id)=(36047, 35803) already exists.
>>
>> Does anyone know the names of the offending packages ?
>>
>> 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
Adding uyuni-devel list.
I hope someone in the dev can assist us.
Best Regards,
Strahil Nikolov
--
To unsubscribe, e-mail: uyuni-devel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: uyuni-devel+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-devel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: uyuni-devel+owner(a)opensuse.org
Together with the announcement of Uyuni 4.0.2 we are happy to present our new
website and branding:
https://www.uyuni-project.org/
You can also check the updated documentation as HTML, and with a search engine
working at: https://www.uyuni-project.org/uyuni-docs/uyuni/index-uyuni.html
What's more, you can even contribute to the documentation from there!
We hope you will enjoy it, and we will be happy to receive your feedback and
contributions.
Happy hacking!
--
Julio González Gil
Release Engineer, SUSE Manager and Uyuni
jgonzalez(a)suse.com
Hello everyone,
We are happy to announce the immediate availability of Uyuni 4.0.2, our third Uyuni release!
At https://www.uyuni-project.org/pages/stable-version.html you will find all the resources you need to start working with Uyuni 4.0.2, including the release notes, documentation, requirements and setup instructions.
=====================================
IMPORTANT: If you are migrating from 4.0.1 check the release notes [1], as a special procedure is needed for the server!
=====================================
This is the list of highlights for this release:
- Base system upgrade to openSUSE Leap 15.1
- Salt 2019.2.0
- Prometheus Monitoring
- Content lifecycle management
- Virtualization management for Salt minions
- Updated Documentation Structure
- Improved logging for Salt Remote Command Page
- Support for more Distributions as Clients
- EoL for openSUSE Leap 42.3 clients
- Salt Rate Limiting (Batching)
- Product Information Loaded from SCC
- Image build host with SLES 12 SP4
- Updated backend for communicating with SCC
- XMLRPC API changes
- Support for Ubuntu Clients
- Change behavior on token refresh
- New option to force regeneration of channel metadata
- New products supported
- Package download endpoint override
- Technical preview: Single Sign-On (SSO)
Please check the release notes for full details.
Remember that Uyuni follows a rolling release planning, so there will be no maintenance of 4.0.2, but a new version with bugfixes and most probably new features.
We hope you will enjoy Uyuni 4.0.2 and invite everyone of you to send us your feedback [1] and of course your patches, if you can contribute.
Happy hacking!
[1] https://www.uyuni-project.org/doc/4.0.2/release-notes-uyuni-server.html
[2] https://www.uyuni-project.org/pages/contact.html
--
Julio González Gil
Release Engineer, SUSE Manager and Uyuni
jgonzalez(a)suse.com