Bug 54856 - running system diagnostic throws python error
running system diagnostic throws python error
Status: CLOSED DUPLICATE of bug 54988
Product: UCS
Classification: Unclassified
Component: System setup
UCS 5.0
amd64 Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
https://git.knut.univention.de/univen...
:
Depends on: 54929 48652 54988
Blocks:
  Show dependency treegraph
 
Reported: 2022-06-13 11:33 CEST by Telirand
Modified: 2022-11-04 12:08 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.086
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): bitesize, External feedback, Regression
Max CVSS v3 score:


Attachments
running test diagnostics (138.86 KB, image/jpeg)
2022-06-13 11:36 CEST, Telirand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telirand 2022-06-13 11:33:41 CEST

    
Comment 1 Telirand 2022-06-13 11:36:33 CEST
Created attachment 10958 [details]
running test diagnostics
Comment 2 Telirand 2022-06-13 11:43:08 CEST
ran test diagnostics , it found some issues
clicking on the link threw this error

this was in the log

cat  management-console-module-diagnostic.log

13.06.22 17:29:53.750  MODULE      ( PROCESS ) : Running 63_proof_uniqueMembers
13.06.22 17:29:53.750  MODULE      ( PROCESS ) : This can be checked by running: /usr/share/univention-directory-manager-tools/proof_uniqueMembers -c
13.06.22 17:29:54.524  MODULE      ( PROCESS ) : Output of /usr/share/univention-directory-manager-tools/proof_uniqueMembers:
"\nSTDOUT:\nWarning: No member for DN 'cn=GP-YOYI,cn=Computers,dc=gp01,dc=org,dc=blown-up,dc=com', will be removed\nWarning: No member for DN 'cn=901-HENRYPENG,cn=Computers,dc=gp01,dc=org,dc=blown-up,dc=com', will be removed\nWarning: No member for DN 'cn=gp-yoyi,cn=computers,dc=gp01,dc=org,dc=blown-up,dc=com', will be removed\nWarning: No member for DN 'cn=901-henrypeng,cn=computers,dc=gp01,dc=org,dc=blown-up,dc=com', will be removed\nChecking if users are member of their primary group...\nChecked 476 posixAccounts, fixed 0 issues.\nChecking if group-members exist...\nRemoving member DN 'cn=901-HENRYPENG,cn=Computers,dc=gp01,dc=org,dc=blown-up,dc=com' from 'cn=Windows Hosts,cn=groups,dc=gp01,dc=org,dc=blown-up,dc=com'\nRemoving member DN 'cn=GP-YOYI,cn=Computers,dc=gp01,dc=org,dc=blown-up,dc=com' from 'cn=Windows Hosts,cn=groups,dc=gp01,dc=org,dc=blown-up,dc=com'\nRemoving member DN 'cn=gp-yoyi,cn=computers,dc=gp01,dc=org,dc=blown-up,dc=com' from 'cn=Domain Computers,cn=groups,dc=gp01,dc=org,dc=blown-up,dc=com'\nRemoving member DN 'cn=901-henrypeng,cn=computers,dc=gp01,dc=org,dc=blown-up,dc=com' from 'cn=Domain Computers,cn=groups,dc=gp01,dc=org,dc=blown-up,dc=com'\nChecked 155 posixGroups, fixed 4 issues.\nThere were 4 warning(s)!\n"
13.06.22 17:34:46.810  MODULE      ( PROCESS ) : Running 63_proof_uniqueMembers
13.06.22 17:34:46.810  MODULE      ( PROCESS ) : This can be checked by running: /usr/share/univention-directory-manager-tools/proof_uniqueMembers -c
Comment 3 Arvid Requate univentionstaff 2022-06-13 18:53:11 CEST
Regression from Bug 48652, proposal for fix in URL field.
Comment 4 Telirand 2022-07-27 03:28:28 CEST
This seems to be related to renaming computers.

I have a question outstanding in the forums about "legacy", should it be set or unset, related to DNS records of machines.

which i think partially breaks renaming computers, in that some old records remain.(since the code ends with an error before fully cleaning up the database), even though the rename goes thru.

So when you run a DB check it finds these dangling references and triggers this bug.
The underlying rename bug may still be there.
Comment 5 Florian Best univentionstaff 2022-07-27 08:17:09 CEST

*** This bug has been marked as a duplicate of bug 54988 ***