Re: [one-users] Info on ONE Instance for testing purpose

2013-01-12 Thread Hector Sanjuan

Which OS are you on? Probably you are missing some dev or some extra xmlrpc packages. This is what I have in Opensuse, probably some of them are not necessary but anyway:$ zypper search xmlrpc | grep "i "i | libxmlrpc++3  | A library implementing XML-based remote procedure calls   | package   i | libxmlrpc++7  | A library implementing XML-based remote procedure calls   | package   i | libxmlrpc-c-devel | Development package for xmlrpc-c  | package   i | libxmlrpc3| A library implementing XML-based remote procedure calls   | package   i | libxmlrpc_abyss3  | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_client++3   | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_client++7   | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_client3 | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_cpp7| Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_packetsocket7   | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_server++3   | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_server++7   | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_server3 | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_server_abyss++3 | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_server_abyss++7 | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_server_abyss3   | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_server_cgi++7   | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_server_cgi3 | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_server_pstream++7   | Library implementing XML-based Remote Procedure Calls | package   i | libxmlrpc_util3   | Library implementing XML-based Remote Procedure Calls | package   i | xmlrpc-c  | Library implementing XML-based Remote Procedure Calls | package   HectorOn Fri, 11 Jan 2013 11:07:37 +0100, Duverne, Cyrille cyrille.duve...@euranova.eu wrote:Hello Hector,Thanks for this, I tried to compile ONE in a self-contained mode.Then I downloaded the tarball in a local directoryUntared itTried to launch : scons -j2And getting an error about can't find xmlrpc libraries.I've downloaded xmlrpc libraries, and I tried to check if everything went well with : xmlrpc-c-config --versionAnd get an answer.Where is the trick ?Thanks in advanceCyD
"Imagination is more important than Knowledge"
Albert EinsteinMardi 08/01/2013 à 21:25 Hector Sanjuan a écrit:
Yes but dont forget that you can make a self-contained installation on a single folder (-d option http://opennebula.org/documentation:rel3.8:compile). So you can have a selfcontained install with sqlite and dummy drivers withing your project, that you can use for testing purposes. Or your tests can install a fresh instance everytime, then you provide the right oned.conf and sqlite file with the initial testing stateHectorOn Tue, 08 Jan 2013 13:02:55 +0100, Duverne, Cyrille cyrille.duve...@euranova.eu wrote:Hello,Thanks a lot Carlos for this.So I still need to install OpenNebula somewhere to be able to simulate the API.Kind regardsCyrilleMardi 08/01/2013 à 12:36 Carlos Martín Sánchez a écrit:Hi,When we don't need to check the interaction with real infrastructure we use the dummy drivers for hosts (im, vmm, network) and datastores (ds  tm)$ onehost create dummyhost -i im_dummy -v vmm_dummy -n dummy

$ onedatastore show 0...DATASTORE TEMPLATE   TM_MAD="dummy"

$ onedatastore show 1...DATASTORE TEMPLATE   DS_MAD="dummy"TM_MAD="dummy"

You may need to uncomment some of them in oned.conf.The drivers can be found in/var/lib/one/remotesRegards--Carlos Martín, MScProject EngineerOpenNebula -The Open-source Solution for Data Center Virtualization

www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula


On Tue, Jan 8, 2013 at 9:36 AM, Duverne, Cyrille cyrille.duve...@euranova.eu wrote:

Hello,Do you know if such a thing exists ? If no it could be a great feature to be able to simulate ONE answers to API commands instead of having a full working infrastructure.

Do you use a Continuous Integration tool in ONE development ? Do you test all features and builds ?Thanks in advanceCyrilleMercredi 02/01/2013 à 21:04 Duverne, Cyrille 

Re: [one-users] Info on ONE Instance for testing purpose

2013-01-11 Thread Duverne, Cyrille

Hello Hector,

Thanks for this, I tried to compile ONE in a self-contained mode.

Then I downloaded the tarball in a local directory
Untared it
Tried to launch : scons -j2
And getting an error about can't find xmlrpc libraries.

I've downloaded xmlrpc libraries, and I tried to check if everything
went well with : xmlrpc-c-config --version
And get an answer.

Where is the trick ?

Thanks in advance
CyD Imagination is more important than Knowledge
Albert Einstein

Mardi 08/01/2013 à 21:25 Hector Sanjuan a écrit:

 Yes but dont forget that you can make a self-contained installation
on a single folder (-d option
http://opennebula.org/documentation:rel3.8:compile). So you can have a
selfcontained install with sqlite and dummy drivers withing your
project, that you can use for testing purposes. Or your tests can
install a fresh instance everytime, then you provide the right
oned.conf and sqlite file with the initial testing state

Hector

On Tue, 08 Jan 2013 13:02:55 +0100, Duverne, Cyrille  wrote:

Hello,

Thanks a lot Carlos for this.

So I still need to install OpenNebula somewhere to be able to simulate
the API.

Kind regards
Cyrille

Mardi 08/01/2013 à 12:36 Carlos Martín Sánchez a écrit:

Hi,

When we don't need to check the interaction with real infrastructure
we use the dummy drivers for hosts (im, vmm, network) and datastores
(ds  tm)

$ onehost create dummyhost -i im_dummy -v vmm_dummy -n dummy

$ onedatastore show 0

DATASTORE TEMPLATE                                  
                           
TM_MAD=dummy

 $ onedatastore show 1

DATASTORE TEMPLATE                                  
                           
DS_MAD=dummy
TM_MAD=dummy

You may need to uncomment some of them in oned.conf. The drivers can
be found in /var/lib/one/remotes

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2]

On Tue, Jan 8, 2013 at 9:36 AM, Duverne, Cyrille  wrote:

 Hello,

Do you know if such a thing exists ? If no it could be a great feature
to be able to simulate ONE answers to API commands instead of having a
full working infrastructure.

Do you use a Continuous Integration tool in ONE development ? Do you
test all features and builds ?

Thanks in advance
Cyrille

Mercredi 02/01/2013 à 21:04 Duverne, Cyrille a écrit: 

Hello,

We are creating a new scalable middleware product, and we need to have
a fake RPC server for test purpose to launch commands from our
continuous integration server.

Is there any available on your side ?

Thanks in advance
Cyrille

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
Hector Sanjuan
@hecsanjuan



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Info on ONE Instance for testing purpose

2013-01-08 Thread Duverne, Cyrille
Hello,

Do you know if such a thing exists ? If no it could be a great feature
to be able to simulate ONE answers to API commands instead of having a
full working infrastructure.

Do you use a Continuous Integration tool in ONE development ? Do you
test all features and builds ?

Thanks in advance
Cyrille

Mercredi 02/01/2013 à 21:04 Duverne, Cyrille a écrit:

Hello,

We are creating a new scalable middleware product, and we need to have
a fake RPC server for test purpose to launch commands from our
continuous integration server.

Is there any available on your side ?

Thanks in advance
Cyrille


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Info on ONE Instance for testing purpose

2013-01-08 Thread Carlos Martín Sánchez
Hi,

When we don't need to check the interaction with real infrastructure we use
the dummy drivers for hosts (im, vmm, network) and datastores (ds  tm)

$ onehost create dummyhost -i im_dummy -v vmm_dummy -n dummy

$ onedatastore show 0
...
DATASTORE TEMPLATE

TM_MAD=dummy

$ onedatastore show 1
...
DATASTORE TEMPLATE

DS_MAD=dummy
TM_MAD=dummy

You may need to uncomment some of them in oned.conf. The drivers can be
found in /var/lib/one/remotes

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


On Tue, Jan 8, 2013 at 9:36 AM, Duverne, Cyrille 
cyrille.duve...@euranova.eu wrote:

 Hello,

 Do you know if such a thing exists ? If no it could be a great feature to
 be able to simulate ONE answers to API commands instead of having a full
 working infrastructure.

 Do you use a Continuous Integration tool in ONE development ? Do you test
 all features and builds ?

 Thanks in advance
 Cyrille


 Mercredi 02/01/2013 à 21:04 Duverne, Cyrille a écrit:

 Hello,

 We are creating a new scalable middleware product, and we need to have a
 fake RPC server for test purpose to launch commands from our continuous
 integration server.

 Is there any available on your side ?

 Thanks in advance
 Cyrille


 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Info on ONE Instance for testing purpose

2013-01-08 Thread Duverne, Cyrille
Hello,

Thanks a lot Carlos for this.

So I still need to install OpenNebula somewhere to be able to simulate
the API..

Kind regards
Cyrille

Mardi 08/01/2013 à 12:36 Carlos Martín Sánchez a écrit:

Hi,

When we don't need to check the interaction with real infrastructure
we use the dummy drivers for hosts (im, vmm, network) and datastores
(ds  tm)

$ onehost create dummyhost -i im_dummy -v vmm_dummy -n dummy

$ onedatastore show 0

DATASTORE TEMPLATE                                  
                           
TM_MAD=dummy

 $ onedatastore show 1

DATASTORE TEMPLATE                                  
                           
DS_MAD=dummy
TM_MAD=dummy

You may need to uncomment some of them in oned.conf. The drivers can
be found in /var/lib/one/remotes

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org [1] | cmar...@opennebula.org | @OpenNebula [2] [3]

On Tue, Jan 8, 2013 at 9:36 AM, Duverne, Cyrille  wrote:

 Hello,

Do you know if such a thing exists ? If no it could be a great feature
to be able to simulate ONE answers to API commands instead of having a
full working infrastructure..

Do you use a Continuous Integration tool in ONE development ? Do you
test all features and builds ?

Thanks in advance
Cyrille

Mercredi 02/01/2013 à 21:04 Duverne, Cyrille a écrit: 

Hello,

We are creating a new scalable middleware product, and we need to have
a fake RPC server for test purpose to launch commands from our
continuous integration server..

Is there any available on your side ?

Thanks in advance
Cyrille

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



Links:
--
[1] http://www.OpenNebula.org
[2] http://twitter.com/opennebula
[3] mailto:cmar...@opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Info on ONE Instance for testing purpose

2013-01-08 Thread Hector Sanjuan

Yes but dont forget that you can make a self-contained installation on a single folder (-d option http://opennebula.org/documentation:rel3.8:compile). So you can have a selfcontained install with sqlite and dummy drivers withing your project, that you can use for testing purposes. Or your tests can install a fresh instance everytime, then you provide the right oned.conf and sqlite file with the initial testing stateHectorOn Tue, 08 Jan 2013 13:02:55 +0100, Duverne, Cyrille cyrille.duve...@euranova.eu wrote:Hello,Thanks a lot Carlos for this.So I still need to install OpenNebula somewhere to be able to simulate the API.Kind regardsCyrilleMardi 08/01/2013 à 12:36 Carlos Martín Sánchez a écrit:Hi,When we don't need to check the interaction with real infrastructure we use the dummy drivers for hosts (im, vmm, network) and datastores (ds  tm)$ onehost create dummyhost -i im_dummy -v vmm_dummy -n dummy

$ onedatastore show 0...DATASTORE TEMPLATE   TM_MAD="dummy"

$ onedatastore show 1...DATASTORE TEMPLATE   DS_MAD="dummy"TM_MAD="dummy"

You may need to uncomment some of them in oned.conf.The drivers can be found in/var/lib/one/remotesRegards--Carlos Martín, MScProject EngineerOpenNebula -The Open-source Solution for Data Center Virtualization

www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula


On Tue, Jan 8, 2013 at 9:36 AM, Duverne, Cyrille cyrille.duve...@euranova.eu wrote:

Hello,Do you know if such a thing exists ? If no it could be a great feature to be able to simulate ONE answers to API commands instead of having a full working infrastructure.

Do you use a Continuous Integration tool in ONE development ? Do you test all features and builds ?Thanks in advanceCyrilleMercredi 02/01/2013 à 21:04 Duverne, Cyrille a écrit:

Hello,We are creating a new scalable middleware product, and we need to have a fake RPC server for test purpose to launch commands from our continuous integration server.

Is there any available on your side ?Thanks in advanceCyrille
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-- Hector Sanjuan@hecsanjuan___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org