Re: [one-users] Upgrade 3.8.1

2012-11-19 Thread Duverne, Cyrille
Hello,

What about sudoers ? 

This line makes me think about a bad uid permission on some
files/folders but I don't know how to solve this since all Opennebula
doc are set to oneadmin:oneadmin, the UID 107 is the old UID of my
oneadmin user, the new one is 1001 
 
Thu Nov 15 16:16:42 2012 [VMM][I]: error: internal error cannot
getpwuid_r(107): Success

Thanks for your answer.
CyD

Lundi 19/11/2012 à 9:49 Olivier Sallou a écrit:

Le 11/18/12 10:13 PM, Duverne, Cyrille a écrit :

Hello all,

Any help on this, could be of use :)

Maybe an issue with user rights on host you are trying to migrate
(sudoers ?)

In advance, thanks.
CyD

Imagination is more important than Knowledge
Albert Einstein

Jeudi 15/11/2012 à 16:30 Duverne, Cyrille a écrit:

 Hello,

I finally solved my ssh password issue by rebooting ssh daemons on all
host.

But I can't create or move or do anything with VMs.

The creation start and fall in FAILED with the message :

Thu Nov 15 16:14:36 2012 [DiM][I]: New VM state is ACTIVE. Thu Nov 15
16:14:37 2012 [LCM][I]: New VM state is PROLOG. Thu Nov 15 16:16:18
2012 [TM][I]: clone: Cloning
/var/lib/one/datastores/1/f1b8e48b3dff8d26e3f35dff501ae691 in
inferno.local:/var/lib/one/datastores/0/219/disk.0 Thu Nov 15 16:16:18
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:36 2012 [TM][I]: mkimage:
Making filesystem of 15000M and type ext3 at
inferno.local:/var/lib/one/datastores/0/219/disk.1 Thu Nov 15 16:16:36
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [TM][I]: context:
Generating context block device at
inferno.local:/var/lib/one/datastores/0/219/disk.2 Thu Nov 15 16:16:38
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [LCM][I]: New VM
state is BOOT Thu Nov 15 16:16:38 2012 [VMM][I]: Generating deployment
file: /var/lib/one/219/deployment.0 Thu Nov 15 16:16:38 2012 [VMM][W]:
Graphics not supported or undefined, ignored. Thu Nov 15 16:16:39 2012
[VMM][I]: ExitCode: 0 Thu Nov 15 16:16:39 2012 [VMM][I]: Successfully
execute network driver operation: pre. Thu Nov 15 16:16:42 2012
[VMM][I]: Command execution fail: cat 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Upgrade 3.8.1

2012-11-19 Thread Olivier Sallou

Le 11/19/12 10:00 AM, Duverne, Cyrille a écrit :
 07 is the old UID of my oneadmin user, the new one is 1001 
Why did it changed ?

Did you try to add oneadmin to sudoers (at least regarding libvirt
etc..). There is a paragraph on required rights I think in Opennebula
documentation.



-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

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


Re: [one-users] Upgrade 3.8.1

2012-11-19 Thread Duverne, Cyrille
Hello,

I put my hands in an already installed evironment, in which I added 4
news hosts, on each host there was other users which were using the
UID 107 and were running critical processes.

Thus, I decided to update the old oneadmin user from the 1st farm to
1001, so I won't have further problem with new hosts, I thought.

I then found all directories and files which were owned by UID 107 and
chowned them to 1001, and then start the disaster :)

Does oneadmin have to be a sudoer ? 

It's already part of libvirt and kvm groups...

Regards
Cyrille

Imagination is more important than Knowledge
Albert Einstein

Lundi 19/11/2012 à 13:16 Olivier Sallou a écrit:

Le 11/19/12 10:00 AM, Duverne, Cyrille a écrit :

07 is the old UID of my oneadmin user, the new one is 1001 

 Why did it changed ?

Did you try to add oneadmin to sudoers (at least regarding libvirt
etc..). There is a paragraph on required rights I think in Opennebula
documentation..

-- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu,
35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438
(keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D
78DC 68DB 326D 8438  


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


Re: [one-users] Upgrade 3.8.1

2012-11-19 Thread Duverne, Cyrille

Hello,

It should be fine ? Ok but still not working :)

Should I send you some other information ?

Cheers
CyD

Imagination is more important than Knowledge
Albert Einstein

Lundi 19/11/2012 à 14:18 olivier.sal...@codeless.fr a écrit:

Le 11/19/12 2:02 PM, Duverne, Cyrille a écrit :

 Hello,

I put my hands in an already installed evironment, in which I added 4
news hosts, on each host there was other users which were using the
UID 107 and were running critical processes.

Thus, I decided to update the old oneadmin user from the 1st farm to
1001, so I won't have further problem with new hosts, I thought.

I then found all directories and files which were owned by UID 107 and
chowned them to 1001, and then start the disaster :)

 yes, all opennebula dirs are owned by oneadmin. But your issues
rather looks like system rights issue.

Does oneadmin have to be a sudoer ? 

 not necessary

 It's already part of libvirt and kvm groups

 should be fine

Regards
Cyrille

Imagination is more important than Knowledge
Albert Einstein

Lundi 19/11/2012 à 13:16 Olivier Sallou a écrit:

Le 11/19/12 10:00 AM, Duverne, Cyrille a écrit :

07 is the old UID of my oneadmin user, the new one is 1001 

 Why did it changed ?

Did you try to add oneadmin to sudoers (at least regarding libvirt
etc..). There is a paragraph on required rights I think in Opennebula
documentation..

-- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu,
35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438
(keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D
78DC 68DB 326D 8438  

-- gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint =
5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 


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


Re: [one-users] Upgrade 3.8.1

2012-11-18 Thread Duverne, Cyrille

Hello all,

Any help on this, could be of use :)

In advance, thanks.
CyD

Imagination is more important than Knowledge
Albert Einstein

Jeudi 15/11/2012 à 16:30 Duverne, Cyrille a écrit:

Hello,

I finally solved my ssh password issue by rebooting ssh daemons on all
host.

But I can't create or move or do anything with VMs.

The creation start and fall in FAILED with the message :

Thu Nov 15 16:14:36 2012 [DiM][I]: New VM state is ACTIVE. Thu Nov 15
16:14:37 2012 [LCM][I]: New VM state is PROLOG. Thu Nov 15 16:16:18
2012 [TM][I]: clone: Cloning
/var/lib/one/datastores/1/f1b8e48b3dff8d26e3f35dff501ae691 in
inferno.local:/var/lib/one/datastores/0/219/disk.0 Thu Nov 15 16:16:18
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:36 2012 [TM][I]: mkimage:
Making filesystem of 15000M and type ext3 at
inferno.local:/var/lib/one/datastores/0/219/disk.1 Thu Nov 15 16:16:36
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [TM][I]: context:
Generating context block device at
inferno.local:/var/lib/one/datastores/0/219/disk.2 Thu Nov 15 16:16:38
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [LCM][I]: New VM
state is BOOT Thu Nov 15 16:16:38 2012 [VMM][I]: Generating deployment
file: /var/lib/one/219/deployment.0 Thu Nov 15 16:16:38 2012 [VMM][W]:
Graphics not supported or undefined, ignored. Thu Nov 15 16:16:39 2012
[VMM][I]: ExitCode: 0 Thu Nov 15 16:16:39 2012 [VMM][I]: Successfully
execute network driver operation: pre. Thu Nov 15 16:16:42 2012
[VMM][I]: Command execution fail: cat 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Upgrade 3.8.1

2012-11-15 Thread Duverne, Cyrille
Hello,

I finally solved my ssh password issue by rebooting ssh daemons on all
host.

But I can't create or move or do anything with VMs.

The creation start and fall in FAILED with the message :

Thu Nov 15 16:14:36 2012 [DiM][I]: New VM state is ACTIVE. Thu Nov 15
16:14:37 2012 [LCM][I]: New VM state is PROLOG. Thu Nov 15 16:16:18
2012 [TM][I]: clone: Cloning
/var/lib/one/datastores/1/f1b8e48b3dff8d26e3f35dff501ae691 in
inferno.local:/var/lib/one/datastores/0/219/disk.0 Thu Nov 15 16:16:18
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:36 2012 [TM][I]: mkimage:
Making filesystem of 15000M and type ext3 at
inferno.local:/var/lib/one/datastores/0/219/disk.1 Thu Nov 15 16:16:36
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [TM][I]: context:
Generating context block device at
inferno.local:/var/lib/one/datastores/0/219/disk.2 Thu Nov 15 16:16:38
2012 [TM][I]: ExitCode: 0 Thu Nov 15 16:16:38 2012 [LCM][I]: New VM
state is BOOT Thu Nov 15 16:16:38 2012 [VMM][I]: Generating deployment
file: /var/lib/one/219/deployment.0 Thu Nov 15 16:16:38 2012 [VMM][W]:
Graphics not supported or undefined, ignored. Thu Nov 15 16:16:39 2012
[VMM][I]: ExitCode: 0 Thu Nov 15 16:16:39 2012 [VMM][I]: Successfully
execute network driver operation: pre. Thu Nov 15 16:16:42 2012
[VMM][I]: Command execution fail: cat 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org