Problem/Motivation

The code in OpenStackService::getTagName() parses the Name tag using the old convention.

For example:

      ["Tags"]=>
      array(2) {
        [0]=>
        string(55) "created_by_uid__di_openstack_regionone__b85098564701__1"
        [1]=>
        string(19) "Name__suzuki-test-2"
      }

In the updated convention, the Name tag is stored like this

      ["Tags"]=>
      array(2) {
        [0]=>
        string(51) "drupal-openstack.2b16ec6ef106d11805555d08624e2f47.1"
        [1]=>
        string(12) "Name.Baldwin"
      }

Update OpenStackService::getTagName() to parse using the "." instead of "__"

Issue fork cloud-3324864

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

baldwinlouie created an issue. See original summary.

baldwinlouie’s picture

Status: Active » Needs review

@yas, here is the patch that fixes the issue with Floating IP names.

yas’s picture

Status: Needs review » Reviewed & tested by the community

@baldwinlouie

Thank you for fixing the issue. It looks good to me. I'll merge the patch to 4.x and 5.x, and close this issue as Fixed.

  • yas committed e31413f on 5.x authored by baldwinlouie
    Issue #3324864 by baldwinlouie, yas: Fix tag parsing for `Name tag` in...

  • yas committed c048113 on 4.x
    Issue #3324864 by baldwinlouie, yas: Fix tag parsing for `Name tag` in...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.