google-code-export / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
1 stars 1 forks source link

Doubt #115

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

1. Does Typica Supports private Eucalyptus Cloud Environment?
2. I tried the EC2Sample.java Code 
http://typica.googlecode.com/svn/trunk/test/java/Ec2Sample.java
But When I tried to run the code, I got an error message, like 

Exception in thread "main" com.xerox.amazonws.ec2.EC2Exception: Client error : 
AWS was not able to validate the provided access credentials
        at com.xerox.amazonws.ec2.Jec2.makeRequestInt(Jec2.java:1680)
        at com.xerox.amazonws.ec2.Jec2.describeImages(Jec2.java:329)
        at com.xerox.amazonws.ec2.Jec2.describeImages(Jec2.java:251)
        at EC2Sample.main(EC2Sample.java:29)

Those credentials which I Supplied belongs to the local private eucalyptus.
Is their anything wrong in my side?

Thanks,
Sri.

Original issue reported on code.google.com by dvd.deb...@gmail.com on 11 Nov 2010 at 9:19

GoogleCodeExporter commented 9 years ago
Hi Sri,

It could be that you are trying to connect to AWS using your Eucalyptus 
credentials. You need to connect to the Eucalyptus cloud. The following works 
for me (use your ECC keys):

    Jec2 ecc = new Jec2("your ecc key here",     
      "your ecc secret key here",
        false, "ecc.eucalyptus.com", 8773);
    ecc.setResourcePrefix("/services/Eucalyptus");
    ecc.setSignatureVersion(1);

Regards,
Sean
====

Original comment by skodell on 28 Nov 2010 at 1:46

GoogleCodeExporter commented 9 years ago
Hello Skodell,

thanks for the reply.

It works.

Again a doubt. I have deployed a private Cloud with Eucalyptus in System Mode.
With the code from Wiki, I was able to launch an Instance.
My requirement is to find the IP Address immediately, once it is alloted to an 
Instance.

Some times,the API keeps on showing the IP Address as 0.0.0.0 and some times a 
null value.

how to solve this issue ?
Any help will be appreciated ?

thanks,
Srikrishnan.V

Original comment by dvd.deb...@gmail.com on 16 Oct 2011 at 3:29