Re: [one-users] error create VM KVM

2011-11-16 Thread Humberto N. Castejon Martinez
Hi,

I have also experienced this problem, my if I am not wrong it can be due to
several reasons. In your case I think the following error message can have
the clue:

[VMM][I]: error: unknown OS type hvm

Have you properly defined the OS attribute of the image you are trying to
deploy?
Also, check /var/log/libvirt/qemu/one-9.log in cluster2 for more info about
the problem.

Cheers,
Humberto

--

Message: 4
Date: Wed, 16 Nov 2011 02:54:01 +0700
From: Dian Djaelani 
To: users@lists.opennebula.org
Subject: [one-users] error create VM KVM
Message-ID: <4ec2c359.1040...@maxindo.net.id>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

anyone can help me ?? i`m try to build opennebula but error when create
virtual machine with KVM hypervisor

Wed Nov 16 02:29:57 2011 [DiM][I]: New VM state is ACTIVE.
Wed Nov 16 02:29:57 2011 [LCM][I]: New VM state is PROLOG.
Wed Nov 16 02:29:57 2011 [VM][I]: Virtual Machine has no context
Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh:
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
cluster2:/var/lib/one//9/images/disk.0
Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh: DST:
/var/lib/one//9/images/disk.0
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//9/images
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2
mkdir -p /var/lib/one//9/images".
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Cloning
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "scp
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
cluster2:/var/lib/one//9/images/disk.0".
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2
chmod a+rw /var/lib/one//9/images/disk.0".
Wed Nov 16 02:30:57 2011 [TM][I]: ExitCode: 0
Wed Nov 16 02:30:57 2011 [LCM][I]: New VM state is BOOT
Wed Nov 16 02:30:57 2011 [VMM][I]: Generating deployment file:
/var/lib/one/9/deployment.0
Wed Nov 16 02:31:07 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy
/var/lib/one//9/images/deployment.0 cluster2 9 cluster2;
else  exit 42; fi'
Wed Nov 16 02:31:07 2011 [VMM][I]: error: Failed to create domain from
/var/lib/one//9/images/deployment.0
Wed Nov 16 02:31:07 2011 [VMM][I]: error: unknown OS type hvm
Wed Nov 16 02:31:07 2011 [VMM][E]: Could not create domain from
/var/lib/one//9/images/deployment.0
Wed Nov 16 02:31:07 2011 [VMM][I]: ExitCode: 255
Wed Nov 16 02:31:07 2011 [VMM][E]: Error deploying virtual machine:
Could not create domain from /var/lib/one//9/images/deployment.0
Wed Nov 16 02:31:08 2011 [DiM][I]: New VM state is FAILED
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] error create VM KVM

2011-11-16 Thread Fabian Wenk

Hello Dian

On 15.11.2011 20:54, Dian Djaelani wrote:

anyone can help me ?? i`m try to build opennebula but error when create
virtual machine with KVM hypervisor



Wed Nov 16 02:31:07 2011 [VMM][I]: error: unknown OS type hvm


From where does this "hvm" come? Could be a type somewhere in 
your VM template. Is the image you have really able to run on 
KVM? Eg. was it created with the qemu/kvm tools?



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


[one-users] New OpenNebula release process

2011-11-16 Thread Carlos Martín Sánchez
Dear community,

We have posted in our blog the announcement of the new release process for
the upcoming OpenNebula versions [1].

The release plan for OpenNebula 3.2 is:

   - OpenNebula 3.2 Final will be released on December 20th. The
   blue-prints for this release can be found at the development portal [2].
   - OpenNebula 3.2 will have a pre-release available by November 18th.
   This release incorporates the features developed during the first two
   sprints.

We’ll make our debut with this new process with an OpenNebula 3.2
pre-release this Friday, stay tuned for release notes and download
instructions.

Regards.

[1] http://blog.opennebula.org/?p=2159
[2] http://dev.opennebula.org/projects/opennebula/issues?query_id=18
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] error create VM KVM

2011-11-16 Thread Thomas Higdon
Also check the permissions of the /dev/kvm device on the physical
machine where the hypervisor is running. Make sure that the user that is
running the hypervisor has permissions to read and write to that device.
The libvirt configuration defines which user does this.

On Tue, Nov 15, 2011 at 02:45:37PM -0600, Dian Djaelani wrote:
> thanks Thomas for your suggest,
> i try to load kernel modules kvm, kvm_intel but it`s still error, can 
> give me any suggestion :-( ?
> 
> Thomas Higdon wrote:
> > I've seen this sort of error when the kvm kernel modules haven't been
> > loaded. Try:
> >
> > modprobe kvm
> >
> > and:
> >
> > modprobe kvm_intel
> >
> > or
> >
> > modprobe kvm_amd
> >
> > depending on your CPU vendor
> >
> > On Tue, Nov 15, 2011 at 01:54:01PM -0600, Dian Djaelani wrote:
> >> anyone can help me ?? i`m try to build opennebula but error when create
> >> virtual machine with KVM hypervisor
> >>
> >> Wed Nov 16 02:29:57 2011 [DiM][I]: New VM state is ACTIVE.
> >> Wed Nov 16 02:29:57 2011 [LCM][I]: New VM state is PROLOG.
> >> Wed Nov 16 02:29:57 2011 [VM][I]: Virtual Machine has no context
> >> Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh:
> >> frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
> >> cluster2:/var/lib/one//9/images/disk.0
> >> Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh: DST:
> >> /var/lib/one//9/images/disk.0
> >> k Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Creating directory
> >> /var/lib/one//9/images
> >> Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2
> >> mkdir -p /var/lib/one//9/images".
> >> Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Cloning
> >> frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
> >> Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "scp
> >> frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
> >> cluster2:/var/lib/one//9/images/disk.0".
> >> Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2
> >> chmod a+rw /var/lib/one//9/images/disk.0".
> >> Wed Nov 16 02:30:57 2011 [TM][I]: ExitCode: 0
> >> Wed Nov 16 02:30:57 2011 [LCM][I]: New VM state is BOOT
> >> Wed Nov 16 02:30:57 2011 [VMM][I]: Generating deployment file:
> >> /var/lib/one/9/deployment.0
> >> Wed Nov 16 02:31:07 2011 [VMM][I]: Command execution fail: 'if [ -x
> >> "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy
> >> /var/lib/one//9/images/deployment.0 cluster2 9 cluster2;
> >> else  exit 42; fi'
> >> Wed Nov 16 02:31:07 2011 [VMM][I]: error: Failed to create domain from
> >> /var/lib/one//9/images/deployment.0
> >> Wed Nov 16 02:31:07 2011 [VMM][I]: error: unknown OS type hvm
> >> Wed Nov 16 02:31:07 2011 [VMM][E]: Could not create domain from
> >> /var/lib/one//9/images/deployment.0
> >> Wed Nov 16 02:31:07 2011 [VMM][I]: ExitCode: 255
> >> Wed Nov 16 02:31:07 2011 [VMM][E]: Error deploying virtual machine:
> >> Could not create domain from /var/lib/one//9/images/deployment.0
> >> Wed Nov 16 02:31:08 2011 [DiM][I]: New VM state is FAILED
> >> ___
> >> 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] using amazon ami iamges

2011-11-16 Thread Siva Prasad

Hi Gurus,

This is my first mail to this group.The below is my problem.

I have made a Image for AMAZON EC2(which is an img files with 
manifest.xml) , which obviously works on ec2.


Now can i use the same image on opennebula.If yes can anybody tell me 
the process?


Or Are there any opensource solutions where I could use amazon EC2 image 
to create instances.


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


[one-users] Sunstone expired token issue using x509

2011-11-16 Thread Emmanuel Mathot
Hello,

I configured (a bit painfully but successfully) all the authentication 
mechanism with X509 either from CLI or sunstone (SSL proxy).
Unfortunately from the cloud operations center, the token generated by sunstone 
(not sure) does not last very long and after a very short time (2min?), it is 
necessary to reload the page from the browser in order to recreate a token.

oned.log:

Wed Nov 16 17:32:35 2011 [AuM][D]: Message received: AUTHENTICATE FAILURE 668 
login token expired

Wed Nov 16 17:32:35 2011 [AuM][E]: Auth Error: login token expired
Wed Nov 16 17:32:35 2011 [ReM][E]: [HostPoolInfo] User couldn't be 
authenticated, aborting call.
Wed Nov 16 17:32:47 2011 [ReM][D]: ImagePoolInfo method invoked
Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG I 669 Command 
execution fail: /var/lib/one/remotes/auth/server/authenticate emathot   


Wed Nov 16 17:32:47 2011 [AuM][I]: Command execution fail: 
/var/lib/one/remotes/auth/server/authenticate emathot   
Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG E 669 login token 
expired

Wed Nov 16 17:32:47 2011 [AuM][I]: login token expired
Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG I 669 ExitCode: 255

Is there any way to increase this token expiration time?

Regards,

Emmanuel Mathot

smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VMs are not reachable over their IP

2011-11-16 Thread Jaime Melis
Hi Martin,

The way the default network configuration works in OpenNebula is by making
the hypervisor hook the virtual network interface of a virtual machine to a
pre-existent bridge (created by the administrator), which is, in turn,
connected to a real physical device:

  +---+
  |   |
  |  br0  |
  |   |
  +---+--++
  |  |
  |  |
+-+  +---+
| |  |   |
|  eth0   |  |vnet0  |
| |  |   |
+-+  +---+

br0: bridge created by administrator during the installation process of
OpenNebula (which may or may not have an IP)
eth0: real physical device (which doesn't have an IP)
vnet0: the virtual network device of the virtual machine, created by the
hypervisor.

You can verify this when running a VM by running the following command in
your worker nodes:

$ bridge name bridge id STP enabled interfaces
br0 8000.001e682f4a02 no eth0
 vnet1

br1 8000.001e682f4a03 no eth1
 vnet0

In this particular case there are two bridges: br0 and br1

You can read about alternative network setups here:
http://opennebula.org/documentation:rel3.0:nm

Regards,
Jaime

On Mon, Nov 14, 2011 at 1:06 PM, Martin Lauer wrote:

> **
> Hi,
> I've set up my machine images with contextualization and they're
> configured right, when looking into the machines via VNC.
> The leases from my "public.net" are also given to the machines.
> Shouldn't the bridge on the host(s) "br0" be mapped with additional IPs
> (the ones from the VMs)? This is just an assumption, when thinking back to
> Eucalyptus, which I tried to use before as a Private Cloud Infrastructure.
>
> Can someone give me a hint how routing is done in OpenNebula and how
> packets are accepted by the bridge!
>
> Thanks,
> martin
>
> --
> Martin LauerHochschule der Medien Nobelstraße 10 70569 Stuttgart
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone expired token issue using x509

2011-11-16 Thread Steven Timm

We saw this happen too, they gave us a patch to expand the token
to 1 hour--if you want details we can dig them up and send them.
It's just changing one argument in one of the ruby files.

Steve Timm


On Wed, 16 Nov 2011, Emmanuel Mathot wrote:


Hello,

I configured (a bit painfully but successfully) all the authentication 
mechanism with X509 either from CLI or sunstone (SSL proxy).
Unfortunately from the cloud operations center, the token generated by sunstone 
(not sure) does not last very long and after a very short time (2min?), it is 
necessary to reload the page from the browser in order to recreate a token.

oned.log:

Wed Nov 16 17:32:35 2011 [AuM][D]: Message received: AUTHENTICATE FAILURE 668 
login token expired

Wed Nov 16 17:32:35 2011 [AuM][E]: Auth Error: login token expired
Wed Nov 16 17:32:35 2011 [ReM][E]: [HostPoolInfo] User couldn't be 
authenticated, aborting call.
Wed Nov 16 17:32:47 2011 [ReM][D]: ImagePoolInfo method invoked
Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG I 669 Command execution fail: 
/var/lib/one/remotes/auth/server/authenticate emathot   

Wed Nov 16 17:32:47 2011 [AuM][I]: Command execution fail: 
/var/lib/one/remotes/auth/server/authenticate emathot   
Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG E 669 login token 
expired

Wed Nov 16 17:32:47 2011 [AuM][I]: login token expired
Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG I 669 ExitCode: 255

Is there any way to increase this token expiration time?

Regards,

Emmanuel Mathot


--
--
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


Re: [one-users] Sunstone expired token issue using x509

2011-11-16 Thread Emmanuel Mathot
That would be very useful. If at least we can specify a validity time, this is 
fine.

Thank you.


On 16 Nov 2011, at 17:42, Steven Timm wrote:

> We saw this happen too, they gave us a patch to expand the token
> to 1 hour--if you want details we can dig them up and send them.
> It's just changing one argument in one of the ruby files.
> 
> Steve Timm
> 
> 
> On Wed, 16 Nov 2011, Emmanuel Mathot wrote:
> 
>> Hello,
>> 
>> I configured (a bit painfully but successfully) all the authentication 
>> mechanism with X509 either from CLI or sunstone (SSL proxy).
>> Unfortunately from the cloud operations center, the token generated by 
>> sunstone (not sure) does not last very long and after a very short time 
>> (2min?), it is necessary to reload the page from the browser in order to 
>> recreate a token.
>> 
>> oned.log:
>> 
>> Wed Nov 16 17:32:35 2011 [AuM][D]: Message received: AUTHENTICATE FAILURE 
>> 668 login token expired
>> 
>> Wed Nov 16 17:32:35 2011 [AuM][E]: Auth Error: login token expired
>> Wed Nov 16 17:32:35 2011 [ReM][E]: [HostPoolInfo] User couldn't be 
>> authenticated, aborting call.
>> Wed Nov 16 17:32:47 2011 [ReM][D]: ImagePoolInfo method invoked
>> Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG I 669 Command 
>> execution fail: /var/lib/one/remotes/auth/server/authenticate emathot   
>> 
>> 
>> Wed Nov 16 17:32:47 2011 [AuM][I]: Command execution fail: 
>> /var/lib/one/remotes/auth/server/authenticate emathot   
>> Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG E 669 login token 
>> expired
>> 
>> Wed Nov 16 17:32:47 2011 [AuM][I]: login token expired
>> Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG I 669 ExitCode: 255
>> 
>> Is there any way to increase this token expiration time?
>> 
>> Regards,
>> 
>> Emmanuel Mathot
> 
> -- 
> --
> 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.



smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Opennebula VMWare drivers

2011-11-16 Thread Emmanuel Mathot
Hello,

I would like to know the status of the VMWare drivers add-on. In fact, I use 
the latest version 3.0.0 beta 1 but no information or news about a stable 
release and I did not find any project on dev.opennebula.org to post messages 
about it.
My wondering is double:

1) For what I know using it for a certain time now, VMWare driver is actually a 
libvirt driver dealing with gsx or esx protocol. This implies the support of 
libvirt for VMWare which is not really the case (ESXi 5 not supported and no 
roadmap to do it). Some useful functionalities proposed in VMWare ESXi are not 
available through the current driver. This leads to the second point

2) Is there any ongoing development of a "native" VMWare driver using either 
"vSphere CLI for linux" or the "vSphere Web Services"?

Thanks for your answers.

Emmanuel Mathot

smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] error create VM KVM

2011-11-16 Thread Dian Djaelani

Hi thanks for attention,
but i try check log on /var/log/libvirt/qemu/ in cluster2 that not found log

Humberto N. Castejon Martinez wrote:

Hi,

I have also experienced this problem, my if I am not wrong it can be 
due to several reasons. In your case I think the following error 
message can have the clue:


[VMM][I]: error: unknown OS type hvm

Have you properly defined the OS attribute of the image you are trying 
to deploy?
Also, check /var/log/libvirt/qemu/one-9.log in cluster2 for more info 
about the problem.


Cheers,
Humberto

--

Message: 4
Date: Wed, 16 Nov 2011 02:54:01 +0700
From: Dian Djaelani >

To: users@lists.opennebula.org 
Subject: [one-users] error create VM KVM
Message-ID: <4ec2c359.1040...@maxindo.net.id 
>

Content-Type: text/plain; charset=ISO-8859-1; format=flowed

anyone can help me ?? i`m try to build opennebula but error when create
virtual machine with KVM hypervisor

Wed Nov 16 02:29:57 2011 [DiM][I]: New VM state is ACTIVE.
Wed Nov 16 02:29:57 2011 [LCM][I]: New VM state is PROLOG.
Wed Nov 16 02:29:57 2011 [VM][I]: Virtual Machine has no context
Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh:
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
cluster2:/var/lib/one//9/images/disk.0
Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh: DST:
/var/lib/one//9/images/disk.0
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//9/images
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2
mkdir -p /var/lib/one//9/images".
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Cloning
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "scp
frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
cluster2:/var/lib/one//9/images/disk.0".
Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2
chmod a+rw /var/lib/one//9/images/disk.0".
Wed Nov 16 02:30:57 2011 [TM][I]: ExitCode: 0
Wed Nov 16 02:30:57 2011 [LCM][I]: New VM state is BOOT
Wed Nov 16 02:30:57 2011 [VMM][I]: Generating deployment file:
/var/lib/one/9/deployment.0
Wed Nov 16 02:31:07 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy
/var/lib/one//9/images/deployment.0 cluster2 9 cluster2;
else  exit 42; fi'
Wed Nov 16 02:31:07 2011 [VMM][I]: error: Failed to create domain from
/var/lib/one//9/images/deployment.0
Wed Nov 16 02:31:07 2011 [VMM][I]: error: unknown OS type hvm
Wed Nov 16 02:31:07 2011 [VMM][E]: Could not create domain from
/var/lib/one//9/images/deployment.0
Wed Nov 16 02:31:07 2011 [VMM][I]: ExitCode: 255
Wed Nov 16 02:31:07 2011 [VMM][E]: Error deploying virtual machine:
Could not create domain from /var/lib/one//9/images/deployment.0
Wed Nov 16 02:31:08 2011 [DiM][I]: New VM state is FAILED




___
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] Sunstone expired token issue using x509

2011-11-16 Thread Ruben S. Montero
Hi

Look for X509CloudAuth.rb and line 103

   @token = auth.login_token(username, subjectname, 300)

the 300 is the expiration time in secs (5 min). Change it to whatever
suits your needs

Just wanted to let you know that we have reworked this to better deal
with session expiration times and caching to better scale the
server... This new feature is ready for the next pre-release of
OpenNebula 3.2 this Friday. This has been done also thanks to the
feedback and comments of Steven's team...

Cheers

Ruben

On Wed, Nov 16, 2011 at 5:58 PM, Emmanuel Mathot
 wrote:
> That would be very useful. If at least we can specify a validity time, this 
> is fine.
>
> Thank you.
>
>
> On 16 Nov 2011, at 17:42, Steven Timm wrote:
>
>> We saw this happen too, they gave us a patch to expand the token
>> to 1 hour--if you want details we can dig them up and send them.
>> It's just changing one argument in one of the ruby files.
>>
>> Steve Timm
>>
>>
>> On Wed, 16 Nov 2011, Emmanuel Mathot wrote:
>>
>>> Hello,
>>>
>>> I configured (a bit painfully but successfully) all the authentication 
>>> mechanism with X509 either from CLI or sunstone (SSL proxy).
>>> Unfortunately from the cloud operations center, the token generated by 
>>> sunstone (not sure) does not last very long and after a very short time 
>>> (2min?), it is necessary to reload the page from the browser in order to 
>>> recreate a token.
>>>
>>> oned.log:
>>>
>>> Wed Nov 16 17:32:35 2011 [AuM][D]: Message received: AUTHENTICATE FAILURE 
>>> 668 login token expired
>>>
>>> Wed Nov 16 17:32:35 2011 [AuM][E]: Auth Error: login token expired
>>> Wed Nov 16 17:32:35 2011 [ReM][E]: [HostPoolInfo] User couldn't be 
>>> authenticated, aborting call.
>>> Wed Nov 16 17:32:47 2011 [ReM][D]: ImagePoolInfo method invoked
>>> Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG I 669 Command 
>>> execution fail: /var/lib/one/remotes/auth/server/authenticate emathot   
>>> 
>>>
>>> Wed Nov 16 17:32:47 2011 [AuM][I]: Command execution fail: 
>>> /var/lib/one/remotes/auth/server/authenticate emathot   
>>> Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG E 669 login token 
>>> expired
>>>
>>> Wed Nov 16 17:32:47 2011 [AuM][I]: login token expired
>>> Wed Nov 16 17:32:47 2011 [AuM][D]: Message received: LOG I 669 ExitCode: 255
>>>
>>> Is there any way to increase this token expiration time?
>>>
>>> Regards,
>>>
>>> Emmanuel Mathot
>>
>> --
>> --
>> 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
>
>



-- 
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid

URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VMs are not reachable over their IP

2011-11-16 Thread Martin Lauer

Hey Jaime,
thanks for the explanation. Maybe the formulation of my question wasn't 
really good at all. I've read most of the documentation and bridging 
isn't a new topic for me.


When OpenNebula launches a (the first) VM, the vnet0 is attached to the 
bridge (this works flawlessly in my case).
If my bridge has the IP 141.x.x.66 and the VMs get an IP , ranged from 
141.x.x.67-141.x.x.80, how are the packets been routed to the VMs?


Does OpenNebula (my context Script) just set the VM IP within the 
running VM, or is there also a mechanism that sets the corresponding IP 
(eg. 141.x.x.67) also on the bridge, so the VM is visible to the Network?
Or are VLAN Tags/Open vSwitch/ebtables the only way to process IP 
Packages to the KVM virtual Interfaces?


cheers, Martin


Am 16.11.2011 17:40, schrieb Jaime Melis:

Hi Martin,

The way the default network configuration works in OpenNebula is by 
making the hypervisor hook the virtual network interface of a virtual 
machine to a pre-existent bridge (created by the administrator), which 
is, in turn, connected to a real physical device:


  +---+
  |   |
  |  br0  |
  |   |
  +---+--++
  |  |
  |  |
+-+  +---+
| |  |   |
|  eth0   |  |vnet0  |
| |  |   |
+-+  +---+

br0: bridge created by administrator during the installation process 
of OpenNebula (which may or may not have an IP)

eth0: real physical device (which doesn't have an IP)
vnet0: the virtual network device of the virtual machine, created by 
the hypervisor.


You can verify this when running a VM by running the following command 
in your worker nodes:


$ bridge namebridge idSTP enabledinterfaces
br08000.001e682f4a02noeth0
vnet1

br18000.001e682f4a03noeth1
vnet0

In this particular case there are two bridges: br0 and br1

You can read about alternative network setups here:
http://opennebula.org/documentation:rel3.0:nm

Regards,
Jaime

On Mon, Nov 14, 2011 at 1:06 PM, Martin Lauer > wrote:


Hi,
I've set up my machine images with contextualization and they're
configured right, when looking into the machines via VNC.
The leases from my "public.net " are also given
to the machines.
Shouldn't the bridge on the host(s) "br0" be mapped with
additional IPs (the ones from the VMs)? This is just an
assumption, when thinking back to Eucalyptus, which I tried to use
before as a Private Cloud Infrastructure.

Can someone give me a hint how routing is done in OpenNebula and
how packets are accepted by the bridge!

Thanks,
martin

-- 
Martin Lauer


Hochschule der Medien  
Nobelstraße 10  
70569 Stuttgart



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




--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org  | jme...@opennebula.org 

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