Bug #2511

EC2 Tags are not correctly formatted before sending them to EC2

Added by Daniel Molina over 6 years ago. Updated over 5 years ago.

Status:ClosedStart date:11/28/2013
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

100%

Category:Drivers - VM
Target version:Release 4.12.1
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.4

Description

        tags = generate_options(:tags, ec2_info) || {}
        tags['ONE_ID'] = id
        tags.each{ |key,value|
            begin
                instance.add_tag(key, :value => value)
            rescue => e
                STDERR.puts(e.message)
                exit(-1)
            end
        }

The "-t" key should be removed from the tags hash

Associated revisions

Revision 9b5802cc
Added by Daniel Molina over 5 years ago

bug #2511: Fix how tags are generated for the EC2 driver

Revision f1ef44b8
Added by Daniel Molina over 5 years ago

bug #2511: Fix how tags are generated for the EC2 driver

(cherry picked from commit 9b5802cc3affeeeb8de46010f35d6e22bf0ae1ac)

History

#1 Updated by Tino Vázquez over 5 years ago

  • Assignee set to Daniel Molina
  • Target version set to Release 4.12.1

#2 Updated by Daniel Molina over 5 years ago

  • Target version changed from Release 4.12.1 to Release 4.14

#3 Updated by Daniel Molina over 5 years ago

  • Status changed from New to Closed
  • Target version changed from Release 4.14 to Release 4.12.1
  • % Done changed from 0 to 100
  • Resolution set to fixed

Also available in: Atom PDF