Bug 34998 - System setup join raises when system already joined
System setup join raises when system already joined
Status: RESOLVED DUPLICATE of bug 36807
Product: UCS
Classification: Unclassified
Component: System setup
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-x
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-27 15:40 CEST by Dirk Wiesenthal
Modified: 2018-04-14 13:37 CEST (History)
3 users (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): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2014-05-27 15:40:07 CEST
Traceback feedback. I am not sure how this happened. Base system is not an option anymore -> Already joined. Probably two concurrent sessions, one already joined, second tried and raised?

validate() does not catch that case:
  _check('server/role', lambda x: not(orgValues.get('joined')) or (orgValues.get('server/role') == values.get('server/role'))

Either catch it in validate() or proceed in join() (if newrole == oldrole). Catching it seems to be the better way.


 UCS Version: 3.2-1 errata51 (Borgfeld)

Execution of command 'setup/join' has failed:

Exception: Base systems and already joined systems cannot be joined.
    raise Exception( _('Base systems and already joined systems cannot be
joined.') )
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/setup/__init__.py",
line 198, in join
    func( request )
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py",
line 204, in execute
Traceback (most recent call last):

Execution of command 'setup/join' has failed:
Comment 1 Alexander Kläser univentionstaff 2014-05-27 16:29:19 CEST
(In reply to Dirk Wiesenthal from comment #0)
> Traceback feedback. I am not sure how this happened. Base system is not an
> option anymore -> Already joined. Probably two concurrent sessions, one
> already joined, second tried and raised?

Maybe a standard installation as base system and then using system setup?
Comment 2 Florian Best univentionstaff 2014-07-25 11:41:37 CEST
We had also the bug where clicking twice on save was possible while join() runs.
Comment 3 Florian Best univentionstaff 2014-11-24 12:44:25 CET
This can currently easily reproduced:
→ Bug #36807

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