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

cannot deploy vm with differing service storage tag and data disk storage tag

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.2.0, 4.3.0, 4.4.0
    • 4.4.0, 4.5.0
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Create two storage pools, one with storage tag X, one with storage tag Y.
      Create a service offering with storage tag X.
      Create a disk offering with storage tag Y.
      Attempt to deploy a virtual machine with a datadisk, using given offerings, it fails.

      Deployment planner keeps a global object 'avoid'. It loops through each volume to be created, asking storage allocators for matching pools, passing this avoid object.

      First disk matches a pool or pools, adds ALL other pools to avoid object, then deployment planner attaches matching pools to a list for that disk.

      Second disk matches a pool, adds all other pools to avoid object, then deployment planner says "wait, matching pool is in avoid, can't use it". Oops. In fact, at this point ALL pools are in avoid (unless there are other pools that have both tags).

      Need to remove matching pool from the avoid set during each select phase.

      Attachments

        Activity

          People

            prachidamle Prachi Damle
            mlsorensen Marcus Sorensen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment