Re: [one-users] Migration woes and a vnc question

2010-12-22 Thread Jaime Melis
Hello,

Could you try setting empty strings for certificate related parameters in
your libvirtd.conf?

In particular:
tls_no_verify_certificate = 1
key_file = ""
cert_file = ""

Restart libvirt in both worker nodes and try again.

Regards,
Jaime

On Tue, Dec 21, 2010 at 2:23 PM,  wrote:

> > "CC" == saint   writes:
>
> CC> And then the VNC question. Is there a way to specify a "dynamic"
> CC> IP in the VM template, something like what's done for the IPs that
> CC> will be used by the VM ?
>
> Solved.  If I  specify both ip = "0.0.0.0" and  a password (that's not
> used) then I can  connect with VNC to the node  hosting. The bad thing
> is that the password seems not to be used.
>
> It's still open the issue about  the livemigrate command in onevm that
> does not work:
>
> CC> Except when I tried the livemigrate command, which caused this
> CC> to pop up in the log:
>
> CC>  LOG - 27 Command execution fail: /tmp/one/vmm/kvm/migrate one-27
> CC> red3
>
> CC>  LOG - 27 STDERR follows.
>
> CC>  LOG - 27 error: Cannot access CA certificate
> CC> '/etc/pki/CA/cacert.pem': Permission denied
>
> CC>  LOG - 27 ExitCode: 1
>
> CC>  MIGRATE FAILURE 27 -
>
> CC>  POLL SUCCESS 27 STATE=a USEDMEMORY=65536
>
> CC> (timing and [VMM][D]: Message received: header omitted to save
> CC> space).
>
> CC> /etc/pki/CA/cacert.pem does not exist. Should I create it ? Or
> CC> should I get it in some CentOS package ?
>
> Any suggestion is welcome!
>
> --
> ing. Gian Uberto Lauri
> Ricercatore / Reasearcher
> Divisione Ricerca ed Innovazione / Research & Innovation Division
> gianuberto.la...@eng.it
>
> Engineering Ingegneria Informatica spa
> Corso Stati Uniti 23/C, 35127 Padova (PD)
>
> Tel. +39-049.8283.538 | main(){printf(&unix["\021%six\012\0"],
> Fax  +39-049.8283.569 |(unix)["have"]+"fun"-0x60);}
> Skype: gian.uberto.lauri  |  David Korn, AT&T Bell Labs
> http://www.eng.it |  ioccc best One Liner,
> 1987
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Jaime Melis, Cloud Technology Engineer/Researcher
DSA Research Group: web *http://dsa-research.org* and blog *
http://blog.dsa-research.org*
OpenNebula Open Source Toolkit for Cloud Computing: *
http://www.OpenNebula.org *
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Migration woes and a vnc question

2010-12-21 Thread saint
> "CC" == saint   writes:

CC> And then the VNC question. Is there a way to specify a "dynamic"
CC> IP in the VM template, something like what's done for the IPs that
CC> will be used by the VM ?

Solved.  If I  specify both ip = "0.0.0.0" and  a password (that's not
used) then I can  connect with VNC to the node  hosting. The bad thing
is that the password seems not to be used.

It's still open the issue about  the livemigrate command in onevm that
does not work:

CC> Except when I tried the livemigrate command, which caused this
CC> to pop up in the log:

CC>  LOG - 27 Command execution fail: /tmp/one/vmm/kvm/migrate one-27
CC> red3

CC>  LOG - 27 STDERR follows.

CC>  LOG - 27 error: Cannot access CA certificate
CC> '/etc/pki/CA/cacert.pem': Permission denied

CC>  LOG - 27 ExitCode: 1

CC>  MIGRATE FAILURE 27 -

CC>  POLL SUCCESS 27 STATE=a USEDMEMORY=65536

CC> (timing and [VMM][D]: Message received: header omitted to save
CC> space).

CC> /etc/pki/CA/cacert.pem does not exist. Should I create it ? Or
CC> should I get it in some CentOS package ?

Any suggestion is welcome!

--
ing. Gian Uberto Lauri
Ricercatore / Reasearcher
Divisione Ricerca ed Innovazione / Research & Innovation Division
gianuberto.la...@eng.it

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD) 

Tel. +39-049.8283.538 | main(){printf(&unix["\021%six\012\0"], 
Fax  +39-049.8283.569 |(unix)["have"]+"fun"-0x60);}   
Skype: gian.uberto.lauri  |  David Korn, AT&T Bell Labs 

http://www.eng.it |  ioccc best One Liner, 1987 

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


[one-users] Migration woes and a vnc question

2010-12-20 Thread saint
Hello gentlemen!

  I was checking my network configuration for the VMs, i created a
vnet following  RH/CentOS instructions  and then  tried the  tty linux
vm. Fine, I  was able to slogin  it from a machine  different from the
node running the VM. 

 Short time cheer. I migrated the machine and ... No connection! I
feared that  my sysadmin skills  (sort of industrial  archeology) need
some more work with  an heavy duty grinder to remove  the rust. Then I
started vnc  on the  failing machine  and found  something a  bit more
disappointing: the VM was failing the boot due a fsck panic, requiring
administration pwd or fsck & reboot. I opted for the latter, root file
system was  claimed to be clean...  By the way the  /etc/fstab file of
the vm image says  that all the partition have 0  for both fs_freq and
fs_passno  field,  the   latter  meaninng  that  no   fsck  should  be
performed... Latter migration went O.K.

Except when I tried the livemigrate command, which caused this to
pop up in the log:

 LOG - 27 Command execution fail: /tmp/one/vmm/kvm/migrate one-27 red3

 LOG - 27 STDERR follows.

 LOG - 27 error: Cannot access CA certificate '/etc/pki/CA/cacert.pem': 
Permission denied

 LOG - 27 ExitCode: 1

 MIGRATE FAILURE 27 -

 POLL SUCCESS 27 STATE=a USEDMEMORY=65536

(timing and [VMM][D]: Message received: header omitted to save space).

/etc/pki/CA/cacert.pem does not exist. Should I create it ? Or should
I get it in some CentOS package ?

And then the VNC question. Is there a way to specify a "dynamic" IP in
the VM template,  something like what's done for the  IPs that will be
used by the VM ?

Thanks in advance!

--
ing. Gian Uberto Lauri
Ricercatore / Reasearcher
Divisione Ricerca ed Innovazione / Research & Innovation Division
gianuberto.la...@eng.it

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD) 

Tel. +39-049.8283.538 | main(){printf(&unix["\021%six\012\0"], 
Fax  +39-049.8283.569 |(unix)["have"]+"fun"-0x60);}   
Skype: gian.uberto.lauri  |  David Korn, AT&T Bell Labs 

http://www.eng.it |  ioccc best One Liner, 1987 

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