<div class="gmail_quote"><div>Hello everyone,</div><div> </div><div>I'me trying configure my EC2 account with my OpenNebula 3.4, but so far I didn't succeed. Some of the instructions on <a href="http://opennebula.org/documentation:rel3.4:ec2g" target="_blank">http://opennebula.org/documentation:rel3.4:ec2g</a> are not up to date, i.e. creating the ec2 host is described as "<font face="courier new,monospace">$ onehost create ec2 im_ec2 vmm_ec2 tm_dummy</font>" but in 3.4 the transfer manager is not used. All my EC2 configuration data and variables are ok and double-checked, I can manage images with the ec2-api-tools. </div>
<div> </div><div>When creating a new image from a basic template,</div><div> </div><div><font face="courier new,monospace">EC2=[<br> AMI="ami-77770a91e",<br> AUTHORIZED_PORTS="22",<br> INSTANCETYPE="t1.micro",<br>
KEYPAIR="aws_hpc" ]<br>NAME="EC2_MICRO"<br>REQUIREMENTS="HOSTNAME='ec2'"</font></div><div> </div><div> </div><div>I get this in the log:</div><div> </div><div><font face="courier new,monospace">Fri May 4 18:00:38 2012 [DiM][I]: New VM state is ACTIVE.<br>
Fri May 4 18:00:38 2012 [LCM][I]: New VM state is PROLOG.<br>Fri May 4 18:00:38 2012 [VM][I]: Virtual Machine has no context<br>Fri May 4 18:00:38 2012 [LCM][I]: New VM state is BOOT<br>Fri May 4 18:00:38 2012 [VMM][E]: deploy_action, error getting driver vmm_ec2<br>
Fri May 4 18:00:38 2012 [DiM][I]: New VM state is FAILED</font></div><div> </div><div>Can anyone help me? </div><div>My <em>vmm_ec2.conf</em> is</div><div> </div><div><font face="courier new,monospace"><TEMPLATE><br>
<EC2><br> <KEYPAIR>aws_hpc</KEYPAIR><br> <AUTHORIZEDPORTS>22</AUTHORIZEDPORTS><br> <INSTANCETYPE>t1.micro</INSTANCETYPE><br> </EC2><br> </TEMPLATE></font></div>
<div> </div><div>My <em>vmm_ec2rc</em> is</div><div> </div><div><font face="courier new,monospace">EC2_HOME=/home/oneadmin/ec2-api-tools/ec2-api-tools-1.5.2.3/<br>EC2_PRIVATE_KEY=~/.ec2/pk.pem<br>EC2_CERT=~/.ec2/cert.pem<br>
EC2_URL=<a href="https://ec2.us-east-1.amazonaws.com" target="_blank">https://ec2.us-east-1.amazonaws.com</a><br>JAVA_HOME=/usr</font></div><div><font face="courier new,monospace">EC2_JVM_ARGS="-Xms16m -Xmx64m"</font></div>
<div>
<font face="courier new,monospace">EC2_JVM_CONCURRENCY=10</font><br></div><div>and my ec2 part on <em>oned.conf</em> is</div><div> </div><div><font face="courier new,monospace">IM_MAD = [<br> name = "im_ec2",<br>
executable = "one_im_ec2",<br> arguments = "im_ec2/im_ec2.conf",<br> default = "im_ec2/im_ec2.conf" ]</font></div><div><font face="courier new,monospace">VM_MAD = [<br> name = "vmm_ec2",<br>
executable = "one_vmm_ec2",<br> arguments = "-u </font><a href="https://ec2.us-east-1.amazonaws.com" target="_blank"><font face="courier new,monospace">https://ec2.us-east-1.amazonaws.com</font></a><font face="courier new,monospace"> -k /home/oneadmin/.ec2/pk.pem -c /home/oneadmin/.ec2/cert.pem -h /home/oneadmin/ec2-api-tools/ec2-api-tools-1.5.2.3 vmm_ec2/vmm_ec2.conf",<br>
type = "xml" ]</font></div><div><br>Paths are all confirmed more than twice. What am I missing?</div><div> </div><div>--<br>André Monteiro<br><br><br>
</div>
</div><br>