cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Weber" <terbol...@gmail.com>
Subject Review Request 25023: CLOUDSTACK-7405: Allow VR metadata to be accessed without trailing slash
Date Mon, 25 Aug 2014 12:05:56 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25023/
-----------------------------------------------------------

Review request for cloudstack and Marcus Sorensen.


Bugs: CLOUDSTACK-7405
    https://issues.apache.org/jira/browse/CLOUDSTACK-7405


Repository: cloudstack-git


Description
-------

As per https://issues.apache.org/jira/browse/CLOUDSTACK-7405 cloud-init expects to be able
to get meta-data directory without using a trailing slash.

Ultimately this should be fixed in cloud-init, but it's an unintrusive fix in cloudstack


Diffs
-----

  systemvm/patches/debian/config/opt/cloud/bin/vmdata.py f508032 

Diff: https://reviews.apache.org/r/25023/diff/


Testing
-------

tested with curl that both new and old url works

[root@jenkins ~]# curl -I -s 10.30.81.1/latest/meta-data/vm-id | grep HTTP
HTTP/1.1 200 OK
[root@jenkins ~]# curl -I -s 10.30.81.1/latest/meta-data | grep HTTP
HTTP/1.1 200 OK


Thanks,

Erik Weber


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message