Go's exponential notation broke api url on hpcloud

Bug #1177450 reported by Patrick Hetu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Go OpenStack Exchange
Invalid
Undecided
Unassigned

Bug Description

The problem is this url:

  https://az-3.region-a.geo-1.compute.hpcloudsvc.com/v1.1/<my_user_id>/servers/1.006285e+06

Error message:

ubuntu@juju-hp-instance-0:~/repos/go$ ./juju bootstrap --upload-tools -v
2013/05/07 16:38:19 JUJU environs/openstack: opening environment "hp2"
2013/05/07 16:38:20 JUJU environs/openstack: bootstrapping environment "hp2"
2013/05/07 16:38:32 JUJU environs: putting tools tools/juju-1.9.12-precise-amd64.tgz (2044kB)
2013/05/07 16:38:33 JUJU environs/openstack: starting machine 0 in "hp2" running tools version "1.9.12-precise-amd64" from "https://region-a.geo-1.objects.hpcloudsvc.com/v1/<my_user_id>/juju-hp2/tools/juju-1.9.12-precise-amd64.tgz"
2013/05/07 16:38:39 JUJU juju bootstrap command failed: cannot start bootstrap instance: cannot get started instance: failed to get details for serverId: 1.006285e+06, caused by: Resource at https://az-3.region-a.geo-1.compute.hpcloudsvc.com/v1.1/<my_user_id>/servers/1.006285e+06 not found, caused by: request (https://az-3.region-a.geo-1.compute.hpcloudsvc.com/v1.1/<my_user_id>/servers/1.006285e+06) returned unexpected status: 404; error info: {"itemNotFound": {"message": "The resource could not be found.", "code": 404}}
error: cannot start bootstrap instance: cannot get started instance: failed to get details for serverId: 1.006285e+06, caused by: Resource at https://az-3.region-a.geo-1.compute.hpcloudsvc.com/v1.1/<my_user_id>/servers/1.006285e+06 not found, caused by: request (https://az-3.region-a.geo-1.compute.hpcloudsvc.com/v1.1/<my_user_id>/servers/1.006285e+06) returned unexpected status: 404; error info: {"itemNotFound": {"message": "The resource could not be found.", "code": 404}}

Revision history for this message
Patrick Hetu (patrick-hetu) wrote :

I was using an older code base.

Changed in goose:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.