Re: [Users] HP Integrated Lights Out 3

2012-09-10 Thread Itamar Heim

On 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:

Hello,

I need to use the HP i-lo 3 as fencing device for OOB power management.

In man 8 page of fence_ipmilan I find that I must use lanplus and
power_wait=4 options. When I insert this options in Option line of
Power Management tab and press Test button - test is failed.

There is the part of vdsm.log at this time:

Thread-43892::DEBUG::2012-09-07
13:14:03,094::API::1024::vds::(fenceNode)
fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)
Thread-43892::DEBUG::2012-09-07
13:14:04,116::API::1050::vds::(fenceNode) rc 1 in agent=fence_ipmilan
ipaddr=192.168.10.103
login=fence_ilo
option=status
passwd=
out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
Failed
err

My otions are not presented. It looks like a bug.

How can I fix it? How can I find a location of the script who run this
test in my system?


strange, i thought we added ilo3 fence type back in 3.0 which wraps 
ipmilan with lanplus,power_wait=4.

don'y you see ilo3 as an option?



- -
Dmitriy Pyryakov

VimpelCom Ltd.



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Spice windows xp, vista and 7.

2012-09-10 Thread Itamar Heim

On 09/10/2012 05:06 AM, victor nunes wrote:

Hello, use of spice in windows xp and 7 environments possible?
Where can I find some tips on how I can install on windows spice?



http://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal
http://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_Without_Portal


Att,



--
“Encarada do ponto de vista da juventude, a vida parece um futuro
indefinidamente longo, ao passo que, na velhice, ela parece um passado
deveras curto. Assim, a vida no seu início se apresenta do mesmo modo
que as coisas quando as olhamos através de um binóculo usado ao
contrário; mas, ao
seu final, ela se parece com as coisas  tal qual são vistas quando o
binóculo
é usado de modo normal. Um homem precisa ter envelhecido e vivido
bastante para perceber como a vida é curta”.

  (Poema de Arthur Schopenhauer)


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Can't reactivate/destroy NFS domains on ovirt 3.0

2012-09-10 Thread Changsen Xu
Hi, all,

I'm happy to get NFS domain added, but somehow, I destroyed 
one non-master domain (probably clicked twice seeing no immediately
response).

Then somehow, later on, another non-master NFS domain became 
master domain,
and all 3 NFS domains can't be activated, can't be detached, 
can't be force destroyed. Error says master domain not activated.

I'm using version V1.

Any help ?

Regards,

--
John Xu


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Can't reactivate/destroy NFS domains on ovirt 3.0

2012-09-10 Thread Maor Lipchuk
Hi Changsen,
Can you please add logs of engine and VDSM.

Regards,
Maor

On 09/10/2012 11:36 AM, Changsen Xu wrote:
 Hi, all,
 
 I'm happy to get NFS domain added, but somehow, I destroyed 
 one non-master domain (probably clicked twice seeing no immediately
 response).
 
 Then somehow, later on, another non-master NFS domain became 
 master domain,
 and all 3 NFS domains can't be activated, can't be detached, 
 can't be force destroyed. Error says master domain not activated.
 
 I'm using version V1.
 
 Any help ?
 
 Regards,
 
 --
 John Xu
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] HP Integrated Lights Out 3

2012-09-10 Thread Dmitriy A Pyryakov
No, I don't see an ilo3 type of fencing device in my Power Management
tab.

I have fence_ilo3 command on my hypervisor host.

When I run it with following options:
privlvl=user
ipaddr=192.168.10.103
login=fence_ilo
passwd=
operation=status

it print: Getting status of IPMI:192.168.10.103...Chassis power = On
Done

oVirt Engine Version: 3.1.0-2.fc17

- -
Dmitriy Pyryakov
VimpelCom Ltd.



От: Itamar Heim ih...@redhat.com
Кому:   Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия:  users@ovirt.org, Eli Mesika emes...@redhat.com
Дата:   10.09.2012 14:28
Тема:   Re: [Users] HP Integrated Lights Out 3



On 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:
 Hello,

 I need to use the HP i-lo 3 as fencing device for OOB power management.

 In man 8 page of fence_ipmilan I find that I must use lanplus and
 power_wait=4 options. When I insert this options in Option line of
 Power Management tab and press Test button - test is failed.

 There is the part of vdsm.log at this time:

 Thread-43892::DEBUG::2012-09-07
 13:14:03,094::API::1024::vds::(fenceNode)
 fenceNode
(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)

 Thread-43892::DEBUG::2012-09-07
 13:14:04,116::API::1050::vds::(fenceNode) rc 1 in agent=fence_ipmilan
 ipaddr=192.168.10.103
 login=fence_ilo
 option=status
 passwd=
 out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
 Failed
 err

 My otions are not presented. It looks like a bug.

 How can I fix it? How can I find a location of the script who run this
 test in my system?

strange, i thought we added ilo3 fence type back in 3.0 which wraps
ipmilan with lanplus,power_wait=4.
don'y you see ilo3 as an option?


 - -
 Dmitriy Pyryakov

 VimpelCom Ltd.



 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users



inline: graycol.gif___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] HP Integrated Lights Out 3

2012-09-10 Thread Itamar Heim

On 09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:

No, I don't see an ilo3 type of fencing device in my Power Management tab.

I have fence_ilo3 command on my hypervisor host.


did you try choosing ipmilan and passing options of lanplus,power_wait=4?




When I run it with following options:
privlvl=user
ipaddr=192.168.10.103
login=fence_ilo
passwd=
operation=status

it print: Getting status of IPMI:192.168.10.103...Chassis power = On
Done

oVirt Engine Version: 3.1.0-2.fc17


- -
Dmitriy Pyryakov
VimpelCom Ltd.


Inactive hide details for Itamar Heim ---10.09.2012 14:28:19---On
09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:  Hello,Itamar Heim
---10.09.2012 14:28:19---On 09/10/2012 06:17 AM, Dmitriy A Pyryakov
wrote:  Hello,

От: Itamar Heim ih...@redhat.com
Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия: users@ovirt.org, Eli Mesika emes...@redhat.com
Дата: 10.09.2012 14:28
Тема: Re: [Users] HP Integrated Lights Out 3




On 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:
  Hello,
 
  I need to use the HP i-lo 3 as fencing device for OOB power management.
 
  In man 8 page of fence_ipmilan I find that I must use lanplus and
  power_wait=4 options. When I insert this options in Option line of
  Power Management tab and press Test button - test is failed.
 
  There is the part of vdsm.log at this time:
 
  Thread-43892::DEBUG::2012-09-07
  13:14:03,094::API::1024::vds::(fenceNode)
 
fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)
  Thread-43892::DEBUG::2012-09-07
  13:14:04,116::API::1050::vds::(fenceNode) rc 1 in agent=fence_ipmilan
  ipaddr=192.168.10.103
  login=fence_ilo
  option=status
  passwd=
  out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
  Failed
  err
 
  My otions are not presented. It looks like a bug.
 
  How can I fix it? How can I find a location of the script who run this
  test in my system?

strange, i thought we added ilo3 fence type back in 3.0 which wraps
ipmilan with lanplus,power_wait=4.
don'y you see ilo3 as an option?

 
  - -
  Dmitriy Pyryakov
 
  VimpelCom Ltd.
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 






___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] HP Integrated Lights Out 3

2012-09-10 Thread Dmitriy A Pyryakov
Yes, but oVirt don't pass this options to fence_ipmilan command.

There are all logged options:
Thread-43892::DEBUG::2012-09-07 13:14:03,094::API::1024::vds::(fenceNode)
fenceNode
(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)
Thread-43892::DEBUG::2012-09-07 13:14:04,116::API::1050::vds::(fenceNode)
rc 1 in agent=fence_ipmilan
ipaddr=192.168.10.103
login=fence_ilo
option=status
passwd=
 out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
Failed
 err


- -
Dmitriy Pyryakov
VimpelCom Ltd.



От: Itamar Heim ih...@redhat.com
Кому:   Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия:  Eli Mesika emes...@redhat.com, users@ovirt.org
Дата:   10.09.2012 14:48
Тема:   Re: [Users] HP Integrated Lights Out 3



On 09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:
 No, I don't see an ilo3 type of fencing device in my Power Management
tab.

 I have fence_ilo3 command on my hypervisor host.

did you try choosing ipmilan and passing options of lanplus,power_wait=4?



 When I run it with following options:
 privlvl=user
 ipaddr=192.168.10.103
 login=fence_ilo
 passwd=
 operation=status

 it print: Getting status of IPMI:192.168.10.103...Chassis power = On
 Done

 oVirt Engine Version: 3.1.0-2.fc17


 - -
 Dmitriy Pyryakov
 VimpelCom Ltd.


 Inactive hide details for Itamar Heim ---10.09.2012 14:28:19---On
 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:  Hello,Itamar Heim
 ---10.09.2012 14:28:19---On 09/10/2012 06:17 AM, Dmitriy A Pyryakov
 wrote:  Hello,

 От: Itamar Heim ih...@redhat.com
 Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
 Копия: users@ovirt.org, Eli Mesika emes...@redhat.com
 Дата: 10.09.2012 14:28
 Тема: Re: [Users] HP Integrated Lights Out 3
 



 On 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:
   Hello,
  
   I need to use the HP i-lo 3 as fencing device for OOB power
management.
  
   In man 8 page of fence_ipmilan I find that I must use lanplus and
   power_wait=4 options. When I insert this options in Option line of
   Power Management tab and press Test button - test is failed.
  
   There is the part of vdsm.log at this time:
  
   Thread-43892::DEBUG::2012-09-07
   13:14:03,094::API::1024::vds::(fenceNode)
  
 fenceNode
(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)

   Thread-43892::DEBUG::2012-09-07
   13:14:04,116::API::1050::vds::(fenceNode) rc 1 in agent=fence_ipmilan
   ipaddr=192.168.10.103
   login=fence_ilo
   option=status
   passwd=
   out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
   Failed
   err
  
   My otions are not presented. It looks like a bug.
  
   How can I fix it? How can I find a location of the script who run this
   test in my system?

 strange, i thought we added ilo3 fence type back in 3.0 which wraps
 ipmilan with lanplus,power_wait=4.
 don'y you see ilo3 as an option?

  
   - -
   Dmitriy Pyryakov
  
   VimpelCom Ltd.
  
  
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  





inline: graycol.gif___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cannot add another host to all-in-one datacenter

2012-09-10 Thread Adam Tkáč
2012/9/6 Mike Burns mbu...@redhat.com:
 On Thu, 2012-09-06 at 20:07 +0200, Adam Tkáč wrote:
 2012/9/6 Simon Grinberg si...@redhat.com:
 
 
  - Original Message -
  From: Adam Tkáč von...@gmail.com
  To: users@ovirt.org
  Sent: Thursday, September 6, 2012 8:21:38 PM
  Subject: [Users] Cannot add another host to all-in-one datacenter
 
  Hello all,
 
  I installed an oVirt datacenter via all-in-one plugin, which means
  everything currently runs on one machine. I would like to add another
  host to this datacenter, it has it's own storage for virtual machine
  images, but oVirt refuses to add it with error Cannot add more than
  one Host to Local Storage Data Center. Is it possible to configure
  this somewhere and add the host to the local_datacenter?
 
  Data center is a 'shared storage domain' meaning that if you use local 
  storage you may only have one host in this datacenter.
  All In One, uses the Server's local storage thus you can't add another 
  host to this data center.
 
  You may try and configure additional Data Center and add the new host to 
  this one.
  If you want both hosts to be a cluster then move the hosts that is 
  currently defined to the new datacenter and then connect them to shared 
  storage.
 
  Just note that the engine will not be aware it's running on one of the 
  hosts so care should be taken not to power off that host :).

 I didn't realized it's possible to do it this way, thanks for
 information, will try it.

 Btw will it be possible to migrate virtual machines from one
 datacenter to another one? Or for migration hosts need to share
 storage for virtual machine images. If this isn't possible, is it be
 possible to export host in one datacenter and import it in another?

 If you want live migration, then the hosts need shared storage and be in
 the same datacenter.

 There are export domains and you can export from DC1 to export and them
 import from the export to DC2.

 There are future features coming around storage live migration that
 *might* change this somewhat, but I don't know all the details of that
 feature yet.

 Mike

This works fine, thanks for your help!

Regards, Adam
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] HP Integrated Lights Out 3

2012-09-10 Thread Eli Mesika


- Original Message -
 From: Eli Mesika emes...@redhat.com
 To: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
 Cc: users@ovirt.org
 Sent: Monday, September 10, 2012 12:02:12 PM
 Subject: Re: [Users] HP Integrated Lights Out 3
 
 
 
 - Original Message -
  From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  To: Itamar Heim ih...@redhat.com
  Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
  Sent: Monday, September 10, 2012 11:57:25 AM
  Subject: Re: [Users] HP Integrated Lights Out 3
  
  
  
  
  
  Yes, but oVirt don't pass this options to fence_ipmilan command.
  There are all logged options: Thread-43892::DEBUG::2012-09-07
  13:14:03,094::API::1024::vds::(fenceNode)
  fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)
  Thread-43892::DEBUG::2012-09-07
  13:14:04,116::API::1050::vds::(fenceNode) rc 1 in
  agent=fence_ipmilan
  ipaddr=192.168.10.103
  login=fence_ilo
  option=status
  passwd=
  out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
  Failed
  err
  
 
 Hi
 As you see, options arrived to VDSM as empty string
 Can you please paste the output of the following SQL
 
 select * from vdc_options where option_name =
 'FenceAgentDefaultParams';
 
 Thanks

Correction (I need more info to see why ilo3 does not appear in UI):
The SQL should be 
select * from vdc_options where option_name in 
('FenceAgentDefaultParams','FenceAgentMapping','VdsFenceOptionMapping','VdsFenceType');

Thanks

 
 
  - - Dmitriy Pyryakov VimpelCom Ltd.
  Inactive hide details for Itamar Heim ---10.09.2012 14:48:06---On
  09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:  No, I don't Itamar
  Heim ---10.09.2012 14:48:06---On 09/10/2012 11:45 AM, Dmitriy A
  Pyryakov wrote:  No, I don't see an ilo3 type of fencing device i
  
  От: Itamar Heim ih...@redhat.com
  Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  Копия: Eli Mesika emes...@redhat.com, users@ovirt.org
  Дата: 10.09.2012 14:48
  Тема: Re: [Users] HP Integrated Lights Out 3
  
  
  
  
  On 09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:
   No, I don't see an ilo3 type of fencing device in my Power
   Management tab.
   
   I have fence_ilo3 command on my hypervisor host.
  
  did you try choosing ipmilan and passing options of
  lanplus,power_wait=4?
  
  
   
   When I run it with following options:
   privlvl=user
   ipaddr=192.168.10.103
   login=fence_ilo
   passwd=
   operation=status
   
   it print: Getting status of IPMI:192.168.10.103...Chassis power =
   On
   Done
   
   oVirt Engine Version: 3.1.0-2.fc17
   
   
   - -
   Dmitriy Pyryakov
   VimpelCom Ltd.
   
   
   Inactive hide details for Itamar Heim ---10.09.2012 14:28:19---On
   09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:  Hello,Itamar
   Heim
   ---10.09.2012 14:28:19---On 09/10/2012 06:17 AM, Dmitriy A
   Pyryakov
   wrote:  Hello,
   
   От: Itamar Heim ih...@redhat.com
   Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
   Копия: users@ovirt.org, Eli Mesika emes...@redhat.com
   Дата: 10.09.2012 14:28
   Тема: Re: [Users] HP Integrated Lights Out 3
   
   
   
   
   On 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:
Hello,

I need to use the HP i-lo 3 as fencing device for OOB power
management.

In man 8 page of fence_ipmilan I find that I must use lanplus
and
power_wait=4 options. When I insert this options in Option
line
of
Power Management tab and press Test button - test is
failed.

There is the part of vdsm.log at this time:

Thread-43892::DEBUG::2012-09-07
13:14:03,094::API::1024::vds::(fenceNode)

   fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)
Thread-43892::DEBUG::2012-09-07
13:14:04,116::API::1050::vds::(fenceNode) rc 1 in
agent=fence_ipmilan
ipaddr=192.168.10.103
login=fence_ilo
option=status
passwd=
out Getting status of IPMI:192.168.10.103...Chassis power =
Unknown
Failed
err

My otions are not presented. It looks like a bug.

How can I fix it? How can I find a location of the script who
run
this
test in my system?
   
   strange, i thought we added ilo3 fence type back in 3.0 which
   wraps
   ipmilan with lanplus,power_wait=4.
   don'y you see ilo3 as an option?
   

- -
Dmitriy Pyryakov

VimpelCom Ltd.



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

   
   
   
  
  
  
  
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] HA: Re: HP Integrated Lights Out 3

2012-09-10 Thread Dmitriy A Pyryakov

engine=# select * from vdc_options where option_name in
('FenceAgentDefaultParams','FenceAgentMapping','VdsFenceOptionMapping','VdsFenceType');
 option_id |   option_name   |
option_value
| version
---+-++-
77 | FenceAgentMapping   | ilo3=ipmilan
| general
76 | FenceAgentDefaultParams | ilo3:lanplus,power_wait=4
| general
   323 | VdsFenceType|
alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs
| 3.1
   322 | VdsFenceType|
alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs
| 3.0
   321 | VdsFenceType|
alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs
| 2.2
   318 | VdsFenceOptionMapping   |
alom:secure=secure,port=ipport;apc:secure=secure,port=ipport,slot=port;bladecenter:secure=secure,port=ipport,slot=port;drac5:secure=secure,slot=port;eps:slot=port;ilo:secure=ssl,port=ipport;ipmilan:;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;ilo3:
 | general
(6 rows)

--
Dmitriy Pyryakov
VimpelCom Ltd.



От: Eli Mesika emes...@redhat.com
Кому:   Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия:  users@ovirt.org, Itamar Heim ih...@redhat.com
Дата:   10.09.2012 15:02
Тема:   Re: [Users] HP Integrated Lights Out 3





- Original Message -
 From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
 To: Itamar Heim ih...@redhat.com
 Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
 Sent: Monday, September 10, 2012 11:57:25 AM
 Subject: Re: [Users] HP Integrated Lights Out 3





 Yes, but oVirt don't pass this options to fence_ipmilan command.
 There are all logged options: Thread-43892::DEBUG::2012-09-07
 13:14:03,094::API::1024::vds::(fenceNode)
 fenceNode
(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)

 Thread-43892::DEBUG::2012-09-07
 13:14:04,116::API::1050::vds::(fenceNode) rc 1 in
 agent=fence_ipmilan
 ipaddr=192.168.10.103
 login=fence_ilo
 option=status
 passwd=
 out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
 Failed
 err


Hi
As you see, options arrived to VDSM as empty string
Can you please paste the output of the following SQL

select * from vdc_options where option_name = 'FenceAgentDefaultParams';

Thanks


 - - Dmitriy Pyryakov VimpelCom Ltd.
 Inactive hide details for Itamar Heim ---10.09.2012 14:48:06---On
 09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:  No, I don't Itamar
 Heim ---10.09.2012 14:48:06---On 09/10/2012 11:45 AM, Dmitriy A
 Pyryakov wrote:  No, I don't see an ilo3 type of fencing device i

 От: Itamar Heim ih...@redhat.com
 Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
 Копия: Eli Mesika emes...@redhat.com, users@ovirt.org
 Дата: 10.09.2012 14:48
 Тема: Re: [Users] HP Integrated Lights Out 3




 On 09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:
  No, I don't see an ilo3 type of fencing device in my Power
  Management tab.
 
  I have fence_ilo3 command on my hypervisor host.

 did you try choosing ipmilan and passing options of
 lanplus,power_wait=4?


 
  When I run it with following options:
  privlvl=user
  ipaddr=192.168.10.103
  login=fence_ilo
  passwd=
  operation=status
 
  it print: Getting status of IPMI:192.168.10.103...Chassis power =
  On
  Done
 
  oVirt Engine Version: 3.1.0-2.fc17
 
 
  - -
  Dmitriy Pyryakov
  VimpelCom Ltd.
 
 
  Inactive hide details for Itamar Heim ---10.09.2012 14:28:19---On
  09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:  Hello,Itamar Heim
  ---10.09.2012 14:28:19---On 09/10/2012 06:17 AM, Dmitriy A Pyryakov
  wrote:  Hello,
 
  От: Itamar Heim ih...@redhat.com
  Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  Копия: users@ovirt.org, Eli Mesika emes...@redhat.com
  Дата: 10.09.2012 14:28
  Тема: Re: [Users] HP Integrated Lights Out 3
 

 
 
 
  On 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:
   Hello,
  
   I need to use the HP i-lo 3 as fencing device for OOB power
   management.
  
   In man 8 page of fence_ipmilan I find that I must use lanplus and
   power_wait=4 options. When I insert this options in Option line
   of
   Power Management tab and press Test button - test is failed.
  
   There is the part of vdsm.log at this time:
  
   Thread-43892::DEBUG::2012-09-07
   13:14:03,094::API::1024::vds::(fenceNode)
  
  fenceNode
(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)

   Thread-43892::DEBUG::2012-09-07
   13:14:04,116::API::1050::vds::(fenceNode) rc 1 in
   agent=fence_ipmilan
   

Re: [Users] HA: Re: HP Integrated Lights Out 3

2012-09-10 Thread Itamar Heim

On 09/10/2012 12:21 PM, Dmitriy A Pyryakov wrote:

engine=# select * from vdc_options where option_name in
('FenceAgentDefaultParams','FenceAgentMapping','VdsFenceOptionMapping','VdsFenceType');
option_id | option_name | option_value | version
---+-++-
77 | FenceAgentMapping | ilo3=ipmilan | general
76 | FenceAgentDefaultParams | ilo3:lanplus,power_wait=4 | general
323 | VdsFenceType |
alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs | 3.1
322 | VdsFenceType |


eli - ilo3 is missing in 3.1?
and maybe another bug on not passing fence options which i remember we 
had at some point



alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs | 3.0
321 | VdsFenceType |
alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs | 2.2
318 | VdsFenceOptionMapping |
alom:secure=secure,port=ipport;apc:secure=secure,port=ipport,slot=port;bladecenter:secure=secure,port=ipport,slot=port;drac5:secure=secure,slot=port;eps:slot=port;ilo:secure=ssl,port=ipport;ipmilan:;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;ilo3:
| general
(6 rows)

--

Dmitriy Pyryakov
VimpelCom Ltd.


Inactive hide details for Eli Mesika ---10.09.2012 15:02:16
Original Message -  From: Dmitriy A Pyryakov DPyryaEli Mesika
---10.09.2012 15:02:16 Original Message -  From: Dmitriy A
Pyryakov dpyrya...@ekb.beeline.ru

От: Eli Mesika emes...@redhat.com
Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия: users@ovirt.org, Itamar Heim ih...@redhat.com
Дата: 10.09.2012 15:02
Тема: Re: [Users] HP Integrated Lights Out 3






- Original Message -
  From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  To: Itamar Heim ih...@redhat.com
  Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
  Sent: Monday, September 10, 2012 11:57:25 AM
  Subject: Re: [Users] HP Integrated Lights Out 3
 
 
 
 
 
  Yes, but oVirt don't pass this options to fence_ipmilan command.
  There are all logged options: Thread-43892::DEBUG::2012-09-07
  13:14:03,094::API::1024::vds::(fenceNode)
 
fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)
  Thread-43892::DEBUG::2012-09-07
  13:14:04,116::API::1050::vds::(fenceNode) rc 1 in
  agent=fence_ipmilan
  ipaddr=192.168.10.103
  login=fence_ilo
  option=status
  passwd=
  out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
  Failed
  err
 

Hi
As you see, options arrived to VDSM as empty string
Can you please paste the output of the following SQL

select * from vdc_options where option_name = 'FenceAgentDefaultParams';

Thanks


  - - Dmitriy Pyryakov VimpelCom Ltd.
  Inactive hide details for Itamar Heim ---10.09.2012 14:48:06---On
  09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:  No, I don't Itamar
  Heim ---10.09.2012 14:48:06---On 09/10/2012 11:45 AM, Dmitriy A
  Pyryakov wrote:  No, I don't see an ilo3 type of fencing device i
 
  От: Itamar Heim ih...@redhat.com
  Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  Копия: Eli Mesika emes...@redhat.com, users@ovirt.org
  Дата: 10.09.2012 14:48
  Тема: Re: [Users] HP Integrated Lights Out 3
 
 
 
 
  On 09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:
   No, I don't see an ilo3 type of fencing device in my Power
   Management tab.
  
   I have fence_ilo3 command on my hypervisor host.
 
  did you try choosing ipmilan and passing options of
  lanplus,power_wait=4?
 
 
  
   When I run it with following options:
   privlvl=user
   ipaddr=192.168.10.103
   login=fence_ilo
   passwd=
   operation=status
  
   it print: Getting status of IPMI:192.168.10.103...Chassis power =
   On
   Done
  
   oVirt Engine Version: 3.1.0-2.fc17
  
  
   - -
   Dmitriy Pyryakov
   VimpelCom Ltd.
  
  
   Inactive hide details for Itamar Heim ---10.09.2012 14:28:19---On
   09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:  Hello,Itamar Heim
   ---10.09.2012 14:28:19---On 09/10/2012 06:17 AM, Dmitriy A Pyryakov
   wrote:  Hello,
  
   От: Itamar Heim ih...@redhat.com
   Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
   Копия: users@ovirt.org, Eli Mesika emes...@redhat.com
   Дата: 10.09.2012 14:28
   Тема: Re: [Users] HP Integrated Lights Out 3
  

  
  
  
   On 09/10/2012 06:17 AM, Dmitriy A Pyryakov wrote:
Hello,
   
I need to use the HP i-lo 3 as fencing device for OOB power
management.
   
In man 8 page of fence_ipmilan I find that I must use lanplus and
power_wait=4 options. 

Re: [Users] HA: Re: HP Integrated Lights Out 3

2012-09-10 Thread Eli Mesika


- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
 Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
 Sent: Monday, September 10, 2012 12:51:03 PM
 Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3
 
 On 09/10/2012 12:21 PM, Dmitriy A Pyryakov wrote:
  engine=# select * from vdc_options where option_name in
  ('FenceAgentDefaultParams','FenceAgentMapping','VdsFenceOptionMapping','VdsFenceType');
  option_id | option_name | option_value | version
  ---+-++-
  77 | FenceAgentMapping | ilo3=ipmilan | general
  76 | FenceAgentDefaultParams | ilo3:lanplus,power_wait=4 | general
  323 | VdsFenceType |
  alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs |
  3.1
  322 | VdsFenceType |
 
 eli - ilo3 is missing in 3.1?
Yes, this is certainly a bug, I will open it and resolve ASAP
 and maybe another bug on not passing fence options which i remember
 we
 had at some point
Yes, I believe that the above will solve the issue since we had already tested 
ilo3 unless we have a regression I am not aware about.

 
  alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs
  | 3.0
  321 | VdsFenceType |
  alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs |
  2.2
  318 | VdsFenceOptionMapping |
  alom:secure=secure,port=ipport;apc:secure=secure,port=ipport,slot=port;bladecenter:secure=secure,port=ipport,slot=port;drac5:secure=secure,slot=port;eps:slot=port;ilo:secure=ssl,port=ipport;ipmilan:;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;ilo3:
  | general
  (6 rows)
 
  --
 
  Dmitriy Pyryakov
  VimpelCom Ltd.
 
 
  Inactive hide details for Eli Mesika ---10.09.2012 15:02:16
  Original Message -  From: Dmitriy A Pyryakov DPyryaEli
  Mesika
  ---10.09.2012 15:02:16 Original Message -  From:
  Dmitriy A
  Pyryakov dpyrya...@ekb.beeline.ru
 
  От: Eli Mesika emes...@redhat.com
  Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  Копия: users@ovirt.org, Itamar Heim ih...@redhat.com
  Дата: 10.09.2012 15:02
  Тема: Re: [Users] HP Integrated Lights Out 3
  
 
 
 
 
 
  - Original Message -
From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
To: Itamar Heim ih...@redhat.com
Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
Sent: Monday, September 10, 2012 11:57:25 AM
Subject: Re: [Users] HP Integrated Lights Out 3
   
   
   
   
   
Yes, but oVirt don't pass this options to fence_ipmilan command.
There are all logged options: Thread-43892::DEBUG::2012-09-07
13:14:03,094::API::1024::vds::(fenceNode)
   
  fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)
Thread-43892::DEBUG::2012-09-07
13:14:04,116::API::1050::vds::(fenceNode) rc 1 in
agent=fence_ipmilan
ipaddr=192.168.10.103
login=fence_ilo
option=status
passwd=
out Getting status of IPMI:192.168.10.103...Chassis power =
Unknown
Failed
err
   
 
  Hi
  As you see, options arrived to VDSM as empty string
  Can you please paste the output of the following SQL
 
  select * from vdc_options where option_name =
  'FenceAgentDefaultParams';
 
  Thanks
 
 
- - Dmitriy Pyryakov VimpelCom Ltd.
Inactive hide details for Itamar Heim ---10.09.2012
14:48:06---On
09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:  No, I don't
Itamar
Heim ---10.09.2012 14:48:06---On 09/10/2012 11:45 AM, Dmitriy A
Pyryakov wrote:  No, I don't see an ilo3 type of fencing device
i
   
От: Itamar Heim ih...@redhat.com
Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия: Eli Mesika emes...@redhat.com, users@ovirt.org
Дата: 10.09.2012 14:48
Тема: Re: [Users] HP Integrated Lights Out 3
   
   
   
   
On 09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:
 No, I don't see an ilo3 type of fencing device in my Power
 Management tab.

 I have fence_ilo3 command on my hypervisor host.
   
did you try choosing ipmilan and passing options of
lanplus,power_wait=4?
   
   

 When I run it with following options:
 privlvl=user
 ipaddr=192.168.10.103
 login=fence_ilo
 passwd=
 operation=status

 it print: Getting status of IPMI:192.168.10.103...Chassis
 power =
 On
 Done

 oVirt Engine Version: 3.1.0-2.fc17


 - -
 Dmitriy Pyryakov
 VimpelCom Ltd.


 Inactive hide details for Itamar Heim 

Re: [Users] HA: Re: HP Integrated Lights Out 3

2012-09-10 Thread Itamar Heim

On 09/10/2012 02:07 PM, Eli Mesika wrote:



- Original Message -

From: Itamar Heim ih...@redhat.com
To: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
Sent: Monday, September 10, 2012 12:51:03 PM
Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3

On 09/10/2012 12:21 PM, Dmitriy A Pyryakov wrote:

engine=# select * from vdc_options where option_name in
('FenceAgentDefaultParams','FenceAgentMapping','VdsFenceOptionMapping','VdsFenceType');
option_id | option_name | option_value | version
---+-++-
77 | FenceAgentMapping | ilo3=ipmilan | general
76 | FenceAgentDefaultParams | ilo3:lanplus,power_wait=4 | general
323 | VdsFenceType |
alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs |
3.1
322 | VdsFenceType |


eli - ilo3 is missing in 3.1?

Yes, this is certainly a bug, I will open it and resolve ASAP


this is a db change, so dmitriy can apply it easily as well.


and maybe another bug on not passing fence options which i remember
we
had at some point

Yes, I believe that the above will solve the issue since we had already tested 
ilo3 unless we have a regression I am not aware about.


lets hope so. question is if it was fixed after ovirt 3.1 was done.






alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs
| 3.0
321 | VdsFenceType |
alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs |
2.2
318 | VdsFenceOptionMapping |
alom:secure=secure,port=ipport;apc:secure=secure,port=ipport,slot=port;bladecenter:secure=secure,port=ipport,slot=port;drac5:secure=secure,slot=port;eps:slot=port;ilo:secure=ssl,port=ipport;ipmilan:;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;ilo3:
| general
(6 rows)

--

 Dmitriy Pyryakov
 VimpelCom Ltd.


Inactive hide details for Eli Mesika ---10.09.2012 15:02:16
Original Message -  From: Dmitriy A Pyryakov DPyryaEli
Mesika
---10.09.2012 15:02:16 Original Message -  From:
Dmitriy A
Pyryakov dpyrya...@ekb.beeline.ru

От: Eli Mesika emes...@redhat.com
Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия: users@ovirt.org, Itamar Heim ih...@redhat.com
Дата: 10.09.2012 15:02
Тема: Re: [Users] HP Integrated Lights Out 3






- Original Message -
   From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
   To: Itamar Heim ih...@redhat.com
   Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
   Sent: Monday, September 10, 2012 11:57:25 AM
   Subject: Re: [Users] HP Integrated Lights Out 3
  
  
  
  
  
   Yes, but oVirt don't pass this options to fence_ipmilan command.
   There are all logged options: Thread-43892::DEBUG::2012-09-07
   13:14:03,094::API::1024::vds::(fenceNode)
  
fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=fence_ilo,passwd=,action=status,secure=,options=)
   Thread-43892::DEBUG::2012-09-07
   13:14:04,116::API::1050::vds::(fenceNode) rc 1 in
   agent=fence_ipmilan
   ipaddr=192.168.10.103
   login=fence_ilo
   option=status
   passwd=
   out Getting status of IPMI:192.168.10.103...Chassis power =
   Unknown
   Failed
   err
  

Hi
As you see, options arrived to VDSM as empty string
Can you please paste the output of the following SQL

select * from vdc_options where option_name =
'FenceAgentDefaultParams';

Thanks


   - - Dmitriy Pyryakov VimpelCom Ltd.
   Inactive hide details for Itamar Heim ---10.09.2012
   14:48:06---On
   09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:  No, I don't
   Itamar
   Heim ---10.09.2012 14:48:06---On 09/10/2012 11:45 AM, Dmitriy A
   Pyryakov wrote:  No, I don't see an ilo3 type of fencing device
   i
  
   От: Itamar Heim ih...@redhat.com
   Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
   Копия: Eli Mesika emes...@redhat.com, users@ovirt.org
   Дата: 10.09.2012 14:48
   Тема: Re: [Users] HP Integrated Lights Out 3
  
  
  
  
   On 09/10/2012 11:45 AM, Dmitriy A Pyryakov wrote:
No, I don't see an ilo3 type of fencing device in my Power
Management tab.
   
I have fence_ilo3 command on my hypervisor host.
  
   did you try choosing ipmilan and passing options of
   lanplus,power_wait=4?
  
  
   
When I run it with following options:
privlvl=user
ipaddr=192.168.10.103
login=fence_ilo
passwd=
operation=status
   
it print: Getting status of IPMI:192.168.10.103...Chassis
power =
On
Done
   
oVirt Engine Version: 3.1.0-2.fc17
   
   
- -
Dmitriy Pyryakov
VimpelCom Ltd.
   
   
Inactive hide details for Itamar Heim 

[Users] HA: Re: HA: Re: HP Integrated Lights Out 3

2012-09-10 Thread Dmitriy A Pyryakov
Now ilo3 presented in Power Management but still doesn't work.

part of vdsm.log:

Thread-258783::DEBUG::2012-09-10 17:39:06,359::API::1024::vds::(fenceNode)
fenceNode
(addr=192.168.10.103,port=,agent=ipmilan,user=Administrator,passwd=,action=status,secure=,options=)
Thread-258783::DEBUG::2012-09-10 17:39:07,386::API::1050::vds::(fenceNode)
rc 1 in agent=fence_ipmilan
ipaddr=192.168.10.103
login=Administrator
option=status
passwd=
 out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
Failed
 err

part of engine.log

2012-09-10 17:41:51,089 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
(ajp--0.0.0.0-8009-10) START, FenceVdsVDSCommand(vdsId =
71528b6e-f5e6-11e1-a15f-0011856cf23e, targetVdsId =
8dddf9e6-f80a-11e1-b036-0011856cf23e, action = Status, ip = 192.168.10.103,
port = , type = ipmilan, user = Administrator, password = **, options =
'lanplus,power_wait=4'), log id: f442157
2012-09-10 17:41:53,226 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
(ajp--0.0.0.0-8009-10) FINISH, FenceVdsVDSCommand, return: Test Failed,
Host Status is: unknown. The fence-agent script reported the following
error: Getting status of IPMI:192.168.10.103...Chassis power = Unknown
Failed
, log id: f442157

- -
Dmitriy Pyryakov
VimpelCom Ltd.



От: Eli Mesika emes...@redhat.com
Кому:   Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия:  users@ovirt.org, Itamar Heim ih...@redhat.com
Дата:   10.09.2012 17:29
Тема:   Re: HA: Re: [Users] HP Integrated Lights Out 3





- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Eli Mesika emes...@redhat.com
 Cc: users@ovirt.org, Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
 Sent: Monday, September 10, 2012 2:14:31 PM
 Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3

 On 09/10/2012 02:07 PM, Eli Mesika wrote:
 
 
  - Original Message -
  From: Itamar Heim ih...@redhat.com
  To: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
  Sent: Monday, September 10, 2012 12:51:03 PM
  Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3
 
  On 09/10/2012 12:21 PM, Dmitriy A Pyryakov wrote:
  engine=# select * from vdc_options where option_name in
 
('FenceAgentDefaultParams','FenceAgentMapping','VdsFenceOptionMapping','VdsFenceType');

  option_id | option_name | option_value | version
 
---+-++-

  77 | FenceAgentMapping | ilo3=ipmilan | general
  76 | FenceAgentDefaultParams | ilo3:lanplus,power_wait=4 |
  general
  323 | VdsFenceType |
  alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs
  |
  3.1
  322 | VdsFenceType |
 
  eli - ilo3 is missing in 3.1?
  Yes, this is certainly a bug, I will open it and resolve ASAP

 this is a db change, so dmitriy can apply it easily as well.
Sure
Dmitriy , please apply
1) run on your Postgres engine :
select fn_db_update_config_value
('VdsFenceType','alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs','3.1');


2) Restart engine
3) Check again (you should have ilo3 now in the UI list)
4) Let me know if it works

Thanks


  and maybe another bug on not passing fence options which i
  remember
  we
  had at some point
  Yes, I believe that the above will solve the issue since we had
  already tested ilo3 unless we have a regression I am not aware
  about.

 lets hope so. question is if it was fixed after ovirt 3.1 was done.

 
 
  alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs
  | 3.0
  321 | VdsFenceType |
  alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs
  |
  2.2
  318 | VdsFenceOptionMapping |
 
alom:secure=secure,port=ipport;apc:secure=secure,port=ipport,slot=port;bladecenter:secure=secure,port=ipport,slot=port;drac5:secure=secure,slot=port;eps:slot=port;ilo:secure=ssl,port=ipport;ipmilan:;rsa:secure=secure,port=ipport;rsb:;wti:secure=secure,port=ipport,slot=port;cisco_ucs:secure=ssl,slot=port;ilo3:

  | general
  (6 rows)
 
  --
 
   Dmitriy Pyryakov
   VimpelCom Ltd.
 
 
  Inactive hide details for Eli Mesika ---10.09.2012
  15:02:16
  Original Message -  From: Dmitriy A Pyryakov DPyryaEli
  Mesika
  ---10.09.2012 15:02:16 Original Message -  From:
  Dmitriy A
  Pyryakov dpyrya...@ekb.beeline.ru
 
  От: Eli Mesika emes...@redhat.com
  Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
  Копия: users@ovirt.org, Itamar Heim ih...@redhat.com
  Дата: 10.09.2012 15:02
  Тема: Re: [Users] HP Integrated Lights Out 3
 

 
 
 
 
 
  - Original Message -
 From: Dmitriy A Pyryakov 

Re: [Users] HA: Re: HA: Re: HP Integrated Lights Out 3

2012-09-10 Thread Eli Mesika


- Original Message -
 From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
 To: Eli Mesika emes...@redhat.com
 Cc: Itamar Heim ih...@redhat.com, users@ovirt.org
 Sent: Monday, September 10, 2012 2:43:42 PM
 Subject: HA: Re: HA: Re: [Users] HP Integrated Lights Out 3
 
 
 
 
 
 Now ilo3 presented in Power Management but still doesn't work. part
 of vdsm.log: Thread-258783::DEBUG::2012-09-10
 17:39:06,359::API::1024::vds::(fenceNode)
 fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=Administrator,passwd=,action=status,secure=,options=)
 Thread-258783::DEBUG::2012-09-10
 17:39:07,386::API::1050::vds::(fenceNode) rc 1 in
 agent=fence_ipmilan
 ipaddr=192.168.10.103
 login=Administrator
 option=status
 passwd=
 out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
 Failed
 err
 
 part of engine.log
 
 2012-09-10 17:41:51,089 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
 (ajp--0.0.0.0-8009-10) START, FenceVdsVDSCommand(vdsId =
 71528b6e-f5e6-11e1-a15f-0011856cf23e, targetVdsId =
 8dddf9e6-f80a-11e1-b036-0011856cf23e, action = Status, ip =
 192.168.10.103, port = , type = ipmilan, user = Administrator,
 password = **, options = 'lanplus,power_wait=4'), log id:
 f442157
 2012-09-10 17:41:53,226 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
 (ajp--0.0.0.0-8009-10) FINISH, FenceVdsVDSCommand, return: Test
 Failed, Host Status is: unknown. The fence-agent script reported the
 following error: Getting status of IPMI:192.168.10.103...Chassis
 power = Unknown
 Failed
 , log id: f442157

Well, I will have to investigate that, we can clearly see that backend send the 
'lanplus,power_wait=4' options, but from some reason the options in the 
vdsm.log are still empty.




 
 - -
 Dmitriy Pyryakov
 
 VimpelCom Ltd.
 Inactive hide details for Eli Mesika ---10.09.2012 17:29:41
 Original Message -  From: Itamar Heim ih...@redhat.eli
 Mesika ---10.09.2012 17:29:41 Original Message -  From:
 Itamar Heim ih...@redhat.com
 
 От: Eli Mesika emes...@redhat.com
 Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
 Копия: users@ovirt.org, Itamar Heim ih...@redhat.com
 Дата: 10.09.2012 17:29
 Тема: Re: HA: Re: [Users] HP Integrated Lights Out 3
 
 
 
 
 
 
 - Original Message -
  From: Itamar Heim ih...@redhat.com
  To: Eli Mesika emes...@redhat.com
  Cc: users@ovirt.org, Dmitriy A Pyryakov
  dpyrya...@ekb.beeline.ru
  Sent: Monday, September 10, 2012 2:14:31 PM
  Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3
  
  On 09/10/2012 02:07 PM, Eli Mesika wrote:
   
   
   - Original Message -
   From: Itamar Heim ih...@redhat.com
   To: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
   Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
   Sent: Monday, September 10, 2012 12:51:03 PM
   Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3
   
   On 09/10/2012 12:21 PM, Dmitriy A Pyryakov wrote:
   engine=# select * from vdc_options where option_name in
   ('FenceAgentDefaultParams','FenceAgentMapping','VdsFenceOptionMapping','VdsFenceType');
   option_id | option_name | option_value | version
   ---+-++-
   77 | FenceAgentMapping | ilo3=ipmilan | general
   76 | FenceAgentDefaultParams | ilo3:lanplus,power_wait=4 |
   general
   323 | VdsFenceType |
   alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs
   | 
   3.1
   322 | VdsFenceType |
   
   eli - ilo3 is missing in 3.1?
   Yes, this is certainly a bug, I will open it and resolve ASAP
  
  this is a db change, so dmitriy can apply it easily as well.
 Sure
 Dmitriy , please apply
 1) run on your Postgres engine :
 select
 fn_db_update_config_value('VdsFenceType','alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs','3.1');
 
 2) Restart engine
 3) Check again (you should have ilo3 now in the UI list)
 4) Let me know if it works
 
 Thanks
 
  
   and maybe another bug on not passing fence options which i
   remember
   we
   had at some point
   Yes, I believe that the above will solve the issue since we had
   already tested ilo3 unless we have a regression I am not aware
   about.
  
  lets hope so. question is if it was fixed after ovirt 3.1 was done.
  
   
   
   alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs
   | 3.0
   321 | VdsFenceType |
   alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs
   | 
   2.2
   318 | VdsFenceOptionMapping |
   

Re: [Users] HA: Re: HA: Re: HP Integrated Lights Out 3

2012-09-10 Thread Itamar Heim

On 09/10/2012 03:05 PM, Eli Mesika wrote:



- Original Message -

From: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
To: Eli Mesika emes...@redhat.com
Cc: Itamar Heim ih...@redhat.com, users@ovirt.org
Sent: Monday, September 10, 2012 2:43:42 PM
Subject: HA: Re: HA: Re: [Users] HP Integrated Lights Out 3





Now ilo3 presented in Power Management but still doesn't work. part
of vdsm.log: Thread-258783::DEBUG::2012-09-10
17:39:06,359::API::1024::vds::(fenceNode)
fenceNode(addr=192.168.10.103,port=,agent=ipmilan,user=Administrator,passwd=,action=status,secure=,options=)
Thread-258783::DEBUG::2012-09-10
17:39:07,386::API::1050::vds::(fenceNode) rc 1 in
agent=fence_ipmilan
ipaddr=192.168.10.103
login=Administrator
option=status
passwd=
out Getting status of IPMI:192.168.10.103...Chassis power = Unknown
Failed
err

part of engine.log

2012-09-10 17:41:51,089 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
(ajp--0.0.0.0-8009-10) START, FenceVdsVDSCommand(vdsId =
71528b6e-f5e6-11e1-a15f-0011856cf23e, targetVdsId =
8dddf9e6-f80a-11e1-b036-0011856cf23e, action = Status, ip =
192.168.10.103, port = , type = ipmilan, user = Administrator,
password = **, options = 'lanplus,power_wait=4'), log id:
f442157
2012-09-10 17:41:53,226 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand]
(ajp--0.0.0.0-8009-10) FINISH, FenceVdsVDSCommand, return: Test
Failed, Host Status is: unknown. The fence-agent script reported the
following error: Getting status of IPMI:192.168.10.103...Chassis
power = Unknown
Failed
, log id: f442157


Well, I will have to investigate that, we can clearly see that backend send the 
'lanplus,power_wait=4' options, but from some reason the options in the 
vdsm.log are still empty.


maybe this isn't part of vdsm one?
commit 59934118e3a30c57539d2b71016532bdd9c4ab17
Author: Roy Golan rgo...@redhat.com
Date:   Thu Aug 9 16:34:10 2012 +0300

fenceNode API is missing the options argument

Change-Id: Ib2ce9b0f71040f9198413fa06c5d8768994842ec
Signed-off-by: Roy Golan rgo...@redhat.com
Reviewed-on: http://gerrit.ovirt.org/7058
Reviewed-by: Dan Kenigsberg dan...@redhat.com
Reviewed-by: Omer Frenkel ofren...@redhat.com
Tested-by: Omer Frenkel ofren...@redhat.com













- -
Dmitriy Pyryakov

VimpelCom Ltd.
Inactive hide details for Eli Mesika ---10.09.2012 17:29:41
Original Message -  From: Itamar Heim ih...@redhat.eli
Mesika ---10.09.2012 17:29:41 Original Message -  From:
Itamar Heim ih...@redhat.com

От: Eli Mesika emes...@redhat.com
Кому: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Копия: users@ovirt.org, Itamar Heim ih...@redhat.com
Дата: 10.09.2012 17:29
Тема: Re: HA: Re: [Users] HP Integrated Lights Out 3






- Original Message -

From: Itamar Heim ih...@redhat.com
To: Eli Mesika emes...@redhat.com
Cc: users@ovirt.org, Dmitriy A Pyryakov
dpyrya...@ekb.beeline.ru
Sent: Monday, September 10, 2012 2:14:31 PM
Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3

On 09/10/2012 02:07 PM, Eli Mesika wrote:



- Original Message -

From: Itamar Heim ih...@redhat.com
To: Dmitriy A Pyryakov dpyrya...@ekb.beeline.ru
Cc: Eli Mesika emes...@redhat.com, users@ovirt.org
Sent: Monday, September 10, 2012 12:51:03 PM
Subject: Re: HA: Re: [Users] HP Integrated Lights Out 3

On 09/10/2012 12:21 PM, Dmitriy A Pyryakov wrote:

engine=# select * from vdc_options where option_name in
('FenceAgentDefaultParams','FenceAgentMapping','VdsFenceOptionMapping','VdsFenceType');
option_id | option_name | option_value | version
---+-++-
77 | FenceAgentMapping | ilo3=ipmilan | general
76 | FenceAgentDefaultParams | ilo3:lanplus,power_wait=4 |
general
323 | VdsFenceType |
alom,apc,bladecenter,drac5,eps,ilo,ipmilan,rsa,rsb,wti,cisco_ucs
|
3.1
322 | VdsFenceType |


eli - ilo3 is missing in 3.1?

Yes, this is certainly a bug, I will open it and resolve ASAP


this is a db change, so dmitriy can apply it easily as well.

Sure
Dmitriy , please apply
1) run on your Postgres engine :
select
fn_db_update_config_value('VdsFenceType','alom,apc,bladecenter,drac5,eps,ilo,ilo3,ipmilan,rsa,rsb,wti,cisco_ucs','3.1');

2) Restart engine
3) Check again (you should have ilo3 now in the UI list)
4) Let me know if it works

Thanks




and maybe another bug on not passing fence options which i
remember
we
had at some point

Yes, I believe that the above will solve the issue since we had
already tested ilo3 unless we have a regression I am not aware
about.


lets hope so. question is if it was fixed after ovirt 3.1 was done.







Re: [Users] some problems on ovirt node while testing latest nightly

2012-09-10 Thread Mike Burns
On Mon, 2012-09-10 at 17:18 +0200, Jorick Astrego wrote:
 Hi,
 
 Due to some issues we had with the latest stable, I started testing
 the latest nightly build of the ovirt node iso.
 
 The problems I run into now:
 
 - After node installation the network interfaces are both disabled. I
 had to login the node with the admin login and enable my network
 interfaces
 This is a bit cumbersome as I would expect the NIC's to be
 enabled with dhcp so I don't have to login each machine

They're intentionally not configured.  You can configure automatically
using kernel commandline options and auto-install, instead of a manual
TUI install.  

BOOTIF=eth0

If you're manually installing each machine, you will need to manually
configure the nic you want to be the management nic.

 
 - We have Intel Xenon E5520 Nehalem based cpu's in these local storage
 nodes.
 These are still recognized as the Conroe family. Even though
 BZ#737104 was supposed to have been fixed.
 ( http://gerrit.ovirt.org/#/c/5035/ )

Not ovirt-node directly, I don't think, but a couple things to check.

What are the cpu flags on the host (from engine gui)?  Is the NX bit set
correctly?


The below is pure vdsm, so I'll leave it to the vdsm team to handle.

Mike

 
 - Most of our nodes use iSCSI but some will need local storage. When
 trying to setup local storage I get this error:
 Error while executing action New Local Storage Domain: Error
 in creating a Storage Domain. The selected storage path is not
 empty (probably contains another Storage Domain). Either
 remove the existing Storage Domain from this path, or change
 the Storage path).
 2012-09-10 17:02:45,684 INFO
 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
  (ajp--127.0.0.1-8009-8) [312581e0] START, 
 ValidateStorageServerConnectionVDSCommand(vdsId = 
 68c5effc-fb38-11e1-b975-9ecfd11b047e, storagePoolId = 
 ----, storageType = LOCALFS, connectionList = 
 [{ id: null, connection: /data/images/rhev };]), log id: 7a2b801e
 2012-09-10 17:02:45,705 INFO
 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
  (ajp--127.0.0.1-8009-8) [312581e0] FINISH, 
 ValidateStorageServerConnectionVDSCommand, return: 
 {----=0}, log id: 7a2b801e
 2012-09-10 17:02:45,710 INFO
 [org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand] 
 (ajp--127.0.0.1-8009-8) [312581e0] Running command: 
 AddStorageServerConnectionCommand internal: false. Entities affected :  ID: 
 aaa0----123456789aaa Type: System
 2012-09-10 17:02:45,712 INFO
 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] 
 (ajp--127.0.0.1-8009-8) [312581e0] START, 
 ConnectStorageServerVDSCommand(vdsId = 68c5effc-fb38-11e1-b975-9ecfd11b047e, 
 storagePoolId = ----, storageType = LOCALFS, 
 connectionList = [{ id: 1ea7263a-2623-4a6f-a16f-3fff484b9568, connection: 
 /data/images/rhev };]), log id: fde987c
 2012-09-10 17:02:45,738 INFO
 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] 
 (ajp--127.0.0.1-8009-8) [312581e0] FINISH, ConnectStorageServerVDSCommand, 
 return: {1ea7263a-2623-4a6f-a16f-3fff484b9568=0}, log id: fde987c
 2012-09-10 17:02:45,783 INFO
 [org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand] 
 (ajp--127.0.0.1-8009-11) [15c1c202] Running command: 
 AddLocalStorageDomainCommand internal: false. Entities affected :  ID: 
 aaa0----123456789aaa Type: System
 2012-09-10 17:02:45,791 INFO
 
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand] 
 (ajp--127.0.0.1-8009-11) [15c1c202] START, 
 CreateStorageDomainVDSCommand(vdsId = 68c5effc-fb38-11e1-b975-9ecfd11b047e, 
 storageDomain=org.ovirt.engine.core.common.businessentities.storage_domain_static@f76b4d2f,
  args=/data/images/rhev), log id: 35e741f2
 2012-09-10 17:02:48,124 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (ajp--127.0.0.1-8009-11) [15c1c202] Command
 
 org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand 
 return value
  Class Name:
 org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc
 mStatus   Class Name:
 org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc
 mCode 361
 mMessage  Storage domain is not empty -
 requires cleaning: ('/data/images/rhev',)
 
 
 2012-09-10 17:02:48,125 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (ajp--127.0.0.1-8009-11) [15c1c202] Vds: vh03-en01
 2012-09-10 17:02:48,126 ERROR
  

Re: [Users] some problems on ovirt node while testing latest nightly

2012-09-10 Thread Ayal Baron


- Original Message -
 
 Hi,
 
 Due to some issues we had with the latest stable, I started testing
 the latest nightly build of the ovirt node iso.
 
 The problems I run into now:
 
 - After node installation the network interfaces are both disabled. I
 had to login the node with the admin login and enable my network
 interfaces
 
 
 This is a bit cumbersome as I would expect the NIC's to be enabled
 with dhcp so I don't have to login each machine
 
 - We have Intel Xenon E5520 Nehalem based cpu's in these local
 storage nodes.
 
 
 These are still recognized as the Conroe family. Even though
 BZ#737104 was supposed to have been fixed. (
 http://gerrit.ovirt.org/#/c/5035/ )
 
 - Most of our nodes use iSCSI but some will need local storage. When
 trying to setup local storage I get this error:
 
 
 Error while executing action New Local Storage Domain: Error in
 creating a Storage Domain. The selected storage path is not empty
 (probably contains another Storage Domain). Either remove the
 existing Storage Domain from this path, or change the Storage path).
 2012-09-10 17:02:45,684 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
 (ajp--127.0.0.1-8009-8) [312581e0] START,
 ValidateStorageServerConnectionVDSCommand(vdsId =
 68c5effc-fb38-11e1-b975-9ecfd11b047e, storagePoolId =
 ----, storageType = LOCALFS,
 connectionList = [{ id: null, connection: /data/images/rhev };]),
 log id: 7a2b801e
 2012-09-10 17:02:45,705 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
 (ajp--127.0.0.1-8009-8) [312581e0] FINISH,
 ValidateStorageServerConnectionVDSCommand, return:
 {----=0}, log id: 7a2b801e
 2012-09-10 17:02:45,710 INFO
 [org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand]
 (ajp--127.0.0.1-8009-8) [312581e0] Running command:
 AddStorageServerConnectionCommand internal: false. Entities affected
 : ID: aaa0----123456789aaa Type: System
 2012-09-10 17:02:45,712 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
 (ajp--127.0.0.1-8009-8) [312581e0] START,
 ConnectStorageServerVDSCommand(vdsId =
 68c5effc-fb38-11e1-b975-9ecfd11b047e, storagePoolId =
 ----, storageType = LOCALFS,
 connectionList = [{ id: 1ea7263a-2623-4a6f-a16f-3fff484b9568,
 connection: /data/images/rhev };]), log id: fde987c
 2012-09-10 17:02:45,738 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
 (ajp--127.0.0.1-8009-8) [312581e0] FINISH,
 ConnectStorageServerVDSCommand, return:
 {1ea7263a-2623-4a6f-a16f-3fff484b9568=0}, log id: fde987c
 2012-09-10 17:02:45,783 INFO
 [org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand]
 (ajp--127.0.0.1-8009-11) [15c1c202] Running command:
 AddLocalStorageDomainCommand internal: false. Entities affected :
 ID: aaa0----123456789aaa Type: System
 2012-09-10 17:02:45,791 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand]
 (ajp--127.0.0.1-8009-11) [15c1c202] START,
 CreateStorageDomainVDSCommand(vdsId =
 68c5effc-fb38-11e1-b975-9ecfd11b047e,
 storageDomain=org.ovirt.engine.core.common.businessentities.storage_domain_static@f76b4d2f,
 args=/data/images/rhev), log id: 35e741f2
 2012-09-10 17:02:48,124 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (ajp--127.0.0.1-8009-11) [15c1c202] Command
 org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand
 return value
 Class Name:
 org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc
 mStatus Class Name:
 org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc
 mCode 361
 mMessage Storage domain is not empty - requires cleaning:
 ('/data/images/rhev',)
 
 
 2012-09-10 17:02:48,125 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
 (ajp--127.0.0.1-8009-11) [15c1c202] Vds: vh03-en01
 2012-09-10 17:02:48,126 ERROR
 [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
 (ajp--127.0.0.1-8009-11) [15c1c202] Command CreateStorageDomainVDS
 execution failed. Exception: VDSErrorException: VDSGenericException:
 VDSErrorException: Failed in vdscommand to CreateStorageDomainVDS,
 error = Storage domain is not empty - requires cleaning:
 ('/data/images/rhev',)
 2012-09-10 17:02:48,126 INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStorageDomainVDSCommand]
 (ajp--127.0.0.1-8009-11) [15c1c202] FINISH,
 CreateStorageDomainVDSCommand, log id: 35e741f2
 2012-09-10 17:02:48,127 ERROR
 [org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand]
 (ajp--127.0.0.1-8009-11) [15c1c202] Command
 org.ovirt.engine.core.bll.storage.AddLocalStorageDomainCommand throw
 Vdc Bll exception. With error message VdcBLLException:
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
 VDSGenericException: VDSErrorException: Failed in vdscommand to
 CreateStorageDomainVDS, error = Storage domain 

[Users] Failed to import Vm host to ovirt

2012-09-10 Thread Thomas Scofield
While trying to import a virtual machine I got very generic error message
in the web interface Failed to import Vm host to ovirt, in the engine.log
I got this java exception below.  After doing some digging I realized the
problem was I did not map the network bridge names from my
previous machine to the bridge name used on the current machine. After
modifing
the 
master/vms/e94464d3-ae44-45ac-b09b-0e17f784a378/e94464d3-ae44-45ac-b09b-0e17f784a378.ovf
file and updating the references to the bridge name the import worked as
expected.  Could more information be added to the error message to indicate
the source of the problem?  Are there any plans to allow the network
configuration to be modified as part of the import?

2012-09-10 17:04:29,436 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--0.0.0.0-8009-3) START, GetVmsInfoVDSCommand(storagePoolId =
04f7efb6-f9f8-11e1-af92-6805ca00c345, ignoreFailoverLimit = false,
compatabilityVersion = null, storageDomainId =
913e496b-b0a3-4b2e-a481-7d1a101c89db, vmIdList = null), log id: 223efce6
2012-09-10 17:04:29,446 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--0.0.0.0-8009-3) FINISH, GetVmsInfoVDSCommand, log id: 223efce6
2012-09-10 17:04:29,470 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
(ajp--0.0.0.0-8009-3) START, GetImageDomainsListVDSCommand(storagePoolId =
04f7efb6-f9f8-11e1-af92-6805ca00c345, ignoreFailoverLimit = false,
compatabilityVersion = null, imageGroupId =
b9d80d3d-0b3d-4249-8f12-3bc7e8b93464), log id: 682b1cec
2012-09-10 17:04:29,483 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
(ajp--0.0.0.0-8009-3) FINISH, GetImageDomainsListVDSCommand, return: [],
log id: 682b1cec
2012-09-10 17:04:29,484 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
(ajp--0.0.0.0-8009-3) START, DoesImageExistVDSCommand(storagePoolId =
04f7efb6-f9f8-11e1-af92-6805ca00c345, ignoreFailoverLimit = false,
compatabilityVersion = null, storageDomainId =
913e496b-b0a3-4b2e-a481-7d1a101c89db, imageGroupId =
b9d80d3d-0b3d-4249-8f12-3bc7e8b93464, imageId =
60fb55ea-1450-4f3e-b3ac-4ba0db3e80ab), log id: 6677ff61
2012-09-10 17:04:29,548 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
(ajp--0.0.0.0-8009-3) FINISH, DoesImageExistVDSCommand, return: true, log
id: 6677ff61
2012-09-10 17:04:29,602 INFO  [org.ovirt.engine.core.bll.ImportVmCommand]
(pool-3-thread-49) [30fbeac] Running command: ImportVmCommand internal:
false. Entities affected :  ID: 70fc57d2-4f51-4029-a7ce-9e7705b27723 Type:
Storage
2012-09-10 17:04:29,607 INFO
 [org.ovirt.engine.core.utils.transaction.TransactionSupport]
(pool-3-thread-49) [30fbeac] transaction rolled back
2012-09-10 17:04:29,608 ERROR [org.ovirt.engine.core.bll.ImportVmCommand]
(pool-3-thread-49) [30fbeac] Command
org.ovirt.engine.core.bll.ImportVmCommand throw exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: 4
at
java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:766)
[rt.jar:1.6.0_24]
at java.lang.StringBuilder.deleteCharAt(StringBuilder.java:280)
[rt.jar:1.6.0_24]
at
org.ovirt.engine.core.bll.ImportVmCommand.auditInvalidInterfaces(ImportVmCommand.java:933)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand.AddVmNetwork(ImportVmCommand.java:801)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:488)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:482)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
[engine-utils.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand.addVmToDb(ImportVmCommand.java:482)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand.executeCommand(ImportVmCommand.java:476)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:804)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:896)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1203)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:168)
[engine-utils.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:107)
[engine-utils.jar:]
at
org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:911)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:268)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:182)
[engine-bll.jar:]

[Users] How to import previous data NFS domains on ovirt 3.0 ?

2012-09-10 Thread Changsen Xu
Yesterday my ovirt 3.0 stopped at making templates (after many hours,
still image locked, just 5GB vm), and messed up with destroy one NFS
domains. 

So I ran engine-cleanup,
cleared all data, re-generated ovirt (engine-setup).

Now how can I import previous NFS data domain, which have some VM on it
already (yesterday I got Ubuntu,CentOS etc. installed before messing
up) ?


-- 
Email: xucs...@qq.com
Cell: +86 180-1792-3348
Location: ShangHai PuDong ZhangJiang


On Mon, 2012-09-10 at 11:42 +0300, Maor Lipchuk wrote:
 Hi Changsen,
 Can you please add logs of engine and VDSM.
 
 Regards,
 Maor
 
 On 09/10/2012 11:36 AM, Changsen Xu wrote:
  Hi, all,
  
  I'm happy to get NFS domain added, but somehow, I destroyed 
  one non-master domain (probably clicked twice seeing no immediately
  response).
  
  Then somehow, later on, another non-master NFS domain became 
  master domain,
  and all 3 NFS domains can't be activated, can't be detached, 
  can't be force destroyed. Error says master domain not activated.
  
  I'm using version V1.
  
  Any help ?
  
  Regards,
  
  --
  John Xu
  
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users