airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Marru <sma...@apache.org>
Subject Re: Jetstream VM creation through Airavata
Date Wed, 20 Apr 2016 19:30:00 GMT
I just ran a test to make sure we are not hitting any resource oddities, but everything seems
to be fine:

[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-provisioning ---
[INFO] Surefire report directory: /Users/smarru/repo/airavata-develop/modules/cloud/cloud-provisioning/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.airavata.cloud.test.CloudIntfTest
[main] INFO org.apache.airavata.cloud.intf.impl.OpenstackIntfImpl - Keypair retrieved successfully:
testKey
[main] INFO org.apache.airavata.cloud.test.CloudIntfTest - Keypair created/ retrieved: 5e:46:91:ad:8a:1c:26:4b:76:ea:08:08:ac:10:67:bf
[main] INFO org.apache.airavata.cloud.intf.impl.OpenstackIntfImpl - Using network subnet-airavata
with ID: ad2552d6-1a02-4d6c-9fa4-ad40d93e5423
[main] INFO org.apache.airavata.cloud.intf.impl.OpenstackIntfImpl - New server created with
ID: a6566417-3176-4c50-b35f-ccf800952ace
[main] INFO org.apache.airavata.cloud.test.CloudIntfTest - Server Created: a6566417-3176-4c50-b35f-ccf800952ace
[main] INFO org.apache.airavata.cloud.test.CloudIntfTest - Waiting for instance to go ACTIVE...
[main] INFO org.apache.airavata.cloud.intf.impl.OpenstackIntfImpl - Server retrieved successfully
for ID: a6566417-3176-4c50-b35f-ccf800952ace
[main] INFO org.apache.airavata.cloud.intf.impl.OpenstackIntfImpl - true:200:null:ActionResponse{success=true,
code=200}
[main] INFO org.apache.airavata.cloud.intf.impl.OpenstackIntfImpl - Floating IP 149.165.172.245
assigned successfully to server with ID: a6566417-3176-4c50-b35f-ccf800952ace
[main] INFO org.apache.airavata.cloud.intf.impl.OpenstackIntfImpl - Server retrieved successfully
for ID: a6566417-3176-4c50-b35f-ccf800952ace
[main] INFO org.apache.airavata.cloud.intf.impl.OpenstackIntfImpl - Server deleted successfully
for ID: a6566417-3176-4c50-b35f-ccf800952ace
[main] INFO org.apache.airavata.cloud.test.CloudIntfTest - Server deleted: a6566417-3176-4c50-b35f-ccf800952ace
[main] INFO org.apache.airavata.cloud.test.CloudIntfTest - Waiting for instance to terminate...
[main] INFO org.apache.airavata.cloud.intf.impl.OpenstackIntfImpl - Keypair deleted successfully:
testKey
[main] INFO org.apache.airavata.cloud.test.CloudIntfTest - Keypair deleted: testKey
[main] INFO org.apache.airavata.cloud.intf.impl.OpenstackIntfImpl - Server retrieved successfully
for ID: a6566417-3176-4c50-b35f-ccf800952ace
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.672 sec - in org.apache.airavata.cloud.test.CloudIntfTest

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ cloud-provisioning ---
[INFO] Building jar: /Users/smarru/repo/airavata-develop/modules/cloud/cloud-provisioning/target/cloud-provisioning-0.16-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ cloud-provisioning
---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ cloud-provisioning ---
[INFO] Installing /Users/smarru/repo/airavata-develop/modules/cloud/cloud-provisioning/target/cloud-provisioning-0.16-SNAPSHOT.jar
to /Users/smarru/.m2/repository/org/apache/airavata/cloud-provisioning/0.16-SNAPSHOT/cloud-provisioning-0.16-SNAPSHOT.jar
[INFO] Installing /Users/smarru/repo/airavata-develop/modules/cloud/cloud-provisioning/pom.xml
to /Users/smarru/.m2/repository/org/apache/airavata/cloud-provisioning/0.16-SNAPSHOT/cloud-provisioning-0.16-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

Suresh

> On Apr 20, 2016, at 3:21 PM, Suresh Marru <smarru@apache.org> wrote:
> 
> Hi Pankaj,
> 
> Can you please be more clear? What is failing? Did you try to build it using maven within
the cloud provisioning directory itself? Did you change the public key file in the test_data.properties?

> 
> Suresh
> 
>> On Apr 20, 2016, at 2:56 PM, Pankaj Saha <psaha4@binghamton.edu <mailto:psaha4@binghamton.edu>>
wrote:
>> 
>> I am able to get Mangirish's code in the develop branch. After making it an eclipse
project, when I am trying to run it as JUnit test, it's failing.
>> Need help to fix this, possibly some configuration changes in the properties file
or similar.
>> It will be great we can talk over a hangout session or at least a chat session to
make it work.
>> 
>> On Wed, Apr 20, 2016 at 12:05 PM, Mangirish Wagle <vaglomangirish@gmail.com <mailto:vaglomangirish@gmail.com>>
wrote:
>> Hi Pankaj,
>> 
>> You may find a sample test code for the module in this unit test file:-
>> 
>> https://github.com/apache/airavata/blob/develop/modules/cloud/cloud-provisioning/src/test/java/org/apache/airavata/cloud/test/CloudIntfTest.java
<https://github.com/apache/airavata/blob/develop/modules/cloud/cloud-provisioning/src/test/java/org/apache/airavata/cloud/test/CloudIntfTest.java>
>> 
>> Also, if you want to test run the code, you may please follow this quick README:-
>> 
>> https://github.com/apache/airavata/blob/develop/modules/cloud/cloud-provisioning/README
<https://github.com/apache/airavata/blob/develop/modules/cloud/cloud-provisioning/README>
>> 
>> Please let me know if you need some more info or code walkthrough. Sending you the
jetstream openrc credentials separately. 
>> 
>> Thanks.
>> 
>> Regards,
>> Mangirish
>> 
>> On Wed, Apr 20, 2016 at 11:42 AM, Suresh Marru <smarru@apache.org <mailto:smarru@apache.org>>
wrote:
>> Hi Pankaj,
>> 
>> Please switch to ‘develop’ branch and look for the cloud provisioning module
- https://github.com/apache/airavata/tree/develop/modules/cloud/cloud-provisioning <https://github.com/apache/airavata/tree/develop/modules/cloud/cloud-provisioning>
>> 
>> Suresh
>> 
>>> On Apr 20, 2016, at 11:37 AM, Pankaj Saha <psaha4@binghamton.edu <mailto:psaha4@binghamton.edu>>
wrote:
>>> 
>>> Hello Mangirish,
>>> I have latest Airavata mater branch installed in my local system. Can you please
give us some clue how to start creating the VMs through you application. Please specify where
we can find your corresponding java code. Is it through PGA website?
>>> Please share the required password to me in a separate email.
>>> 
>>> Thanks
>>> Pankaj
>> 
>> 
>> 
> 


Mime
View raw message