[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-10-08 Thread Scott Moser
I've marked this verification done for Juerg, per an email on the subject.
Juerg originally reported, and works on the team at HP where this bug was found.

As the problem was/is well understood and the fix both accepted upstream
boto and minimally invasive, hopefully this report can be accepted as
'verification-done'.


** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-10-08 Thread Launchpad Bug Tracker
This bug was fixed in the package python-boto - 2.3.0-1ubuntu0.13.04.1

---
python-boto (2.3.0-1ubuntu0.13.04.1) raring; urgency=low

  * Fix failures when there are spaces in a resource name. (LP: #962046)
 -- Chris J Arges chris.j.ar...@canonical.com   Fri, 08 Feb 2013 09:50:51 
-0600

** Changed in: python-boto (Ubuntu Raring)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-10-08 Thread Launchpad Bug Tracker
This bug was fixed in the package python-boto - 2.3.0-1ubuntu0.12.10.1

---
python-boto (2.3.0-1ubuntu0.12.10.1) quantal; urgency=low

  * Fix failures when there are spaces in a resource name. (LP: #962046)
 -- Chris J Arges chris.j.ar...@canonical.com   Fri, 08 Feb 2013 09:50:51 
-0600

** Changed in: python-boto (Ubuntu Quantal)
   Status: Fix Committed = Fix Released

** Changed in: python-boto (Ubuntu Precise)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-10-08 Thread Launchpad Bug Tracker
This bug was fixed in the package python-boto - 2.2.2-0ubuntu3

---
python-boto (2.2.2-0ubuntu3) precise; urgency=low

  * Fix failures when there are spaces in a resource name. (LP: #962046)
 -- Chris J Arges chris.j.ar...@canonical.com   Fri, 08 Feb 2013 09:23:57 
-0600

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-27 Thread Brian Murray
Hello Juerg, or anyone else affected,

Accepted python-boto into raring-proposed. The package will build now
and be available at http://launchpad.net/ubuntu/+source/python-
boto/2.3.0-1ubuntu0.13.04.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: python-boto (Ubuntu Raring)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-27 Thread Brian Murray
Hello Juerg, or anyone else affected,

Accepted python-boto into quantal-proposed. The package will build now
and be available at http://launchpad.net/ubuntu/+source/python-
boto/2.3.0-1ubuntu0.12.10.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: python-boto (Ubuntu Quantal)
   Status: In Progress = Fix Committed

** Changed in: python-boto (Ubuntu Precise)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-27 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-branches/ubuntu/precise/python-boto
/precise-proposed

** Branch linked: lp:~ubuntu-branches/ubuntu/quantal/python-boto
/quantal-proposed

** Branch linked: lp:~ubuntu-branches/ubuntu/raring/python-boto/raring-
proposed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-24 Thread Martin Pitt
This was uploaded and is sitting in the SRU review queues, unsubscribing
sponsors.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-20 Thread Edward Hope-Morley
** Patch added: fix-lp962046-python-boto-raring.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/python-boto/+bug/962046/+attachment/3707953/+files/fix-lp962046-python-boto-raring.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-20 Thread Edward Hope-Morley
updated SRU testcase and added debdiff for Raring

** Description changed:

  [Impact]
  
  Example when using a key name 'my key':
  
  Caught exception reading instance data:
  http://169.254.169.254/2009-04-04/meta-data/mpi/my key
  
  Is a boto issue, see https://github.com/boto/boto/issues/659
  
+ Patches provided for Precise, Quantal and Raring. Fix already exists in
+ Saucy.
  
  [Test Case]
  
+ There are two ways to test this. The first provides that the change will 
affect
+ the url in the required manner but does not test the package. The second will
+ test the package but needs to be run within an Openstack instance against an
+ API that has calls with spaces on their name.
+ 
+ 
+ #!/usr/bin/env python
+ import urllib
+ 
+ resource = http://169.254.169.254/2009-04-04/meta-data/i love spaces
+ print unsafe: %s % resource
+ 
+ resource = urllib.quote(resource, safe=/:)
+ print safe: %s % resource
+ 
+ ===
  #!/usr/bin/env python
  from boto import utils
  utils.get_instance_metadata()
  
+ 
  [Regression Potential]
-  This is a very low risk change. It has been tested on Precise. A quantal 
patch is also provided.
+  This is a very low risk change. It has been tested on Precise. A quantal 
patch is also provided.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-20 Thread Iain Lane
** Also affects: python-boto (Ubuntu Raring)
   Importance: Undecided
   Status: New

** Changed in: python-boto (Ubuntu Raring)
   Status: New = In Progress

** Changed in: python-boto (Ubuntu Raring)
 Assignee: (unassigned) = Chris J Arges (arges)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-20 Thread Iain Lane
** Changed in: python-boto (Ubuntu)
   Status: Triaged = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-20 Thread Edward Hope-Morley
** Description changed:

  [Impact]
  
  Example when using a key name 'my key':
  
  Caught exception reading instance data:
  http://169.254.169.254/2009-04-04/meta-data/mpi/my key
  
  Is a boto issue, see https://github.com/boto/boto/issues/659
  
  Patches provided for Precise, Quantal and Raring. Fix already exists in
  Saucy.
  
  [Test Case]
  
  There are two ways to test this. The first provides that the change will 
affect
  the url in the required manner but does not test the package. The second will
  test the package but needs to be run within an Openstack instance against an
  API that has calls with spaces on their name.
  
  
  #!/usr/bin/env python
  import urllib
  
  resource = http://169.254.169.254/2009-04-04/meta-data/i love spaces
  print unsafe: %s % resource
  
  resource = urllib.quote(resource, safe=/:)
  print safe: %s % resource
  
  ===
  #!/usr/bin/env python
  from boto import utils
  utils.get_instance_metadata()
  
+ [Regression Potential]
  
- [Regression Potential]
-  This is a very low risk change. It has been tested on Precise. A quantal 
patch is also provided.
+ This is a very low risk change which makes any non-alphnumeric
+ characters in a meta api call name safe for urlib. It is unlikely that
+ an api call name would have anything other than alphanumeric chars,
+ whitespace and perhaps '_' but even if they did they would be safe here
+ so there is no know regression potential.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-20 Thread Adam Stokes
** Description changed:

  [Impact]
  
  Example when using a key name 'my key':
  
  Caught exception reading instance data:
  http://169.254.169.254/2009-04-04/meta-data/mpi/my key
  
  Is a boto issue, see https://github.com/boto/boto/issues/659
  
  Patches provided for Precise, Quantal and Raring. Fix already exists in
  Saucy.
  
  [Test Case]
  
  There are two ways to test this. The first provides that the change will 
affect
  the url in the required manner but does not test the package. The second will
  test the package but needs to be run within an Openstack instance against an
  API that has calls with spaces on their name.
  
  
  #!/usr/bin/env python
  import urllib
  
  resource = http://169.254.169.254/2009-04-04/meta-data/i love spaces
  print unsafe: %s % resource
  
  resource = urllib.quote(resource, safe=/:)
  print safe: %s % resource
  
  ===
  #!/usr/bin/env python
  from boto import utils
  utils.get_instance_metadata()
  
  [Regression Potential]
  
  This is a very low risk change which makes any non-alphnumeric
  characters in a meta api call name safe for urlib. It is unlikely that
  an api call name would have anything other than alphanumeric chars,
  whitespace and perhaps '_' but even if they did they would be safe here
- so there is no know regression potential.
+ so there is no known regression potential.

** Changed in: python-boto (Ubuntu Raring)
   Importance: Undecided = Medium

** Changed in: python-boto (Ubuntu Precise)
 Assignee: Chris J Arges (arges) = Edward Hope-Morley (hopem)

** Changed in: python-boto (Ubuntu Quantal)
 Assignee: Chris J Arges (arges) = Edward Hope-Morley (hopem)

** Changed in: python-boto (Ubuntu Raring)
 Assignee: Chris J Arges (arges) = Edward Hope-Morley (hopem)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-12 Thread Adam Stokes
** Description changed:

+ [Impact]
+ 
  Example when using a key name 'my key':
  
  Caught exception reading instance data:
  http://169.254.169.254/2009-04-04/meta-data/mpi/my key
  
  Is a boto issue, see https://github.com/boto/boto/issues/659
+ 
+ 
+ [Test Case]
+ 
+ #!/usr/bin/env python
+ from boto import utils
+ utils.get_instance_metadata()
+ 
+ [Regression Potential]
+  This is a very low risk change. It has been tested on Precise. A quantal 
patch is also provided.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-07 Thread Edward Hope-Morley
** Patch added: fix-lp962046-python-boto-quantal.debdiff
   
https://bugs.launchpad.net/cloud-init/+bug/962046/+attachment/3697238/+files/fix-lp962046-python-boto-quantal.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-07 Thread Edward Hope-Morley
** Patch added: fix-lp962046-python-boto-precise.debdiff
   
https://bugs.launchpad.net/cloud-init/+bug/962046/+attachment/3697237/+files/fix-lp962046-python-boto-precise.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-07 Thread Edward Hope-Morley
#wosru

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-06-07 Thread Edward Hope-Morley
[Impact]

 This is a very low risk change. It has been tested on Precise. A
quantal patch is also provided.

[Test Case]

#!/usr/bin/env python
from boto import utils
utils.get_instance_metadata()

[Regression Potential]

 * not likely.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-05-13 Thread Juerg Haefliger
Sorry this took so long. Finally found the time to test the 12.04
package and it works. Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-02-21 Thread Chris J Arges
Here are some packages with the backported fix:
http://people.canonical.com/~arges/lp962046/

Please test and verify if this works.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2013-02-08 Thread Chris J Arges
** Also affects: python-boto (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: python-boto (Ubuntu Quantal)
   Importance: Undecided
   Status: New

** Changed in: python-boto (Ubuntu Precise)
 Assignee: (unassigned) = Chris J Arges (arges)

** Changed in: python-boto (Ubuntu Quantal)
 Assignee: (unassigned) = Chris J Arges (arges)

** Changed in: python-boto (Ubuntu Precise)
   Importance: Undecided = Medium

** Changed in: python-boto (Ubuntu Quantal)
   Importance: Undecided = Medium

** Changed in: python-boto (Ubuntu Precise)
   Status: New = In Progress

** Changed in: python-boto (Ubuntu Quantal)
   Status: New = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-07-10 Thread Scott Moser
Marking 'invalid' on cloud-init, because it will be appropriately fixed
in boto.


** Changed in: cloud-init
   Status: Triaged = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-07-10 Thread Scott Moser
This is fixed in upstream boto at 
https://github.com/boto/boto/commit/fa10336d5db5f6c0f4e953fce21bd3c53234c8f5
So any release of boto after 2012-06-15 should have it.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-06-07 Thread Juerg Haefliger
Hmm... On the hp cloud I get:

ubuntu@juergh-8419-5531:~$ curl 169.254.169.254/2009-04-04/meta-data
local-ipv4
reservation-id
local-hostname
placement/
ami-launch-index
public-hostname
mpi/
hostname
ami-id
public-keys/
instance-action
public-ipv4
block-device-mapping/
ami-manifest-path
security-groups
instance-type
instance-id

We 'fixed' the issue by not allowing spaces in key names anymore.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-06-07 Thread Juerg Haefliger
mpi/ was present in diablo but removed subsequently:

commit 8ecdc44690ced882205112e017f79dc98cd6aaca
Author: Jesse Andrews anotherje...@gmail.com
Date:   Tue Mar 6 20:49:16 2012 -0800

remove undocumented, unused mpi 'extension' to ec2 metadata

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-06-04 Thread Juerg Haefliger
What does the MD look like on EC2? Curious, can you send a dump? Yes it
seems to be a problem with the nova MD service in that it's different
from EC2 but I still think boto should be able to handle special
characters in MD URLs or is there an EC2 spec that this will never
happen with EC2?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-06-04 Thread Scott Moser
Hm..  Its interesting.  digging further, I don't understand how this
caused a problem on nova.  It seems (either by design or happenstance)
that the general behavior of the metadata service handles this issue,
and boto is designed to read the metadata service as it is implemented.

I actually verified functional 'boto.utils.get_instance_metadata' on
both nova and ec2 with a key named my brickies (nova folsom as
packaged in Ubuntu).  The output of the commands below was identical.

Example:
$ wget http://169.254.169.254/2009-04-04/meta-data/public-keys -O - -q; echo
0=my brickies
$ wget http://169.254.169.254/2009-04-04/meta-data/public-keys/0/ -O - -q; echo
openssh-key
$ wget http://169.254.169.254/2009-04-04/meta-data/public-keys/0/openssh-key -O 
- -q;
ssh-rsa 
B3NzaC1yc2EBIwAAAQEA3I7VUf2l5gSn5uavROsc5HRDpZdQueUq5ozemNSj8T7enqKHOEaFoU2VoPgGEWC9RyzSQVeyD6s7APMcE82EtmW4skVEgEGSbDc1pvxzxtchBj78hJP6Cf5TCMFSXw+Fz5rF1dR23QDbN1mkHs7adr8GW4kSWqU7Q7NDwfIrJJtO7Hi42GyXtvEONHbiRPOe8stqUly7MvUoN+5kfjBM8Qqpfl2+FNhTYWpMfYdPUnE7u536WqzFmsaqJctz3gBxH9Ex7dFtrxR4qiqEr9Qtlu3xGn7Bw07/+i1D+ey3ONkZLN+LQ714cgj8fRS4Hj29SCmXp5Kt5/82cD/VN3NtHw==
 my brickies

So, the public-keys (also in nova) is special cased, and you do not ever
refer to the key name when crawling.  So the space shouldn't actually be
used.

I agree the general suggestion, though, that boto should not be doing
requests with unencoded urls.


** Attachment added: typescript of some other info 'get_instance_metadata'
   
https://bugs.launchpad.net/cloud-init/+bug/962046/+attachment/3174877/+files/typescript

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-06-04 Thread Scott Moser
I'm also still confused at the initial report, you have mpi.  On the nova I'm 
looking at:
$ wget http://169.254.169.254/2009-04-04/ -O - -q ; echo
meta-data/
user-data
$ wget http://169.254.169.254/2009-04-04/meta-data/ -O - -q; echo
reservation-id
public-keys/
security-groups
public-ipv4
ami-manifest-path
instance-type
instance-id
local-ipv4
local-hostname
placement/
ami-launch-index
public-hostname
hostname
ami-id
instance-action
block-device-mapping/

$ wget http://169.254.169.254/2009-04-04/meta-data/mpi -O -
--2012-06-04 13:41:23--  http://169.254.169.254/2009-04-04/meta-data/mpi
Connecting to 169.254.169.254:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-06-04 13:41:23 ERROR 404: Not Found.

Attemping to import a 'my brickies' keypair name via either web ui or command 
line client on HP cloud gives:
$ nova  keypair-add my brickies --pub_key ~/.ssh/id_rsa-smo...@brickies.pub 
ERROR: Invalid keypair name (HTTP 400)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-06-01 Thread Juerg Haefliger
nova boot --flavor FLAVOR_ID --image IMAGE_ID --key_name 'my key'
INSTANCE_NAME

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-06-01 Thread Scott Moser
Ah.
I didn't realize that this was when the metadata service was coming from nova.
So, then arguably this is a bug in the metadata service on nova, as I could not 
reproduce against the MD on EC2.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-05-30 Thread Scott Moser
Could you give an example of how you start an instance such that 
'/meta-data/mpi/my key' exists?
I just tried this with a keypair (euca-import-keypair --public-key-file my.pub 
my key, and then run instance with '--key my key'), and that worked fine 
(thi sis actually because of the way that public-keys are displayed and handled 
specially in the MD).

Anyway, can you explain how you did this so I can reproduce?


** Changed in: cloud-init
   Status: New = Triaged

** Changed in: python-boto (Ubuntu)
   Status: New = Triaged

** Changed in: cloud-init
   Importance: Undecided = Low

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-04-02 Thread Dave Walker
** Changed in: python-boto (Ubuntu)
   Importance: Undecided = Low

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 962046] Re: EC2 metadata retrieval fails with spaces in a resource name

2012-03-24 Thread Scott Moser
** Also affects: python-boto (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-boto in Ubuntu.
https://bugs.launchpad.net/bugs/962046

Title:
  EC2 metadata retrieval fails with spaces in a resource name

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/962046/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs