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 00100200B59 for ; Mon, 8 Aug 2016 18:28:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F2856160A91; Mon, 8 Aug 2016 16:28:37 +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 1BC74160A77 for ; Mon, 8 Aug 2016 18:28:36 +0200 (CEST) Received: (qmail 57968 invoked by uid 500); 8 Aug 2016 16:28:36 -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 57959 invoked by uid 99); 8 Aug 2016 16:28:36 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2016 16:28:36 +0000 Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id CD95C1A0178 for ; Mon, 8 Aug 2016 16:28:35 +0000 (UTC) Received: by mail-wm0-f50.google.com with SMTP id q128so129438707wma.1 for ; Mon, 08 Aug 2016 09:28:35 -0700 (PDT) X-Gm-Message-State: AEkooutEgqZK3H8lV6O6vXZNmdFvqXiZ06kagsLfs4H49jSUvFa4GNvGXn/bMywrha9AIbKNgR86n3VwO3czXQ== X-Received: by 10.194.57.244 with SMTP id l20mr84284746wjq.1.1470673714383; Mon, 08 Aug 2016 09:28:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.53.138 with HTTP; Mon, 8 Aug 2016 09:28:33 -0700 (PDT) Received: by 10.28.53.138 with HTTP; Mon, 8 Aug 2016 09:28:33 -0700 (PDT) In-Reply-To: <05542d3b034e328432c3da17ec18cff3.squirrel@mail4india.com> References: <05542d3b034e328432c3da17ec18cff3.squirrel@mail4india.com> From: Ignasi Barrera Date: Mon, 8 Aug 2016 18:28:33 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Getting Extensions for console with jclouds openstack-nova To: user@jclouds.apache.org Content-Type: multipart/alternative; boundary=047d7b873804539403053991e837 archived-at: Mon, 08 Aug 2016 16:28:38 -0000 --047d7b873804539403053991e837 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Oh, I think you're seeing this issue with jclouds 1.9.2: https://issues.apache.org/jira/browse/JCLOUDS-1104 The use of namespaces to identify extensions was deprecated in recent OpenStack versions, but the patch is only available in jclouds 2.0.0-SNAPSHOT, so if you are building a recent release of OpenStack you'll have to use the snapshot version for the moment. El 8 ago. 2016 6:18 p. m., escribi=C3=B3: > 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=C3=83=C2=B3: > >> 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.". =C3=82 >> >> But nova extension list is displaying the authtoken extension. >> >> So any one faced this issue or have a solution for this please explore i= t. >> >> Thaks in advance. >> =C3=82 >> >> =C3=82 >> >> =C3=82 >> > --047d7b873804539403053991e837 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Oh, I think you're seeing this issue with jclouds 1.9.2:=
https://issu= es.apache.org/jira/browse/JCLOUDS-1104

The use of namespaces to identify extensions was deprecated = in recent OpenStack versions, but the patch is only available in jclouds 2.= 0.0-SNAPSHOT, so if you are building a recent release of OpenStack you'= ll have to use the snapshot version for the moment.


El 8 ago. 2016 6:= 18 p. m., <sathish@lab27.in>= escribi=C3=B3:

H= i ,

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$ jav= a -classpath ".:lib/*" ConsolesApiLiveTest
Consoles extension not present in server

________________________________________________
From:"Ignasi Barrera" <nacx@apache.org>
Sent:us= er@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=C3=83=C2=B3:

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.". =C3=82=C2=A0

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.
=C3=82=C2=A0

=C3=82=C2=A0

=C3=82=C2=A0

--047d7b873804539403053991e837--