You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by sa...@lab27.in on 2016/08/08 15:05:33 UTC
Getting Extensions for console with jclouds openstack-nova
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.
Re: Getting Extensions for console with jclouds openstack-nova
Posted by sa...@lab27.in.
Thank You.
We shall wait for the official release of 2.0.0
________________________________________________
From:"Ignasi Barrera" <na...@apache.org>
Sent:user@jclouds.apache.org
Date:Mon, August 8, 2016 9:58 pm
Subject:Re: Getting Extensions for console with jclouds openstack-nova
Oh, I think you're seeing
this issue with jclouds 1.9.2:
https://issues.apache.org/jira/browse/JCLOUDS-1104The 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ó:
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.
‚
‚
‚
Re: Getting Extensions for console with jclouds openstack-nova
Posted by Ignasi Barrera <na...@apache.org>.
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., <sa...@lab27.in> escribió:
> 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" <na...@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.
>> Â
>>
>> Â
>>
>> Â
>>
>
Re: Getting Extensions for console with jclouds openstack-nova
Posted by sa...@lab27.in.
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" <na...@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.
Re: Getting Extensions for console with jclouds openstack-nova
Posted by Ignasi Barrera <na...@apache.org>.
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., <sa...@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.
>
>
>
>
>
>