Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-7073

Account/User creation: able to create user with the same name in the same domain in Clustered MS setup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 4.5.0
    • Future
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      In the Java code we prohibit user to have duplicated names inside the same domain. But in the DB the constraint is missing in cloud.account/cloud.user table, so it is still possible to violate the rule by initiating the create call from parallel threads issued either by the same MS, or by multiple MS in the clustered MS setup.

      To fix, have to introduce some kind of the global lock, or db constraint preventing multiple threads to insert the record with the same username.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alena1108 Alena Prokharchyk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: