Re: [ovirt-users] Backup & Restore

2018-02-28 Thread Yedidyah Bar David
On Wed, Feb 28, 2018 at 4:44 PM,   wrote:
> If I run
>
> # engine-backup --mode=restore --file=back_futur --log=log_futur
> --provision-db --restore-permissions --provision-dwh-db --log=/root/rest-log
>
> to create a log, I found these errors:
>
> 2018-02-28 14:36:31 6339: pg_cmd running: psql -w -U ovirt_engine_history -h
> localhost -p 5432 ovirt_engine_history -t -c show lc_messages
> 2018-02-28 14:36:31 6339: pg_cmd running: pg_dump -w -U ovirt_engine_history
> -h localhost -p 5432 ovirt_engine_history -s
> 2018-02-28 14:36:31 6339: OUTPUT: - Engine database 'engine'
> 2018-02-28 14:36:31 6339: Restoring engine database backup at
> /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db
> 2018-02-28 14:36:31 6339: restoreDB: backupfile
> /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db user engine host localhost
> port 5432 database engine orig_user compressor format custom jobsnum 2
> 2018-02-28 14:36:31 6339: pg_cmd running: pg_restore -w -U engine -h
> localhost -p 5432 -d engine -j 2
> /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db
> pg_restore: [archiver (db)] Error while PROCESSING TOC:
> pg_restore: [archiver (db)] Error from TOC entry 7314; 0 0 COMMENT EXTENSION
> plpgsql
> pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of
> extension plpgsql
> Command was: COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
>
>
>
> pg_restore: [archiver (db)] Error from TOC entry 693; 1255 211334 FUNCTION
> uuid_generate_v1() engine
> pg_restore: [archiver (db)] could not execute query: ERROR: function
> "uuid_generate_v1" already exists with same argument types

This is the error that fails you. I have a pending patch to make this more
visible in the log [1], need to find time to verify it...

Does this happen on a clean machine? Perhaps 'engine-cleanup' after such
a failed restore is not enough. Please try reinstalling the OS and trying
again.

If it's not an important machine (test/dev/etc), this will probably be
enough, as a faster replacement for a full OS reinstall:

engine-cleanup
systemctl stop postgresql
systemctl stop rh-postgresql95-postgresql
rm -rf /var/lib/pgsql/data /var/opt/rh/rh-postgresql95/lib/pgsql/data

Then try restore again.

[1] https://gerrit.ovirt.org/86395

> Command was: CREATE FUNCTION uuid_generate_v1() RETURNS uuid
> LANGUAGE plpgsql STABLE
> AS '
> DECLARE
> v_val BIGINT;
> v_4_1_par...
> pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of
> function uuid_generate_v1
> Command was: ALTER FUNCTION public.uuid_generate_v1() OWNER TO engine;

Adding also Eli. Eli - perhaps we need to patch engine-backup to ignore
also this error? I think the minimal flow to reproduce is:

engine-setup
engine-backup --mode=backup --file=f1 --log=l1
engine-cleanup
engine-backup --mode=restore --file=f1 --provision-db
--provision-dwh-db --log=l2

Didn't try this myself.

>
>
> pg_restore: WARNING: column "user_role_title" has type "unknown"
> DETAIL: Proceeding with relation creation anyway.
> pg_restore: WARNING: no privileges could be revoked for "public"
> pg_restore: WARNING: no privileges could be revoked for "public"
> pg_restore: WARNING: no privileges were granted for "public"
> pg_restore: WARNING: no privileges were granted for "public"
> WARNING: errors ignored on restore: 3
> 2018-02-28 14:37:23 6339: FATAL: Errors while restoring database engine
>
> 
> De: supo...@logicworks.pt
> Para: "Yedidyah Bar David" 
> Cc: "ovirt users" 
> Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:45:04
>
> Assunto: Re: [ovirt-users] Backup & Restore
>
> Still no luck:
>
> # engine-backup --mode=restore --file=back_futur --log=log_futur
> --provision-db --restore-permissions --provision-dwh-db
> Preparing to restore:
> - Unpacking file 'back_futur'
> Restoring:
> - Files
> Provisioning PostgreSQL users/databases:
> - user 'engine', database 'engine'
> - user 'ovirt_engine_history', database 'ovirt_engine_history'
> Restoring:
> - Engine database 'engine'
> FATAL: Errors while restoring database engine
>
> I did a engine-cleanup, try it again but still the same error.
>
> 
> De: "Yedidyah Bar David" 
> Para: supo...@logicworks.pt
> Cc: "ovirt users" 
> Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:24:50
> Assunto: Re: [ovirt-users] Backup & Restore
>
> On Wed, Feb 28, 2018 at 2:10 PM,   wrote:
>> Hi,
>>
>> I'm testing backup & restore on Ovirt 4.2.
>> I follow this doc
>>
>> https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/
>> Try to restore to a fresh installation but always get this error message:
>>
>> restore-permissions
>> Preparing to restore:
>> - Unpacking file 'back_file'
>> Restoring:
>> - Files
>> Provisioning PostgreSQL users/databases:
>> - user 'engine', database 'engine'
>> Restoring:
>> FATAL: Can't connect to database 

[ovirt-users] Failed to verify Power Management configuration for Host xxxxxxxxx

2018-02-28 Thread Sakhi Hadebe
Hi,

I am installing the ovirt cluster of 3 server machines. With the hosted
engine vm running on one of the servers.

I have been struggling to enable Power management. On the Administration it
shows enabled and not editable.

The error it show is:

Error while executing action:

ovirt-host.example.co.za:

   - Cannot edit Host. Power Management is enabled for Host but no Agent
   type selected.


​Please assist.​

-- 
Regards,
Sakhi Hadebe

Engineer: South African National Research Network (SANReN)Competency
Area, Meraka, CSIR

Tel:   +27 12 841 2308 <+27128414213>
Fax:   +27 12 841 4223 <+27128414223>
Cell:  +27 71 331 9622 <+27823034657>
Email: sa...@sanren.ac.za 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Power management - oVirt 4,2

2018-02-28 Thread Terry hey
Dear Martin,
Thank you so much!
It works!
I found that IPMI is disable by default setting.
When i enable it and run fence_ilo4 command, it showed that status is ON.

[root@XX~]# ​fence_ilo4 -a X -l  -p X -v -o status
Executing: /usr/bin/ipmitool -I lanplus -H X -p 623 -U X -P X
-L ADMINISTRATOR chassis power status

0 Chassis Power is on


Status: ON
[root@XX~]#

Thank you so much again!

Regards,
Terry


2018-02-28 16:30 GMT+08:00 Martin Perina :

>
>
> On Wed, Feb 28, 2018 at 9:13 AM, Terry hey  wrote:
>
>> Dear Martin,
>> Please see the following result.
>> [root@X ~]# fence_ilo4 -a XXX.XXX.XXX.XXX -l X -p X -v -o
>> status
>> Executing: /usr/bin/ipmitool -I lanplus -H XXX.XXX.XXX.XXX -p 623 -U
>> X -P X -L ADMINISTRATOR chassis power status
>>
>> Connection timed out
>>
>>
>> [root@X~]#
>> As you can see it just said connection timed out.
>> But i can actually access iLO5 ( same account and password) through
>> Internet Explorer ,
>>
>
> ​This is completely different protocol (HTTP) using a browser,  it's
> independent of IPMI.
>
> Are you sure that some firewall doesn't block access to the IPMI
> interface? Are you executing the command from different host than the host
> which you want access the IPMI interface of?
> ​
> ​If above is not an issue, then please login to iLO5 management using a
> browser and check if IPMI interface is enabled according to your iLO5
> documentation
> ​
>
>
>>
>> I want to ask.. do you know what port did the manger use when compile
>> this command?
>>
>
> ​623 is the default IPMI port
> ​
>
>
>>
>> Regards
>> Terry
>>
>>
>> 2018-02-26 17:38 GMT+08:00 Martin Perina :
>>
>>>
>>>
>>> On Fri, Feb 23, 2018 at 11:34 AM, Terry hey 
>>> wrote:
>>>
 Dear Martin,
 I am very sorry that i reply you so late.
 Do you mean that 4.2 can support ilo5 by selecting the option "ilo4" in
 power management?

>>>
>>> ​Yes
>>> ​
>>>
>>>
 "from the error message below I'd say that you are either not using
 correct IP address of iLO5 interface or you haven't enabled remote access
 to your iLO5 interface"
 I just try it and double confirm that i did not type a wrong IP. But
 the error message is same.

>>>
>>> ​Unfortunately I don't have iLO5 server available, so I cannot provide
>>> more details. Anyway could you please double check your server
>>> documentation, that you have enabled access to iLO5 IPMI interface
>>> correctly? And could you please share output of following command?
>>>
>>> ​
>>> f
>>> ​​
>>> ence_ilo4 -a  -l  -p  -v -o status
>>>
>>> Thanks
>>>
>>> Martin
>>> ​
>>>
>>>

 Regards
 Terry

 2018-02-08 16:13 GMT+08:00 Martin Perina :

> Hi Terry,
>
> from the error message below I'd say that you are either not using
> correct IP address of iLO5 interface or you haven't enabled remote access
> to your iLO5 interface.
> According to [1] iLO5 should fully IPMI compatible. So are you sure
> that you enabled the remote access to your iLO5 address in iLO5 
> management?
> Please consult [1] how to enable everything and use a user with at
> least Operator privileges.
>
> Regards
>
> Martin
>
> [1] https://support.hpe.com/hpsc/doc/public/display?docId=a00018
> 324en_us
>
>
> On Thu, Feb 8, 2018 at 7:57 AM, Terry hey 
> wrote:
>
>> Dear Martin,
>>
>> Thank you for helping me. To answer your question,
>> 1. Does the Test in Edit fence agent dialog work​?
>> Ans: it shows that "Test failed: Internal JSON-RPC error"
>>
>> Regardless the fail result, i press "OK" to enable power management.
>> There are four event log appear in "Events"
>> The follwing are the log in
>> "Event""
>> Host host01 configuration was updated by admin@internal-authz.
>> Kdump integration is enabled for host hostv01, but kdump is not
>> configured properly on host.
>> Health check on Host host01 indicates that future attempts to Stop
>> this host using Power-Management are expected to fail.
>> Health check on Host host01 indicates that future attempts to Start
>> this host using Power-Management are expected to fail.
>>
>> 2. If not could you please try to install fence-agents-all package on
>> different host and execute?
>> Ans: It just shows "Connection timed out".
>>
>> So, does it means that it is not support iLo5 now or i configure
>> wrongly?
>>
>> Regards,
>> Terry
>>
>> 2018-02-02 15:46 GMT+08:00 Martin Perina :
>>
>>>
>>>
>>> On Fri, Feb 2, 2018 at 5:40 AM, Terry hey 
>>> wrote:
>>>
 Dear Martin,

 Um..Since i 

Re: [ovirt-users] open source backup solution for ovirt/VMs

2018-02-28 Thread Vincent Royer
Can you tell us more about this implementation?

*Vincent Royer*
*778-825-1057*



*SUSTAINABLE MOBILE ENERGY SOLUTIONS*




On Wed, Feb 28, 2018 at 2:10 PM, Brett Holcomb  wrote:

> I use Bareos for backup.  It is open source.
>
>
>
> On 02/28/2018 01:14 PM, Junaid Jadoon wrote:
>
> HI,
> Can you please suggest me open source backup solution for ovirt Virtual
> machines.
>
> My backup media is FC tape library which directly  attached to my ovirt
> node.
>
> I really appreciate you help
>
> thanks.
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://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


Re: [ovirt-users] open source backup solution for ovirt/VMs

2018-02-28 Thread Brett Holcomb

I use Bareos for backup.  It is open source.



On 02/28/2018 01:14 PM, Junaid Jadoon wrote:

HI,
Can you please suggest me open source backup solution for ovirt 
Virtual machines.


My backup media is FC tape library which directly  attached to my 
ovirt node.


I really appreciate you help

thanks.


___
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: [ovirt-users] open source backup solution for ovirt/VMs

2018-02-28 Thread Maton, Brett
You could look at https://github.com/openbacchus/bacchus to automate ovirt
vm backups.

You'd still need to do 'something' to move the vm images from the export
domain to your tape device though.

On 28 February 2018 at 18:14, Junaid Jadoon  wrote:

> HI,
> Can you please suggest me open source backup solution for ovirt Virtual
> machines.
>
> My backup media is FC tape library which directly  attached to my ovirt
> node.
>
> I really appreciate you help
>
> thanks.
>
> ___
> 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


[ovirt-users] open source backup solution for ovirt/VMs

2018-02-28 Thread Junaid Jadoon
HI,
Can you please suggest me open source backup solution for ovirt Virtual
machines.

My backup media is FC tape library which directly  attached to my ovirt
node.

I really appreciate you help

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


[ovirt-users] Rückruf: Cannot activate host from maintenance mode

2018-02-28 Thread Bruckner, Simone
Bruckner, Simone möchte die Nachricht "[ovirt-users] Cannot activate host from 
maintenance mode" zurückrufen.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Cannot activate host from maintenance mode

2018-02-28 Thread Martin Perina
On 28 Feb 2018 10:14 am, "Tal Bar-Or"  wrote:

Hello,

I have Ovirt Version:4.2.1.7-1.el7.centos, I did upgrade according to host
indication  ,and since then I get the following error when trying to
activate host " Cannot activate Host. Host has no unique id. "


Could you please share all engine logs with us so we can investigate?

Thanks

Martin

Any idea how to fix this issue, please advice
Thanks

-- 
Tal Bar-or

___
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: [ovirt-users] Permission on Vm and User portal

2018-02-28 Thread Angel R. Gonzalez

Hi all,
I've Ovirt 4.1.2 with an authentication LDAP (openldap). In this tree 
LDAP, I've two groups, students and teachers.
How to add permissions to execute VMs or Pools to these groups without 
add permissions to each member of these groups.

Thanks you in advance.


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


Re: [ovirt-users] Installing on ubuntu

2018-02-28 Thread Sandro Bonazzola
2018-02-28 13:13 GMT+01:00 Anastasiya Ruzhanskaya <
anastasiya.ruzhansk...@frtk.ru>:

> Hello!
> I am new to oVirt. I want to install it on Ubuntu ( oVirt-Engine) , as I
> do this for testing for my diploma at university and don't have too much
> space on my computer for hundreds of VMs.
> What is the status now? I looked on what is written on the site, is it
> still true and it can be done through all the hacks listed there?
>

Hi and welcome to oVirt community! I haven't tested the Ubuntu installation
procedure recently but I've seen people asking about it on #ovirt IRC
channel.
If you try to install oVirt on Ubuntu please help updating the website with
your experience.




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


-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R

Red Hat EMEA 

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


Re: [ovirt-users] Backup & Restore

2018-02-28 Thread suporte
If I run 

# engine-backup --mode=restore --file=back_futur --log=log_futur --provision-db 
--restore-permissions --provision-dwh-db --log=/root/rest-log 

to create a log, I found these errors: 

2018-02-28 14:36:31 6339: pg_cmd running: psql -w -U ovirt_engine_history -h 
localhost -p 5432 ovirt_engine_history -t -c show lc_messages 
2018-02-28 14:36:31 6339: pg_cmd running: pg_dump -w -U ovirt_engine_history -h 
localhost -p 5432 ovirt_engine_history -s 
2018-02-28 14:36:31 6339: OUTPUT: - Engine database 'engine' 
2018-02-28 14:36:31 6339: Restoring engine database backup at 
/tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db 
2018-02-28 14:36:31 6339: restoreDB: backupfile 
/tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db user engine host localhost 
port 5432 database engine orig_user compressor format custom jobsnum 2 
2018-02-28 14:36:31 6339: pg_cmd running: pg_restore -w -U engine -h localhost 
-p 5432 -d engine -j 2 /tmp/engine-backup.VVkcNuYAkV/db/engine_backup.db 
pg_restore: [archiver (db)] Error while PROCESSING TOC: 
pg_restore: [archiver (db)] Error from TOC entry 7314; 0 0 COMMENT EXTENSION 
plpgsql 
pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of 
extension plpgsql 
Command was: COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language'; 



pg_restore: [archiver (db)] Error from TOC entry 693; 1255 211334 FUNCTION 
uuid_generate_v1() engine 
pg_restore: [archiver (db)] could not execute query: ERROR: function 
"uuid_generate_v1" already exists with same argument types 
Command was: CREATE FUNCTION uuid_generate_v1() RETURNS uuid 
LANGUAGE plpgsql STABLE 
AS ' 
DECLARE 
v_val BIGINT; 
v_4_1_par... 
pg_restore: [archiver (db)] could not execute query: ERROR: must be owner of 
function uuid_generate_v1 
Command was: ALTER FUNCTION public.uuid_generate_v1() OWNER TO engine; 


pg_restore: WARNING: column "user_role_title" has type "unknown" 
DETAIL: Proceeding with relation creation anyway. 
pg_restore: WARNING: no privileges could be revoked for "public" 
pg_restore: WARNING: no privileges could be revoked for "public" 
pg_restore: WARNING: no privileges were granted for "public" 
pg_restore: WARNING: no privileges were granted for "public" 
WARNING: errors ignored on restore: 3 
2018-02-28 14:37:23 6339: FATAL: Errors while restoring database engine 


De: supo...@logicworks.pt 
Para: "Yedidyah Bar David"  
Cc: "ovirt users"  
Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:45:04 
Assunto: Re: [ovirt-users] Backup & Restore 

Still no luck: 

# engine-backup --mode=restore --file=back_futur --log=log_futur --provision-db 
--restore-permissions --provision-dwh-db 
Preparing to restore: 
- Unpacking file 'back_futur' 
Restoring: 
- Files 
Provisioning PostgreSQL users/databases: 
- user 'engine', database 'engine' 
- user 'ovirt_engine_history', database 'ovirt_engine_history' 
Restoring: 
- Engine database 'engine' 
FATAL: Errors while restoring database engine 

I did a engine-cleanup, try it again but still the same error. 


De: "Yedidyah Bar David"  
Para: supo...@logicworks.pt 
Cc: "ovirt users"  
Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:24:50 
Assunto: Re: [ovirt-users] Backup & Restore 

On Wed, Feb 28, 2018 at 2:10 PM,  wrote: 
> Hi, 
> 
> I'm testing backup & restore on Ovirt 4.2. 
> I follow this doc 
> https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/ 
> Try to restore to a fresh installation but always get this error message: 
> 
> restore-permissions 
> Preparing to restore: 
> - Unpacking file 'back_file' 
> Restoring: 
> - Files 
> Provisioning PostgreSQL users/databases: 
> - user 'engine', database 'engine' 
> Restoring: 
> FATAL: Can't connect to database 'ovirt_engine_history'. Please see 
> '/usr/bin/engine-backup --help'. 
> 
> On the live engine I run # engine-backup --scope=all --mode=backup 
> --file=file_name --log=log_file_name 
> 
> And try to restore on a fresh installation: 
> # engine-backup --mode=restore --file=file_name --log=log_file_name 
> --provision-db --restore-permissions 
> 
> Any Idea? 

Please try adding to restore command '--providion-dwh-db'. Thanks. 
-- 
Didi 

___ 
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: [ovirt-users] API endpoint for a VM to fetch metadata about itself

2018-02-28 Thread Yaniv Kaul
On Tue, Feb 27, 2018 at 3:04 AM, Geoff Sweet  wrote:

> OK, that's a great place for me to start. However the problem is that all
> my post-install tooling is now running on a VM that knows nothing about
> itself (having been installed via pxe and kickstart) like it's {vm_id}.
> Can the API be used to query for a VM and it's attributes based on
> something like a MAC address or the IP itself?
>

If you want its ID, you can get it via dmidecode:
dmidecode |grep UUID

Y.

>
> -Geoff
>
> On Sun, Feb 25, 2018 at 11:05 PM, Ondra Machacek 
> wrote:
>
>> We don't have any such resource. We have those information in different
>>  places of the API. For example to find the information about devices of
>> the VM, like network device information (IP address, MAC, etc), you can
>> query:
>>
>>  /ovirt-engine/api/vms/{vm_id}/reporteddevices
>>
>> The FQDN is listed right in the basic information of the VM quering the
>> VM itself:
>>
>>   /ovirt-engine/api/vms/{vm_id}
>>
>> You can find all the information about specific attributes returned by
>> the API here in the documentation:
>>
>>  http://ovirt.github.io/ovirt-engine-api-model/4.2/#types/vm
>>
>> On 02/25/2018 03:13 AM, Geoff Sweet wrote:
>>
>>> Is there an API endpoint that VM's can query to discover it's oVirt
>>> metadata? Something similar to AWS's http://169.254.169.254/latest/
>>> meta-data/  query in EC2? I'm
>>> trying to stitch a lot of automation workflow together and so far I have
>>> had great luck with oVirt. But the next small hurdle is to figure out how
>>> all the post-install setup stuff can figure out who the VM is so it can the
>>> appropriate configurations.
>>>
>>> Thanks!
>>> -Geoff
>>>
>>>
>>> ___
>>> 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


Re: [ovirt-users] VM paused rather than migrate to another hosts

2018-02-28 Thread Milan Zamazal
Terry hey  writes:

> I am testing iSCSI bonding failover test on oVirt, but i observed that VM
> were paused and did not migrate to another host. Please see the details as
> follows.
>
> I have two hypervisors. Since they are running iLO 5 and oVirt 4.2 cannot
> support iLO 5, thus i cannot setup power management.
>
> For the cluster setting, I set "Migrate Virtual Machines" under the
> Migration Policy.
>
> For each hypervisor, I bonded two iSCSI interface as bond 1.
>
> I created one Virtual machine and enable high availability on it.
> Also, I created one Virtual machine and did not enable high availability on
> it.
>
> When i shutdown one of the iSCSI interface, nothing happened.
> But when i shutdown both iSCSI interface, VM in that hosts were paused and
> did not migrate to another hosts. Is this behavior normal or i miss
> something?

A paused VM can't be migrated, since there are no guarantees about the
storage state.  As the VMs were paused under erroneous (rather than
controlled such as putting the host into maintenance) situation,
migration policy can't help here.

But highly available VMs can be restarted on another host automatically.
Do you have VM lease enabled for the highly available VM in High
Availability settings?  With a lease, Engine should be able to restart
the VM elsewhere after a while, without it Engine can't do that since
there is danger of resuming the VM on the original host, resulting in
multiple instances of the same VM running at the same time.

VMs without high availability must be restarted manually (unless storage
domain becomes available again).

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


Re: [ovirt-users] After upgrade to 4.2 some VM won't start

2018-02-28 Thread Arik Hadas
On Tue, Feb 27, 2018 at 11:04 AM, Arsène Gschwind  wrote:

> Hi,
>
> I would like investigate what went wrong during the Cluster Compatibility
> update on running VMs, for sure the workaround by creating new VM and
> attaching disk works great but i think it would be interesting to know what
> went wrong.
>
> I've tried to find a way to create a dump of the VM config to be able to
> make a diff between old and new one to see what is different but without
> any luck so far...
>
> Any idea how to create such a dump?
>
Can you please provide the output of the following query in your database:

select type, device, address, alias, is_managed, is_plugged from vm_device
where vm_id in (select vm_guid from vm_static where vm_name='');

where  is the name of one of the VMs you can't start because of
that NPE?


> Thanks for any help.
>
> rgds,
>
> Arsene
>
> On 02/24/2018 09:03 AM, Arsène Gschwind wrote:
>
> When creating an identical VM and attaching the one disk it will start and
> run perfectly. It seems that during the Cluster Compatibility Update
> something doesn't work right on running VM, this only happens on running
> VMs and I could reproduce it.
>
> Is there a way to do some kind of diff between the new and the old VM
> settings to find out what may be different?
>
> Thanks,
> Arsene
>
> On 02/23/2018 08:14 PM, Arsène Gschwind wrote:
>
> Hi,
>
> After upgrading cluster compatibility to 4.2 some VM won't start and I'm
> unable to figured out why, it throws a java exception.
>
> I've attached the engine log.
>
> Thanks for any help/hint.
>
> rgds,
> Arsene
> --
>
> *Arsène Gschwind*
> Fa. Sapify AG im Auftrag der Universität Basel
> IT Services
> Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
> Tel. +41 79 449 25 63 <+41%2079%20449%2025%2063>  |  http://its.unibas.ch
> ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11
> <+41%2061%20267%2014%2011>
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
> --
>
> *Arsène Gschwind*
> Fa. Sapify AG im Auftrag der Universität Basel
> IT Services
> Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
> Tel. +41 79 449 25 63 <+41%2079%20449%2025%2063>  |  http://its.unibas.ch
> ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11
> <+41%2061%20267%2014%2011>
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
> --
>
> *Arsène Gschwind*
> Fa. Sapify AG im Auftrag der Universität Basel
> IT Services
> Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
> Tel. +41 79 449 25 63 <+41%2079%20449%2025%2063>  |  http://its.unibas.ch
> ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11
> <+41%2061%20267%2014%2011>
>
> ___
> 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


[ovirt-users] Installing on ubuntu

2018-02-28 Thread Anastasiya Ruzhanskaya
Hello!
I am new to oVirt. I want to install it on Ubuntu ( oVirt-Engine) , as I do
this for testing for my diploma at university and don't have too much space
on my computer for hundreds of VMs.
What is the status now? I looked on what is written on the site, is it
still true and it can be done through all the hacks listed there?
Thank you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup & Restore

2018-02-28 Thread suporte
Still no luck: 

# engine-backup --mode=restore --file=back_futur --log=log_futur --provision-db 
--restore-permissions --provision-dwh-db 
Preparing to restore: 
- Unpacking file 'back_futur' 
Restoring: 
- Files 
Provisioning PostgreSQL users/databases: 
- user 'engine', database 'engine' 
- user 'ovirt_engine_history', database 'ovirt_engine_history' 
Restoring: 
- Engine database 'engine' 
FATAL: Errors while restoring database engine 

I did a engine-cleanup, try it again but still the same error. 


De: "Yedidyah Bar David"  
Para: supo...@logicworks.pt 
Cc: "ovirt users"  
Enviadas: Quarta-feira, 28 De Fevereiro de 2018 12:24:50 
Assunto: Re: [ovirt-users] Backup & Restore 

On Wed, Feb 28, 2018 at 2:10 PM,  wrote: 
> Hi, 
> 
> I'm testing backup & restore on Ovirt 4.2. 
> I follow this doc 
> https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/ 
> Try to restore to a fresh installation but always get this error message: 
> 
> restore-permissions 
> Preparing to restore: 
> - Unpacking file 'back_file' 
> Restoring: 
> - Files 
> Provisioning PostgreSQL users/databases: 
> - user 'engine', database 'engine' 
> Restoring: 
> FATAL: Can't connect to database 'ovirt_engine_history'. Please see 
> '/usr/bin/engine-backup --help'. 
> 
> On the live engine I run # engine-backup --scope=all --mode=backup 
> --file=file_name --log=log_file_name 
> 
> And try to restore on a fresh installation: 
> # engine-backup --mode=restore --file=file_name --log=log_file_name 
> --provision-db --restore-permissions 
> 
> Any Idea? 

Please try adding to restore command '--providion-dwh-db'. Thanks. 
-- 
Didi 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Backup & Restore

2018-02-28 Thread Yedidyah Bar David
On Wed, Feb 28, 2018 at 2:10 PM,   wrote:
> Hi,
>
> I'm testing backup & restore on Ovirt 4.2.
> I follow this doc
> https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/
> Try to restore to a fresh installation but always get this error message:
>
> restore-permissions
> Preparing to restore:
> - Unpacking file 'back_file'
> Restoring:
> - Files
> Provisioning PostgreSQL users/databases:
> - user 'engine', database 'engine'
> Restoring:
> FATAL: Can't connect to database 'ovirt_engine_history'. Please see
> '/usr/bin/engine-backup --help'.
>
> On the live engine I run # engine-backup --scope=all --mode=backup
> --file=file_name --log=log_file_name
>
> And try to restore on a fresh installation:
> # engine-backup --mode=restore --file=file_name --log=log_file_name
> --provision-db --restore-permissions
>
> Any Idea?

Please try adding to restore command '--providion-dwh-db'. Thanks.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Backup & Restore

2018-02-28 Thread suporte
Hi, 

I'm testing backup & restore on Ovirt 4.2. 
I follow this doc 
https://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/ 
Try to restore to a fresh installation but always get this error message: 

restore-permissions 
Preparing to restore: 
- Unpacking file 'back_file' 
Restoring: 
- Files 
Provisioning PostgreSQL users/databases: 
- user 'engine', database 'engine' 
Restoring: 
FATAL: Can't connect to database 'ovirt_engine_history'. Please see 
'/usr/bin/engine-backup --help'. 

On the live engine I run # engine-backup --scope=all --mode=backup 
--file=file_name --log=log_file_name 

And try to restore on a fresh installation: 
# engine-backup --mode=restore --file=file_name --log=log_file_name 
--provision-db --restore-permissions 

Any Idea? 

Thanks 



-- 

Jose Ferradeira 
http://www.logicworks.pt 

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


Re: [ovirt-users] Network and VLANs

2018-02-28 Thread Gabriel Stein
Hi!

Well, the problem starts here:
https://bugzilla.redhat.com/show_bug.cgi?id=1528906

This is a solved marked, but it isn't.

This is what still happens on some servers from us:
https://bugzilla.redhat.com/show_bug.cgi?id=1540463

I have four servers, I updated all hosts on the newest state from
ovirt(4.2.1) and just for two servers worked. For other two doesn't works.
The packages seems to be the same versions on all servers, for the
"working" and  "not working".

The question about oVirt Networking was my curiosity, if I can solve this
problem using another way/workaround(or even a officiall way from ovirt).

If you need more info, I give all the info that you need or I can even
create a bugzilla ticket for that.

Thanks!

All the best,

Gabriel




Gabriel Stein
--
Gabriel Ferraz Stein
Tel.: +49 (0)  170 2881531

2018-02-28 12:30 GMT+01:00 Petr Horacek :

> Hello,
>
> I don't see how is the bug related to your problem, could you elaborate
> please? It seems to be fixed now.
>
> Is there any other problem with Setup Networks other than the bug?
>
> oVirt does not support Virtual Switch neither Network Stack, there is an
> experimental support of Open vSwitch and OVN though.
>
> Regards,
> Petr
>
>
>
> 2018-02-22 10:52 GMT+01:00 Gabriel Stein :
>
>> s/ wrote this Bug about my Problem/There is a Bug with my Problem"/g
>>
>>
>>
>> Gabriel Stein
>> --
>> Gabriel Ferraz Stein
>> Tel.: +49 (0)  170 2881531
>>
>> 2018-02-22 10:50 GMT+01:00 Gabriel Stein :
>>
>>> Hi all,
>>>
>>> I have some problems adding VLANs to my VMs and  I don't known if there
>>> is a better way to do that, like a 'oVirt Way'.
>>>
>>> All I need is to have a VM on "Test Network" that communicates with
>>> another hardware/VMs on "Test Network". All VLANs are configured on my
>>> Switch, the Hosts from oVirt are connected and tagged to this VLANs.
>>>
>>> Is there a "oVirt Way" to do that other than "Setup Networks"? Can I use
>>> with oVirt an Virtual Switch? Or a Network Stack?
>>>
>>> I wrote this Bug about my Problem...
>>>
>>> Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1540463
>>>
>>> Thanks in Advance!
>>>
>>> Best Regards,
>>>
>>> Gabriel
>>>
>>>
>>>
>>> Gabriel Stein
>>> --
>>> Gabriel Ferraz Stein
>>> Tel.: +49 (0)  170 2881531
>>>
>>
>>
>> ___
>> 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: [ovirt-users] Change management network

2018-02-28 Thread Petr Horacek
Hello,

2018-02-23 14:31 GMT+01:00 Chris Boot :

> On 22/02/18 17:15, Chris Boot wrote:
> > Hi all,
> >
> > I have an oVirt cluster on which I need to change which VLAN is the
> > management network.
> >
> > The new management network is an existing VM network. I've configured IP
> > addresses for all the hosts on this network, and I've even moved the
> > HostedEngine VM onto this network. So far so good.
> >
> > What I cannot seem to be able to do is actually change the "management
> > network" toggle in the cluster to this network: the oVirt Engine
> > complains saying:
> >
> > "Error while executing action: Cannot edit Network. Changing management
> > network in a non-empty cluster is not allowed."
> >
> > How can I get around this? I clearly cannot empty the cluster, as the
> > cluster contains all my existing VMs, hosts and HostedEngine.
>
> It seems I have to create a new cluster, migrate a host over, migrate a
> few VMs, and so on until everything is moved over. This really isn't
> ideal as the VMs have to be shut down and reconfigured, but doable.
>
There is no better way, management network cannot be changed once there are
Hosts in Cluster.

>
> What I seem to be stuck on is changing the cluster on the HostedEngine.
> I actually have it running on a host in the new cluster, but it still
> appears in the old cluster on the web interface with no way to change this.
>
Martin, is such thing possible in HostedEngine?

>
> Any hints, please?
>
> This is on oVirt 4.1.9. Upgrading to 4.2.1 is not out of the question if
> it's likely to help.
>
> Thanks,
> Chris
>
> --
> Chris Boot
> bo...@boo.tc
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>

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


Re: [ovirt-users] Network and VLANs

2018-02-28 Thread Petr Horacek
Hello,

I don't see how is the bug related to your problem, could you elaborate
please? It seems to be fixed now.

Is there any other problem with Setup Networks other than the bug?

oVirt does not support Virtual Switch neither Network Stack, there is an
experimental support of Open vSwitch and OVN though.

Regards,
Petr



2018-02-22 10:52 GMT+01:00 Gabriel Stein :

> s/ wrote this Bug about my Problem/There is a Bug with my Problem"/g
>
>
>
> Gabriel Stein
> --
> Gabriel Ferraz Stein
> Tel.: +49 (0)  170 2881531
>
> 2018-02-22 10:50 GMT+01:00 Gabriel Stein :
>
>> Hi all,
>>
>> I have some problems adding VLANs to my VMs and  I don't known if there
>> is a better way to do that, like a 'oVirt Way'.
>>
>> All I need is to have a VM on "Test Network" that communicates with
>> another hardware/VMs on "Test Network". All VLANs are configured on my
>> Switch, the Hosts from oVirt are connected and tagged to this VLANs.
>>
>> Is there a "oVirt Way" to do that other than "Setup Networks"? Can I use
>> with oVirt an Virtual Switch? Or a Network Stack?
>>
>> I wrote this Bug about my Problem...
>>
>> Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1540463
>>
>> Thanks in Advance!
>>
>> Best Regards,
>>
>> Gabriel
>>
>>
>>
>> Gabriel Stein
>> --
>> Gabriel Ferraz Stein
>> Tel.: +49 (0)  170 2881531
>>
>
>
> ___
> 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


[ovirt-users] Failure to upgrade Cluster Compatibility Version

2018-02-28 Thread Jonathan Mathews
I have been upgrading my oVirt platform from 3.4 and I am trying to get to
4.2.

I have managed to get the platform to 3.6, but need to upgrade the Cluster
Compatibility Version.

When I select 3.6 in the Cluster Compatibility Version and select OK, it
highlights Compatibility Version in red, (image attached).

There are no errors been displayed on screen, or in
the /var/log/ovirt-engine/engine.log file.

Please let me know if I am missing something and how I can resolve this?

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


[ovirt-users] VM paused rather than migrate to another hosts

2018-02-28 Thread Terry hey
Dear all,
I am testing iSCSI bonding failover test on oVirt, but i observed that VM
were paused and did not migrate to another host. Please see the details as
follows.

I have two hypervisors. Since they are running iLO 5 and oVirt 4.2 cannot
support iLO 5, thus i cannot setup power management.

For the cluster setting, I set "Migrate Virtual Machines" under the
Migration Policy.

For each hypervisor, I bonded two iSCSI interface as bond 1.

I created one Virtual machine and enable high availability on it.
Also, I created one Virtual machine and did not enable high availability on
it.

When i shutdown one of the iSCSI interface, nothing happened.
But when i shutdown both iSCSI interface, VM in that hosts were paused and
did not migrate to another hosts. Is this behavior normal or i miss
something?

Thank you all of you.
Regards,
Terry Hung
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Power management - oVirt 4,2

2018-02-28 Thread Terry hey
Dear Martin,
Please see the following result.
[root@X ~]# fence_ilo4 -a XXX.XXX.XXX.XXX -l X -p X -v -o status
Executing: /usr/bin/ipmitool -I lanplus -H XXX.XXX.XXX.XXX -p 623 -U X
-P X -L ADMINISTRATOR chassis power status

Connection timed out


[root@X~]#
As you can see it just said connection timed out.
But i can actually access iLO5 ( same account and password) through
Internet Explorer ,

I want to ask.. do you know what port did the manger use when compile this
command?

Regards
Terry


2018-02-26 17:38 GMT+08:00 Martin Perina :

>
>
> On Fri, Feb 23, 2018 at 11:34 AM, Terry hey  wrote:
>
>> Dear Martin,
>> I am very sorry that i reply you so late.
>> Do you mean that 4.2 can support ilo5 by selecting the option "ilo4" in
>> power management?
>>
>
> ​Yes
> ​
>
>
>> "from the error message below I'd say that you are either not using
>> correct IP address of iLO5 interface or you haven't enabled remote access
>> to your iLO5 interface"
>> I just try it and double confirm that i did not type a wrong IP. But the
>> error message is same.
>>
>
> ​Unfortunately I don't have iLO5 server available, so I cannot provide
> more details. Anyway could you please double check your server
> documentation, that you have enabled access to iLO5 IPMI interface
> correctly? And could you please share output of following command?
>
> ​
> f
> ​​
> ence_ilo4 -a  -l  -p  -v -o status
>
> Thanks
>
> Martin
> ​
>
>
>>
>> Regards
>> Terry
>>
>> 2018-02-08 16:13 GMT+08:00 Martin Perina :
>>
>>> Hi Terry,
>>>
>>> from the error message below I'd say that you are either not using
>>> correct IP address of iLO5 interface or you haven't enabled remote access
>>> to your iLO5 interface.
>>> According to [1] iLO5 should fully IPMI compatible. So are you sure that
>>> you enabled the remote access to your iLO5 address in iLO5 management?
>>> Please consult [1] how to enable everything and use a user with at least
>>> Operator privileges.
>>>
>>> Regards
>>>
>>> Martin
>>>
>>> [1] https://support.hpe.com/hpsc/doc/public/display?docId=a00018324en_us
>>>
>>>
>>> On Thu, Feb 8, 2018 at 7:57 AM, Terry hey  wrote:
>>>
 Dear Martin,

 Thank you for helping me. To answer your question,
 1. Does the Test in Edit fence agent dialog work​?
 Ans: it shows that "Test failed: Internal JSON-RPC error"

 Regardless the fail result, i press "OK" to enable power management.
 There are four event log appear in "Events"
 The follwing are the log in
 "Event""
 Host host01 configuration was updated by admin@internal-authz.
 Kdump integration is enabled for host hostv01, but kdump is not
 configured properly on host.
 Health check on Host host01 indicates that future attempts to Stop this
 host using Power-Management are expected to fail.
 Health check on Host host01 indicates that future attempts to Start
 this host using Power-Management are expected to fail.

 2. If not could you please try to install fence-agents-all package on
 different host and execute?
 Ans: It just shows "Connection timed out".

 So, does it means that it is not support iLo5 now or i configure
 wrongly?

 Regards,
 Terry

 2018-02-02 15:46 GMT+08:00 Martin Perina :

>
>
> On Fri, Feb 2, 2018 at 5:40 AM, Terry hey 
> wrote:
>
>> Dear Martin,
>>
>> Um..Since i am going to use HPE ProLiant DL360 Gen10 Server to setup
>> oVirt Node(Hypervisor). HP G10 is using ilo5 rather than ilo4. 
>> Therefore, i
>> would like to ask whether oVirt power management support iLO5 or not.
>>
>
> ​We don't have any hardware with iLO5 available, but there is a good
> chance that it will be compatible with iLO4. Have you tried to setup your
> server with iLO4? Does the Test in Edit fence agent dialog work​? If not
> could you please try to install fence-agents-all package on different host
> and execute following:
>
> ​​
> f
> ​​
> ence_ilo4 -a  -l  -p  -v -o status
>
> and share the output?
>
> Thanks
>
> Martin
>
>
>> If not, do you have any idea to setup power management with HP G10?
>>
>> Regards,
>> Terry
>>
>> 2018-02-01 16:21 GMT+08:00 Martin Perina :
>>
>>>
>>>
>>> On Wed, Jan 31, 2018 at 11:19 PM, Luca 'remix_tj' Lorenzetto <
>>> lorenzetto.l...@gmail.com> wrote:
>>>
 Hi,

 From ilo3 and up, ilo fencing agents are an alias for fence_ipmi.
 Try using the standard ipmi.

>>>
>>> ​It's not just an alias, ilo3/ilo4 also have different defaults than
>>> ipmilan. For example if you use ilo4, then by default following is used:

Re: [ovirt-users] Before migrating to Ovirt

2018-02-28 Thread Tal Bar-Or
Thanks for the clear answer

On Mon, Feb 26, 2018 at 5:13 PM, Yedidyah Bar David  wrote:

> On Fri, Feb 23, 2018 at 6:33 PM, Tal Bar-Or  wrote:
> > Hello Ovirt users,
> >
> > Currently we haveing 4 Xen pools in our organization each pool have 8
> > servers.
> > Due to new 7.3 version change ,we plan to migrate our upcoming 5th pool
> to
> > Ovirt, the decision to do POC migration to Ovirt is from lots of Xen
> users
> > that suggested Ovirt migration better and  mature product migrate to it.
> >
> > I started to test Ovirt currently only with one server with engine
> > installed, my question regarding Ovirt sine i am really newbie with that
> > system , is , is it possible to have multiple engine on it ?
> > What happen if the engine server crash with some reason? can i load it on
> > another cluster server?
> > Please advice
>
> The standard way to have HA for oVirt engine is to set it up as a
> self-hosted-engine and have more than one host in the hosted-engine
> cluster.
>
> We do know that there are people doing HA using other means, based on
> external
> HA software (heartbeat), but that's more expensive (in hardware, work,
> and perhaps software, depends on what you use) - I'd suggest doing that
> only if your organization already has in-house expertise and experience
> with such software.
>
> Good luck and best regards,
> --
> Didi
>



-- 
Tal Bar-or
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Cannot activate host from maintenance mode

2018-02-28 Thread Tal Bar-Or
Hello,

I have Ovirt Version:4.2.1.7-1.el7.centos, I did upgrade according to host
indication  ,and since then I get the following error when trying to
activate host " Cannot activate Host. Host has no unique id. "
Any idea how to fix this issue, please advice
Thanks

-- 
Tal Bar-or
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 4.1 - skylake - no avx512 support in virtual machines

2018-02-28 Thread Marco Lorenzo Crociani

Skylake-Client does _not_ have AVX512 (I tried now on a Kaby Lake Core
i7 laptop).  Only Skylake-Server has it and it will be in RHEL 7.5.

Thanks,

Paolo



Ok, we'll stay with pass-through until RHEL 7.5.
Thanks,

--
Marco Crociani
Prisma Telecom Testing S.r.l.
via Petrocchi, 4  20127 MILANO  ITALY
Phone:  +39 02 26113507
Fax:  +39 02 26113597
e-mail:  mar...@prismatelecomtesting.com
web:  http://www.prismatelecomtesting.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Power Management - Supermicro SuperBlade

2018-02-28 Thread Martin Perina
On Tue, Feb 27, 2018 at 10:13 PM, Scott Harvanek 
wrote:

> Well I can get all that the issue is how to I specify the blade ID to the
> fence agent? Since we don’t want to power cycle the entire shelf
>

​I haven't seen this hardware, but generally there are 2 possibilities:

1. Withing your SuperBlade management you need to specify unique IP address
for IPMI interface of each host

2. If 1. is not possible, but you have other identification of a host, then
you can try to pass that value using '-n' option on command line or
'plug=XXX' in Options field of a Fence Agent in webadmin

Martin


> -Scott H
>
> On Feb 26, 2018, at 3:34 AM, Martin Perina  wrote:
>
>
>
> On Sun, Feb 25, 2018 at 7:53 AM, Scott Harvanek 
> wrote:
>
>> Hoping someone can help here, I've looked and can't find any examples on
>> this.
>>
>> I've got some SuperBlade chassis and the blades are managed via the
>> chassis controller.  What is the proper way to configure power management
>> then via the controller? You can control individual blades via the
>> SMCIPMItool but I'm not entirely sure how to configure that inside of Ovirt
>> for power management, does anyone have any experience on this or can point
>> me to some good docs?
>>
>
> ​According to [1] those servers should support IPMI, so you could try
> ipmilan fence agent and most probably try to add lanplus=1 into Options
> field of an agent. If it doesn't work as expected, could you please try to
> execute below commands and share the output?
>
> fence_ipmilan -a  -l  -p  -P
> -vvv -o status
>
> Thanks
>
> Martin
>
>
> [1] https://www.supermicro.com/products/SuperBlade/management/​
>
>
>
>> Cheers!
>>
>> Scott H.
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Martin Perina
> Associate Manager, Software Engineering
> Red Hat Czech s.r.o.
>
>


-- 
Martin Perina
Associate Manager, Software Engineering
Red Hat Czech s.r.o.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Power management - oVirt 4,2

2018-02-28 Thread Martin Perina
On Wed, Feb 28, 2018 at 9:13 AM, Terry hey  wrote:

> Dear Martin,
> Please see the following result.
> [root@X ~]# fence_ilo4 -a XXX.XXX.XXX.XXX -l X -p X -v -o
> status
> Executing: /usr/bin/ipmitool -I lanplus -H XXX.XXX.XXX.XXX -p 623 -U X
> -P X -L ADMINISTRATOR chassis power status
>
> Connection timed out
>
>
> [root@X~]#
> As you can see it just said connection timed out.
> But i can actually access iLO5 ( same account and password) through
> Internet Explorer ,
>

​This is completely different protocol (HTTP) using a browser,  it's
independent of IPMI.

Are you sure that some firewall doesn't block access to the IPMI interface?
Are you executing the command from different host than the host which you
want access the IPMI interface of?
​
​If above is not an issue, then please login to iLO5 management using a
browser and check if IPMI interface is enabled according to your iLO5
documentation
​


>
> I want to ask.. do you know what port did the manger use when compile this
> command?
>

​623 is the default IPMI port
​


>
> Regards
> Terry
>
>
> 2018-02-26 17:38 GMT+08:00 Martin Perina :
>
>>
>>
>> On Fri, Feb 23, 2018 at 11:34 AM, Terry hey 
>> wrote:
>>
>>> Dear Martin,
>>> I am very sorry that i reply you so late.
>>> Do you mean that 4.2 can support ilo5 by selecting the option "ilo4" in
>>> power management?
>>>
>>
>> ​Yes
>> ​
>>
>>
>>> "from the error message below I'd say that you are either not using
>>> correct IP address of iLO5 interface or you haven't enabled remote access
>>> to your iLO5 interface"
>>> I just try it and double confirm that i did not type a wrong IP. But the
>>> error message is same.
>>>
>>
>> ​Unfortunately I don't have iLO5 server available, so I cannot provide
>> more details. Anyway could you please double check your server
>> documentation, that you have enabled access to iLO5 IPMI interface
>> correctly? And could you please share output of following command?
>>
>> ​
>> f
>> ​​
>> ence_ilo4 -a  -l  -p  -v -o status
>>
>> Thanks
>>
>> Martin
>> ​
>>
>>
>>>
>>> Regards
>>> Terry
>>>
>>> 2018-02-08 16:13 GMT+08:00 Martin Perina :
>>>
 Hi Terry,

 from the error message below I'd say that you are either not using
 correct IP address of iLO5 interface or you haven't enabled remote access
 to your iLO5 interface.
 According to [1] iLO5 should fully IPMI compatible. So are you sure
 that you enabled the remote access to your iLO5 address in iLO5 management?
 Please consult [1] how to enable everything and use a user with at
 least Operator privileges.

 Regards

 Martin

 [1] https://support.hpe.com/hpsc/doc/public/display?docId=a00018
 324en_us


 On Thu, Feb 8, 2018 at 7:57 AM, Terry hey 
 wrote:

> Dear Martin,
>
> Thank you for helping me. To answer your question,
> 1. Does the Test in Edit fence agent dialog work​?
> Ans: it shows that "Test failed: Internal JSON-RPC error"
>
> Regardless the fail result, i press "OK" to enable power management.
> There are four event log appear in "Events"
> The follwing are the log in
> "Event""
> Host host01 configuration was updated by admin@internal-authz.
> Kdump integration is enabled for host hostv01, but kdump is not
> configured properly on host.
> Health check on Host host01 indicates that future attempts to Stop
> this host using Power-Management are expected to fail.
> Health check on Host host01 indicates that future attempts to Start
> this host using Power-Management are expected to fail.
>
> 2. If not could you please try to install fence-agents-all package on
> different host and execute?
> Ans: It just shows "Connection timed out".
>
> So, does it means that it is not support iLo5 now or i configure
> wrongly?
>
> Regards,
> Terry
>
> 2018-02-02 15:46 GMT+08:00 Martin Perina :
>
>>
>>
>> On Fri, Feb 2, 2018 at 5:40 AM, Terry hey 
>> wrote:
>>
>>> Dear Martin,
>>>
>>> Um..Since i am going to use HPE ProLiant DL360 Gen10 Server to setup
>>> oVirt Node(Hypervisor). HP G10 is using ilo5 rather than ilo4. 
>>> Therefore, i
>>> would like to ask whether oVirt power management support iLO5 or not.
>>>
>>
>> ​We don't have any hardware with iLO5 available, but there is a good
>> chance that it will be compatible with iLO4. Have you tried to setup your
>> server with iLO4? Does the Test in Edit fence agent dialog work​? If not
>> could you please try to install fence-agents-all package on different 
>> host
>> and execute following:
>>
>> ​​
>> f
>> ​​
>> ence_ilo4 -a  -l  -p  -v -o status