Re: [one-users] ssl proxy endpoint

2011-12-13 Thread sebastien goasguen
Yes that worked.

thanks

-sebastien

On Tue, Dec 13, 2011 at 8:59 AM, Daniel Molina dmol...@opennebula.org wrote:
 Hi Sebastien,

 There is a ticket regarding this issue [1]. As Ulrich points out that
 patch should fix the problem. This functionality will be implemented
 as soon as possible for the econe service, so you can define this kind
 of parameters inside the econe.conf file.

 Cheers

 [1] http://dev.opennebula.org/issues/925


 On 5 December 2011 22:14, Ulrich Schwickerath
 ulrich.schwicker...@cern.ch wrote:
 Hi, Sebastien,


 can you try if this patch helps ?

 --- checkout_orig/src/cloud/ec2/lib/EC2QueryServer.rb   2011-10-10
 11:01:14.0 +0200
 +++ checkout_patched/src/cloud/ec2/lib/EC2QueryServer.rb        2011-10-14
 13:43:53.0 +0200
 @@ -71,7 +71,7 @@

         econe_port = @config[:port]

 -        params.merge!({:econe_host = econe_host, :econe_port =
 econe_port})
 +        params.merge!({:econe_host = econe_host, :econe_port = 8443})
         super(env, params)
     end

 It's more a hack than a patch but worked in our case.

 Cheers,
 Ulrich


 On 12/05/2011 09:52 PM, sebastien goasguen wrote:

 Hi,

 in One 3.0 it seems the econe configuration has changed a bit, reading:
 http://www.opennebula.org/documentation:rel3.0:ec2qcg

 There does not seem to be a ssl_server_port variable ?
 Does it default to 8443 ?

 In that case what endpoint should we use:fqdn  orfdqn:port

 I have one client in perl (using the ec2 perl module) that works in
 one case (port no specified in econe.conf, but specified in endpoint
 in client configuration)
 and a boto client that works in the other (port needs to be specified
 in econe.conf and specified in client configuration)

 I am running amazon-ec2 gem 0.9.17

 thanks

 -sebastien


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



 --
 Daniel Molina
 Project Engineer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] ssl proxy endpoint

2011-12-05 Thread sebastien goasguen
Hi,

in One 3.0 it seems the econe configuration has changed a bit, reading:
http://www.opennebula.org/documentation:rel3.0:ec2qcg

There does not seem to be a ssl_server_port variable ?
Does it default to 8443 ?

In that case what endpoint should we use: fqdn or fdqn:port

I have one client in perl (using the ec2 perl module) that works in
one case (port no specified in econe.conf, but specified in endpoint
in client configuration)
and a boto client that works in the other (port needs to be specified
in econe.conf and specified in client configuration)

I am running amazon-ec2 gem 0.9.17

thanks

-sebastien

-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Fwd: oZones

2011-11-25 Thread sebastien goasguen
Hi TIno,

On a related note. Can one VDC be defined across zones ? (instead of 2
VDCs in 2 zones) ?

thanks,

-sebastien

On Fri, Nov 25, 2011 at 6:14 AM, Tino Vazquez tin...@opennebula.org wrote:
 FYI
 --

 Hi Humberto,
 Currently is not possible o migrate VMs between oZones since it depends on
 having homogeneous hypervisors, and, more importantly, shared filesystem.
 About having VMs deployed across different oZones, you can do this now by
 having access to different VDCs in different zones.
 Regards,
 -Tino
 --
 Constantino Vázquez Blanco, MSc | dsa-research.org/tinova
 Virtualization Technology Engineer / Researcher
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | @tinova79 | @OpenNebula



 On Mon, Nov 14, 2011 at 4:15 PM, Humberto N. Castejon Martinez
 humca...@gmail.com wrote:

 Hi,

 Is it possible to migrate VMs between oZones? And to having VMs deployed
 among different oZones in a transparent and/or controlled way for the user?
 What I am thinking on is on having a fderated cloud consisting of other
 individual clouds. A user would use the federated cloud as it uses a normal
 cloud (i.e. w/o knowing that his cloud consists of different smaller
 clouds). More advanced users may set constrints on which oZone(s) the VMs
 could be deployed.

 Cheers,
 Humberto

 ___
 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





-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Fwd: oZones

2011-11-25 Thread sebastien goasguen
Thanks that's what I thought.

One more :)
Looking at the doc http://www.opennebula.org/documentation:rel3.0:vdcmngt
there is no mention of vnet within a VDC.

Does one use the vnet pre-created in a zone, or can one create vnet
within a VDC with something like:

onevnet create vdc vnet.1

thanks again

-sebastien

On Fri, Nov 25, 2011 at 8:54 AM, Tino Vazquez tin...@opennebula.org wrote:
 Hi Sebastian,
 At the moment is not possible to define a VDC that spans over two zones. We
 are still researching this, it will require a tighter integration between
 zones that what is needed now.
 Regards,
 -Tino
 --
 Constantino Vázquez Blanco, MSc
 Project Engineer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | @tinova79 | @OpenNebula


 On Fri, Nov 25, 2011 at 2:46 PM, sebastien goasguen run...@gmail.com
 wrote:

 Hi TIno,

 On a related note. Can one VDC be defined across zones ? (instead of 2
 VDCs in 2 zones) ?

 thanks,

 -sebastien

 On Fri, Nov 25, 2011 at 6:14 AM, Tino Vazquez tin...@opennebula.org
 wrote:
  FYI
  --
 
  Hi Humberto,
  Currently is not possible o migrate VMs between oZones since it depends
  on
  having homogeneous hypervisors, and, more importantly, shared
  filesystem.
  About having VMs deployed across different oZones, you can do this now
  by
  having access to different VDCs in different zones.
  Regards,
  -Tino
  --
  Constantino Vázquez Blanco, MSc | dsa-research.org/tinova
  Virtualization Technology Engineer / Researcher
  OpenNebula - The Open Source Toolkit for Data Center Virtualization
  www.OpenNebula.org | @tinova79 | @OpenNebula
 
 
 
  On Mon, Nov 14, 2011 at 4:15 PM, Humberto N. Castejon Martinez
  humca...@gmail.com wrote:
 
  Hi,
 
  Is it possible to migrate VMs between oZones? And to having VMs
  deployed
  among different oZones in a transparent and/or controlled way for the
  user?
  What I am thinking on is on having a fderated cloud consisting of other
  individual clouds. A user would use the federated cloud as it uses a
  normal
  cloud (i.e. w/o knowing that his cloud consists of different smaller
  clouds). More advanced users may set constrints on which oZone(s) the
  VMs
  could be deployed.
 
  Cheers,
  Humberto
 
  ___
  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
 
 



 --
 ---
 Sebastien Goasguen, Associate Professor
 School of Computing
 Clemson University
 864-553-4734.
 Google Voice: (864)-869-8683
 http://sites.google.com/site/runseb/





-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] lease IP in onevnet

2011-11-04 Thread sebastien goasguen
Hi,

Is there a way to lease an IP from a vnet without submitting a VM ?

something like:  onevnet checkout
and then put it back in: onevnet checkin IP

I know you can add and delete IPs in vnet but I actually would like to
keep the IP in the lease file, just mark it as used without running a
VM.

thanks

-sebastien

-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] lease IP in onevnet

2011-11-04 Thread sebastien goasguen
Thanks, the workaround will do for now.

I added a feature request

-sebastien

2011/11/4 Carlos Martín Sánchez cmar...@opennebula.org:
 Hi,

 You can use the workaround proposed in this thread [1].
 Feel free to open a feature request at dev.opennebula.org elaborating a bit
 more your use-case, and why the add/remove leases functionality is not
 enough.

 Regards.

 [1]
 http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2011-October/006646.html
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula


 On Fri, Nov 4, 2011 at 3:08 PM, sebastien goasguen run...@gmail.com wrote:

 Hi,

 Is there a way to lease an IP from a vnet without submitting a VM ?

 something like:  onevnet checkout
 and then put it back in: onevnet checkin IP

 I know you can add and delete IPs in vnet but I actually would like to
 keep the IP in the lease file, just mark it as used without running a
 VM.

 thanks

 -sebastien

 --
 ---
 Sebastien Goasguen, Associate Professor
 School of Computing
 Clemson University
 864-553-4734.
 Google Voice: (864)-869-8683
 http://sites.google.com/site/runseb/
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] m1.small.erb

2011-05-10 Thread sebastien goasguen
Thanks I will try that out.

The different contexts contain different set of files and different
variables so the if statements will do.
The other approach is to use a different ec2 query template all together.

-sebastien

On Tue, May 10, 2011 at 6:30 AM, Daniel Molina dmol...@opennebula.org wrote:
 Hi,

 You should try using:

 % if erb_vm_info[:img_id] == 1 %
 CONTEXT = [
      VAR1=foo,
      VAR2=bar
 % elsif erb_vm_info[:img_id] == 2 %
 CONTEXT = [
      VAR1=toto,
      VAR2=titi
 % end %

 You can use variables defined in the Network template like this [1]:
 DNS = $NETWORK[DNS, NAME=\Public\]

 However, this functionality is not available for the Image template,
 but maybe if the community is interested we can open a ticket to
 consider its implementation.

 [1] http://www.opennebula.org/documentation:rel2.2:template#context_section

 On 9 May 2011 18:17, sebastien goasguen run...@gmail.com wrote:
 Hi,

 I would like my instance type template (m1.small.erb) to have
 conditions based on image_id coming from the repository.
 Something like:

 % if erb_vm_info[:img_id] = 1 %
 CONTEXT = [
       VAR1=foo,
       VAR2=bar
 % end %
 % if erb_vm_info[:img_id] = 2 %
 CONTEXT = [
       VAR1=toto,
       VAR2=titi
 % end %

 Where 1 and 2 are the image id returned by oneimage list.

 What is the proper syntax/way to do this ?

 thanks,

 -sebastien

 --
 ---
 Sebastien Goasguen, Associate Professor
 School of Computing
 Clemson University
 864-553-4734.
 Google Voice: (864)-869-8683
 http://sites.google.com/site/runseb/
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Daniel Molina, Cloud Technology Engineer/Researcher
 Major Contributor
 OpenNebula - The Open Source Toolkit for Cloud Computing
 www.OpenNebula.org | dmol...@opennebula.org




-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] m1.small.erb

2011-05-09 Thread sebastien goasguen
Hi,

I would like my instance type template (m1.small.erb) to have
conditions based on image_id coming from the repository.
Something like:

% if erb_vm_info[:img_id] = 1 %
CONTEXT = [
   VAR1=foo,
   VAR2=bar
% end %
% if erb_vm_info[:img_id] = 2 %
CONTEXT = [
   VAR1=toto,
   VAR2=titi
% end %

Where 1 and 2 are the image id returned by oneimage list.

What is the proper syntax/way to do this ?

thanks,

-sebastien

-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] apache for a ssl proxy with econe

2011-05-03 Thread sebastien goasguen
Sure, here is what I have working:

econe.conf:
-
# OpenNebula sever contact information
ONE_XMLRPC=http://localhost:2633/RPC2

# Host and port where OCA server will run
SERVER=localhost
PORT=4567

#SSL Proxy
SSL_SERVER=hostname.domain:the port you run the proxy on


I did a force redirect in httpd

/etc/httpd/conf/httpd.conf:
-
VirtualHost *:80
   ServerName hostname:80
   ServerAdmin yourem...@domain.com

   RedirectMatch  ^/$ https://yourhostname:yourproxyport

/VirtualHost

/etc/httpd/conf.d/ssl.conf:
--
VirtualHost _default_:8443

#put the SSL options that you need/want
#and the following did the trick for me

ProxyPreserveHost on
ProxyPass / http://localhost:4567
ProxyPassReverse / http://localhost:4567

/VirtualHost


Hope that helps,

-sebastien


On Tue, May 3, 2011 at 12:07 PM, Sebastian Neg neg.sebast...@gmail.com wrote:
 Hi Sebastien,
 I am also instersted to do a SSL proxy to econe with apache.
 Have you any documentatio?
 Thanks
 Regards --


 On Wed, Apr 13, 2011 at 4:12 AM, Steven Timm t...@fnal.gov wrote:

 Hi Sebastien--we have this working with pre-release
 opennebula 2.2 at Fermilab and have contributed our
 patches back to the trunk.  We've confirmed
 that we can still use hybridfox to talk to the resulting combo.

 More details contact us offline.

 Steve





 On Tue, 12 Apr 2011, sebastien goasguen wrote:

 Hi,

 In http://www.opennebula.org/documentation:rel2.2:ec2qcg
 lighthttp is used to create a SSL proxy for the econe server.

 Has anyone setup apache to do the same ?
 I am looking for some documentation on how to do a SSL proxy to econe
 with apache.

 Any help much appreciated,

 -sebastien



 --
 --
 Steven C. Timm, Ph.D  (630) 840-8525
 t...@fnal.gov  http://home.fnal.gov/~timm/
 Fermilab Computing Division, Scientific Computing Facilities,
 Grid Facilities Department, FermiGrid Services Group, Group Leader.
 Lead of FermiCloud project.
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] boto with opennebula 2.2

2011-04-28 Thread sebastien goasguen
Hi,

Yes I am referring to:
http://code.google.com/p/boto/

The ecua2ools are based on it, so it should work. But I was wondering
if someone ever wrote a Python script using boto to start instances
with opennebula 2.2

-sebastien

On Thu, Apr 28, 2011 at 11:15 AM, Tino Vazquez tinov...@gmail.com wrote:
 Dear Sebastian,

 Are you referring to the boto library as a client for OpenNebula EC2
 implementation? If so, no directly, but I believe the elasticfox
 extension (which we've tried) is based on such library.

 Regards,

 -Tino

 --
 Constantino Vázquez Blanco | dsa-research.org/tinova
 Virtualization Technology Engineer / Researcher
 OpenNebula Toolkit | opennebula.org



 On Thu, Apr 28, 2011 at 4:55 PM, sebastien goasguen run...@gmail.com wrote:
 Hi,

 Has anyone used the python boto module with ONE 2.2 ?
 Can you share your config or changes to the code that you made.

 thanks,

 -sebastien

 --
 ---
 Sebastien Goasguen, Associate Professor
 School of Computing
 Clemson University
 864-553-4734.
 Google Voice: (864)-869-8683
 http://sites.google.com/site/runseb/
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] boto with opennebula 2.2

2011-04-28 Thread sebastien goasguen
Actually I just got it to work with ONE 2.2 and latest boto on Ubuntu.
In your $HOME put a .boto file with your opennebula credentials:

sebgoa@belmiro:~$ cat .boto
[Credentials]
aws_access_key_id = opennebula userid
aws_secret_access_key = hash of user passwd
[Boto]
debug = 0
num_retries = 2

then launch python

sebgoa@belmiro:~$ python
Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
[GCC 4.4.5] on linux2
Type help, copyright, credits or license for more information.
 import boto
 import boto.ec2
 conn=boto.connect_ec2(region=boto.ec2.regioninfo.RegionInfo(name=opennebula,endpoint='your
  opennebul'),port=8443)
 myimages=conn.get_all_images()
 print myimages
[Image:ami-, Image:ami-0001]
 myimages[0].run()
Reservation:r-47a5402e
 myimages[0].run()
Reservation:r-47a5402e
 print conn.get_all_instances()
[Reservation:default]

 print conn.get_all_instances()[0].instances
[Instance:i-75, Instance:i-76, Instance:i-77, Instance:i-78, Instance:i-79]

(obviously I had other machines running)

 for instance in conn.get_all_instances()[0].instances:
...instance.state
...
u'running'
u'running'
u'running'
u'running'
u'running'

The trick was the regioninfo instance.
Note that in my case the host:port I put in the regioninfo is an SSL
Proxy to Opennebula.

-sebastien


On Thu, Apr 28, 2011 at 11:56 AM,  srie...@ekp.uni-karlsruhe.de wrote:
 Hi,

 I tried it once, but had no luck in configuring it right.
 But if you try to control OpenNebula via python in general, I can recommend
 the xmlrpc interface. It's pretty easy to set up and works fine for me.

 http://opennebula.org/documentation:rel2.2:api

 Greetings,
 Stephan


 Quoting sebastien goasguen run...@gmail.com:

 Hi,

 Yes I am referring to:
 http://code.google.com/p/boto/

 The ecua2ools are based on it, so it should work. But I was wondering
 if someone ever wrote a Python script using boto to start instances
 with opennebula 2.2

 -sebastien

 On Thu, Apr 28, 2011 at 11:15 AM, Tino Vazquez tinov...@gmail.com wrote:

 Dear Sebastian,

 Are you referring to the boto library as a client for OpenNebula EC2
 implementation? If so, no directly, but I believe the elasticfox
 extension (which we've tried) is based on such library.

 Regards,

 -Tino

 --
 Constantino Vázquez Blanco | dsa-research.org/tinova
 Virtualization Technology Engineer / Researcher
 OpenNebula Toolkit | opennebula.org



 On Thu, Apr 28, 2011 at 4:55 PM, sebastien goasguen run...@gmail.com
 wrote:

 Hi,

 Has anyone used the python boto module with ONE 2.2 ?
 Can you share your config or changes to the code that you made.

 thanks,

 -sebastien

 --
 ---
 Sebastien Goasguen, Associate Professor
 School of Computing
 Clemson University
 864-553-4734.
 Google Voice: (864)-869-8683
 http://sites.google.com/site/runseb/
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





 --
 ---
 Sebastien Goasguen, Associate Professor
 School of Computing
 Clemson University
 864-553-4734.
 Google Voice: (864)-869-8683
 http://sites.google.com/site/runseb/
 ___
 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




-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] econe vm templates

2011-04-12 Thread sebastien goasguen
Hi,

When configuring econe.conf we specifiy the possible instance types:

# VM types allowed and its template file (inside templates directory)
VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]
VM_TYPE=[NAME=m1.medium, TEMPLATE=m1.medium.erb]

Is it possible to use any naming convention for the templates or are
we limited to the same as EC2 ?

for example can I write something like this in econe.conf:

VM_TYPE=[NAME=medium.onecore, TEMPLATE=medium.onecore.erb]

Which will let users do:

econe-run-instances -t medium.onecore

thanks ?

-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] econe vm templates

2011-04-12 Thread sebastien goasguen
Thanks a lot Daniel, I had not realized this was a client side issue.
It makes sense,

-sebastien

On Tue, Apr 12, 2011 at 5:12 PM, Daniel Molina dmol...@opennebula.org wrote:
 Hi,

 There is no problem on the econe server side, you can define as many
 types as you want and name them as you want, the server will handle
 it. The problem is in the client side, for example the econe client
 uses the amazon-ec2 gem where you can find the following code snippet:

 raise ArgumentError, :instance_type must specify a valid instance
 type unless optio
 ns[:instance_type].nil? || [t1.micro, m1.small, m1.large,
 m1.xlarge, m2.xlarge, c1.medium, c1.xlarge, m2.2xlarge,
 m2.4xlarge, cc1.4xlarge].include?(options[:instance_
 type])

 therefore you will have to use one of those names or modify the gem
 source. I think that other client utilities have the same restriction.

 Regards.


 On 12 April 2011 18:08, sebastien goasguen run...@gmail.com wrote:
 Hi,

 When configuring econe.conf we specifiy the possible instance types:

 # VM types allowed and its template file (inside templates directory)
 VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]
 VM_TYPE=[NAME=m1.medium, TEMPLATE=m1.medium.erb]

 Is it possible to use any naming convention for the templates or are
 we limited to the same as EC2 ?

 for example can I write something like this in econe.conf:

 VM_TYPE=[NAME=medium.onecore, TEMPLATE=medium.onecore.erb]

 Which will let users do:

 econe-run-instances -t medium.onecore

 thanks ?

 --
 ---
 Sebastien Goasguen, Associate Professor
 School of Computing
 Clemson University
 864-553-4734.
 Google Voice: (864)-869-8683
 http://sites.google.com/site/runseb/
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




 --
 Daniel Molina, Cloud Technology Engineer/Researcher
 Major Contributor
 OpenNebula - The Open Source Toolkit for Cloud Computing
 www.OpenNebula.org | dmol...@opennebula.org




-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] apache for a ssl proxy with econe

2011-04-12 Thread sebastien goasguen
Hi,

In http://www.opennebula.org/documentation:rel2.2:ec2qcg
lighthttp is used to create a SSL proxy for the econe server.

Has anyone setup apache to do the same ?
I am looking for some documentation on how to do a SSL proxy to econe
with apache.

Any help much appreciated,

-sebastien

-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Announcing scp-tsunami

2010-12-10 Thread sebastien goasguen
Dear ONE users,

After contributing scp-wave to the ONE ecosystem, we are pleased to
announce scp-tsunami available at:
http://code.google.com/p/scp-tsunami/

scp-tsunami is an improvement to scp-wave which splits the file/images
in chunks and transfers multiple chunks between your hosts.
The result is a x2 perfomance improvement compared to scp-wave which
was a straigtforward binary tree. According to our tests this compares
favorablty to a Bittorent setup.

The intent is to have a simple script to pre-stage VM image to a large
set of nodes and do it as efficiently as possible. tsunami ressembles
the bittorent protocol but does not necessitate to have you setup a
bittorent network between your hosts. This was developed by an
undergraduate student at Clemson University.

Hope you will find it useful,

-sebastien

-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org