Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A4F83200B59 for ; Mon, 8 Aug 2016 18:18:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A3891160A91; Mon, 8 Aug 2016 16:18:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E8441160A77 for ; Mon, 8 Aug 2016 18:18:18 +0200 (CEST) Received: (qmail 24070 invoked by uid 500); 8 Aug 2016 16:18:18 -0000 Mailing-List: contact user-help@jclouds.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@jclouds.apache.org Delivered-To: mailing list user@jclouds.apache.org Received: (qmail 24060 invoked by uid 99); 8 Aug 2016 16:18:18 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2016 16:18:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A65411858B1 for ; Mon, 8 Aug 2016 16:18:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.98 X-Spam-Level: ** X-Spam-Status: No, score=2.98 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 4Ayq2UM9sJjC for ; Mon, 8 Aug 2016 16:18:11 +0000 (UTC) Received: from websmtp.net4india.com (websmtp1.net4india.com [118.67.248.33]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 584C360DB4 for ; Mon, 8 Aug 2016 16:18:09 +0000 (UTC) Received: from [172.16.24.149] (helo=mail4india.com) by websmtp.net4india.com with esmtp (Exim 4.72) (envelope-from ) id 1bWnD1-0001Ql-Mp for user@jclouds.apache.org; Mon, 08 Aug 2016 21:45:23 +0530 Received: from 183.82.98.119 (SquirrelMail authenticated user sathish@lab27.in) by mail4india.com with HTTP; Mon, 8 Aug 2016 21:48:08 +0530 Message-ID: <05542d3b034e328432c3da17ec18cff3.squirrel@mail4india.com> In-Reply-To: References: Date: Mon, 8 Aug 2016 21:48:08 +0530 Subject: Re: Getting Extensions for console with jclouds openstack-nova From: sathish@lab27.in To: user@jclouds.apache.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: multipart/alternative;boundary="----=_20160808214808_86982" X-Priority: 3 (Normal) Importance: Normal archived-at: Mon, 08 Aug 2016 16:18:19 -0000 ------=_20160808214808_86982 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi , Thanks for your quick reply. The extensions are installed. What we observed is... if we run the program ConsolesApiLiveTest.java within the IDEA of jcloud source code (2.0.0-SNAPSHOT) it works as expected. The VNC Console URL is printed. But if we bring the source file outside the IDEA and compile as a standalone application with jcloud 1.9.2 jars the below error is shown. We are quite puzzled with this behaviour. Are we missing something during linking of jars or class files?? Output: user@user-Latitude-E6420:~/jclouds$ ls lib/openstack-nova-1.9.2.jar lib/openstack-nova-1.9.2.jar user@user-Latitude-E6420:~/jclouds$ javac -classpath ".:lib/*" ConsolesApiLiveTest.java user@user-Latitude-E6420:~/jclouds$ java -classpath ".:lib/*" ConsolesApiLiveTest Consoles extension not present in server ________________________________________________ From:"Ignasi Barrera" Sent:user@jclouds.apache.org Date:Mon, August 8, 2016 9:05 pm Subject:Re: Getting Extensions for console with jclouds openstack-nova This is because your OpenStack installation does not have the console extension enabled.* What OpenStack version are you using? * Which is the output of the "nova service-list" command? El 8 ago. 2016 5:05 p. m., sathish@lab27.in> escribió: Hi , We are trying to test the console API of Openstack-Nova from the tests provided by jcluds-git-hub repo. The Test API is "ConsolesApiLiveTest" After running the test we are getting the error "Consoles extension not present in server.".   But nova extension list is displaying the authtoken extension. So any one faced this issue or have a solution for this please explore it. Thaks in advance.      ------=_20160808214808_86982 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 8bit

Hi ,

Thanks for your quick reply.

The extensions are installed.

What we observed is... if we run the program ConsolesApiLiveTest.java within the IDEA of jcloud source code (2.0.0-SNAPSHOT) it works as expected. The VNC Console URL is printed.

But if we bring the source file outside the IDEA and compile as a standalone application with jcloud 1.9.2 jars the below error is shown.

We are quite puzzled with this behaviour. Are we missing something during linking of jars or class files??

Output:


user@user-Latitude-E6420:~/jclouds$ ls lib/openstack-nova-1.9.2.jar
lib/openstack-nova-1.9.2.jar

user@user-Latitude-E6420:~/jclouds$ javac -classpath ".:lib/*" ConsolesApiLiveTest.java

user@user-Latitude-E6420:~/jclouds$ java -classpath ".:lib/*" ConsolesApiLiveTest
Consoles extension not present in server

________________________________________________
From:"Ignasi Barrera" <nacx@apache.org>
Sent:user@jclouds.apache.org
Date:Mon, August 8, 2016 9:05 pm
Subject:Re: Getting Extensions for console with jclouds openstack-nova


This is because your OpenStack installation does not have the console extension enabled.

* What OpenStack version are you using?
* Which is the output of the "nova service-list" command?


El 8 ago. 2016 5:05 p. m., sathish@lab27.in> escribió:

Hi ,

We are trying to test the console API of Openstack-Nova from the tests provided by jcluds-git-hub repo.

The Test API is "ConsolesApiLiveTest"

After running the test we are getting the error

"Consoles extension not present in server.".  

But nova extension list is displaying the authtoken extension.

So any one faced this issue or have a solution for this please explore it.

Thaks in advance.
 

 

 

------=_20160808214808_86982--