Bug 27620 - Traceback: univention-management-console → IndexError
Traceback: univention-management-console → IndexError
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: System setup
UCS 3.0
All Linux
: P5 minor (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-19 12:26 CEST by Philipp Hahn
Modified: 2018-04-14 13:37 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Troubleshooting
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2012-06-19 12:26:25 CEST
__MSG__:Configure 35univention-management-console-module-setup
__STEP__:23
Configure /usr/lib/univention-install/35univention-management-console-module-setup.inst
Object exists: cn=UMC,cn=univention,dc=eu-west-1,dc=compute,dc=amazonaws,dc=com
Object exists: cn=UMC,cn=policies,dc=eu-west-1,dc=compute,dc=amazonaws,dc=com
Object exists: cn=operations,cn=UMC,cn=univention,dc=eu-west-1,dc=compute,dc=amazonaws,dc=com
Object exists: cn=default-umc-all,cn=UMC,cn=policies,dc=eu-west-1,dc=compute,dc=amazonaws,dc=com
WARNING: cannot append cn=default-umc-all,cn=UMC,cn=policies,dc=eu-west-1,dc=compute,dc=amazonaws,dc=com to univentionPolicyReference, value exists
No modification: cn=Domain Admins,cn=groups,dc=eu-west-1,dc=compute,dc=amazonaws,dc=com
Traceback (most recent call last):
File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 233, in doit
output = univention.admincli.admin.doit(arglist)
File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 1036, in doit
object=univention.admin.modules.lookup(module, co, lo, scope='base', superordinate=superordinate, base=dn, filter=filter, required=1, unique=1)[0]
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 233, in doit
output = univention.admincli.admin.doit(arglist)
File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 1036, in doit
object=univention.admin.modules.lookup(module, co, lo, scope='base', superordinate=superordinate, base=dn, filter=filter, required=1, unique=1)[0]
IndexError: list index out of range
Object created: cn=setup-all,cn=operations,cn=UMC,cn=univention,dc=eu-west-1,dc=compute,dc=amazonaws,dc=com
Object modified: cn=default-umc-all,cn=UMC,cn=policies,dc=eu-west-1,dc=compute,dc=amazonaws,dc=com
Comment 1 Florian Best univentionstaff 2016-10-25 17:37:40 CEST
Code exists in UCS 3.0 but not in UCS 4.2:
 45 # Remove previous operation sets
 46 if [ $JS_LAST_EXECUTED_VERSION -le 2 -a $JS_LAST_EXECUTED_VERSION -gt 0 ]; then
 47 »   # setup-wizard-all is no longer needed as the wizard is shown on an unjoined DC master system
 48 »   udm settings/umc_operationset remove "$@" --dn "cn=setup-wizard-all,cn=operations,cn=UMC,cn=univention,$ldap_base"
 49 fi
 50 if [ $JS_LAST_EXECUTED_VERSION -le 3 -a $JS_LAST_EXECUTED_VERSION -gt 0 ]; then
 51 »   # setup-all needs to grant access for lib/server/*
 52 »   udm settings/umc_operationset remove "$@" --dn "cn=setup-all,cn=operations,cn=UMC,cn=univention,$ldap_base"
 53 fi