Hi Ahmad,<div><br></div><div>If you want to access to the user-data information defined in the econe-run-instance, you have to look at the iso that the OpenNebula CONTEXT generates in the VM.</div><div><br></div><div>For more information about the use of CONTEXT: </div>
<div><a href="http://www.opennebula.org/documentation:rel1.4:cong">http://www.opennebula.org/documentation:rel1.4:cong</a><br><br></div><div>Regards.</div><div><br><div class="gmail_quote">On 14 July 2010 14:21, Ahmad Hammad <span dir="ltr"><<a href="mailto:ahmad.hammad@kit.edu">ahmad.hammad@kit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
I installed the ONE 1.6 release. I created EC2 VMs with econe-run-instances<br>
with some user-data. This works fine for me and I can see with:<br>
onevm show VM_ID<br>
<br>
the CONTEXT block.<br>
<br>
CONTEXT=[<br>
EC2_USER_DATA=<base64 encoded string of teh user-data>,<br>
TARGET=hdc<br>
]<br>
<br>
Compared to Amazon Instances where user-data is normally checked with<br>
<br>
curl <a href="http://169.254.169.254/latest/user-data" target="_blank">http://169.254.169.254/latest/user-data</a><br>
<br>
When I try the same in my ONE VM instance I get this error:<br>
<br>
~$ curl <a href="http://my-econe-server:4567/latest/user-data" target="_blank">http://my-econe-server:4567/latest/user-data</a><br>
<br>
<Response><Errors><Error><Code>AuthFailure</Code><Message>User not<br>
authorized</Message></Error></Errors><RequestID>0</RequestID></Response><br>
<br>
So how can I get the user data from within my VM instance?<br>
<br>
Thank you for help.<br>
<br>
Best regards,<br>
<br>
Ahmad<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
M.Sc. Ahmad Hammad<br>
<br>
Karlsruhe Institute of Technology (KIT)<br>
Steinbuch Centre for Computing (SCC)<br>
Hermann-von-Helmholtz-Platz 1, Gebäude 441, Raum 233<br>
D-76344 Eggenstein-Leopoldshafen<br>
Tel: +49 7247 82-6301<br>
Fax: +49 7247 82-4972<br>
E-Mail: <a href="mailto:ahmad.hammad@kit.edu">ahmad.hammad@kit.edu</a><br>
<a href="http://www.kit.edu" target="_blank">www.kit.edu</a><br>
<br>
KIT - Universität des Landes Baden-Württemberg und<br>
nationales Forschungszentrum in der Helmholtz-Gemeinschaft<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel Molina, Cloud Technology Engineer/Researcher<br>DSA Research Group: web <a href="http://dsa-research.org">http://dsa-research.org</a> and blog <a href="http://blog.dsa-research.org">http://blog.dsa-research.org</a><br>
OpenNebula Open Source Toolkit for Cloud Computing: <a href="http://www.OpenNebula.org">http://www.OpenNebula.org</a><br>
</div>