Re: [one-users] Why is the OpenNebula 1.4 binary package for Ubuntu in system-wide mode?

2010-08-12 Thread Jaime Melis
Hi,
actually, Jeff is right. Ubuntu has its own rules about where should the
files go, that's why the OpenNebula 1.4 Ubuntu package is in system-wide
mode. The reason why we changed to self-contained for 2.0 is simply because
since we are doing the packaging ourselves, it was easier to do it in the
self-contained mode.

Nevertheless we are going to follow Jeff's advice and for the next beta
releases and the final release we will create the Ubuntu package in
system-wide mode.

cheers,
Jaime

On Thu, Aug 12, 2010 at 1:22 PM, Jeff Williams
wrote:

> I would guess because the ubuntu packaging standards have rules about where
> everything should be put. This way, someone familiar with Ubuntu will know
> where to find things and bin files will be in their path etc.
>
> The 2.0 beta ubuntu package is in the self-contained mode and I would have
> much preferred the system wide!
>
> Jeff
>
>
> On 12/08/2010, at 4:27 PM, Tobias Weikard wrote:
>
> > Hi,
> > I've got a small question. In the documentation from OpenNebula 1.4 (
> http://opennebula.org/documentation:rel1.4:plan) is described, that the
> preferred installation mode is the self-contained mode.
> >
> > But the Ubunutu binary packaged available at
> http://downloads.dsa-research.org/opennebula/ubuntu-one-1.4.0 is packaged
> in the system-wide mode. Why isn't it provided in the self-contained mode?
> Is there any reason?
> >
> > Thanks,
> > Tobias
> > ___
> > 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
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Strange behavior of ONE + EC2 API when using port forwaring

2010-08-12 Thread Jaime Melis
Hi Christian,

the way authentication works is by creating a "canonical string" which
includes the server port and matching it with your connection parameters.
Therefore if the port of the client differs from the one of the server it
will probably fail.

Can you change line 77 of EC2QueryServer.rb:
@server_po...@config[:port] => @server_port=8188

Can you test that? If that works we could create a fix using environment
variables.

Regards,
Jaime



On Thu, Aug 12, 2010 at 4:25 PM, Christian Baun wrote:

> Hi,
>
> I try using the EC2 API with boto[1], a Python interface to Amazon Web
> Services.
> The oned and econe server are up an running.
>
> When I try to access the econe server via Port 4567, it is working without
> problems. I send a request for a list of instances and econe-server.log
> says:
>
> 84.161.122.172 - - [12/Aug/2010 16:17:30] "GET
> /?AWSAccessKeyId=oneadmin&Action=DescribeInstances&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2010-08-12T14%3A17%3A31&Version=2010-06-15&Signature=t9jOxhD3TYAmNCzDpuuFrsSDQ2BItvzDdJjNxGdoye8%3D
> HTTP/1.1" 200 1335 0.0377
>
> It simply works.
>
> The problem: For several reasons I need access to ONE via the EC2 API over
> port 8188.
>
> I did a port forwarding via:
> iptables -I INPUT -p tcp --dport 8188 -j ACCEPT
> iptables -I PREROUTING -t nat -i eth0 -p tcp --dport 8188 -j REDIRECT
> --to-port 4567
>
> the econe server can now be reached via 8188:
>
> telnet 141.52.167.35 8188
> Trying 141.52.167.35...
> Connected to 141.52.167.35.
> Escape character is '^]'.
>
> But when I send a request for a list of instances, the result is:
>
> boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request
> AuthFailureUser not
> authorized0
>
> and econe-server.log says:
>
> 84.161.122.172 - - [12/Aug/2010 16:20:24] "GET
> /?AWSAccessKeyId=oneadmin&Action=DescribeInstances&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2010-08-12T14%3A20%3A25&Version=2010-06-15&Signature=DRA%2BiKREW2MFyARp%2Bxk3JWKrFBFFnJldRISauZ%2Bz6cc%3D
> HTTP/1.1" 400 139 0.0042
>
> Is this a known issue?
>
> The econe.conf has this values:
> ONE_XMLRPC=http://localhost:2633/RPC2
> SERVER=141.52.167.35
> PORT=4567
> VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]
> USER=...
> PASSWORD=...
> IMAGE_DIR=/srv/cloud/images
>
> When I change in econe.conf to Port 8188 and the server vaule to a FQDN the
> econe server is not starting. These are the only vaules that allow me to
> start the econe server.
>
> Any ideas?
>
> Thanks in advance for any help
>
>Christian
>
> [1] http://code.google.com/p/boto/
> ___
> 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] mkswap doesn't include "-L SWAP" option

2010-08-12 Thread Jaime Melis
Hi Dan,

that's a very good idea. I have included it in issue 255, and it will be
part of the 2.0 final release:
http://dev.opennebula.org/issues/255

Thanks for your great feedback!

cheers,
Jaime

On Thu, Aug 12, 2010 at 8:43 PM, Dan Yocum  wrote:

> Hi,
>
> I have noticed that my VM image doesn't automatically add the swap that is
> created during the instantiation process.
>
> I propose that this should be solved by creating the swap partition with
> the label of "SWAP" which then can be used in the VM /etc/fstab to specify
> the swap partition.  For example, this will be the line in the VM fstab:
>
> LABEL=SWAP swapswapdefaults0 0
>
> The scripts that need to be changed are ~oneadmin/lib/*/tm_mkswap.sh and
> simply add the "-L SWAP" option to the mkswap command.
>
> Dan
>
> --
> Dan Yocum
> Fermilab  630.840.6509
> yo...@fnal.gov, http://fermigrid.fnal.gov
> "I fly because it releases my mind from the tyranny of petty things."
> ___
> 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] /sbin/mkfs not available in a non-interactive bash sessions

2010-08-12 Thread Jaime Melis
Hi Dan,

you're very right. We have an open issue to solve that problem:
http://dev.opennebula.org/issues/255

Thanks for your feedback!

cheers,
Jaime

On Tue, Aug 10, 2010 at 9:56 PM, Dan Yocum  wrote:

>
>
> On 08/10/2010 02:51 PM, Dan Yocum wrote:
>
>> Hi,
>>
>> mkfs can not be found when attempting to ssh to a worker node to create
>> a FS. This is a limitation of a non-interactive bash session. If /sbin
>> is in the oneadmin PATH env var, then mkfs is available to the user, but
>> only during interactive (i.e., login) sessions.
>>
>> To remedy this, the full path to the executable must be specified -
>> /sbin/mkfs. Here is the error I get:
>>
>> Fri Jul 30 13:48:35 2010 [TM][D]: Message received: LOG - 35
>> tm_mkimage.sh: ERROR: Command "ssh fcl005 mkfs -t xfs -F
>> /srv/cloud/one/var//35/images/disk.2" failed.
>>
>> Fri Jul 30 13:48:35 2010 [TM][D]: Message received: LOG - 35
>> tm_mkimage.sh: ERROR: bash: mkfs: command not found
>>
>> Fri Jul 30 13:48:35 2010 [TM][D]: Message received: TRANSFER FAILURE 35
>> bash: mkfs: command not found
>>
>> I'd like to fix this in the interim - where can I find this and specify
>> the full path?
>>
>
> Found it - it's in ~oneadmin/lib/tm_commands/*/tm_mkimage.sh
>
>
> Dan
>
>
> --
> Dan Yocum
> Fermilab  630.840.6509
> yo...@fnal.gov, http://fermigrid.fnal.gov
> "I fly because it releases my mind from the tyranny of petty things."
> ___
> 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


[one-users] OpenNebula 2.0 beta - Hybfridfox and Euca2ools

2010-08-12 Thread Ricky A. Melgares
Hi,

Has anybody gotten these tools to work properly with the beta 2.0 version? I am 
able to login through the EC2 interface using Hybridfox. I can see my running 
instances but all the other tabs are empty. However, when I try to use the 
euca2ools using the same endpoint and credentials, I get an "AuthFailure: User 
not authorized" error. Any ideas?

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


[one-users] mkswap doesn't include "-L SWAP" option

2010-08-12 Thread Dan Yocum

Hi,

I have noticed that my VM image doesn't automatically add the swap that 
is created during the instantiation process.


I propose that this should be solved by creating the swap partition with 
the label of "SWAP" which then can be used in the VM /etc/fstab to 
specify the swap partition.  For example, this will be the line in the 
VM fstab:


LABEL=SWAP swapswapdefaults0 0

The scripts that need to be changed are ~oneadmin/lib/*/tm_mkswap.sh and 
simply add the "-L SWAP" option to the mkswap command.


Dan

--
Dan Yocum
Fermilab  630.840.6509
yo...@fnal.gov, http://fermigrid.fnal.gov
"I fly because it releases my mind from the tyranny of petty things."
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Strange behavior of ONE + EC2 API when using port forwaring

2010-08-12 Thread Christian Baun
Hi,

I try using the EC2 API with boto[1], a Python interface to Amazon Web 
Services.  
The oned and econe server are up an running.

When I try to access the econe server via Port 4567, it is working without 
problems. I send a request for a list of instances and econe-server.log says:

84.161.122.172 - - [12/Aug/2010 16:17:30] "GET 
/?AWSAccessKeyId=oneadmin&Action=DescribeInstances&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2010-08-12T14%3A17%3A31&Version=2010-06-15&Signature=t9jOxhD3TYAmNCzDpuuFrsSDQ2BItvzDdJjNxGdoye8%3D
 HTTP/1.1" 200 1335 0.0377

It simply works.

The problem: For several reasons I need access to ONE via the EC2 API over port 
8188.

I did a port forwarding via:
iptables -I INPUT -p tcp --dport 8188 -j ACCEPT
iptables -I PREROUTING -t nat -i eth0 -p tcp --dport 8188 -j REDIRECT --to-port 
4567

the econe server can now be reached via 8188:

telnet 141.52.167.35 8188
Trying 141.52.167.35...
Connected to 141.52.167.35.
Escape character is '^]'.

But when I send a request for a list of instances, the result is:

boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request
AuthFailureUser not 
authorized0

and econe-server.log says:

84.161.122.172 - - [12/Aug/2010 16:20:24] "GET 
/?AWSAccessKeyId=oneadmin&Action=DescribeInstances&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2010-08-12T14%3A20%3A25&Version=2010-06-15&Signature=DRA%2BiKREW2MFyARp%2Bxk3JWKrFBFFnJldRISauZ%2Bz6cc%3D
 HTTP/1.1" 400 139 0.0042

Is this a known issue? 

The econe.conf has this values:
ONE_XMLRPC=http://localhost:2633/RPC2
SERVER=141.52.167.35
PORT=4567
VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]
USER=...
PASSWORD=...
IMAGE_DIR=/srv/cloud/images

When I change in econe.conf to Port 8188 and the server vaule to a FQDN the 
econe server is not starting. These are the only vaules that allow me to start 
the econe server.

Any ideas?

Thanks in advance for any help

Christian

[1] http://code.google.com/p/boto/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Compiling Error: "Error calling pkg-config xmlrpc_server_abyss++ --static --libs"

2010-08-12 Thread Jaime Melis
Hi Viktor,

are you still experiencing this? Do you have by chance an http proxy
configured?

Regards,
Jaime

On Wed, Jul 28, 2010 at 9:36 AM, Mauch, Viktor  wrote:

> Hello everyone,
>
> I use Ubuntu 10.04 server und get always this error Messages:
>
>
> $scons
> ...
> Error calling pkg-config xmlrpc_server_abyss++ --static --libs
> ...
> Error calling pkg-config xmlrpc_client++ xmlrpc++ --libs
> ...
>
> During the compiling. At the end the scons command give me a success
> message:
>
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: `.' is up to date.
> scons: done building targets.
>
> But afterwards I'm not able to boot a VM, in the sched.log there is
> always this error message:
>
> "[SCHED][E]: Exception raised: Unable to transport XML to server and get
> XML response back.  HTTP response: 503"
>
> I think it has something to do with the compiling error message. Can
> anyone help me.
>
> Before the compiling procedure I've installed all "xmlrpc-c*" packages
> which come with Ubuntu 10.04 server.
>
>
> Thank you in advance
>
> Greets
>
> Viktor
>
>
>
> --
> Dipl.-Phys. Viktor Mauch
> Steinbuch Centre for Computing (SCC)
> http://www.scc.kit.edu/
>
> Karlsruhe Institute of Technology (KIT)
> Hermann-von-Helmholtz-Platz 1
> D-76344 Eggenstein-Leopoldshafen
>
> Phone: +49(0)7247 82-8721
> eMail: ma...@kit.edu
>
> ___
> 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


[one-users] Getting authenticating errors!!!

2010-08-12 Thread Vimal Gupta
Hi,

 

I have install nebula in /opt/ as root user "install.sh -d /opt/oneN"

 

Now I starting /opt/oneN/bin/one start

 

And getting this error.

 

#/opt/oneN/bin/oneuser list

Error: [UserPoolInfo] User couldn't be authenticated, aborting call.

 

Not able to run any command Pls help

 

 

 

Thankx 



The contents of this email, including the attachments, are PRIVILEGED AND 
CONFIDENTIAL to the intended recipient at the email address to which it has 
been addressed. If you receive it in error, please notify the sender 
immediately by return email and then permanently delete it from your system. 
The unauthorized use, distribution, copying or alteration of this email, 
including the attachments, is strictly forbidden. Thank you.
Please note that neither MakeMyTrip nor the sender accepts any responsibility 
for viruses and it is your responsibility to scan the email and attachments (if 
any). No contracts may be concluded on behalf of MakeMyTrip by means of email 
communications.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Why is the OpenNebula 1.4 binary package for Ubuntu in system-wide mode?

2010-08-12 Thread Jeff Williams
I would guess because the ubuntu packaging standards have rules about where 
everything should be put. This way, someone familiar with Ubuntu will know 
where to find things and bin files will be in their path etc.

The 2.0 beta ubuntu package is in the self-contained mode and I would have much 
preferred the system wide!

Jeff


On 12/08/2010, at 4:27 PM, Tobias Weikard wrote:

> Hi,
> I've got a small question. In the documentation from OpenNebula 1.4 
> (http://opennebula.org/documentation:rel1.4:plan) is described, that the 
> preferred installation mode is the self-contained mode.
> 
> But the Ubunutu binary packaged available at 
> http://downloads.dsa-research.org/opennebula/ubuntu-one-1.4.0 is packaged in 
> the system-wide mode. Why isn't it provided in the self-contained mode? Is 
> there any reason?
> 
> Thanks,
> Tobias
> ___
> 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


[one-users] the vm'state always boot

2010-08-12 Thread 庄威
 

hello!I want to ask that opennebula support vmware server 2.0.2 by vi sdk 2.5?
I installed vmware server2.0.2,and then when I onehost create,the oned.log 
always say monitoring host .
when deploy vm,the vm'state alwayes be "boot".
 
 the host' state:
 INFORMATION 
ID: 1  
NAME  : 202.117.10.192 
STATE : MONITORING 
IM_MAD: im_vmware  
VM_MAD: vmm_vmware 
TM_MAD: tm_vmware  

HOST SHARES
MAX MEM   : 0  
USED MEM (REAL)   : 0  
USED MEM (ALLOCATED)  : 0  
MAX CPU   : 0  
USED CPU (REAL)   : 0  
USED CPU (ALLOCATED)  : 0  
RUNNING VMS   : 0   
 
the vm'state:
ID USER NAME STAT CPU MEMHOSTNAMETIME
   9 oneadmin  VM2 boot   0   0  202.117.10.192 00 00:04:35

 the $ONE_LOCATION/var/oned.log:
 Thu Aug 12 18:49:03 2010 [InM][I]: Monitoring host 202.117.10.192 (0)
Thu Aug 12 18:49:04 2010 [InM][E]: Information driver crashed, recovering...
Thu Aug 12 18:50:03 2010 [InM][I]: Monitoring host 202.117.10.192 (0)
Thu Aug 12 18:50:04 2010 [InM][E]: Information driver crashed, recovering...
Thu Aug 12 18:51:03 2010 [InM][I]: Monitoring host 202.117.10.192 (0)


thank you very much!___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] hello

2010-08-12 Thread 庄威
hello!I want to ask that opennebula support vmware server 2.0.2 by vi sdk 2.5?
I installed vmware server2.0.2,and then when I onehost create,the oned.log 
always say monitoring host .
when deploy vm,the vm'state alwayes be "boot".
 
 the host' state:
 INFORMATION 
ID: 1  
NAME  : 202.117.10.192 
STATE : MONITORING 
IM_MAD: im_vmware  
VM_MAD: vmm_vmware 
TM_MAD: tm_vmware  

HOST SHARES
MAX MEM   : 0  
USED MEM (REAL)   : 0  
USED MEM (ALLOCATED)  : 0  
MAX CPU   : 0  
USED CPU (REAL)   : 0  
USED CPU (ALLOCATED)  : 0  
RUNNING VMS   : 0   
 
the vm'state:
ID USER NAME STAT CPU MEMHOSTNAMETIME
   9 oneadmin  VM2 boot   0   0  202.117.10.192 00 00:04:35

 the $ONE_LOCATION/var/oned.log:
 Thu Aug 12 18:49:03 2010 [InM][I]: Monitoring host 202.117.10.192 (0)
Thu Aug 12 18:49:04 2010 [InM][E]: Information driver crashed, recovering...
Thu Aug 12 18:50:03 2010 [InM][I]: Monitoring host 202.117.10.192 (0)
Thu Aug 12 18:50:04 2010 [InM][E]: Information driver crashed, recovering...
Thu Aug 12 18:51:03 2010 [InM][I]: Monitoring host 202.117.10.192 (0)


thank you very much!
 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] virtualization platform supported ?

2010-08-12 Thread LE PALLEC Kevin
Hello, 
 
Can you confirm that OpenNebula support these platform ?: 
VMware vsphere 4.1
Citrix XenServer 5.6
Oracle VM 2.2

 

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


[one-users] reduce monitoring interval doesn't work under 30 seconds?

2010-08-12 Thread Tobias Weikard

Hi,
I'm using OpenNebula 1.4. I tried to reduce the 
VM_POLLING_INTERVAL to 10 seconds (in /etc/one/oned.conf.


But it seems that the interval can't be smaller than 30 
seconds. Is 30 seconds the minimum or how can I reduce the 
interval?



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


[one-users] Why is the OpenNebula 1.4 binary package for Ubuntu in system-wide mode?

2010-08-12 Thread Tobias Weikard

Hi,
I've got a small question. In the documentation from 
OpenNebula 1.4 
(http://opennebula.org/documentation:rel1.4:plan) is 
described, that the preferred installation mode is the 
self-contained mode.


But the Ubunutu binary packaged available at 
http://downloads.dsa-research.org/opennebula/ubuntu-one-1.4.0 
is packaged in the system-wide mode. Why isn't it provided 
in the self-contained mode? Is there any reason?


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