[ovirt-users] Shared storage

2016-03-21 Thread Maton, Brett
Hello list,

  I was wondering if any one could tell me if a Dell MD1400 Direct Attached
Storage unit is suitable for shared storage between ovirt hosts?

  I really don't want to buy something that isn't going to work :)

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


[ovirt-users] Version not changed after yum update

2016-05-09 Thread Maton, Brett
Hi,

  I've yum updated my ovirt engine and ovirt host and restarted
ovirt-engine but the web-ui still displays "Version 3.6.3.4-1.el7.centos"

  Is there another step to update to 3.6.5 ?

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


[ovirt-users] Ovirt Engine - Wait For Launch

2016-05-25 Thread Maton, Brett
I did a yum update on one of my Ovirt Hosts a few days ago.
All of the VM's on that host have been shown in the web UI with a status of
'Wait For Launch'.

The VM's all appear to still be up and running but I can't manage/migrate
them.

Is there anything I can do to clear this issue ?

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


Re: [ovirt-users] How to add to VM some 10Gbit Interfaces?

2017-02-06 Thread Maton, Brett
Hi Arman,

  I've got 10Gb (intel) nics in my servers and they are detected by ovirt.
  In the network interfaces panel I see the speed listed as '1'...

Does you OS detect the nic speed properly ?

Regards,
Brett

On 6 February 2017 at 18:05, Arman Khalatyan  wrote:

> Hi,
> Are there way to add some 10Gbit Interfaces in ovirt 4.1?
>
> thanks,
> Arman.
>
>
> ___
> 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] Orphaned Export Domain

2017-02-03 Thread Maton, Brett
Managed to attach it by editing dom_md/metadata and removing

POOL_UUID
SDUUID

then updating the checksum...


On 3 February 2017 at 12:19, Maton, Brett <mat...@ltresources.co.uk> wrote:

> I forgot to cleanly detach the export domain from my previous cluster ( no
> longer exists ), how can I import the domain into a new cluster ?
>
> Any help appreciated
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Orphaned Export Domain

2017-02-03 Thread Maton, Brett
I forgot to cleanly detach the export domain from my previous cluster ( no
longer exists ), how can I import the domain into a new cluster ?

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


[ovirt-users] ovirt 4.1 - Edit Host

2017-01-19 Thread Maton, Brett
If I try to edit the comment field of an active host, the UI refuses with
the following message.

Cannot edit Host. Host parameters cannot be modified while Host is
operational
Please switch host to Maintenance mode first

Whilst I'm sure change the majority of values for an active host would be
undesirable, having to put a host in to maintenance mode to change a
comment label is a pain...

Thoughts?

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


[ovirt-users] Hosted Engine - Live Migration

2017-02-27 Thread Maton, Brett
Hi List,

  Is it possible (and safe) to live migrate the hosted engine disk from one
storage domain to another?

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


[ovirt-users] Could not fetch dashboard data. Please ensure that data warehouse is properly installed and configured.

2016-08-25 Thread Maton, Brett
I've just upgraded Ovirt3.6 to 4.0.2 and I can't get the dashboard to work.

The dashboard page displays this error:

Could not fetch dashboard data. Please ensure that data warehouse is
properly installed and configured.

Running on CentOS 7.2
PostgreSQL server 9.5.4 (remote)

I see these errors being generated in engine.log when I try to display the
dash board

 ERROR [org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataServlet]
(default task-6) [] Unable to retrieve dashboard data:
org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataException: Error
while running SQL query
at
org.ovirt.engine.ui.frontend.server.dashboard.dao.BaseDao.runQuery(BaseDao.java:60)
[frontend.jar:]
at
org.ovirt.engine.ui.frontend.server.dashboard.dao.HostDwhDao.getTotalCpuMemCount(HostDwhDao.java:78)
[frontend.jar:]
...
Caused by: javax.resource.ResourceException: IJ031083: Wrong driver class
[org.postgresql.Driver] for this connection URL [None]
at
org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createLocalManagedConnection(LocalManagedConnectionFactory.java:321)
... 66 more




Google returned some hints that it's probably the postgresql java version,
I did have 9.4.xxx installed bu have since downgraded to
postgresql-jdbc-9.2.1002-5

I checked the class path generated by dwh-classpath.sh which seems to be
using the correct JDBC driver.

# /usr/share/ovirt-engine-dwh/bin/dwh-classpath.sh run
:/usr/share/java/dom4j.jar:/usr/share/java/apache-commons-collections.jar:/usr/share/java/postgresql-jdbc.jar

# rpm -qf /usr/share/java/postgresql-jdbc.jar
postgresql-jdbc-9.2.1002-5.el7.noarch


Any suggestions on what to try next?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Dead engine host

2016-09-01 Thread Maton, Brett
My ovirt engine (physical) host died :(

  I'm having real trouble creating a new engine...
  The original database is on a remote host and is still up and runnning.
  I installed another engine and restored 'files':

  engine-backup --mode=restore --file=20160830.ovebak
--log=/tmp/restore.log --restore-permissions --scope=files


  How ever when I connect to the UI it wither redirects to
localhost.localdomain and fails

  Or I get

  java.security.cert.CertificateException: No name matching
localhost.localdomain found

Any clues on what I need to fix, or do to deploy a new engine ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hung task finalizing live migration

2016-09-07 Thread Maton, Brett
Any suggestions ?

THe task has been hung for 5 days now, I can't start the machine or destroy
it.



On 7 September 2016 at 06:49, Maton, Brett <mat...@ltresources.co.uk> wrote:

> Sorry just hit reply
>
> I'm seeing these errors in the logs which look related to the problem:
>
>
> 2016-09-07 06:46:35,123 ERROR 
> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
> (DefaultQuartzScheduler6) [19c58c0d] Failed invoking callback end method
> 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
> exception 'null', the callback is marked for end method retries
> 2016-09-07 06:46:45,184 ERROR [org.ovirt.engine.core.bll.CommandsFactory]
> (DefaultQuartzScheduler7) [19c58c0d] Error in invocating CTOR of command
> 'LiveMigrateDisk': null
> 2016-09-07 06:46:45,185 ERROR 
> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
> (DefaultQuartzScheduler7) [19c58c0d] Failed invoking callback end method
> 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
> exception 'null', the callback is marked for end method retries
>
> On 5 September 2016 at 06:46, Nir Soffer <nsof...@redhat.com> wrote:
>
>> Hi Maton,
>>
>> Please reply to the list, not to me directly.
>>
>> Ala, can you look at this? is this a known issue?
>>
>> Thanks,
>> Nir
>>
>> On Mon, Sep 5, 2016 at 8:43 AM, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>> > Log files as requested
>> >
>> > https://ufile.io/4fc35 vdsm log
>> > https://ufile.io/e9836 engine 03-Sep
>> > https://ufile.io/15f37 engine 04-Sep
>> >
>> > vdsm log stops on the 01-Sep...
>> >
>> > Couple of entries from the event log:
>> >
>> > Sep 3, 2016 7:31:07 PMSnapshot 'Auto-generated for Live Storage
>> > Migration' deletion for VM 'lv01' has been completed.
>> > Sep 3, 2016 6:46:46 PMSnapshot 'Auto-generated for Live Storage
>> > Migration' deletion for VM 'lv01' was initiated by SYSTEM
>> >
>> > And the related tasks
>> >
>> > Removing Snapshot Auto-generated for Live Storage Migration of VM lv01
>> > Sep 3, 2016 6:46:44 PMN/A29f45ca9
>> > Validating    Sep 3, 2016 6:46:44 PMuntilSep 3, 2016 6:46:44 PM
>> > ExecutingSep 3, 2016 6:46:44 PMuntilSep 3, 2016 7:31:06 PM
>> >
>> > FinalizingSep 3, 2016 7:31:06 PMN/A
>> >
>> >
>> >
>> > On 4 September 2016 at 14:27, Nir Soffer <nsof...@redhat.com> wrote:
>> >>
>> >> On Sun, Sep 4, 2016 at 12:40 PM, Maton, Brett <
>> mat...@ltresources.co.uk>
>> >> wrote:
>> >>>
>> >>> How do I fix / kill a hung vdsm task?
>> >>>
>> >>> It seems to have completed the task but is stuck finalising.
>> >>>
>> >>> Removing Snapshot Auto-generated for Live Storage Migration
>> >>> Validating
>> >>> Executing
>> >>> (hour glass) Finalizing
>> >>>
>> >>> Task has been 'stuck' finalising for over 13 hours
>> >>
>> >>
>> >> Can you share engine and vdsm logs since the time the merge was
>> started?
>> >>
>> >> Nir
>> >
>> >
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hung task finalizing live migration

2016-09-08 Thread Maton, Brett
Thanks for the pointer Mikhail, however I don't get any tasks listed with
that command:

vdsClient -s 0 getAllTasksStatuses

/usr/share/vdsm/vdsClient.py:33: DeprecationWarning: vdscli uses xmlrpc.
since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli
  from vdsm import utils, vdscli, constants

{'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {}}


On 8 September 2016 at 09:51, Краснобаев Михаил <mi...@ya.ru> wrote:

> Hi,
>
> There is a way to cancel a running task  -  look here
> http://lists.ovirt.org/pipermail/users/2014-November/028946.html
> I was able to stop snapshot deletion this way.
>
> Best, Mikhail.
>
> 08.09.2016, 08:14, "Maton, Brett" <mat...@ltresources.co.uk>:
>
> Any suggestions ?
>
> THe task has been hung for 5 days now, I can't start the machine or
> destroy it.
>
>
> On 7 September 2016 at 06:49, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
> Sorry just hit reply
>
> I'm seeing these errors in the logs which look related to the problem:
>
>
> 2016-09-07 06:46:35,123 ERROR 
> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
> (DefaultQuartzScheduler6) [19c58c0d] Failed invoking callback end method
> 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
> exception 'null', the callback is marked for end method retries
> 2016-09-07 06:46:45,184 ERROR [org.ovirt.engine.core.bll.CommandsFactory]
> (DefaultQuartzScheduler7) [19c58c0d] Error in invocating CTOR of command
> 'LiveMigrateDisk': null
> 2016-09-07 06:46:45,185 ERROR 
> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
> (DefaultQuartzScheduler7) [19c58c0d] Failed invoking callback end method
> 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
> exception 'null', the callback is marked for end method retries
>
> On 5 September 2016 at 06:46, Nir Soffer <nsof...@redhat.com> wrote:
>
> Hi Maton,
>
> Please reply to the list, not to me directly.
>
> Ala, can you look at this? is this a known issue?
>
> Thanks,
> Nir
>
> On Mon, Sep 5, 2016 at 8:43 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
> > Log files as requested
> >
> > https://ufile.io/4fc35 vdsm log
> > https://ufile.io/e9836 engine 03-Sep
> > https://ufile.io/15f37 engine 04-Sep
> >
> > vdsm log stops on the 01-Sep...
> >
> > Couple of entries from the event log:
> >
> > Sep 3, 2016 7:31:07 PMSnapshot 'Auto-generated for Live Storage
> > Migration' deletion for VM 'lv01' has been completed.
> > Sep 3, 2016 6:46:46 PMSnapshot 'Auto-generated for Live Storage
> > Migration' deletion for VM 'lv01' was initiated by SYSTEM
> >
> > And the related tasks
> >
> > Removing Snapshot Auto-generated for Live Storage Migration of VM lv01
> > Sep 3, 2016 6:46:44 PMN/A29f45ca9
> > ValidatingSep 3, 2016 6:46:44 PMuntilSep 3, 2016 6:46:44 PM
> > ExecutingSep 3, 2016 6:46:44 PMuntilSep 3, 2016 7:31:06 PM
> >
> > FinalizingSep 3, 2016 7:31:06 PMN/A
> >
> >
> >
> > On 4 September 2016 at 14:27, Nir Soffer <nsof...@redhat.com> wrote:
> >>
> >> On Sun, Sep 4, 2016 at 12:40 PM, Maton, Brett <mat...@ltresources.co.uk
> >
> >> wrote:
> >>>
> >>> How do I fix / kill a hung vdsm task?
> >>>
> >>> It seems to have completed the task but is stuck finalising.
> >>>
> >>> Removing Snapshot Auto-generated for Live Storage Migration
> >>> Validating
> >>> Executing
> >>> (hour glass) Finalizing
> >>>
> >>> Task has been 'stuck' finalising for over 13 hours
> >>
> >>
> >> Can you share engine and vdsm logs since the time the merge was started?
> >>
> >> Nir
> >
> >
>
> ,
>
> ___
> 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] Hung task finalizing live migration

2016-09-04 Thread Maton, Brett
How do I fix / kill a hung vdsm task?

It seems to have completed the task but is stuck finalising.

Removing Snapshot Auto-generated for Live Storage Migration
Validating
Executing
(hour glass) Finalizing

Task has been 'stuck' finalising for over 13 hours
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-engine client_secret

2016-09-13 Thread Maton, Brett
I did try that, but it stopped because the database was already populated.

I'll give it another go...

On 13 September 2016 at 17:23, Simone Tiraboschi <stira...@redhat.com>
wrote:

>
>
> On Tue, Sep 13, 2016 at 6:07 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Hi,
>>
>>   I had installed ovirt-engine on a physical host, but want to move it to
>> a hosted vm instead,
>>   I created a VM and installed ovirt-engine.
>>
>>   Stopped the engine on the physical host and ran engine-setup on the VM,
>> connecting it to the existing remote database.
>>   Started ovirt-engine and ovirt-engine-dwhd
>>
>>   DNS adjusted to point at the new VM instead of physical machine.
>>
>>   I can get the the web-ui but when I try to login I get:
>>
>>   Invalid request, parameter 'client_secret' not found or contains
>> invalid value.
>>
>>   Can I generate a new client_secret or is there another trick ?
>>
>
> Please follow this:
> http://www.ovirt.org/develop/developer-guide/engine/
> migrate-to-hosted-engine/
>
> The migration path is based on backup/restore which also takes care of
> certs, secrets and so on.
>
>
>>
>> Thanks in advance
>>
>> ___
>> 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] ovirt-engine client_secret

2016-09-13 Thread Maton, Brett
Hi,

  I had installed ovirt-engine on a physical host, but want to move it to a
hosted vm instead,
  I created a VM and installed ovirt-engine.

  Stopped the engine on the physical host and ran engine-setup on the VM,
connecting it to the existing remote database.
  Started ovirt-engine and ovirt-engine-dwhd

  DNS adjusted to point at the new VM instead of physical machine.

  I can get the the web-ui but when I try to login I get:

  Invalid request, parameter 'client_secret' not found or contains invalid
value.

  Can I generate a new client_secret or is there another trick ?

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


Re: [ovirt-users] Deploying selfhosted engine

2016-09-14 Thread Maton, Brett
I'm confused, this doesn't sound like migrating but creating a new cluster
using a self hosted engine ?

On 14 September 2016 at 11:32, Simone Tiraboschi <stira...@redhat.com>
wrote:

>
>
> On Wed, Sep 14, 2016 at 12:29 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Ok, I think I must have miss read the 'Preparations' section of the guide.
>>
>> So i really want to be running this on one of the physical hosts already
>> in the cluster?
>>
>
> No, please use an additional host or remove it from the existing setup
> before creating the backup.
>
>
>>
>> In which case, when I'm asked for storage should I use the same storage
>> area which is already setup for virtual machines ( I think last time I
>> tried the installer asked if it was for a new domain or not ).
>>
>>
> You need a dedicated storage domain just for the hosted-engine VM.
>
>
>>
>>
>> Thanks for you patience
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Deploying selfhosted engine

2016-09-14 Thread Maton, Brett
Ok, so I remove te host from the cluster deploy self hosted engine and then
add it back ?

On 14 September 2016 at 12:20, Simone Tiraboschi <stira...@redhat.com>
wrote:

>
>
> On Wed, Sep 14, 2016 at 12:47 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> I'm confused, this doesn't sound like migrating but creating a new
>> cluster using a self hosted engine ?
>>
>
> No, it's just that hosted-engine setup will also try to add the host to
> the engine and it will fail if the host is already managed by the engine.
>
>
>>
>> On 14 September 2016 at 11:32, Simone Tiraboschi <stira...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> On Wed, Sep 14, 2016 at 12:29 PM, Maton, Brett <mat...@ltresources.co.uk
>>> > wrote:
>>>
>>>> Ok, I think I must have miss read the 'Preparations' section of the
>>>> guide.
>>>>
>>>> So i really want to be running this on one of the physical hosts
>>>> already in the cluster?
>>>>
>>>
>>> No, please use an additional host or remove it from the existing setup
>>> before creating the backup.
>>>
>>>
>>>>
>>>> In which case, when I'm asked for storage should I use the same storage
>>>> area which is already setup for virtual machines ( I think last time I
>>>> tried the installer asked if it was for a new domain or not ).
>>>>
>>>>
>>> You need a dedicated storage domain just for the hosted-engine VM.
>>>
>>>
>>>>
>>>>
>>>> Thanks for you patience
>>>>
>>>>
>>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Deploying selfhosted engine

2016-09-14 Thread Maton, Brett
Neraly there I think,

  Run into what is hopefully a small problem.

  When I run engine-setup on the new host, it fails with the following
error:

[ ERROR ] dwhd is currently running. Its hostname is dwhd.domain.com.
Please stop it before running Setup.
[ ERROR ] Failed to execute stage 'Transaction setup': dwhd is currently
running
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20160914154202-jr8hnc.log
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20160914154219-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

dwhd isn't running anywhere, and was stopped before I took the backup.
Any suggestions ?


On 14 September 2016 at 14:01, Simone Tiraboschi <stira...@redhat.com>
wrote:

>
>
> On Wed, Sep 14, 2016 at 2:13 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Ok, so I remove te host from the cluster deploy self hosted engine and
>> then add it back ?
>>
>
> hosted-engine-setup will add it back for you, that's why you have to
> remove it before taking the backup.
>
>
>>
>> On 14 September 2016 at 12:20, Simone Tiraboschi <stira...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> On Wed, Sep 14, 2016 at 12:47 PM, Maton, Brett <mat...@ltresources.co.uk
>>> > wrote:
>>>
>>>> I'm confused, this doesn't sound like migrating but creating a new
>>>> cluster using a self hosted engine ?
>>>>
>>>
>>> No, it's just that hosted-engine setup will also try to add the host to
>>> the engine and it will fail if the host is already managed by the engine.
>>>
>>>
>>>>
>>>> On 14 September 2016 at 11:32, Simone Tiraboschi <stira...@redhat.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Wed, Sep 14, 2016 at 12:29 PM, Maton, Brett <
>>>>> mat...@ltresources.co.uk> wrote:
>>>>>
>>>>>> Ok, I think I must have miss read the 'Preparations' section of the
>>>>>> guide.
>>>>>>
>>>>>> So i really want to be running this on one of the physical hosts
>>>>>> already in the cluster?
>>>>>>
>>>>>
>>>>> No, please use an additional host or remove it from the existing setup
>>>>> before creating the backup.
>>>>>
>>>>>
>>>>>>
>>>>>> In which case, when I'm asked for storage should I use the same
>>>>>> storage area which is already setup for virtual machines ( I think last
>>>>>> time I tried the installer asked if it was for a new domain or not ).
>>>>>>
>>>>>>
>>>>> You need a dedicated storage domain just for the hosted-engine VM.
>>>>>
>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks for you patience
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Deploying selfhosted engine

2016-09-14 Thread Maton, Brett
Right I've finally got the engine up and running, however...

  It seems to have deployed the engine vm into 'Default Cluster', I haven't
got a cluster called Default anymore.

  I can see the host bit I can't find the engine host.
  If I select the 'self hosting' host which says it has one vm, none are
displayed.

Any help appreciated

On 14 September 2016 at 16:00, Maton, Brett <mat...@ltresources.co.uk>
wrote:

> Ok thnkas, I updated the database instead ( naughty I know )
>
> UPDATE dwh_history_timekeeping SET var_value=0 WHERE var_name =
> 'DwhCurrentlyRunning';
>
> On 14 September 2016 at 15:55, Nicolas Ecarnot <nico...@ecarnot.net>
> wrote:
>
>> Le 14/09/2016 à 16:45, Maton, Brett a écrit :
>>
>>> Neraly there I think,
>>>
>>>   Run into what is hopefully a small problem.
>>>
>>>   When I run engine-setup on the new host, it fails with the following
>>> error:
>>>
>>> [ ERROR ] dwhd is currently running. Its hostname is dwhd.domain.com
>>> <http://dwhd.domain.com>. Please stop it before running Setup.
>>> [ ERROR ] Failed to execute stage 'Transaction setup': dwhd is currently
>>> running
>>> [ INFO  ] Yum Performing yum transaction rollback
>>> [ INFO  ] Stage: Clean up
>>>   Log file is located at
>>> /var/log/ovirt-engine/setup/ovirt-engine-setup-20160914154202-jr8hnc.log
>>> [ INFO  ] Generating answer file
>>> '/var/lib/ovirt-engine/setup/answers/20160914154219-setup.conf'
>>> [ INFO  ] Stage: Pre-termination
>>> [ INFO  ] Stage: Termination
>>> [ ERROR ] Execution of setup failed
>>>
>>> dwhd isn't running anywhere, and was stopped before I took the backup.
>>> Any suggestions ?
>>>
>>
>> Old and known issue.
>>
>> Just restart then stop the DWH service.
>> Then run engine-setup again and it will work.
>>
>> There is already a BZ for this one. (Feel free to search it...)
>>
>> --
>> Nicolas ECARNOT
>>
>> ___
>> 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] Deploying selfhosted engine

2016-09-14 Thread Maton, Brett
Ok, I think I must have miss read the 'Preparations' section of the guide.

So i really want to be running this on one of the physical hosts already in
the cluster?

In which case, when I'm asked for storage should I use the same storage
area which is already setup for virtual machines ( I think last time I
tried the installer asked if it was for a new domain or not ).



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


Re: [ovirt-users] Hung task finalizing live migration

2016-09-10 Thread Maton, Brett
Anyone know how to fix this broken task ?

It's persisted through a reboot of all hosts and the engine, something
needs deleting from the database to clear the task and release the locked
disk

On 8 September 2016 at 13:25, Maton, Brett <mat...@ltresources.co.uk> wrote:

> Thanks for the pointer Mikhail, however I don't get any tasks listed with
> that command:
>
> vdsClient -s 0 getAllTasksStatuses
>
> /usr/share/vdsm/vdsClient.py:33: DeprecationWarning: vdscli uses xmlrpc.
> since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli
>   from vdsm import utils, vdscli, constants
>
> {'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {}}
>
>
> On 8 September 2016 at 09:51, Краснобаев Михаил <mi...@ya.ru> wrote:
>
>> Hi,
>>
>> There is a way to cancel a running task  -  look here
>> http://lists.ovirt.org/pipermail/users/2014-November/028946.html
>> I was able to stop snapshot deletion this way.
>>
>> Best, Mikhail.
>>
>> 08.09.2016, 08:14, "Maton, Brett" <mat...@ltresources.co.uk>:
>>
>> Any suggestions ?
>>
>> THe task has been hung for 5 days now, I can't start the machine or
>> destroy it.
>>
>>
>> On 7 September 2016 at 06:49, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>> Sorry just hit reply
>>
>> I'm seeing these errors in the logs which look related to the problem:
>>
>>
>> 2016-09-07 06:46:35,123 ERROR 
>> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
>> (DefaultQuartzScheduler6) [19c58c0d] Failed invoking callback end method
>> 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
>> exception 'null', the callback is marked for end method retries
>> 2016-09-07 06:46:45,184 ERROR [org.ovirt.engine.core.bll.CommandsFactory]
>> (DefaultQuartzScheduler7) [19c58c0d] Error in invocating CTOR of command
>> 'LiveMigrateDisk': null
>> 2016-09-07 06:46:45,185 ERROR 
>> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
>> (DefaultQuartzScheduler7) [19c58c0d] Failed invoking callback end method
>> 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
>> exception 'null', the callback is marked for end method retries
>>
>> On 5 September 2016 at 06:46, Nir Soffer <nsof...@redhat.com> wrote:
>>
>> Hi Maton,
>>
>> Please reply to the list, not to me directly.
>>
>> Ala, can you look at this? is this a known issue?
>>
>> Thanks,
>> Nir
>>
>> On Mon, Sep 5, 2016 at 8:43 AM, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>> > Log files as requested
>> >
>> > https://ufile.io/4fc35 vdsm log
>> > https://ufile.io/e9836 engine 03-Sep
>> > https://ufile.io/15f37 engine 04-Sep
>> >
>> > vdsm log stops on the 01-Sep...
>> >
>> > Couple of entries from the event log:
>> >
>> > Sep 3, 2016 7:31:07 PMSnapshot 'Auto-generated for Live Storage
>> > Migration' deletion for VM 'lv01' has been completed.
>> > Sep 3, 2016 6:46:46 PMSnapshot 'Auto-generated for Live Storage
>> > Migration' deletion for VM 'lv01' was initiated by SYSTEM
>> >
>> > And the related tasks
>> >
>> > Removing Snapshot Auto-generated for Live Storage Migration of VM lv01
>> > Sep 3, 2016 6:46:44 PMN/A29f45ca9
>> > ValidatingSep 3, 2016 6:46:44 PMuntilSep 3, 2016 6:46:44 PM
>> > ExecutingSep 3, 2016 6:46:44 PMuntilSep 3, 2016 7:31:06 PM
>> >
>> > FinalizingSep 3, 2016 7:31:06 PMN/A
>> >
>> >
>> >
>> > On 4 September 2016 at 14:27, Nir Soffer <nsof...@redhat.com> wrote:
>> >>
>> >> On Sun, Sep 4, 2016 at 12:40 PM, Maton, Brett <
>> mat...@ltresources.co.uk>
>> >> wrote:
>> >>>
>> >>> How do I fix / kill a hung vdsm task?
>> >>>
>> >>> It seems to have completed the task but is stuck finalising.
>> >>>
>> >>> Removing Snapshot Auto-generated for Live Storage Migration
>> >>> Validating
>> >>> Executing
>> >>> (hour glass) Finalizing
>> >>>
>> >>> Task has been 'stuck' finalising for over 13 hours
>> >>
>> >>
>> >> Can you share engine and vdsm logs since the time the merge was
>> started?
>> >>
>> >> Nir
>> >
>> >
>>
>> ,
>>
>> ___
>> 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] Hung task finalizing live migration

2016-09-10 Thread Maton, Brett
Thanks Gervais I'll give that a go

On 10 September 2016 at 15:39, Gervais de Montbrun <gerv...@demontbrun.com>
wrote:

> Hi Maton,
>
> I have seen tasks in a weird state on my cluster also. I've had a vm get
> "stuck" during a migration where it says "migrating to" in the web GUI, but
> it has finished migrating hours ago... If I click "Cancel Migraton" the gui
> tells me that it is not migrating, but I can't do any action on the vm
> because I am then told that the vm can't be acted upon while it is
> migrating. I also try to kill the task, but there are none listed
>
> What has worked for me has been to put my hosted-engine in global
> maintenance mode, then ssh into the hosted engine and run the
> "engine-setup" command. I am not saying the is the best course of action,
> but when the engine comes back online the task is cleared.
>
> Cheers,
> Gervais
>
>
>
> On Sep 10, 2016, at 11:06 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
> Anyone know how to fix this broken task ?
>
> It's persisted through a reboot of all hosts and the engine, something
> needs deleting from the database to clear the task and release the locked
> disk
>
> On 8 September 2016 at 13:25, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Thanks for the pointer Mikhail, however I don't get any tasks listed with
>> that command:
>>
>> vdsClient -s 0 getAllTasksStatuses
>>
>> /usr/share/vdsm/vdsClient.py:33: DeprecationWarning: vdscli uses xmlrpc.
>> since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli
>>   from vdsm import utils, vdscli, constants
>>
>> {'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {}}
>>
>>
>> On 8 September 2016 at 09:51, Краснобаев Михаил <mi...@ya.ru> wrote:
>>
>>> Hi,
>>>
>>> There is a way to cancel a running task  -  look here
>>> http://lists.ovirt.org/pipermail/users/2014-November/028946.html
>>> I was able to stop snapshot deletion this way.
>>>
>>> Best, Mikhail.
>>>
>>> 08.09.2016, 08:14, "Maton, Brett" <mat...@ltresources.co.uk>:
>>>
>>> Any suggestions ?
>>>
>>> THe task has been hung for 5 days now, I can't start the machine or
>>> destroy it.
>>>
>>>
>>> On 7 September 2016 at 06:49, Maton, Brett <mat...@ltresources.co.uk>
>>> wrote:
>>>
>>> Sorry just hit reply
>>>
>>> I'm seeing these errors in the logs which look related to the problem:
>>>
>>>
>>> 2016-09-07 06:46:35,123 ERROR 
>>> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
>>> (DefaultQuartzScheduler6) [19c58c0d] Failed invoking callback end method
>>> 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
>>> exception 'null', the callback is marked for end method retries
>>> 2016-09-07 06:46:45,184 ERROR [org.ovirt.engine.core.bll.Com
>>> <http://org.ovirt.engine.core.bll.com/>mandsFactory]
>>> (DefaultQuartzScheduler7) [19c58c0d] Error in invocating CTOR of command
>>> 'LiveMigrateDisk': null
>>> 2016-09-07 06:46:45,185 ERROR 
>>> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
>>> (DefaultQuartzScheduler7) [19c58c0d] Failed invoking callback end method
>>> 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
>>> exception 'null', the callback is marked for end method retries
>>>
>>> On 5 September 2016 at 06:46, Nir Soffer <nsof...@redhat.com> wrote:
>>>
>>> Hi Maton,
>>>
>>> Please reply to the list, not to me directly.
>>>
>>> Ala, can you look at this? is this a known issue?
>>>
>>> Thanks,
>>> Nir
>>>
>>> On Mon, Sep 5, 2016 at 8:43 AM, Maton, Brett <mat...@ltresources.co.uk>
>>> wrote:
>>> > Log files as requested
>>> >
>>> > https://ufile.io/4fc35 vdsm log
>>> > https://ufile.io/e9836 engine 03-Sep
>>> > https://ufile.io/15f37 engine 04-Sep
>>> >
>>> > vdsm log stops on the 01-Sep...
>>> >
>>> > Couple of entries from the event log:
>>> >
>>> > Sep 3, 2016 7:31:07 PMSnapshot 'Auto-generated for Live Storage
>>> > Migration' deletion for VM 'lv01' has been completed.
>>> > Sep 3, 2016 6:46:46 PMSnapshot 'Auto-generated for Live Storage
>>> > Migration' deletion for VM 'lv01' was initiated by SYSTEM
>>> >
>>> > A

Re: [ovirt-users] Hung task finalizing live migration

2016-09-10 Thread Maton, Brett
Way-hey! finally the task has gone and I can do 'stuff' with that VM again.

Thanks Gervais, you're a star

On 10 September 2016 at 15:40, Maton, Brett <mat...@ltresources.co.uk>
wrote:

> Thanks Gervais I'll give that a go
>
> On 10 September 2016 at 15:39, Gervais de Montbrun <gerv...@demontbrun.com
> > wrote:
>
>> Hi Maton,
>>
>> I have seen tasks in a weird state on my cluster also. I've had a vm get
>> "stuck" during a migration where it says "migrating to" in the web GUI, but
>> it has finished migrating hours ago... If I click "Cancel Migraton" the gui
>> tells me that it is not migrating, but I can't do any action on the vm
>> because I am then told that the vm can't be acted upon while it is
>> migrating. I also try to kill the task, but there are none listed
>>
>> What has worked for me has been to put my hosted-engine in global
>> maintenance mode, then ssh into the hosted engine and run the
>> "engine-setup" command. I am not saying the is the best course of action,
>> but when the engine comes back online the task is cleared.
>>
>> Cheers,
>> Gervais
>>
>>
>>
>> On Sep 10, 2016, at 11:06 AM, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>> Anyone know how to fix this broken task ?
>>
>> It's persisted through a reboot of all hosts and the engine, something
>> needs deleting from the database to clear the task and release the locked
>> disk
>>
>> On 8 September 2016 at 13:25, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>>> Thanks for the pointer Mikhail, however I don't get any tasks listed
>>> with that command:
>>>
>>> vdsClient -s 0 getAllTasksStatuses
>>>
>>> /usr/share/vdsm/vdsClient.py:33: DeprecationWarning: vdscli uses
>>> xmlrpc. since ovirt 3.6 xmlrpc is deprecated, please use vdsm.jsonrpcvdscli
>>>   from vdsm import utils, vdscli, constants
>>>
>>> {'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {}}
>>>
>>>
>>> On 8 September 2016 at 09:51, Краснобаев Михаил <mi...@ya.ru> wrote:
>>>
>>>> Hi,
>>>>
>>>> There is a way to cancel a running task  -  look here
>>>> http://lists.ovirt.org/pipermail/users/2014-November/028946.html
>>>> I was able to stop snapshot deletion this way.
>>>>
>>>> Best, Mikhail.
>>>>
>>>> 08.09.2016, 08:14, "Maton, Brett" <mat...@ltresources.co.uk>:
>>>>
>>>> Any suggestions ?
>>>>
>>>> THe task has been hung for 5 days now, I can't start the machine or
>>>> destroy it.
>>>>
>>>>
>>>> On 7 September 2016 at 06:49, Maton, Brett <mat...@ltresources.co.uk>
>>>> wrote:
>>>>
>>>> Sorry just hit reply
>>>>
>>>> I'm seeing these errors in the logs which look related to the problem:
>>>>
>>>>
>>>> 2016-09-07 06:46:35,123 ERROR 
>>>> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
>>>> (DefaultQuartzScheduler6) [19c58c0d] Failed invoking callback end method
>>>> 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
>>>> exception 'null', the callback is marked for end method retries
>>>> 2016-09-07 06:46:45,184 ERROR [org.ovirt.engine.core.bll.Com
>>>> <http://org.ovirt.engine.core.bll.com/>mandsFactory]
>>>> (DefaultQuartzScheduler7) [19c58c0d] Error in invocating CTOR of command
>>>> 'LiveMigrateDisk': null
>>>> 2016-09-07 06:46:45,185 ERROR 
>>>> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
>>>> (DefaultQuartzScheduler7) [19c58c0d] Failed invoking callback end method
>>>> 'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
>>>> exception 'null', the callback is marked for end method retries
>>>>
>>>> On 5 September 2016 at 06:46, Nir Soffer <nsof...@redhat.com> wrote:
>>>>
>>>> Hi Maton,
>>>>
>>>> Please reply to the list, not to me directly.
>>>>
>>>> Ala, can you look at this? is this a known issue?
>>>>
>>>> Thanks,
>>>> Nir
>>>>
>>>> On Mon, Sep 5, 2016 at 8:43 AM, Maton, Brett <mat...@ltresources.co.uk>
>>>> wrote:
>>>> > Log files as requested
>>>> >
>>>> > https://ufile.io/4fc35 vdsm log
>&

[ovirt-users] Deploying selfhosted engine

2016-09-14 Thread Maton, Brett
I'm having trouble deploying selfhosted engine following this guide
http://www.ovirt.org/develop/developer-guide/engine/migrate-to-hosted-engine/

It gets close to deploying the vm, but fails with

2016-09-13 19:46:04 ERROR otopi.plugins.gr_he_common.core.misc
misc._terminate:180 Hosted Engine deployment failed: this system is not
reliable, please check the issue,fix and redeploy

For storage I chose a random NFS share on a remote host that was empty, I
did notice that something kept removing 'nameserver' entries from
resolv.conf

vdsm log show issues connecting to the broker,

periodic/0::ERROR::2016-09-13
19:49:49,704::brokerlink::75::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(connect)
Failed to connect to broker, the number of errors has exceeded the limit (1)
periodic/0::ERROR::2016-09-13 19:49:49,704::api::253::root::(_getHaInfo)
failed to retrieve Hosted Engine HA info
periodic/1::WARNING::2016-09-13
19:49:49,748::periodic::269::virt.periodic.VmDispatcher::(__call__) could
not run  on
[u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
periodic/2::WARNING::2016-09-13
19:49:51,749::periodic::269::virt.periodic.VmDispatcher::(__call__) could
not run  on
[u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
periodic/3::WARNING::2016-09-13
19:49:53,749::periodic::269::virt.periodic.VmDispatcher::(__call__) could
not run  on
[u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
periodic/0::WARNING::2016-09-13
19:49:55,750::periodic::269::virt.periodic.VmDispatcher::(__call__) could
not run  on
[u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
periodic/1::WARNING::2016-09-13
19:49:57,750::periodic::269::virt.periodic.VmDispatcher::(__call__) could
not run  on
[u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
periodic/2::WARNING::2016-09-13
19:49:59,751::periodic::269::virt.periodic.VmDispatcher::(__call__) could
not run  on
[u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']

What should I check next ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-engine client_secret

2016-09-14 Thread Maton, Brett
Thanks for the tip Yedidyah, the will no doubt be useful.


On 14 September 2016 at 07:03, Yedidyah Bar David <d...@redhat.com> wrote:

> On Tue, Sep 13, 2016 at 7:53 PM, Simone Tiraboschi <stira...@redhat.com>
> wrote:
> >
> >
> > On Tue, Sep 13, 2016 at 6:43 PM, Maton, Brett <mat...@ltresources.co.uk>
> > wrote:
> >>
> >> I did try that, but it stopped because the database was already
> populated.
> >
> >
> > It shouldn't be an issue: you are supposed to be able to migrate also or
> > especially if you used the system in the past.
>
> If you want to use same existing remote database, you can simply skip
> restore
> (and backup) of the database. Try:
>
> engine-backup --mode=restore --scope=files ...
>
> >
> >>
> >>
> >> I'll give it another go...
> >>
> >> On 13 September 2016 at 17:23, Simone Tiraboschi <stira...@redhat.com>
> >> wrote:
> >>>
> >>>
> >>>
> >>> On Tue, Sep 13, 2016 at 6:07 PM, Maton, Brett <
> mat...@ltresources.co.uk>
> >>> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>>   I had installed ovirt-engine on a physical host, but want to move it
> >>>> to a hosted vm instead,
> >>>>   I created a VM and installed ovirt-engine.
> >>>>
> >>>>   Stopped the engine on the physical host and ran engine-setup on the
> >>>> VM, connecting it to the existing remote database.
> >>>>   Started ovirt-engine and ovirt-engine-dwhd
> >>>>
> >>>>   DNS adjusted to point at the new VM instead of physical machine.
> >>>>
> >>>>   I can get the the web-ui but when I try to login I get:
> >>>>
> >>>>   Invalid request, parameter 'client_secret' not found or contains
> >>>> invalid value.
> >>>>
> >>>>   Can I generate a new client_secret or is there another trick ?
> >>>
> >>>
> >>> Please follow this:
> >>>
> >>> http://www.ovirt.org/develop/developer-guide/engine/
> migrate-to-hosted-engine/
> >>>
> >>> The migration path is based on backup/restore which also takes care of
> >>> certs, secrets and so on.
> >>>
> >>>>
> >>>>
> >>>> Thanks in advance
> >>>>
> >>>> ___
> >>>> 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
> >
>
>
>
> --
> Didi
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Deploying selfhosted engine

2016-09-14 Thread Maton, Brett
The vmx cpu flag is present, is that what you mean ?

# grep flags /proc/cpuinfo | grep -c ' vmx '
48

Trying to avoid rebooting the server if possible...

On 14 September 2016 at 10:16, Simone Tiraboschi <stira...@redhat.com>
wrote:

>
>
> On Wed, Sep 14, 2016 at 11:05 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Oops :)
>>
>> hosted setup log attached.
>>
>
> Your issue is probably here:
> 2016-09-13 19:41:52 DEBUG otopi.ovirt_host_deploy.hardware
> hardware.detect:210 Cannot detect virualization
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/ovirt_host_deploy/hardware.py",
> line 199, in detect
> if self._isVirtualizationEnabled():
>   File "/usr/lib/python2.7/site-packages/ovirt_host_deploy/hardware.py",
> line 175, in _isVirtualizationEnabled
> bios_ok = self._vmx_enabled_by_bios()
>   File "/usr/lib/python2.7/site-packages/ovirt_host_deploy/hardware.py",
> line 134, in _vmx_enabled_by_bios
> self._prdmsr(0, MSR_IA32_FEATURE_CONTROL) & (
>   File "/usr/lib/python2.7/site-packages/ovirt_host_deploy/hardware.py",
> line 121, in _prdmsr
> ret = struct.unpack('L', f.read(8))[0]
> IOError: [Errno 5] Input/output error
> 2016-09-13 19:41:52 WARNING otopi.plugins.gr_he_setup.vdsmd.cpu
> cpu._setup:156 Cannot detect if hardware supports virtualization
>
> Can you please check if vmx is enabled in the bios of your host?
> Otherwise vdsm/libvrit will refuse to start the VM.
>
>
>
>>
>> On 14 September 2016 at 09:59, Simone Tiraboschi <stira...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> On Wed, Sep 14, 2016 at 10:46 AM, Maton, Brett <mat...@ltresources.co.uk
>>> > wrote:
>>>
>>>> Log attached as request
>>>>
>>>>
>>> Sorry, I was asking for hosted-engine-setup logs; you can find them
>>> under /var/log/ovirt-hosted-engine-setup/
>>>
>>>
>>>> On 14 September 2016 at 08:48, Simone Tiraboschi <stira...@redhat.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Wed, Sep 14, 2016 at 8:19 AM, Maton, Brett <
>>>>> mat...@ltresources.co.uk> wrote:
>>>>>
>>>>>>
>>>>>> I'm having trouble deploying selfhosted engine following this guide
>>>>>> http://www.ovirt.org/develop/developer-guide/engine/migrate-
>>>>>> to-hosted-engine/
>>>>>>
>>>>>> It gets close to deploying the vm, but fails with
>>>>>>
>>>>>> 2016-09-13 19:46:04 ERROR otopi.plugins.gr_he_common.core.misc
>>>>>> misc._terminate:180 Hosted Engine deployment failed: this system is not
>>>>>> reliable, please check the issue,fix and redeploy
>>>>>>
>>>>>
>>>>> can you please attach the whole log to let us check where it's failing?
>>>>>
>>>>>
>>>>>>
>>>>>> For storage I chose a random NFS share on a remote host that was
>>>>>> empty, I did notice that something kept removing 'nameserver' entries 
>>>>>> from
>>>>>> resolv.conf
>>>>>>
>>>>>> vdsm log show issues connecting to the broker,
>>>>>>
>>>>>
>>>>> ovirt-hosted-engine-setup will enable and start the broker if and only
>>>>> if the deployment went fine; that errors at deploy time are harmless since
>>>>> the broker is really down.
>>>>>
>>>>>
>>>>>>
>>>>>> periodic/0::ERROR::2016-09-13 19:49:49,704::brokerlink::75::
>>>>>> ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(connect) Failed
>>>>>> to connect to broker, the number of errors has exceeded the limit (1)
>>>>>> periodic/0::ERROR::2016-09-13 19:49:49,704::api::253::root::(_getHaInfo)
>>>>>> failed to retrieve Hosted Engine HA info
>>>>>> periodic/1::WARNING::2016-09-13 19:49:49,748::periodic::269::v
>>>>>> irt.periodic.VmDispatcher::(__call__) could not run >>>>> 'vdsm.virt.periodic.DriveWatermarkMonitor'> on
>>>>>> [u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
>>>>>> periodic/2::WARNING::2016-09-13 19:49:51,749::periodic::269::v
>>>>>> irt.periodic.VmDispatcher::(__call__) could not run >>>>> 'vdsm.virt.periodic.DriveWatermarkMonitor'> on
&g

Re: [ovirt-users] Deploying selfhosted engine

2016-09-14 Thread Maton, Brett
Ah ok, the VM I'm running hosted-engine --deploy on indeed doesn;t have the
vmx flag.

( the previous result was from the physical host running the VM ).

I've had a quick look through the options, but can't see where I could
enable vmx or change the settings for the VM itself..


On 14 September 2016 at 10:50, Simone Tiraboschi <stira...@redhat.com>
wrote:

>
>
> On Wed, Sep 14, 2016 at 11:40 AM, Simone Tiraboschi <stira...@redhat.com>
> wrote:
>
>>
>>
>> On Wed, Sep 14, 2016 at 11:39 AM, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>>> The vmx cpu flag is present, is that what you mean ?
>>>
>>
>> Yes, let me double check VDSM logs.
>>
>>
> The issue is indeed here:
> Thread-89::ERROR::2016-09-13 
> 19:45:58,188::vm::765::virt.vm::(_startUnderlyingVm)
> vmId=`1ed592d3-2b69-4901-9ff6-fe21d1dff8c5`::The vm start process failed
> Traceback (most recent call last):
>   File "/usr/share/vdsm/virt/vm.py", line 706, in _startUnderlyingVm
> self._run()
>   File "/usr/share/vdsm/virt/vm.py", line 1996, in _run
> self._connection.createXML(domxml, flags),
>   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line
> 123, in wrapper
> ret = f(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 916, in
> wrapper
> return func(inst, *args, **kwargs)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3611, in
> createXML
> if ret is None:raise libvirtError('virDomainCreateXML() failed',
> conn=self)
> libvirtError: invalid argument: could not find capabilities for
> arch=x86_64 domaintype=kvm
> Thread-89::INFO::2016-09-13 19:45:58,192::vm::1308::virt.vm::(setDownStatus)
> vmId=`1ed592d3-2b69-4901-9ff6-fe21d1dff8c5`::Changed state to Down:
> invalid argument: could not find capabilities for arch=x86_64
> domaintype=kvm  (code=1)
>
> And VDSM returns just
> 'cpuFlags': 'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,
> cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,syscall,nx,
> rdtscp,lm,constant_tsc,rep_good,nopl,eagerfpu,pni,
> pclmulqdq,ssse3,fma,cx16,pcid,sse4_1,sse4_2,x2apic,movbe,
> popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,
> hypervisor,lahf_lm,fsgsbase,bmi1,avx2,smep,bmi2,erms,
> invpcid,xsaveopt,model_Haswell-noTSX,model_Nehalem,
> model_Conroe,model_Penryn,model_IvyBridge,model_
> Westmere,model_SandyBridge'
>
> without vmx!
>
>
>
>
>>
>>
>>>
>>> # grep flags /proc/cpuinfo | grep -c ' vmx '
>>> 48
>>>
>>> Trying to avoid rebooting the server if possible...
>>>
>>> On 14 September 2016 at 10:16, Simone Tiraboschi <stira...@redhat.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Sep 14, 2016 at 11:05 AM, Maton, Brett <
>>>> mat...@ltresources.co.uk> wrote:
>>>>
>>>>> Oops :)
>>>>>
>>>>> hosted setup log attached.
>>>>>
>>>>
>>>> Your issue is probably here:
>>>> 2016-09-13 19:41:52 DEBUG otopi.ovirt_host_deploy.hardware
>>>> hardware.detect:210 Cannot detect virualization
>>>> Traceback (most recent call last):
>>>>   File "/usr/lib/python2.7/site-packages/ovirt_host_deploy/hardware.py",
>>>> line 199, in detect
>>>> if self._isVirtualizationEnabled():
>>>>   File "/usr/lib/python2.7/site-packages/ovirt_host_deploy/hardware.py",
>>>> line 175, in _isVirtualizationEnabled
>>>> bios_ok = self._vmx_enabled_by_bios()
>>>>   File "/usr/lib/python2.7/site-packages/ovirt_host_deploy/hardware.py",
>>>> line 134, in _vmx_enabled_by_bios
>>>> self._prdmsr(0, MSR_IA32_FEATURE_CONTROL) & (
>>>>   File "/usr/lib/python2.7/site-packages/ovirt_host_deploy/hardware.py",
>>>> line 121, in _prdmsr
>>>> ret = struct.unpack('L', f.read(8))[0]
>>>> IOError: [Errno 5] Input/output error
>>>> 2016-09-13 19:41:52 WARNING otopi.plugins.gr_he_setup.vdsmd.cpu
>>>> cpu._setup:156 Cannot detect if hardware supports virtualization
>>>>
>>>> Can you please check if vmx is enabled in the bios of your host?
>>>> Otherwise vdsm/libvrit will refuse to start the VM.
>>>>
>>>>
>>>>
>>>>>
>>>>> On 14 September 2016 at 09:59, Simone Tiraboschi <stira...@redhat.com>
>>>>> wrote:
>>>>>
>>>>&g

Re: [ovirt-users] Deploying selfhosted engine

2016-09-14 Thread Maton, Brett
Oops :)

hosted setup log attached.

On 14 September 2016 at 09:59, Simone Tiraboschi <stira...@redhat.com>
wrote:

>
>
> On Wed, Sep 14, 2016 at 10:46 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Log attached as request
>>
>>
> Sorry, I was asking for hosted-engine-setup logs; you can find them
> under /var/log/ovirt-hosted-engine-setup/
>
>
>> On 14 September 2016 at 08:48, Simone Tiraboschi <stira...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> On Wed, Sep 14, 2016 at 8:19 AM, Maton, Brett <mat...@ltresources.co.uk>
>>> wrote:
>>>
>>>>
>>>> I'm having trouble deploying selfhosted engine following this guide
>>>> http://www.ovirt.org/develop/developer-guide/engine/migrate-
>>>> to-hosted-engine/
>>>>
>>>> It gets close to deploying the vm, but fails with
>>>>
>>>> 2016-09-13 19:46:04 ERROR otopi.plugins.gr_he_common.core.misc
>>>> misc._terminate:180 Hosted Engine deployment failed: this system is not
>>>> reliable, please check the issue,fix and redeploy
>>>>
>>>
>>> can you please attach the whole log to let us check where it's failing?
>>>
>>>
>>>>
>>>> For storage I chose a random NFS share on a remote host that was empty,
>>>> I did notice that something kept removing 'nameserver' entries from
>>>> resolv.conf
>>>>
>>>> vdsm log show issues connecting to the broker,
>>>>
>>>
>>> ovirt-hosted-engine-setup will enable and start the broker if and only
>>> if the deployment went fine; that errors at deploy time are harmless since
>>> the broker is really down.
>>>
>>>
>>>>
>>>> periodic/0::ERROR::2016-09-13 19:49:49,704::brokerlink::75::
>>>> ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(connect) Failed to
>>>> connect to broker, the number of errors has exceeded the limit (1)
>>>> periodic/0::ERROR::2016-09-13 19:49:49,704::api::253::root::(_getHaInfo)
>>>> failed to retrieve Hosted Engine HA info
>>>> periodic/1::WARNING::2016-09-13 19:49:49,748::periodic::269::v
>>>> irt.periodic.VmDispatcher::(__call__) could not run >>> 'vdsm.virt.periodic.DriveWatermarkMonitor'> on
>>>> [u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
>>>> periodic/2::WARNING::2016-09-13 19:49:51,749::periodic::269::v
>>>> irt.periodic.VmDispatcher::(__call__) could not run >>> 'vdsm.virt.periodic.DriveWatermarkMonitor'> on
>>>> [u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
>>>> periodic/3::WARNING::2016-09-13 19:49:53,749::periodic::269::v
>>>> irt.periodic.VmDispatcher::(__call__) could not run >>> 'vdsm.virt.periodic.DriveWatermarkMonitor'> on
>>>> [u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
>>>> periodic/0::WARNING::2016-09-13 19:49:55,750::periodic::269::v
>>>> irt.periodic.VmDispatcher::(__call__) could not run >>> 'vdsm.virt.periodic.DriveWatermarkMonitor'> on
>>>> [u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
>>>> periodic/1::WARNING::2016-09-13 19:49:57,750::periodic::269::v
>>>> irt.periodic.VmDispatcher::(__call__) could not run >>> 'vdsm.virt.periodic.DriveWatermarkMonitor'> on
>>>> [u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
>>>> periodic/2::WARNING::2016-09-13 19:49:59,751::periodic::269::v
>>>> irt.periodic.VmDispatcher::(__call__) could not run >>> 'vdsm.virt.periodic.DriveWatermarkMonitor'> on
>>>> [u'1ed592d3-2b69-4901-9ff6-fe21d1dff8c5']
>>>>
>>>> What should I check next ?
>>>>
>>>> ___
>>>> Users mailing list
>>>> Users@ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>>
>>>
>>
>


ovirt-hosted-engine-setup.tgz
Description: GNU Zip compressed data
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VDSM Network Interface configuration

2016-10-06 Thread Maton, Brett
Where is the configuration that VDSM uses to generate ifcfg files?

  My nameservers have moved and it seems to regenerate the ifcfg
(ovirtmgmt) file overwriting the changes with the correct name servers in
when the server is rebooted and s putting in the wrong (old) nameserver
addresses.

  Where can I fix this ?

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


Re: [ovirt-users] Deploying selfhosted engine

2016-09-14 Thread Maton, Brett
I was thinking about the cluster issue, and realise that it was my mistake.

  During the hosted setup it did ask which cluster to add the host to,
which trying to do too many things at once I again simply misread.

Blah Blah 'My Cluster': [Default]


I wrongly obviously, saw that as by default it would place the new vm in
'My Cluster' not a cluster called Default.

Is there anyway to fix my mistake or do I have to deploy again ?

I think that this (does the destination cluster exist) is something that
could / should be validated before deploying the VM.


On 14 September 2016 at 23:18, Nicolas Ecarnot <nico...@ecarnot.net> wrote:

> Le 14/09/2016 à 17:00, Maton, Brett a écrit :
>
>> Ok thnkas, I updated the database instead ( naughty I know )
>>
>> UPDATE dwh_history_timekeeping SET var_value=0 WHERE var_name =
>> 'DwhCurrentlyRunning';
>>
>
> Sounds like someone around here is a DBA ;)
>
>
>> On 14 September 2016 at 15:55, Nicolas Ecarnot <nico...@ecarnot.net
>> <mailto:nico...@ecarnot.net>> wrote:
>>
>> Le 14/09/2016 à 16:45, Maton, Brett a écrit :
>>
>> Neraly there I think,
>>
>>   Run into what is hopefully a small problem.
>>
>>   When I run engine-setup on the new host, it fails with the
>> following
>> error:
>>
>> [ ERROR ] dwhd is currently running. Its hostname is
>> dwhd.domain.com <http://dwhd.domain.com>
>> <http://dwhd.domain.com>. Please stop it before running Setup.
>> [ ERROR ] Failed to execute stage 'Transaction setup': dwhd is
>> currently
>> running
>> [ INFO  ] Yum Performing yum transaction rollback
>> [ INFO  ] Stage: Clean up
>>   Log file is located at
>> /var/log/ovirt-engine/setup/ovirt-engine-setup-2016091415420
>> 2-jr8hnc.log
>> [ INFO  ] Generating answer file
>> '/var/lib/ovirt-engine/setup/answers/20160914154219-setup.co
>> <http://20160914154219-setup.co>nf'
>> [ INFO  ] Stage: Pre-termination
>> [ INFO  ] Stage: Termination
>> [ ERROR ] Execution of setup failed
>>
>> dwhd isn't running anywhere, and was stopped before I took the
>> backup.
>> Any suggestions ?
>>
>>
>> Old and known issue.
>>
>> Just restart then stop the DWH service.
>> Then run engine-setup again and it will work.
>>
>> There is already a BZ for this one. (Feel free to search it...)
>>
>> --
>> Nicolas ECARNOT
>>
>> ___
>> Users mailing list
>> Users@ovirt.org <mailto:Users@ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users
>> <http://lists.ovirt.org/mailman/listinfo/users>
>>
>>
>>
>
> --
> Nicolas ECARNOT
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Self Hosted Engine - Migrate to another host

2016-09-19 Thread Maton, Brett
Hi,

   I deployed a new cluster following this guide
https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install

  Which are after a few failed attempts, finally seems to be up and running.

  I have added a couple of additional hosts to the cluster through the
web0ui , but I can't update the current 'self hosting' host as the
hosted-engine refuses to migrate.

HostedEngine:

   - Cannot migrate VM. There is no host that satisfies current scheduling
   constraints. See below for details:
   - The host 3 did not satisfy internal filter HA because it is not a
   Hosted Engine host..
   - The host 2 did not satisfy internal filter HA because it is not a
   Hosted Engine host..
   - The host 1 did not satisfy internal filter Migration because it
   currently hosts the VM..

I trawled google for awhile and found this post
https://www.mail-archive.com/users@ovirt.org/msg34847.html

So I tried to enable 'HA Reservation', but I can't because host '1' can't
be put into maintenance mode because HE can't migrate
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Can't import export domain

2016-09-19 Thread Maton, Brett
I basically scrubbed my 'old' cluster after a number of failures trying to
convert a physical engine to a self hosted engine, anyway

I'm now trying to import the 'old' export domain but I'm getting this
message:

There is no storage domain under the specified path. Check event pane for
more details.

I did see this in the logs if it helps at all:
2016-09-19 18:05:23,584 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand]
(default task-28) [171c3ebf] FINISH, DisconnectStorageServerVDSCommand,
return: {5c4ae7b4-b87b-4ef1-910c-cb338232098c=0}, log id: 7d3bbb38
2016-09-19 18:05:23,589 INFO
[org.ovirt.engine.core.bll.storage.connection.RemoveStorageServerConnectionCommand]
(default task-28) [171c3ebf] Lock freed to object
'EngineLock:{exclusiveLocks='[nfs.example.com:/exports/export=,
5c4ae7b4-b87b-4ef1-910c-cb338232098c=]', sharedLocks='null'}'
2016-09-19 18:05:25,587 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand]
(default task-18) [35dda2c9] FINISH, DisconnectStorageServerVDSCommand,
return: {5c4ae7b4-b87b-4ef1-910c-cb338232098c=0}, log id: 151ff1bd



dom_md/metadata file on the export NFS directory begins with

CLASS=Backup
DESCRIPTION=export

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


[ovirt-users] Failed Import - Hung finalizing

2016-09-20 Thread Maton, Brett
Hi,

  I had a network outage while I was import VM backups.
  The tasks show 'Copying Image - Failed', and are now stuck 'finalizing'.

  The VM's I was trying to import show status Image Locked in the web-ui.

  What o I need to do to cancel the tasks and start again ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Self Hosted Engine - Migrate to another host

2016-09-19 Thread Maton, Brett
Did you deployed the additional hosted-engine hosts from the engine?

I deployed the additional hosts using the web-ui ?

On 19 September 2016 at 20:48, Simone Tiraboschi <stira...@redhat.com>
wrote:

>
>
> On Mon, Sep 19, 2016 at 6:58 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Hi,
>>
>>I deployed a new cluster following this guide
>> https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install
>>
>>   Which are after a few failed attempts, finally seems to be up and
>> running.
>>
>>   I have added a couple of additional hosts to the cluster through the
>> web0ui , but I can't update the current 'self hosting' host as the
>> hosted-engine refuses to migrate.
>>
>> HostedEngine:
>>
>>- Cannot migrate VM. There is no host that satisfies current
>>scheduling constraints. See below for details:
>>- The host 3 did not satisfy internal filter HA because it is not a
>>Hosted Engine host..
>>- The host 2 did not satisfy internal filter HA because it is not a
>>Hosted Engine host..
>>
>> Did you deployed the additional hosted-engine hosts from the engine?
> Could you please connect to that hosts and execute:
>  hosted-engine --set-maintenance --mode=none
>
> You probably hit this one:
> https://bugzilla.redhat.com/show_bug.cgi?id=1353600
>
>
>
>>
>>- The host 1 did not satisfy internal filter Migration because it
>>currently hosts the VM..
>>
>> I trawled google for awhile and found this post
>> https://www.mail-archive.com/users@ovirt.org/msg34847.html
>>
>> So I tried to enable 'HA Reservation', but I can't because host '1' can't
>> be put into maintenance mode because HE can't migrate
>>
>> ___
>> 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] Self Hosted Engine - Migrate to another host

2016-09-19 Thread Maton, Brett
Ok,

  I've been watching Logan's thread as well, I think I just found the
hosted engine bit at the bottom of the new host dialog.

  I've removed a host and am just redeploying...

On 19 September 2016 at 20:56, Maton, Brett <mat...@ltresources.co.uk>
wrote:

>
> Did you deployed the additional hosted-engine hosts from the engine?
>
> I deployed the additional hosts using the web-ui ?
>
> On 19 September 2016 at 20:48, Simone Tiraboschi <stira...@redhat.com>
> wrote:
>
>>
>>
>> On Mon, Sep 19, 2016 at 6:58 PM, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>>> Hi,
>>>
>>>I deployed a new cluster following this guide
>>> https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install
>>>
>>>   Which are after a few failed attempts, finally seems to be up and
>>> running.
>>>
>>>   I have added a couple of additional hosts to the cluster through the
>>> web0ui , but I can't update the current 'self hosting' host as the
>>> hosted-engine refuses to migrate.
>>>
>>> HostedEngine:
>>>
>>>- Cannot migrate VM. There is no host that satisfies current
>>>scheduling constraints. See below for details:
>>>- The host 3 did not satisfy internal filter HA because it is not a
>>>Hosted Engine host..
>>>- The host 2 did not satisfy internal filter HA because it is not a
>>>Hosted Engine host..
>>>
>>> Did you deployed the additional hosted-engine hosts from the engine?
>> Could you please connect to that hosts and execute:
>>  hosted-engine --set-maintenance --mode=none
>>
>> You probably hit this one:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1353600
>>
>>
>>
>>>
>>>- The host 1 did not satisfy internal filter Migration because it
>>>currently hosts the VM..
>>>
>>> I trawled google for awhile and found this post
>>> https://www.mail-archive.com/users@ovirt.org/msg34847.html
>>>
>>> So I tried to enable 'HA Reservation', but I can't because host '1'
>>> can't be put into maintenance mode because HE can't migrate
>>>
>>> ___
>>> 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] Ovirt Nodes - Which OS

2016-09-23 Thread Maton, Brett
RHEL / CentOS 7 Are currently recommended, amongst others for Ovirt4.

  You're getting the packages from ovirt's repository not the distro base
so no need to worry that one distro or another is behind which would most
likely be the case if you were getting base packages.

On 23 September 2016 at 10:50, Carlos García Gómez <
carlos.gar...@f-integra.org> wrote:

> Hello,
>
> I was testing  Ovirt inside a VDI proyect.
> Now, I know there is new version of Ovrit (4.X) and VDI Software so I have
> decided to remake the installation of all.
>
> I wonder which is the best OS platafform for the *Host (Ovirt - Nodes)*.
> (Fedora / Red Hat Enterprise Linux / CentOS) Now I have CentOS 7 64Bit
> but... I am not sure.
>
> What do you think about it? Fedora or CentOS?
> Which version? Fedora 19? Fedora 24? CentOS 6? CentOS 7?
>
> I always had the feeling that Fedora is a little ahead against CentOS for
> example oVirt packages.
>
> Thank  you
>
> Regards,
>
> Carlos
>
>
>
>
> ___
> 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] Self Hosted Engine - Migrate to another host

2016-09-19 Thread Maton, Brett
Redeployed both additional hosts with hosted -> deploy set to on as per the
image you attached to Logans thread, that has solved my 'immovable' hosted
engine problem.

Thanks

On 19 September 2016 at 21:09, Maton, Brett <mat...@ltresources.co.uk>
wrote:

> Ok,
>
>   I've been watching Logan's thread as well, I think I just found the
> hosted engine bit at the bottom of the new host dialog.
>
>   I've removed a host and am just redeploying...
>
> On 19 September 2016 at 20:56, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>>
>> Did you deployed the additional hosted-engine hosts from the engine?
>>
>> I deployed the additional hosts using the web-ui ?
>>
>> On 19 September 2016 at 20:48, Simone Tiraboschi <stira...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> On Mon, Sep 19, 2016 at 6:58 PM, Maton, Brett <mat...@ltresources.co.uk>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>>I deployed a new cluster following this guide
>>>> https://www.ovirt.org/documentation/how-to/hosted-engine/#fresh-install
>>>>
>>>>   Which are after a few failed attempts, finally seems to be up and
>>>> running.
>>>>
>>>>   I have added a couple of additional hosts to the cluster through the
>>>> web0ui , but I can't update the current 'self hosting' host as the
>>>> hosted-engine refuses to migrate.
>>>>
>>>> HostedEngine:
>>>>
>>>>- Cannot migrate VM. There is no host that satisfies current
>>>>scheduling constraints. See below for details:
>>>>- The host 3 did not satisfy internal filter HA because it is not a
>>>>Hosted Engine host..
>>>>- The host 2 did not satisfy internal filter HA because it is not a
>>>>Hosted Engine host..
>>>>
>>>> Did you deployed the additional hosted-engine hosts from the engine?
>>> Could you please connect to that hosts and execute:
>>>  hosted-engine --set-maintenance --mode=none
>>>
>>> You probably hit this one:
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1353600
>>>
>>>
>>>
>>>>
>>>>- The host 1 did not satisfy internal filter Migration because it
>>>>currently hosts the VM..
>>>>
>>>> I trawled google for awhile and found this post
>>>> https://www.mail-archive.com/users@ovirt.org/msg34847.html
>>>>
>>>> So I tried to enable 'HA Reservation', but I can't because host '1'
>>>> can't be put into maintenance mode because HE can't migrate
>>>>
>>>> ___
>>>> 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] Hung task finalizing live migration

2016-09-06 Thread Maton, Brett
Sorry just hit reply

I'm seeing these errors in the logs which look related to the problem:


2016-09-07 06:46:35,123 ERROR
[org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
(DefaultQuartzScheduler6) [19c58c0d] Failed invoking callback end method
'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
exception 'null', the callback is marked for end method retries
2016-09-07 06:46:45,184 ERROR [org.ovirt.engine.core.bll.CommandsFactory]
(DefaultQuartzScheduler7) [19c58c0d] Error in invocating CTOR of command
'LiveMigrateDisk': null
2016-09-07 06:46:45,185 ERROR
[org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]
(DefaultQuartzScheduler7) [19c58c0d] Failed invoking callback end method
'onFailed' for command '07608003-ca05-4e2e-b917-85ce525c011b' with
exception 'null', the callback is marked for end method retries

On 5 September 2016 at 06:46, Nir Soffer <nsof...@redhat.com> wrote:

> Hi Maton,
>
> Please reply to the list, not to me directly.
>
> Ala, can you look at this? is this a known issue?
>
> Thanks,
> Nir
>
> On Mon, Sep 5, 2016 at 8:43 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
> > Log files as requested
> >
> > https://ufile.io/4fc35 vdsm log
> > https://ufile.io/e9836 engine 03-Sep
> > https://ufile.io/15f37 engine 04-Sep
> >
> > vdsm log stops on the 01-Sep...
> >
> > Couple of entries from the event log:
> >
> > Sep 3, 2016 7:31:07 PMSnapshot 'Auto-generated for Live Storage
> > Migration' deletion for VM 'lv01' has been completed.
> > Sep 3, 2016 6:46:46 PMSnapshot 'Auto-generated for Live Storage
> > Migration' deletion for VM 'lv01' was initiated by SYSTEM
> >
> > And the related tasks
> >
> > Removing Snapshot Auto-generated for Live Storage Migration of VM lv01
> > Sep 3, 2016 6:46:44 PMN/A29f45ca9
> > ValidatingSep 3, 2016 6:46:44 PMuntilSep 3, 2016 6:46:44 PM
> > ExecutingSep 3, 2016 6:46:44 PMuntilSep 3, 2016 7:31:06 PM
> >
> > FinalizingSep 3, 2016 7:31:06 PMN/A
> >
> >
> >
> > On 4 September 2016 at 14:27, Nir Soffer <nsof...@redhat.com> wrote:
> >>
> >> On Sun, Sep 4, 2016 at 12:40 PM, Maton, Brett <mat...@ltresources.co.uk
> >
> >> wrote:
> >>>
> >>> How do I fix / kill a hung vdsm task?
> >>>
> >>> It seems to have completed the task but is stuck finalising.
> >>>
> >>> Removing Snapshot Auto-generated for Live Storage Migration
> >>> Validating
> >>> Executing
> >>> (hour glass) Finalizing
> >>>
> >>> Task has been 'stuck' finalising for over 13 hours
> >>
> >>
> >> Can you share engine and vdsm logs since the time the merge was started?
> >>
> >> Nir
> >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't import export domain

2016-09-22 Thread Maton, Brett
Hi Idan,

  I certainly did select 'Export' before trying to import.

  I gave up trying and created a new Export Domain and copied the images
and master directories from the old location into the new Export Domain.

I could then import my backed up VM's

On 22 September 2016 at 13:46, Idan Shaby <ish...@redhat.com> wrote:

> Hi,
>
> Just to make sure - when you tried to import the export domain, did you
> choose "Export" from the "Domain Function" field in the "Import
> Pre-Configured Domain" window?
> You need to select this option in order to tell the engine that it is a
> special domain (export, in this case), and not a data domain.
>
> Regards,
> Idan
>
> On Mon, Sep 19, 2016 at 8:08 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> I basically scrubbed my 'old' cluster after a number of failures trying
>> to convert a physical engine to a self hosted engine, anyway
>>
>> I'm now trying to import the 'old' export domain but I'm getting this
>> message:
>>
>> There is no storage domain under the specified path. Check event pane for
>> more details.
>>
>> I did see this in the logs if it helps at all:
>> 2016-09-19 18:05:23,584 INFO  [org.ovirt.engine.core.vdsbrok
>> er.vdsbroker.DisconnectStorageServerVDSCommand] (default task-28)
>> [171c3ebf] FINISH, DisconnectStorageServerVDSCommand, return:
>> {5c4ae7b4-b87b-4ef1-910c-cb338232098c=0}, log id: 7d3bbb38
>> 2016-09-19 18:05:23,589 INFO  [org.ovirt.engine.core.bll.sto
>> rage.connection.RemoveStorageServerConnectionCommand] (default task-28)
>> [171c3ebf] Lock freed to object 'EngineLock:{exclusiveLocks='[
>> nfs.example.com:/exports/export=<STORAGE_CONNECTION,
>> ACTION_TYPE_FAILED_OBJECT_LOCKED>, 
>> 5c4ae7b4-b87b-4ef1-910c-cb338232098c=<STORAGE_CONNECTION,
>> ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
>> 2016-09-19 18:05:25,587 INFO  [org.ovirt.engine.core.vdsbrok
>> er.vdsbroker.DisconnectStorageServerVDSCommand] (default task-18)
>> [35dda2c9] FINISH, DisconnectStorageServerVDSCommand, return:
>> {5c4ae7b4-b87b-4ef1-910c-cb338232098c=0}, log id: 151ff1bd
>>
>>
>>
>> dom_md/metadata file on the export NFS directory begins with
>>
>> CLASS=Backup
>> DESCRIPTION=export
>>
>> Any suggestions ?
>>
>> ___
>> 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 incremental backup

2016-09-27 Thread Maton, Brett
Is there a preferred or recommended backup method in the meantime ?

2016-09-22 10:30 GMT+01:00 vasily.lamy...@megafon.ru <
vasily.lamy...@megafon.ru>:

> Hello!
>
> I would like to understand the existence of the possibility of incremental
> VM backups.
>
> And if it is, the means by which it is achieved.
>
> While I was only able to achieve a complete backup of the virtual machine
> (but it is a very large amount of information and time) by cloning a
> snapshot of the VM and export to data domain.
>
>
>
> *Ламыкин Василий*
>
> Старший инженер по эксплуатации сервисных платформ
>
> Столичный ф-ал ПАО "МегаФон
>
>
>
> +7 (926) 500-3308
>
> [image: МегаФон лого+знак РУС B2C]
>
>
>
> --
>
> Информация в этом сообщении предназначена исключительно для конкретных
> лиц, которым она адресована. В сообщении может содержаться конфиденциальная
> информация, которая не может быть раскрыта или использована кем-либо, кроме
> адресатов. Если вы не адресат этого сообщения, то использование,
> переадресация, копирование или распространение содержания сообщения или его
> части незаконно и запрещено. Если Вы получили это сообщение ошибочно,
> пожалуйста, незамедлительно сообщите отправителю об этом и удалите со всем
> содержимым само сообщение и любые возможные его копии и приложения.
>
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it. It may contain confidential or legally privileged
> information. The contents may not be disclosed or used by anyone other than
> the addressee. If you are not the intended recipient(s), any use,
> disclosure, copying, distribution or any action taken or omitted to be
> taken in reliance on it is prohibited and may be unlawful. If you have
> received this communication in error please notify us immediately by
> responding to this email and then delete the e-mail and all attachments and
> any copies thereof.
>
> (c)20mf50
>
> ___
> 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] Migrating Hosted Engine Storage

2016-10-10 Thread Maton, Brett
Hi,

  I was wondering how to move the Hosted Engine 'disk' to another storage
domain?
  Live migration doesn't appear to be working, just left the disk in a
'locked' state, the engine is currently up and running.

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


Re: [ovirt-users] ovirt 4.0.6 - live disk migration fails

2016-11-24 Thread Maton, Brett
Ok thanks

On 24 November 2016 at 10:00, Ala Hino <ah...@redhat.com> wrote:

> It is a known issue and Maor Lipchuk (mlipchuk) is working on a fix.
>
> On Thu, Nov 24, 2016 at 11:57 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> If I try to migrate a disk of a running VM to another storage domain it
>> fails with the following message:
>>
>> Operation Cancelled
>>
>> Error while executing action: User is not logged in.
>>
>>
>> Migrating disks of stopped VM's continues to work.
>>
>> Probably a bug ?
>>
>> ___
>> 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] ovirt 4.0.6 - live disk migration fails

2016-11-24 Thread Maton, Brett
If I try to migrate a disk of a running VM to another storage domain it
fails with the following message:

Operation Cancelled

Error while executing action: User is not logged in.


Migrating disks of stopped VM's continues to work.

Probably a bug ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 4.0.6 - live disk migration fails

2016-11-24 Thread Maton, Brett
Sure when I get 5 minutes :)

Which logs would you be interested in ?

On 24 November 2016 at 13:33, Ala Hino <ah...@redhat.com> wrote:

> Hi Brett,
>
> I apologize but I confused this with a different issue in this area. Would
> appreciate if you could provide logs. If possible and actually might be
> simpler to open a bug and the logs there.
>
> Thanks!
>
> On Thu, Nov 24, 2016 at 12:13 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Ok thanks
>>
>> On 24 November 2016 at 10:00, Ala Hino <ah...@redhat.com> wrote:
>>
>>> It is a known issue and Maor Lipchuk (mlipchuk) is working on a fix.
>>>
>>> On Thu, Nov 24, 2016 at 11:57 AM, Maton, Brett <mat...@ltresources.co.uk
>>> > wrote:
>>>
>>>> If I try to migrate a disk of a running VM to another storage domain it
>>>> fails with the following message:
>>>>
>>>> Operation Cancelled
>>>>
>>>> Error while executing action: User is not logged in.
>>>>
>>>>
>>>> Migrating disks of stopped VM's continues to work.
>>>>
>>>> Probably a bug ?
>>>>
>>>> ___
>>>> 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] ovirt 4.0.6 - live disk migration fails

2016-11-24 Thread Maton, Brett
I'm using the repos from the ovirt-release40-pre-4.0.6-1.noarch rpm

On 24 November 2016 at 15:04, Eyal Edri <ee...@redhat.com> wrote:

> Hi,
> Can you tell which repos you're using? ( I'm guessing you're using the
> snapshot nightly repos )
> You can try using the new 'experimental' repos which gives you verified
> RPMs which passed basic sanity testing:
>
> http://resources.ovirt.org/repos/ovirt/experimental/master/latest.tested/
>
> On Thu, Nov 24, 2016 at 11:57 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> If I try to migrate a disk of a running VM to another storage domain it
>> fails with the following message:
>>
>> Operation Cancelled
>>
>> Error while executing action: User is not logged in.
>>
>>
>> Migrating disks of stopped VM's continues to work.
>>
>> Probably a bug ?
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Eyal Edri
> Associate Manager
> RHV DevOps
> EMEA ENG Virtualization R
> Red Hat Israel
>
> phone: +972-9-7692018
> irc: eedri (on #tlv #rhev-dev #rhev-integ)
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 4.0.6 - live disk migration fails

2016-11-24 Thread Maton, Brett
Ok, might not be until net week though.

On 24 November 2016 at 14:20, Ala Hino <ah...@redhat.com> wrote:

> Thanks!
> Please add Vdsm and Engine logs.
>
> On Nov 24, 2016 4:03 PM, "Maton, Brett" <mat...@ltresources.co.uk> wrote:
>
>> Sure when I get 5 minutes :)
>>
>> Which logs would you be interested in ?
>>
>> On 24 November 2016 at 13:33, Ala Hino <ah...@redhat.com> wrote:
>>
>>> Hi Brett,
>>>
>>> I apologize but I confused this with a different issue in this area.
>>> Would appreciate if you could provide logs. If possible and actually might
>>> be simpler to open a bug and the logs there.
>>>
>>> Thanks!
>>>
>>> On Thu, Nov 24, 2016 at 12:13 PM, Maton, Brett <mat...@ltresources.co.uk
>>> > wrote:
>>>
>>>> Ok thanks
>>>>
>>>> On 24 November 2016 at 10:00, Ala Hino <ah...@redhat.com> wrote:
>>>>
>>>>> It is a known issue and Maor Lipchuk (mlipchuk) is working on a fix.
>>>>>
>>>>> On Thu, Nov 24, 2016 at 11:57 AM, Maton, Brett <
>>>>> mat...@ltresources.co.uk> wrote:
>>>>>
>>>>>> If I try to migrate a disk of a running VM to another storage domain
>>>>>> it fails with the following message:
>>>>>>
>>>>>> Operation Cancelled
>>>>>>
>>>>>> Error while executing action: User is not logged in.
>>>>>>
>>>>>>
>>>>>> Migrating disks of stopped VM's continues to work.
>>>>>>
>>>>>> Probably a bug ?
>>>>>>
>>>>>> ___
>>>>>> 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] Ovirt 4.0.5 how to import an OVA appliance

2016-11-16 Thread Maton, Brett
Thanks Gianluca,

  I'll give it a go and let you know what (if) works.

On 16 November 2016 at 13:29, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

> On Wed, Nov 16, 2016 at 12:24 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Hi,
>>
>>   I downloaded an OVA image from OpenVAS but I can't import it into
>> ovirt, any suggestions ?
>>
>> engine-image-uploader -e Export upload /tmp/OpenVAS-8-DEMO-1.0.ova
>> WARNING: ovirt-image-uploader is deprecated in 4.0 and will be removed in
>> 4.1
>> Please provide the REST API password for the admin@internal oVirt Engine
>> user (CTRL+D to abort):
>> ERROR: not a gzip file
>>
>>
>>
> Unfortunately, OVA is a generic term describing a container for a VM/group
> of VMs definitions but it is implemented in different ways.
> From OpenVAS website it seems their OVA format is for Virtualbox >= 4.3...
> correct?
>
> You could try to export the disk file/s with VirtualBox command line tool
> VBoxManage (never tried myself):
> http://www.virtualbox.org/manual/ch08.html
>
> Or eventually follow what described in this thread, that implies to import
> the OVA into a VirtualBox environment and then re-export it for oVirt with
> the steps described:
> http://lists.ovirt.org/pipermail/users/2015-December/036371.html
>
> HIH,
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt 4.0.5 how to import an OVA appliance

2016-11-16 Thread Maton, Brett
Hi,

  I downloaded an OVA image from OpenVAS but I can't import it into ovirt,
any suggestions ?

engine-image-uploader -e Export upload /tmp/OpenVAS-8-DEMO-1.0.ova
WARNING: ovirt-image-uploader is deprecated in 4.0 and will be removed in
4.1
Please provide the REST API password for the admin@internal oVirt Engine
user (CTRL+D to abort):
ERROR: not a gzip file
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ANN] oVirt 4.0.5 Fourth Release Candidate is now available

2016-10-27 Thread Maton, Brett
I just tried a yum update and got a key error, has it changed or is this a
problem?:

warning:
/var/cache/yum/x86_64/7/ovirt-4.0-pre/packages/mom-0.5.8-1.el7.centos.noarch.rpm:
Header V3 RSA/SHA1 Signature, key ID 1efa001d: NOKEY
Public key for mom-0.5.8-1.el7.centos.noarch.rpm is not installed
mom-0.5.8-1.el7.centos.noarch.rpm
| 124 kB  00:00:00
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-ovirt-4.0


The GPG keys listed for the "oVirt 4.0 Pre-Release" repository are already
installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.


On 27 October 2016 at 14:12, Sandro Bonazzola  wrote:

>
> The oVirt Project is pleased to announce the availability of oVirt 4.0.5
> fourth release candidate for testing, as of October 27th, 2016.
>
> This release is available now for:
> * Fedora 23 (tech preview)
> * Red Hat Enterprise Linux 7.2 or later
> * CentOS Linux (or similar) 7.2 or later
>
> This release supports Hypervisor Hosts running:
> * Red Hat Enterprise Linux 7.2 or later
> * CentOS Linux (or similar) 7.2 or later
> * Fedora 23 (tech preview)
> * oVirt Next Generation Node 4.0
>
> This is pre-release software. Please take a look at our community page[1]
> to know how to ask questions and interact with developers and users.
> All issues or bugs should be reported via oVirt Bugzilla[2].
> This pre-release should not to be used in production.
>
> This update is the fourth release candidate of the fifth in a series of
> stabilization updates to the 4.0 series.
> 4.0.5 brings 13 enhancements and 83 bugfixes, including 37 high or urgent
> severity fixes, on top of oVirt 4.0 series
> See the release notes [3] for installation / upgrade instructions and a
> list of new features and bugs fixed.
>
> Notes:
> * A new oVirt Live ISO is available. [4]
> * A new oVirt Next Generation Node will be available soon [4]
> * A new oVirt Engine Appliance is available for Red Hat Enterprise Linux
> and CentOS Linux (or similar)
> * Mirrors[5] might need up to one day to synchronize.
>
> Additional Resources:
> * Read more about the oVirt 4.0.5 release highlights:http://www.ovirt.
> org/release/4.0.5/
> * Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
> * Check out the latest project news on the oVirt blog:
> http://www.ovirt.org/blog/
>
> [1] https://www.ovirt.org/community/
> [2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
> [3] http://www.ovirt.org/release/4.0.5/
> [4] http://resources.ovirt.org/pub/ovirt-4.0-pre/iso/
> [5] http://www.ovirt.org/Repository_mirrors#Current_mirrors
>
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
>
>
> ___
> 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] Missing RPM for ovirt 4.0.5.5 ?

2016-11-02 Thread Maton, Brett
I ran yum update on selfhosted ovirt engine, followed by engine-setup which
is failing due to a missing dependency:

  --== PACKAGES ==--

[ INFO  ] Checking for product updates...
[ ERROR ] Yum [u'ovirt-engine-backend-4.0.5.5-1.el7.centos.noarch requires
vdsm-jsonrpc-java >= 1.2.7']
[ INFO  ] Yum Performing yum transaction rollback
[ ERROR ] Failed to execute stage 'Environment customization':
[u'ovirt-engine-backend-4.0.5.5-1.el7.centos.noarch requires
vdsm-jsonrpc-java >= 1.2.7']
[ INFO  ] Stage: Clean up

I had a quick look at the repos and ther doesn't appear tobe a 1.2.7
version of vdsm-jsonrpc-java.

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


Re: [ovirt-users] Missing RPM for ovirt 4.0.5.5 ?

2016-11-02 Thread Maton, Brett
Yes I'm using the pre -release repos, thanks for the link to the report.

On 2 November 2016 at 07:28, Yedidyah Bar David <d...@redhat.com> wrote:

> On Wed, Nov 2, 2016 at 8:55 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
> > I ran yum update on selfhosted ovirt engine, followed by engine-setup
> which
> > is failing due to a missing dependency:
> >
> >   --== PACKAGES ==--
> >
> > [ INFO  ] Checking for product updates...
> > [ ERROR ] Yum [u'ovirt-engine-backend-4.0.5.5-1.el7.centos.noarch
> requires
> > vdsm-jsonrpc-java >= 1.2.7']
> > [ INFO  ] Yum Performing yum transaction rollback
> > [ ERROR ] Failed to execute stage 'Environment customization':
> > [u'ovirt-engine-backend-4.0.5.5-1.el7.centos.noarch requires
> > vdsm-jsonrpc-java >= 1.2.7']
> > [ INFO  ] Stage: Clean up
> >
> > I had a quick look at the repos and ther doesn't appear tobe a 1.2.7
> version
> > of vdsm-jsonrpc-java.
>
> I assume you refer to ovirt-4.0-pre. ovirt-4.0 has only 4.0.4 engine.
>
> See also:
>
> http://lists.ovirt.org/pipermail/devel/2016-November/014089.html
>
> Best,
> --
> Didi
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.1 beta - Install problems ( storage )

2016-12-10 Thread Maton, Brett
Saw this in /var/log/messages possibly related

Dec 10 16:48:41 lp05 systemd: mom-vdsm.service holdoff time over,
scheduling restart.
Dec 10 16:48:41 lp05 systemd: Started MOM instance configured for VDSM
purposes.
Dec 10 16:48:41 lp05 systemd: Starting MOM instance configured for VDSM
purposes...
Dec 10 16:48:41 lp05 systemd: Started /usr/bin/mount -t glusterfs -o
backup-volfile-servers=10.10.30.5:10.10.30.6:10.10.30.8 localhost:/ovirt
/rhev/data-center/mnt/glusterSD/localhost:_ovirt.
Dec 10 16:48:41 lp05 systemd: Starting /usr/bin/mount -t glusterfs -o
backup-volfile-servers=10.10.30.5:10.10.30.6:10.10.30.8 localhost:/ovirt
/rhev/data-center/mnt/glusterSD/localhost:_ovirt.
Dec 10 16:48:46 lp05 kernel: EXT4-fs (loop11): mounting ext3 file system
using the ext4 subsystem
Dec 10 16:48:46 lp05 kernel: EXT4-fs (loop11): mounted filesystem with
ordered data mode. Opts: (null)
Dec 10 16:48:46 lp05 systemd: Device
dev-disk-by\x2duuid-50642dea\x2d9bfc\x2d4624\x2d9255\x2d80ef82c78214.device
appeared twice with different sysfs paths /sys/devices/virtual/block/loop10
and /sys/devices/virtual/block/loop11
Dec 10 16:48:46 lp05 systemd: Device
dev-disk-by\x2duuid-50642dea\x2d9bfc\x2d4624\x2d9255\x2d80ef82c78214.device
appeared twice with different sysfs paths /sys/devices/virtual/block/loop10
and /sys/devices/virtual/block/loop11
Dec 10 16:48:47 lp05 journal: vdsm vds.dispatcher ERROR SSL error receiving
from : unexpected eof



On 10 December 2016 at 15:09, Maton, Brett <mat...@ltresources.co.uk> wrote:

> Hi,
>
>   I'm trying to install Ovirt 4.1 beta using glusterfs as the storage
> domain.
>   First time I've tried it so there could be some real simple mistakes in
> my config :)
>
> # gluster volume info
>
> Volume Name: ovirt
> Type: Replicate
> Volume ID: 8d9d480c-dfc8-4099-acbc-2eb1a01afc9d
> Status: Started
> Snapshot Count: 0
> Number of Bricks: 1 x 3 = 3
> Transport-type: tcp
> Bricks:
> Brick1: 192.168.0.1:/u01/.bricks/ovirt
> Brick2: 192.168.0.2:/u01/.bricks/ovirt
> Brick3: 192.168.0.3:/u01/.bricks/ovirt
> Options Reconfigured:
> transport.address-family: inet
> performance.readdir-ahead: on
> nfs.disable: on
>
>
> I wasn't sure what path to put for the gluster storage so I've been trying
> with localhost
>
>   Please specify the storage you would like to use (glusterfs,
> iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs
> [ INFO  ] Please note that Replica 3 support is required for the shared
> storage.
>   Please specify the full shared storage connection path to use
> (example: host:/path): localhost:/ovirt
>
>
> hosted-engine --deploy gets as far as trying to create the storage domain
> and then fails.
>
> [ INFO  ] Stage: Transaction setup
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Stage: Package installation
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Configuring libvirt
> [ INFO  ] Configuring VDSM
> [ INFO  ] Starting vdsmd
> [ INFO  ] Creating Storage Domain
> [ ERROR ] Failed to execute stage 'Misc configuration': Error creating a
> storage domain: (u'storageType=7, sdUUID=40db955e-e9a1-4279-929b-b63d96ca8161,
> domainName=hosted_storage, domClass=1, typeSpecificArg=localhost:ovirt
> domVersion=3',)
> [ INFO  ] Yum Performing yum transaction rollback
> [ INFO  ] Stage: Clean up
> [ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-
> setup/answers/answers-20161210145440.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Hosted Engine deployment failed: this system is not reliable,
> please check the issue,fix and redeploy
>   Log file is located at /var/log/ovirt-hosted-engine-
> setup/ovirt-hosted-engine-setup-20161210144910-rbql1i.log
>
>
___
Users mailing list
Users@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt 4.1 beta - Install problems ( storage )

2016-12-10 Thread Maton, Brett
Hi,

  I'm trying to install Ovirt 4.1 beta using glusterfs as the storage
domain.
  First time I've tried it so there could be some real simple mistakes in
my config :)

# gluster volume info

Volume Name: ovirt
Type: Replicate
Volume ID: 8d9d480c-dfc8-4099-acbc-2eb1a01afc9d
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: 192.168.0.1:/u01/.bricks/ovirt
Brick2: 192.168.0.2:/u01/.bricks/ovirt
Brick3: 192.168.0.3:/u01/.bricks/ovirt
Options Reconfigured:
transport.address-family: inet
performance.readdir-ahead: on
nfs.disable: on


I wasn't sure what path to put for the gluster storage so I've been trying
with localhost

  Please specify the storage you would like to use (glusterfs,
iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs
[ INFO  ] Please note that Replica 3 support is required for the shared
storage.
  Please specify the full shared storage connection path to use
(example: host:/path): localhost:/ovirt


hosted-engine --deploy gets as far as trying to create the storage domain
and then fails.

[ INFO  ] Stage: Transaction setup
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Configuring libvirt
[ INFO  ] Configuring VDSM
[ INFO  ] Starting vdsmd
[ INFO  ] Creating Storage Domain
[ ERROR ] Failed to execute stage 'Misc configuration': Error creating a
storage domain: (u'storageType=7,
sdUUID=40db955e-e9a1-4279-929b-b63d96ca8161, domainName=hosted_storage,
domClass=1, typeSpecificArg=localhost:ovirt domVersion=3',)
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20161210145440.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: this system is not reliable,
please check the issue,fix and redeploy
  Log file is located at
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20161210144910-rbql1i.log
___
Users mailing list
Users@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.1 beta - Install problems ( storage )

2016-12-10 Thread Maton, Brett
Yup that was it, I hadn't opened port 49152 which was causing gluster to
fail.

On 10 December 2016 at 17:44, Maton, Brett <mat...@ltresources.co.uk> wrote:

> Ok so I now think the problem is that the gluster file systems are being
> mounted read only
>
> On 10 December 2016 at 15:09, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Hi,
>>
>>   I'm trying to install Ovirt 4.1 beta using glusterfs as the storage
>> domain.
>>   First time I've tried it so there could be some real simple mistakes in
>> my config :)
>>
>> # gluster volume info
>>
>> Volume Name: ovirt
>> Type: Replicate
>> Volume ID: 8d9d480c-dfc8-4099-acbc-2eb1a01afc9d
>> Status: Started
>> Snapshot Count: 0
>> Number of Bricks: 1 x 3 = 3
>> Transport-type: tcp
>> Bricks:
>> Brick1: 192.168.0.1:/u01/.bricks/ovirt
>> Brick2: 192.168.0.2:/u01/.bricks/ovirt
>> Brick3: 192.168.0.3:/u01/.bricks/ovirt
>> Options Reconfigured:
>> transport.address-family: inet
>> performance.readdir-ahead: on
>> nfs.disable: on
>>
>>
>> I wasn't sure what path to put for the gluster storage so I've been
>> trying with localhost
>>
>>   Please specify the storage you would like to use (glusterfs,
>> iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs
>> [ INFO  ] Please note that Replica 3 support is required for the shared
>> storage.
>>   Please specify the full shared storage connection path to use
>> (example: host:/path): localhost:/ovirt
>>
>>
>> hosted-engine --deploy gets as far as trying to create the storage domain
>> and then fails.
>>
>> [ INFO  ] Stage: Transaction setup
>> [ INFO  ] Stage: Misc configuration
>> [ INFO  ] Stage: Package installation
>> [ INFO  ] Stage: Misc configuration
>> [ INFO  ] Configuring libvirt
>> [ INFO  ] Configuring VDSM
>> [ INFO  ] Starting vdsmd
>> [ INFO  ] Creating Storage Domain
>> [ ERROR ] Failed to execute stage 'Misc configuration': Error creating a
>> storage domain: (u'storageType=7, 
>> sdUUID=40db955e-e9a1-4279-929b-b63d96ca8161,
>> domainName=hosted_storage, domClass=1, typeSpecificArg=localhost:ovirt
>> domVersion=3',)
>> [ INFO  ] Yum Performing yum transaction rollback
>> [ INFO  ] Stage: Clean up
>> [ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-
>> setup/answers/answers-20161210145440.conf'
>> [ INFO  ] Stage: Pre-termination
>> [ INFO  ] Stage: Termination
>> [ ERROR ] Hosted Engine deployment failed: this system is not reliable,
>> please check the issue,fix and redeploy
>>   Log file is located at /var/log/ovirt-hosted-engine-s
>> etup/ovirt-hosted-engine-setup-20161210144910-rbql1i.log
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.1 beta - Install problems ( storage )

2016-12-10 Thread Maton, Brett
Ok so I now think the problem is that the gluster file systems are being
mounted read only

On 10 December 2016 at 15:09, Maton, Brett <mat...@ltresources.co.uk> wrote:

> Hi,
>
>   I'm trying to install Ovirt 4.1 beta using glusterfs as the storage
> domain.
>   First time I've tried it so there could be some real simple mistakes in
> my config :)
>
> # gluster volume info
>
> Volume Name: ovirt
> Type: Replicate
> Volume ID: 8d9d480c-dfc8-4099-acbc-2eb1a01afc9d
> Status: Started
> Snapshot Count: 0
> Number of Bricks: 1 x 3 = 3
> Transport-type: tcp
> Bricks:
> Brick1: 192.168.0.1:/u01/.bricks/ovirt
> Brick2: 192.168.0.2:/u01/.bricks/ovirt
> Brick3: 192.168.0.3:/u01/.bricks/ovirt
> Options Reconfigured:
> transport.address-family: inet
> performance.readdir-ahead: on
> nfs.disable: on
>
>
> I wasn't sure what path to put for the gluster storage so I've been trying
> with localhost
>
>   Please specify the storage you would like to use (glusterfs,
> iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs
> [ INFO  ] Please note that Replica 3 support is required for the shared
> storage.
>   Please specify the full shared storage connection path to use
> (example: host:/path): localhost:/ovirt
>
>
> hosted-engine --deploy gets as far as trying to create the storage domain
> and then fails.
>
> [ INFO  ] Stage: Transaction setup
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Stage: Package installation
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Configuring libvirt
> [ INFO  ] Configuring VDSM
> [ INFO  ] Starting vdsmd
> [ INFO  ] Creating Storage Domain
> [ ERROR ] Failed to execute stage 'Misc configuration': Error creating a
> storage domain: (u'storageType=7, sdUUID=40db955e-e9a1-4279-929b-b63d96ca8161,
> domainName=hosted_storage, domClass=1, typeSpecificArg=localhost:ovirt
> domVersion=3',)
> [ INFO  ] Yum Performing yum transaction rollback
> [ INFO  ] Stage: Clean up
> [ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-
> setup/answers/answers-20161210145440.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Hosted Engine deployment failed: this system is not reliable,
> please check the issue,fix and redeploy
>   Log file is located at /var/log/ovirt-hosted-engine-
> setup/ovirt-hosted-engine-setup-20161210144910-rbql1i.log
>
>
___
Users mailing list
Users@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/users


[ovirt-users] Fwd: web-ui issues

2016-12-07 Thread Maton, Brett
This didn't get sent to the list...

-- Forwarded message --
From: Alexander Wels <aw...@redhat.com>
Date: 6 December 2016 at 16:43
Subject: Re: [ovirt-users] web-ui issues
To: "Maton, Brett" <mat...@ltresources.co.uk>


On Tuesday, December 6, 2016 4:41:35 PM EST you wrote:
> Not odd at all, but yes it does work for awhile before 'dying' again
>

Great, then I have a system here that is reproducing your issue that I can
mess with. I will let you know if I find a solution.

> On 6 December 2016 at 16:13, Alexander Wels <aw...@redhat.com> wrote:
> > On Tuesday, December 6, 2016 2:49:55 PM EST you wrote:
> > > No change...
> > >
> > > The 'portal' welcome page does say:
> > >
> > > Welcome to Open Virtualization Manager Version 4.0.6.2-1.el7.centos
> > >
> > > I would have expected it to have moved to 4.0.6.3
> > > I've run engine-setup ( a few times ) and yum upgrade isn't finding
any
> >
> > new
> >
> > > packages
> >
> > Another odd question, if you restart the engine (systemctl restart
ovirt-
> > engine) and immediately log back in, does that 'fix' the issue for a few
> > minutes and does it re-appear after that? Or a restart never fixes it at
> > all?
> >
> > > On 6 December 2016 at 14:40, Alexander Wels <aw...@redhat.com> wrote:
> > > > On Tuesday, December 6, 2016 2:29:39 PM EST you wrote:
> > > > > I'm not holding my breath as I had the problem before installing
> >
> > symbol
> >
> > > > > maps, but it might explain why ui.log is empty
> > > >
> > > > Well the bugzilla is basically the following scenario:
> > > >
> > > > 1. You have oVirt version X and you have the matching debug symbols
> > > > installed.
> > > > 2. You upgrade oVirt version to X+1. This doesn't upgrade the debug
> > > > symbols.
> > > > 3. You get the interrupted message on your screen.
> > > >
> > > > So uninstalling the debug symbols should fix that scenario, if yours
> >
> > was
> >
> > > > not
> > > > that scenario then you are right it won't change anything. But it
> > > > can't
> > > > hurt
> > > > either.
> > > >
> > > > > On 6 December 2016 at 14:26, Alexander Wels <aw...@redhat.com>
> >
> > wrote:
> > > > > > On Tuesday, December 6, 2016 2:22:38 PM EST you wrote:
> > > > > > > I 'bumped' from 4.0.6-2 to 4.0.6-3 ( yum upgrade )
> > > > > >
> > > > > > So someone just opened a bugzilla with a sympton that looks
> > > >
> > > > suspiciously
> > > >
> > > > > > like
> > > > > > yours, and the resolution to that bugzilla was to REMOVE the
> > > > > > symbolMaps
> > > > > > because they were out of sync with the main application (and
doing
> >
> > a
> >
> > > > yum
> > > >
> > > > > > update isn't automatically updating the symbol maps).
> > > > > >
> > > > > > try this:
> > > > > >
> > > > > > yum remove ovirt-engine-webadmin-portal-debuginfo
> > > > > >
> > > > > > And restart the engine, see if that solves your issue.
> > > > > >
> > > > > > > On 6 December 2016 at 14:21, Alexander Wels <aw...@redhat.com>
> > > >
> > > > wrote:
> > > > > > > > On Tuesday, December 6, 2016 1:42:33 PM EST you wrote:
> > > > > > > > > Ok thanks.
> > > > > > > > >
> > > > > > > > >   I've restarted the ui a few times today, still nothing (
> > > > > > > > >   at
> > > >
> > > > all )
> > > >
> > > > > > in
> > > > > >
> > > > > > > > > ui.log
> > > > > > > > >
> > > > > > > > >   The errors do look like 'iffy' queries, no errors in
> > > > > > > > >   PostgreSQL
> > > > > >
> > > > > > logs
> > > > > >
> > > > > > > > > though.
> > > > > > > >
> > > > > > > > Strange question, did you recently upgrade from a previous
> >
> > version
> >
> > > > of

[ovirt-users] Fwd: [Call for feedback] anybody gave 4.1 beta a try?

2016-12-17 Thread Maton, Brett
.utils.transaction.TransactionSupport.
executeInSuppressed(TransactionSupport.java:164) [utils.jar:]
at org.ovirt.engine.core.utils.transaction.TransactionSupport.
executeInScope(TransactionSupport.java:103) [utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1449)
[bll.jar:]
at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:395)
[bll.jar:]
at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu
nner.executeValidatedCommand(PrevalidatingMultipleActionsRunner.java:204)
[bll.jar:]
at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu
nner.runCommands(PrevalidatingMultipleActionsRunner.java:176) [bll.jar:]
at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu
nner.lambda$invokeCommands$3(PrevalidatingMultipleActionsRunner.java:182)
[bll.jar:]
at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$
InternalWrapperRunnable.run(ThreadPoolUtil.java:92) [utils.jar:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[rt.jar:1.8.0_111]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[rt.jar:1.8.0_111]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_111]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_111]

2016-12-17 17:09:54,827Z ERROR
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
(org.ovirt.thread.pool-6-thread-26) [b04a9eaf-65b5-4a80-a254-0b29a8fea573]
Host installation failed for host '0ce2ee41-cc81-44a5-8b1c-ee3a1ddbb89c', '
host2.example.com': Command returned failure code 1 during SSH session '
r...@host2.example.com'


I'm trying to deploy using a password ( which I know is correct ), I think
it might be switching to keys when it fails, but I'm only guessing.


Any thoughts on this issue ?

On 16 December 2016 at 21:19, Maor Lipchuk <mlipc...@redhat.com> wrote:

>
>
> On Fri, Dec 16, 2016 at 7:15 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> First glance at 4.1
>>
>>   Installation seemed easier than with earlier versions (  but I have
>> installed it a few times now ).
>>   Hosted engine reports 100% CPU usage even if the host is basically idle
>>
>> [image: Inline images 1]
>>
>> I'll feed back more as and when I get chance to use it, feels good so far
>> though.
>>
>> Keep on with the great work!
>>
>> Regards,
>> Brett
>>
>> On 12 December 2016 at 17:44, Maor Lipchuk <mlipc...@redhat.com> wrote:
>>
>>>
>>>
>>> On Thu, Dec 8, 2016 at 5:33 PM, Yaniv Kaul <yk...@redhat.com> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Dec 7, 2016 at 3:10 PM, Gianluca Cecchi <
>>>> gianluca.cec...@gmail.com> wrote:
>>>>
>>>>> On Tue, Dec 6, 2016 at 9:38 AM, Sandro Bonazzola <sbona...@redhat.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>> any feedback on 4.1 beta we released last week?
>>>>>> Thanks,
>>>>>>
>>>>>>
>>>>>>
>>>>> I see that in storage tab the NFS domain is marked as V4, while in
>>>>> 4.0.5 is marked as V3.
>>>>> The nfs mount from host is still v3, but I think it is not related and
>>>>> instead V4 refers to functionalities of storage domain itself...
>>>>>
>>>>
>>>> Right.
>>>>
>>>>
>>>>> In this case, where to find V3 vs V4 storage domain features?
>>>>>
>>>>
>>>> http://www.ovirt.org/develop/release-management/features/sto
>>>> rage/DataCenterV4_1/ - but it may need some updates.
>>>> Y.
>>>>
>>>
>>> There is a more detailed feature page for qcow2v3 which is currently
>>> under review, here it is:
>>>
>>> https://github.com/maorlipchuk/ovirt-site/blob/cdbbfa5250af0
>>> e207ff151af67f188b3451d4c33/source/develop/release-managemen
>>> t/features/storage/qcow2v3.html.md
>>>
>>>
>>
> Hi Brett,
>
> Here is the official updated wiki which also consists REST examples:
>   http://www.ovirt.org/develop/release-management/features/sto
> rage/qcow2v3/
>
> If you have any questions, please don't hesitate to contact me or the
> users list
>
> Regards,
> Maor
>
>
>
>>
>>>>
>>>>>
>>>>>
>>>>> Gianluca
>>>>>
>>>>> ___
>>>>> 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.phx.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] web-ui issues

2016-12-04 Thread Maton, Brett
Since I upgraded to 4.0.6-3 I've been having problems with the UI

When I login the dash board presents a bunch of Operation Canceled dialogs,


! Operation canceled

Error while executing query: null



! Operation canceled

Error while executing action: A Request to the Server failed:
java.lang.reflect.InvocationTargetException


The only error I see in engine.log is

2016-12-04 11:34:07,945 INFO
[org.ovirt.engine.docs.utils.servlet.ContextSensitiveHelpMappingServlet]
(default task-1) [] Context-sensitive help is not installed. Manual
directory doesn't exist: /usr/share/ovirt-engine/manual

Eventually after closing the error dialogs the dash board is displayed.

Most of the UI tabs then work normally, however 'Virtual Machines' tab
doesn't display any information, just the progress 'dots' on the first
line, it then cycles through the null query error dialogs.

This error also appeared in the log while I was writing this:

2016-12-04 11:40:09,276 INFO
[org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
(DefaultQuartzScheduler5) [7b442cfe] Backup check started.
2016-12-04 11:40:09,278 INFO
[org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
(DefaultQuartzScheduler5) [7b442cfe] Backup check completed.
2016-12-04 11:40:09,772 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.OvfDataUpdater]
(DefaultQuartzScheduler3) [2701e060] Attempting to update VMs/Templates Ovf.
2016-12-04 11:40:09,774 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
(DefaultQuartzScheduler3) [5358e209] Before acquiring and wait lock
'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-01e5=]', sharedLocks='null'}'
2016-12-04 11:40:09,774 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
(DefaultQuartzScheduler3) [5358e209] Lock-wait acquired to object
'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-01e5=]', sharedLocks='null'}'
2016-12-04 11:40:09,775 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
(DefaultQuartzScheduler3) [5358e209] Running command:
ProcessOvfUpdateForStoragePoolCommand internal: true. Entities affected :
ID: 57fc8739-0039-00c7-0322-01e5 Type: StoragePool
2016-12-04 11:40:09,781 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
(DefaultQuartzScheduler3) [5358e209] Attempting to update VM OVFs in Data
Center 'Default'
2016-12-04 11:40:09,788 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
(DefaultQuartzScheduler3) [5358e209] Successfully updated VM OVFs in Data
Center 'Default'
2016-12-04 11:40:09,789 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
(DefaultQuartzScheduler3) [5358e209] Attempting to update template OVFs in
Data Center 'Default'
2016-12-04 11:40:09,790 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
(DefaultQuartzScheduler3) [5358e209] Successfully updated templates OVFs in
Data Center 'Default'
2016-12-04 11:40:09,790 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
(DefaultQuartzScheduler3) [5358e209] Attempting to remove unneeded
template/vm OVFs in Data Center 'Default'
2016-12-04 11:40:09,793 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
(DefaultQuartzScheduler3) [5358e209] Successfully removed unneeded
template/vm OVFs in Data Center 'Default'
2016-12-04 11:40:09,793 INFO
[org.ovirt.engine.core.bll.storage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
(DefaultQuartzScheduler3) [5358e209] Lock freed to object
'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-01e5=]', sharedLocks='null'}'



If I restart the ovirt-engine process, the UI works for a while before the
Operation Canceled dialogs start appearing again.

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


Re: [ovirt-users] web-ui issues

2016-12-04 Thread Maton, Brett
Hi Oved,

  I've upload the logs here
<https://www.sendtransfer.com/download.php?id=bd24f303b23c2cd393676f0da5c323d8=10263>


On 4 December 2016 at 12:25, Oved Ourfali <oourf...@redhat.com> wrote:

> Please attach complete logs.
> Engine, server and ui logs.
>
> Thanks,
> Oved
>
> On Dec 4, 2016 13:45, "Maton, Brett" <mat...@ltresources.co.uk> wrote:
>
>> Since I upgraded to 4.0.6-3 I've been having problems with the UI
>>
>> When I login the dash board presents a bunch of Operation Canceled
>> dialogs,
>>
>>
>> ! Operation canceled
>>
>> Error while executing query: null
>>
>>
>>
>> ! Operation canceled
>>
>> Error while executing action: A Request to the Server failed:
>> java.lang.reflect.InvocationTargetException
>>
>>
>> The only error I see in engine.log is
>>
>> 2016-12-04 11:34:07,945 INFO  [org.ovirt.engine.docs.utils.s
>> ervlet.ContextSensitiveHelpMappingServlet] (default task-1) []
>> Context-sensitive help is not installed. Manual directory doesn't exist:
>> /usr/share/ovirt-engine/manual
>>
>> Eventually after closing the error dialogs the dash board is displayed.
>>
>> Most of the UI tabs then work normally, however 'Virtual Machines' tab
>> doesn't display any information, just the progress 'dots' on the first
>> line, it then cycles through the null query error dialogs.
>>
>> This error also appeared in the log while I was writing this:
>>
>> 2016-12-04 11:40:09,276 INFO  
>> [org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
>> (DefaultQuartzScheduler5) [7b442cfe] Backup check started.
>> 2016-12-04 11:40:09,278 INFO  
>> [org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
>> (DefaultQuartzScheduler5) [7b442cfe] Backup check completed.
>> 2016-12-04 11:40:09,772 INFO  
>> [org.ovirt.engine.core.bll.storage.ovfstore.OvfDataUpdater]
>> (DefaultQuartzScheduler3) [2701e060] Attempting to update VMs/Templates Ovf.
>> 2016-12-04 11:40:09,774 INFO  [org.ovirt.engine.core.bll.sto
>> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
>> (DefaultQuartzScheduler3) [5358e209] Before acquiring and wait lock
>> 'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-01e5=<OVF_UPDATE,
>> ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
>> 2016-12-04 11:40:09,774 INFO  [org.ovirt.engine.core.bll.sto
>> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
>> (DefaultQuartzScheduler3) [5358e209] Lock-wait acquired to object
>> 'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-01e5=<OVF_UPDATE,
>> ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
>> 2016-12-04 11:40:09,775 INFO  [org.ovirt.engine.core.bll.sto
>> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
>> (DefaultQuartzScheduler3) [5358e209] Running command:
>> ProcessOvfUpdateForStoragePoolCommand internal: true. Entities affected
>> :  ID: 57fc8739-0039-00c7-0322-01e5 Type: StoragePool
>> 2016-12-04 11:40:09,781 INFO  [org.ovirt.engine.core.bll.sto
>> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
>> (DefaultQuartzScheduler3) [5358e209] Attempting to update VM OVFs in Data
>> Center 'Default'
>> 2016-12-04 11:40:09,788 INFO  [org.ovirt.engine.core.bll.sto
>> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
>> (DefaultQuartzScheduler3) [5358e209] Successfully updated VM OVFs in Data
>> Center 'Default'
>> 2016-12-04 11:40:09,789 INFO  [org.ovirt.engine.core.bll.sto
>> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
>> (DefaultQuartzScheduler3) [5358e209] Attempting to update template OVFs in
>> Data Center 'Default'
>> 2016-12-04 11:40:09,790 INFO  [org.ovirt.engine.core.bll.sto
>> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
>> (DefaultQuartzScheduler3) [5358e209] Successfully updated templates OVFs in
>> Data Center 'Default'
>> 2016-12-04 11:40:09,790 INFO  [org.ovirt.engine.core.bll.sto
>> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
>> (DefaultQuartzScheduler3) [5358e209] Attempting to remove unneeded
>> template/vm OVFs in Data Center 'Default'
>> 2016-12-04 11:40:09,793 INFO  [org.ovirt.engine.core.bll.sto
>> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
>> (DefaultQuartzScheduler3) [5358e209] Successfully removed unneeded
>> template/vm OVFs in Data Center 'Default'
>> 2016-12-04 11:40:09,793 INFO  [org.ovirt.engine.core.bll.sto
>> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
>> (DefaultQuartzScheduler3) [5358e209] Lock freed to object
>> 'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-01e5=<OVF_UPDATE,
>> ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
>>
>>
>>
>> If I restart the ovirt-engine process, the UI works for a while before
>> the Operation Canceled dialogs start appearing again.
>>
>> Any suggestions ?
>>
>> ___
>> 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] web-ui issues

2016-12-05 Thread Maton, Brett
Logs are here
<https://www.sendtransfer.com/download.php?id=7a4ccbeab673dfda8aa0c38676063b7a=11138>

On 5 December 2016 at 16:57, Alexander Wels <aw...@redhat.com> wrote:

> On Monday, December 5, 2016 4:55:19 PM EST Maton, Brett wrote:
> > Hi,
> >
> >   I tried restarting the browser and clearing the cache but I still have
> > the same problem.
> >   Symbol maps it is then
> >
>
> To install the symbol maps do the following on the ENGINE:
>
> 1. yum install ovirt-engine-webadmin-portal-debuginfo
> 2. restart engine
> 3. Reproduce the problem.
> 4. Send me the UI.log from the engine machine.
>
> > On 5 December 2016 at 16:00, Alexander Wels <aw...@redhat.com> wrote:
> > > On Sunday, December 4, 2016 5:57:50 PM EST Maton, Brett wrote:
> > > > Hi Oved,
> > > >
> > > >   I've upload the logs here
> > > >
> > > > <https://www.sendtransfer.com/download.php?id=
> > >
> > > bd24f303b23c2cd393676f0da5c323
> > >
> > > > d8=10263>
> > > >
> > > > On 4 December 2016 at 12:25, Oved Ourfali <oourf...@redhat.com>
> wrote:
> > > > > Please attach complete logs.
> > > > > Engine, server and ui logs.
> > > > >
> > > > > Thanks,
> > > > > Oved
> > > > >
> > > > > On Dec 4, 2016 13:45, "Maton, Brett" <mat...@ltresources.co.uk>
> wrote:
> > > > >> Since I upgraded to 4.0.6-3 I've been having problems with the UI
> > > > >>
> > > > >> When I login the dash board presents a bunch of Operation Canceled
> > > > >> dialogs,
> > > > >>
> > > > >>
> > > > >> ! Operation canceled
> > > > >>
> > > > >> Error while executing query: null
> > > > >>
> > > > >>
> > > > >>
> > > > >> ! Operation canceled
> > > > >>
> > > > >> Error while executing action: A Request to the Server failed:
> > > > >> java.lang.reflect.InvocationTargetException
> > > > >>
> > > > >>
> > > > >> The only error I see in engine.log is
> > > > >>
> > > > >> 2016-12-04 11:34:07,945 INFO  [org.ovirt.engine.docs.utils.s
> > > > >> ervlet.ContextSensitiveHelpMappingServlet] (default task-1) []
> > > > >> Context-sensitive help is not installed. Manual directory doesn't
> > >
> > > exist:
> > > > >> /usr/share/ovirt-engine/manual
> > > > >>
> > > > >> Eventually after closing the error dialogs the dash board is
> > >
> > > displayed.
> > >
> > > > >> Most of the UI tabs then work normally, however 'Virtual Machines'
> > > > >> tab
> > > > >> doesn't display any information, just the progress 'dots' on the
> > > > >> first
> > > > >> line, it then cycles through the null query error dialogs.
> > > > >>
> > > > >> This error also appeared in the log while I was writing this:
> > > > >>
> > > > >> 2016-12-04 11:40:09,276 INFO
> > > > >> [org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
> > > > >> (DefaultQuartzScheduler5) [7b442cfe] Backup check started.
> > > > >> 2016-12-04 11:40:09,278 INFO
> > > > >> [org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
> > > > >> (DefaultQuartzScheduler5) [7b442cfe] Backup check completed.
> > > > >> 2016-12-04 11:40:09,772 INFO
> > > > >> [org.ovirt.engine.core.bll.storage.ovfstore.OvfDataUpdater]
> > > > >> (DefaultQuartzScheduler3) [2701e060] Attempting to update
> > >
> > > VMs/Templates
> > >
> > > > >> Ovf. 2016-12-04 11:40:09,774 INFO  [org.ovirt.engine.core.bll.sto
> > > > >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> > > > >> (DefaultQuartzScheduler3) [5358e209] Before acquiring and wait
> lock
> > > > >> 'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-
> > >
> > > 01e5= > >
> > > > >> PDATE, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
> > > > >> 2016-12-04 11:40:09,774 INFO  [org.ovirt.engine.core.bll.sto
> > > > >> 

Re: [ovirt-users] web-ui issues

2016-12-05 Thread Maton, Brett
Hi,

  I tried restarting the browser and clearing the cache but I still have
the same problem.
  Symbol maps it is then

On 5 December 2016 at 16:00, Alexander Wels <aw...@redhat.com> wrote:

> On Sunday, December 4, 2016 5:57:50 PM EST Maton, Brett wrote:
> > Hi Oved,
> >
> >   I've upload the logs here
> > <https://www.sendtransfer.com/download.php?id=
> bd24f303b23c2cd393676f0da5c323
> > d8=10263>
> > On 4 December 2016 at 12:25, Oved Ourfali <oourf...@redhat.com> wrote:
> > > Please attach complete logs.
> > > Engine, server and ui logs.
> > >
> > > Thanks,
> > > Oved
> > >
> > > On Dec 4, 2016 13:45, "Maton, Brett" <mat...@ltresources.co.uk> wrote:
> > >> Since I upgraded to 4.0.6-3 I've been having problems with the UI
> > >>
> > >> When I login the dash board presents a bunch of Operation Canceled
> > >> dialogs,
> > >>
> > >>
> > >> ! Operation canceled
> > >>
> > >> Error while executing query: null
> > >>
> > >>
> > >>
> > >> ! Operation canceled
> > >>
> > >> Error while executing action: A Request to the Server failed:
> > >> java.lang.reflect.InvocationTargetException
> > >>
> > >>
> > >> The only error I see in engine.log is
> > >>
> > >> 2016-12-04 11:34:07,945 INFO  [org.ovirt.engine.docs.utils.s
> > >> ervlet.ContextSensitiveHelpMappingServlet] (default task-1) []
> > >> Context-sensitive help is not installed. Manual directory doesn't
> exist:
> > >> /usr/share/ovirt-engine/manual
> > >>
> > >> Eventually after closing the error dialogs the dash board is
> displayed.
> > >>
> > >> Most of the UI tabs then work normally, however 'Virtual Machines' tab
> > >> doesn't display any information, just the progress 'dots' on the first
> > >> line, it then cycles through the null query error dialogs.
> > >>
> > >> This error also appeared in the log while I was writing this:
> > >>
> > >> 2016-12-04 11:40:09,276 INFO
> > >> [org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
> > >> (DefaultQuartzScheduler5) [7b442cfe] Backup check started.
> > >> 2016-12-04 11:40:09,278 INFO
> > >> [org.ovirt.engine.core.bll.EngineBackupAwarenessManager]
> > >> (DefaultQuartzScheduler5) [7b442cfe] Backup check completed.
> > >> 2016-12-04 11:40:09,772 INFO
> > >> [org.ovirt.engine.core.bll.storage.ovfstore.OvfDataUpdater]
> > >> (DefaultQuartzScheduler3) [2701e060] Attempting to update
> VMs/Templates
> > >> Ovf. 2016-12-04 11:40:09,774 INFO  [org.ovirt.engine.core.bll.sto
> > >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> > >> (DefaultQuartzScheduler3) [5358e209] Before acquiring and wait lock
> > >> 'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-
> 01e5= > >> PDATE, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
> > >> 2016-12-04 11:40:09,774 INFO  [org.ovirt.engine.core.bll.sto
> > >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> > >> (DefaultQuartzScheduler3) [5358e209] Lock-wait acquired to object
> > >> 'EngineLock:{exclusiveLocks='[57fc8739-0039-00c7-0322-
> 01e5= > >> PDATE, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
> > >> 2016-12-04 11:40:09,775 INFO  [org.ovirt.engine.core.bll.sto
> > >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> > >> (DefaultQuartzScheduler3) [5358e209] Running command:
> > >> ProcessOvfUpdateForStoragePoolCommand internal: true. Entities
> affected
> > >>
> > >> :  ID: 57fc8739-0039-00c7-0322-01e5 Type: StoragePool
> > >>
> > >> 2016-12-04 11:40:09,781 INFO  [org.ovirt.engine.core.bll.sto
> > >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> > >> (DefaultQuartzScheduler3) [5358e209] Attempting to update VM OVFs in
> Data
> > >> Center 'Default'
> > >> 2016-12-04 11:40:09,788 INFO  [org.ovirt.engine.core.bll.sto
> > >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> > >> (DefaultQuartzScheduler3) [5358e209] Successfully updated VM OVFs in
> Data
> > >> Center 'Default'
> > >> 2016-12-04 11:40:09,789 INFO  [org.ovirt.engine.core.bll.sto
> > >> rage.ovfstore.ProcessOvfUpdateForStoragePoolCommand]
> &

Re: [ovirt-users] web-ui issues

2016-12-06 Thread Maton, Brett
Ok thanks.

  I've restarted the ui a few times today, still nothing ( at all ) in
ui.log

  The errors do look like 'iffy' queries, no errors in PostgreSQL logs
though.

On 6 December 2016 at 13:28, Alexander Wels <aw...@redhat.com> wrote:

> On Monday, December 5, 2016 8:49:20 PM EST Maton, Brett wrote:
> > Sure here you go:
> >
> > [image: Inline images 1]
> > Close the dialogs and the dashboard fades in, Virtual Machines tab
> doesn't
> > (or I get fed up of closing dialogs before it does)
> >
> > [image: Inline images 2]
> >
>
> Interesting, those aren't actually UI failures, those appear to be failures
> from backend requests. As in, get me some data, and the query fails for
> some
> reason, there should be something in the engine log. Let me dig up the ones
> you posted again and take a closer look.
>
> > On 5 December 2016 at 20:11, Alexander Wels <aw...@redhat.com> wrote:
> > > On Monday, December 5, 2016 7:11:52 PM EST Maton, Brett wrote:
> > > > Yup those are the logs from the hosted engine,
> > > >
> > > >   ui.log is still empty, all very very odd...
> > >
> > > Can you send me a screenshot of what you are seeing? As it makes no
> sense
> > > that
> > > the UI.log is empty, since the exception handler tries to write to the
> > > backend
> > > UI log.
> > >
> > > > On 5 December 2016 at 18:12, Alexander Wels <aw...@redhat.com>
> wrote:
> > > > > On Monday, December 5, 2016 5:41:59 PM EST Maton, Brett wrote:
> > > > > > Logs are here
> > > > > > <https://www.sendtransfer.com/download.php?id=
> > > > >
> > > > > 7a4ccbeab673dfda8aa0c38676063b
> > > > >
> > > > > > 7a=11138>
> > > > >
> > > > > Are you sure those are the correct logs? The UI.log is empty and
> the
> > >
> > > other
> > >
> > > > > logs don't have much of anything in them.
> > > > >
> > > > > > On 5 December 2016 at 16:57, Alexander Wels <aw...@redhat.com>
> > >
> > > wrote:
> > > > > > > On Monday, December 5, 2016 4:55:19 PM EST Maton, Brett wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > >   I tried restarting the browser and clearing the cache but I
> > >
> > > still
> > >
> > > > > have
> > > > >
> > > > > > > > the same problem.
> > > > > > > >
> > > > > > > >   Symbol maps it is then
> > > > > > >
> > > > > > > To install the symbol maps do the following on the ENGINE:
> > > > > > >
> > > > > > > 1. yum install ovirt-engine-webadmin-portal-debuginfo
> > > > > > > 2. restart engine
> > > > > > > 3. Reproduce the problem.
> > > > > > > 4. Send me the UI.log from the engine machine.
> > > > > > >
> > > > > > > > On 5 December 2016 at 16:00, Alexander Wels <
> aw...@redhat.com>
> > > > >
> > > > > wrote:
> > > > > > > > > On Sunday, December 4, 2016 5:57:50 PM EST Maton, Brett
> wrote:
> > > > > > > > > > Hi Oved,
> > > > > > > > > >
> > > > > > > > > >   I've upload the logs here
> > > > > > > > > >
> > > > > > > > > > <https://www.sendtransfer.com/download.php?id=
> > > > > > > > >
> > > > > > > > > bd24f303b23c2cd393676f0da5c323
> > > > > > > > >
> > > > > > > > > > d8=10263>
> > > > > > > > > >
> > > > > > > > > > On 4 December 2016 at 12:25, Oved Ourfali <
> > >
> > > oourf...@redhat.com>
> > >
> > > > > > > wrote:
> > > > > > > > > > > Please attach complete logs.
> > > > > > > > > > > Engine, server and ui logs.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > Oved
> > > > > > > > > > >
> > > > > > > > > > >

Re: [ovirt-users] VM Disks Locked

2017-01-05 Thread Maton, Brett
Hopefully someone else will confirm or scream don't do it, before you try
this.

In the past I've managed to resolve hung tasks and the like by running
engine-setup on the engine host

On 5 January 2017 at 14:35, Clint Boggio  wrote:

> Good day ovirt family.
>
>
>
> I’m having trouble with a VM showing that the disk is locked after trying
> to clone that VM to a new VM. The source machine was powered off when the
> clone was initiated. The source and destination disks both show to be
> locked and are currently un-usable. This situation was brought on around
> December 27 2016 and persists.
>
>
>
> I have read some of the other threads  and using the information therein,
> have not been able to alleviate the condition. I have not tried to alter
> the database though, which I know is one of  the solutions to this problem.
> I am not confident enough in my diagnosis of the condition to alter the
> database at this time.
>
>
>
> I have tried moving SPM to another node, and I have restarted ovirt-engine
> on the management server.
>
>
>
> My setup is:
>
>
>
>1. Dedicated ovirt-engine version 3.6 on CentOS 7
>2. 6 hosts running version 3.6 on CentOS 7
>
>
>
> Any help to resolve this would be appreciated.
>
> ___
> 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] Move NFS hosted storage

2017-01-05 Thread Maton, Brett
oVirt Engine Version: 4.2.0-0.0.master.20170103170149.git03816f2.el7.centos

I installed hosted-engine on an NFS share on 'NAS a'.

I'd like to move it to 'NAS b'  is there an easy way to do this ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Move NFS hosted storage

2017-01-09 Thread Maton, Brett
Thanks,

  I'll give that a go

Brett

On 9 January 2017 at 17:44, Simone Tiraboschi <stira...@redhat.com> wrote:

>
>
> On Thu, Jan 5, 2017 at 4:31 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>>
>> oVirt Engine Version: 4.2.0-0.0.master.2017010317014
>> 9.git03816f2.el7.centos
>>
>> I installed hosted-engine on an NFS share on 'NAS a'.
>>
>> I'd like to move it to 'NAS b'  is there an easy way to do this ?
>>
>
> Migrating an hosted-engine env from one storage to another is a new
> feature we are going to introduce with 4.1.
>
> Basically you have to follow this guide:
> http://www.ovirt.org/develop/developer-guide/engine/
> migrate-to-hosted-engine/
>
> and when you are going to restore the DB backup with engine-backup you
> have also to add two new options (--he-remove-storage-vm,
> --he-remove-hosts) to filter out any reference to the previous hosted
> engine env in order to let the auto import procedure for hosted engine to
> trigger again.
> Unfortunately there is currently an open bug on that and the auto import
> procedure could fail after that; currently the safest option is to follow
> this workaround:
> https://bugzilla.redhat.com/show_bug.cgi?id=1409112#c12
>
>
>
>>
>> ___
>> 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] WebUI error with nightly 4.0.7

2016-12-19 Thread Maton, Brett
Sounds very much like the issue that was recently fixed in 4.0.6

On 19 December 2016 at 17:02, Alessandro De Salvo <
alessandro.desa...@roma1.infn.it> wrote:

> Hi,
> since a few days, after the upgrade my dev machine to the nightly repo
> of 4.0.7, I'm getting these kind of errors from the WebUI after a few
> minutes the ovirt-engine is up:
>
> Error while executing action: A Request to the Server failed:
> java.lang.reflect.InvocationTargetException
>
> The errors go away if I restart the engine service, but after about 15
> minutes they show up again. These errors are very annoying as I cannot
> use the UI unless I restart the engine.
> When I use my Mac I also get other errors like this:
>
> ERROR: Possible problem with your *.gwt.xml module file. The compile
> time user.agent (gecko1_8) does not match the runtime user.agent value
> (safari). Expect more errors.
>
> Does anyone knows if those errors will be corrected in a future release?
> Thanks,
>
> Alessandro
>
> ___
> 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] NAS for oVirt

2016-12-23 Thread Maton, Brett
I've got a similar setup, FC Compellent for primary storage and a Synology
Rack NAS for testing.

Synology with 4 bonded ports is plenty fast enough for my needs.

On 23 December 2016 at 13:20, Andrea Ghelardi 
wrote:

> Hello Alex,
>
> Specs you provided are a little bit vague. You don’t specify storage space.
>
> Our main storage here is a SAN Compellent, but we do have also Synology
> and we are quite happy with it
>
> You can start searching this or comparable product
> https://www.synology.com/en-global/products/RS2416+ for your production
>
>
>
> Cheers
>
> Andrea
>
>
>
>
>
> *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
> Behalf Of *rightkicktech.gmail.com
> *Sent:* Friday, December 23, 2016 1:50 PM
> *To:* users@ovirt.org
> *Subject:* [ovirt-users] NAS for oVirt
>
>
>
> Hi all,
>
> I am thinking to setup an environment with oVirt and centralized storage
> using a NAS that supports NFS and iSCSI.
>
> The setup will be used to host approx 20 VMs. The VMs will be running
> critical services and not for testing. I have seen several from QNAP,
> iXsystems (freenas mini), ...
> What NAS would you recommend for this setup?
>
> Thanx,
> Alex
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
> ___
> 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] Fwd: [Call for feedback] anybody gave 4.1 beta a try?

2016-12-19 Thread Maton, Brett
I'll give that ago this evening, although that might be related to trying
to deploy to the host multiple times

On 19 December 2016 at 09:54, Simone Tiraboschi <stira...@redhat.com> wrote:

>
>
> On Mon, Dec 19, 2016 at 10:11 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Log from the last deploy attempt attached.
>>
>
> 2016-12-18 12:52:05 DEBUG otopi.plugins.ovirt_host_mgmt.packages.update
> update.verbose:94 Yum: There are unfinished transactions remaining. You
> might consider running yum-complete-transaction, or
> "yum-complete-transaction --cleanup-only" and "yum history redo last",
> first to finish them. If those don't work you'll have to try
> removing/installing packages by hand (maybe package-cleanup can help).
>
> It seams that you have unfinished yum transactions on your host; can you
> please check for that and then try redeploying the host?
>
>
>>
>> On 19 December 2016 at 08:30, Simone Tiraboschi <stira...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> On Sat, Dec 17, 2016 at 7:17 PM, Maton, Brett <mat...@ltresources.co.uk>
>>> wrote:
>>>
>>>> I had a mac address conflict so reinstalled ( from scratch ) 4.1 this
>>>> morning, CPU load issue in UI was still there.
>>>>
>>>
>>> We already have an open bug about this: https://bugzilla.redhat.
>>> com/show_bug.cgi?id=1390675
>>> Thanks for the report.
>>>
>>>
>>>>
>>>> I can't deploy additional hosts now though due to SSH errors.
>>>>
>>>
>>> Could you please attach host-deploy logs?
>>>
>>>
>>>>
>>>> Experimenting, I updated the hosted engine this afternoon and the CPU
>>>> load issue seems be have either been fixed or resolved itself.
>>>>
>>>> However, SSH errors deploying additional hosts persists ( I had no
>>>> problem with the previous install on Friday ).
>>>>
>>>> enging.log snippet:
>>>> 2016-12-17 17:09:54,764Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
>>>> (org.ovirt.thread.pool-6-thread-26) [b04a9eaf-65b5-4a80-a254-0b29a8fea573]
>>>> SSH error running command r...@host2.example.com:'umask 0077;
>>>> MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)";
>>>> trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" >
>>>> /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&
>>>> "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine
>>>> DIALOG/customization=bool:True': Command returned failure code 1
>>>> during SSH session 'r...@host2.example.com'
>>>> 2016-12-17 17:09:54,765Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog]
>>>> (org.ovirt.thread.pool-6-thread-26) [b04a9eaf-65b5-4a80-a254-0b29a8fea573]
>>>> Exception: java.io.IOException: Command returned failure code 1 during SSH
>>>> session 'r...@host2.example.com'
>>>> at 
>>>> org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:503)
>>>> [uutils.jar:]
>>>> at 
>>>> org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317)
>>>> [uutils.jar:]
>>>> at 
>>>> org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(VdsDeployBasae.java:563)
>>>> [bll.jar:]
>>>> at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma
>>>> nd.installHost(InstallVdsInternalCommand.java:166) [bll.jar:]
>>>> at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalComma
>>>> nd.executeCommand(InstallVdsInternalCommand.java:87) [bll.jar:]
>>>> at 
>>>> org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1249)
>>>> [bll.jar:]
>>>> at org.ovirt.engine.core.bll.CommandBase.executeActionInTransac
>>>> tionScope(CommandBase.java:1389) [bll.jar:]
>>>> at 
>>>> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2053)
>>>> [bll.jar:]
>>>> at org.ovirt.engine.core.utils.transaction.TransactionSupport.e
>>>> xecuteInSuppressed(TransactionSupport.java:164) [utils.jar:]
>>>> at org.ovirt.engine.core.utils.transaction.TransactionSupport.e
>>>> xecuteInScope(TransactionSupport.java:103) [utils.jar:]
>>>> at org.ovirt.

Re: [ovirt-users] web-ui issues

2016-12-07 Thread Maton, Brett
Cheers Alex,

  The bug is a PITA, but at least an engine restart makes the UI usable if
only for awhile.

  Looking forward to the next 4.0.6 release :)

On 7 December 2016 at 15:36, Alexander Wels <aw...@redhat.com> wrote:

> On Tuesday, December 6, 2016 1:42:33 PM EST Maton, Brett wrote:
> > Ok thanks.
> >
> >   I've restarted the ui a few times today, still nothing ( at all ) in
> > ui.log
> >
> >   The errors do look like 'iffy' queries, no errors in PostgreSQL logs
> > though.
> >
>
> Hi Brett,
>
> Some my wonderful team mates worked out the problem [1], apparently it is a
> bug in 4.0.6-3 that should be fixed in the next release.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1402401
>
> > On 6 December 2016 at 13:28, Alexander Wels <aw...@redhat.com> wrote:
> > > On Monday, December 5, 2016 8:49:20 PM EST Maton, Brett wrote:
> > > > Sure here you go:
> > > >
> > > > [image: Inline images 1]
> > > > Close the dialogs and the dashboard fades in, Virtual Machines tab
> > >
> > > doesn't
> > >
> > > > (or I get fed up of closing dialogs before it does)
> > > >
> > > > [image: Inline images 2]
> > >
> > > Interesting, those aren't actually UI failures, those appear to be
> > > failures
> > > from backend requests. As in, get me some data, and the query fails for
> > > some
> > > reason, there should be something in the engine log. Let me dig up the
> > > ones
> > > you posted again and take a closer look.
> > >
> > > > On 5 December 2016 at 20:11, Alexander Wels <aw...@redhat.com>
> wrote:
> > > > > On Monday, December 5, 2016 7:11:52 PM EST Maton, Brett wrote:
> > > > > > Yup those are the logs from the hosted engine,
> > > > > >
> > > > > >   ui.log is still empty, all very very odd...
> > > > >
> > > > > Can you send me a screenshot of what you are seeing? As it makes no
> > >
> > > sense
> > >
> > > > > that
> > > > > the UI.log is empty, since the exception handler tries to write to
> the
> > > > > backend
> > > > > UI log.
> > > > >
> > > > > > On 5 December 2016 at 18:12, Alexander Wels <aw...@redhat.com>
> > >
> > > wrote:
> > > > > > > On Monday, December 5, 2016 5:41:59 PM EST Maton, Brett wrote:
> > > > > > > > Logs are here
> > > > > > > > <https://www.sendtransfer.com/download.php?id=
> > > > > > >
> > > > > > > 7a4ccbeab673dfda8aa0c38676063b
> > > > > > >
> > > > > > > > 7a=11138>
> > > > > > >
> > > > > > > Are you sure those are the correct logs? The UI.log is empty
> and
> > >
> > > the
> > >
> > > > > other
> > > > >
> > > > > > > logs don't have much of anything in them.
> > > > > > >
> > > > > > > > On 5 December 2016 at 16:57, Alexander Wels <
> aw...@redhat.com>
> > > > >
> > > > > wrote:
> > > > > > > > > On Monday, December 5, 2016 4:55:19 PM EST Maton, Brett
> wrote:
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > >   I tried restarting the browser and clearing the cache
> but
> > > > > > > > > >   I
> > > > >
> > > > > still
> > > > >
> > > > > > > have
> > > > > > >
> > > > > > > > > > the same problem.
> > > > > > > > > >
> > > > > > > > > >   Symbol maps it is then
> > > > > > > > >
> > > > > > > > > To install the symbol maps do the following on the ENGINE:
> > > > > > > > >
> > > > > > > > > 1. yum install ovirt-engine-webadmin-portal-debuginfo
> > > > > > > > > 2. restart engine
> > > > > > > > > 3. Reproduce the problem.
> > > > > > > > > 4. Send me the UI.log from the engine machine.
> > > > > > > > >
> > > > > > > > > > On 5 Dec

Re: [ovirt-users] Automatic restart of VM on another host if a host goes down

2017-03-27 Thread Maton, Brett
Which iDrac card do your servers have and which agent are you using ?

On 27 March 2017 at 03:05, Anantha Raghava 
wrote:

> Hi,
>
> I tried to configure the power management. But, the agent (idrac) is
> failing. It is unable to contact the idrac management interface.
>
> Any document that explains the process you can guide me to?
>
> --
>
> Thanks & Regards,
>
>
> Anantha Raghava Do not print this e-mail unless required. Save Paper &
> trees.
> On 27/03/17 1:57 AM, Luca 'remix_tj' Lorenzetto wrote:
>
>
>
> Il 26 mar 2017 6:34 PM, "Anantha Raghava" 
> ha scritto:
>
> Hello,
>
> We are now using oVirt 4.1 in our lab with 2 hosts and a separate server
> for engine. Both hosts (Dell R710 Servers) are in a single cluster and load
> balancing & migrations work perfectly.
>
> However, if a physical server goes down, the VMs running on that server,
> gets paused ans status goes changes to "?". They do not move or restart on
> the another host automatically. We have to manually intervene, stop the
> VMs, restart them on another server.
>
> Is there a way in which this migration can be automated?
>
>
> Hello,
>
> Did you configure power management?
>
> HA works only if power management is configured and vms are set as highly
> available.
>
> Luca
>
>
>
> ___
> 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] Staring cluster Hosted Engine stuck - failed liveliness check

2017-03-04 Thread Maton, Brett
I'm not sure why it's asking for vdsm-client >= 4.18.6

I've got the following vdsm rpms installed:

vdsm-4.19.4-1.el7.centos.x86_64
vdsm-api-4.19.4-1.el7.centos.noarch
vdsm-cli-4.19.4-1.el7.centos.noarch
vdsm-hook-vmfex-dev-4.19.4-1.el7.centos.noarch
vdsm-jsonrpc-4.19.4-1.el7.centos.noarch
vdsm-python-4.19.4-1.el7.centos.noarch
vdsm-xmlrpc-4.19.4-1.el7.centos.noarch
vdsm-yajsonrpc-4.19.4-1.el7.centos.noarch


On 3 March 2017 at 15:26, Maton, Brett <mat...@ltresources.co.uk> wrote:

> Ok thanks, I'll give that another go shortly
>
> On 3 March 2017 at 15:24, Yaniv Kaul <yk...@redhat.com> wrote:
>
>>
>>
>> On Fri, Mar 3, 2017 at 5:21 PM Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>>> Hi Simone,
>>>
>>>   I just tried to install the RPM but got a dependency issue:
>>>
>>> Error: Package: ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch
>>> (/ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch)
>>>Requires: vdsm-client >= 4.18.6
>>>
>>> I haven't tried to install vdsm-client as I'm not sure what impact that
>>> will have on the other pacakges
>>>
>>
>> vdsm-client is our 'next-gen' vdsClient - the CLI client to VDSM. You can
>> and should install it in 4.1.
>> Y.
>>
>>
>>>
>>> On 3 March 2017 at 10:59, Maton, Brett <mat...@ltresources.co.uk> wrote:
>>>
>>> Thanks Simone,
>>>
>>>   I'll give that a go this evening, I'm remote at the moment.
>>>
>>> Regards,
>>> Brett
>>>
>>> On 3 March 2017 at 10:48, Simone Tiraboschi <stira...@redhat.com> wrote:
>>>
>>>
>>>
>>> On Fri, Mar 3, 2017 at 11:35 AM, Maton, Brett <mat...@ltresources.co.uk>
>>> wrote:
>>>
>>> VM Up not responding - Yes that seems to be the case.
>>>
>>> I did actually try hosted-engine --console
>>>
>>> hosted-engine --console
>>> The engine VM is running on this host
>>> Connected to domain HostedEngine
>>> Escape character is ^]
>>> error: internal error: cannot find character device 
>>>
>>>
>>> This was the result of https://bugzilla.redhat.com
>>> /show_bug.cgi?id=1364132
>>>
>>> Could you please install this (it's from 4.1.1 RC)
>>> http://resources.ovirt.org/pub/ovirt-4.1-pre/rpm/el7/noarch/
>>> ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch.rpm to get it fixed.
>>> You need then to run:
>>> systemctl restart ovirt-ha-agent
>>> hosted-engine --vm-shutdown
>>> # wait for it
>>> hosted-engine --vm-start
>>>
>>> At this point you have should have the serial console.
>>>
>>>
>>>
>>>
>>>
>>> On 3 March 2017 at 08:39, Simone Tiraboschi <stira...@redhat.com> wrote:
>>>
>>>
>>>
>>> On Thu, Mar 2, 2017 at 11:42 AM, Maton, Brett <mat...@ltresources.co.uk>
>>> wrote:
>>>
>>> What is the correct way to shut down a cluster ?
>>>
>>> I shutdown my 4.1 cluster following this guide
>>> https://github.com/rharmonson/richtech/wiki/OSVDC-Series:-oV
>>> irt-3.6-Cluster-Shutdown-and-Startup as the NAS hosting the nfs mounts
>>> needed rebooting after updates.
>>>
>>> ( I realise the guide is for 3.6, surely not that different ? )
>>>
>>>
>>> It seams fine.
>>>
>>>
>>>
>>> However hosted engine isn't starting now.
>>>
>>>   failed liveliness check
>>>
>>>
>>> So it seams that the engine VM is up but the engine is not responding.
>>>
>>>
>>>
>>> I've tried connecting from the host starting the HE vm to see what's
>>> going on with:
>>>
>>> virsh console HostedEngine
>>>
>>>I don't know what authentication it requires, tried engine admin
>>> details and root os...
>>>
>>>
>>> hosted-engine --console
>>>
>>>
>>>
>>> hosted-engine --add-console-password
>>> Enter password:
>>> no graphics devices configured
>>>
>>> unsurprisingly, remote-viewer vnc://localhost:5900
>>> fails with Unable to connect to the graphic server vnc://localhost:5900
>>>
>>> What can I do next ?
>>>
>>>
>>> Check the status of the engine.
>>>
>>>
>>>
>>> ___
>>> 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] Staring cluster Hosted Engine stuck - failed liveliness check

2017-03-04 Thread Maton, Brett
Doh!

  I assumed vdsm-client was part of vdsm-cli, installing vdsm-client from
the 4.1.0 release repo worked just fine.

regards,
Brett

On 4 March 2017 at 11:54, Sandro Bonazzola <sbona...@redhat.com> wrote:

>
>
> Il 04/Mar/2017 12:21, "Maton, Brett" <mat...@ltresources.co.uk> ha
> scritto:
>
> I'm not sure why it's asking for vdsm-client >= 4.18.6
>
> I've got the following vdsm rpms installed:
>
> vdsm-4.19.4-1.el7.centos.x86_64
> vdsm-api-4.19.4-1.el7.centos.noarch
> vdsm-cli-4.19.4-1.el7.centos.noarch
> vdsm-hook-vmfex-dev-4.19.4-1.el7.centos.noarch
> vdsm-jsonrpc-4.19.4-1.el7.centos.noarch
> vdsm-python-4.19.4-1.el7.centos.noarch
> vdsm-xmlrpc-4.19.4-1.el7.centos.noarch
> vdsm-yajsonrpc-4.19.4-1.el7.centos.noarch
>
>
>
> Still missing vdsm-client in the list.
>
>
>
>
> On 3 March 2017 at 15:26, Maton, Brett <mat...@ltresources.co.uk> wrote:
>
>> Ok thanks, I'll give that another go shortly
>>
>> On 3 March 2017 at 15:24, Yaniv Kaul <yk...@redhat.com> wrote:
>>
>>>
>>>
>>> On Fri, Mar 3, 2017 at 5:21 PM Maton, Brett <mat...@ltresources.co.uk>
>>> wrote:
>>>
>>>> Hi Simone,
>>>>
>>>>   I just tried to install the RPM but got a dependency issue:
>>>>
>>>> Error: Package: ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch
>>>> (/ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch)
>>>>Requires: vdsm-client >= 4.18.6
>>>>
>>>> I haven't tried to install vdsm-client as I'm not sure what impact that
>>>> will have on the other pacakges
>>>>
>>>
>>> vdsm-client is our 'next-gen' vdsClient - the CLI client to VDSM. You
>>> can and should install it in 4.1.
>>> Y.
>>>
>>>
>>>>
>>>> On 3 March 2017 at 10:59, Maton, Brett <mat...@ltresources.co.uk>
>>>> wrote:
>>>>
>>>> Thanks Simone,
>>>>
>>>>   I'll give that a go this evening, I'm remote at the moment.
>>>>
>>>> Regards,
>>>> Brett
>>>>
>>>> On 3 March 2017 at 10:48, Simone Tiraboschi <stira...@redhat.com>
>>>> wrote:
>>>>
>>>>
>>>>
>>>> On Fri, Mar 3, 2017 at 11:35 AM, Maton, Brett <mat...@ltresources.co.uk
>>>> > wrote:
>>>>
>>>> VM Up not responding - Yes that seems to be the case.
>>>>
>>>> I did actually try hosted-engine --console
>>>>
>>>> hosted-engine --console
>>>> The engine VM is running on this host
>>>> Connected to domain HostedEngine
>>>> Escape character is ^]
>>>> error: internal error: cannot find character device 
>>>>
>>>>
>>>> This was the result of https://bugzilla.redhat.com
>>>> /show_bug.cgi?id=1364132
>>>>
>>>> Could you please install this (it's from 4.1.1 RC)
>>>> http://resources.ovirt.org/pub/ovirt-4.1-pre/rpm/el7/noarch/
>>>> ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch.rpm to get it fixed.
>>>> You need then to run:
>>>> systemctl restart ovirt-ha-agent
>>>> hosted-engine --vm-shutdown
>>>> # wait for it
>>>> hosted-engine --vm-start
>>>>
>>>> At this point you have should have the serial console.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 3 March 2017 at 08:39, Simone Tiraboschi <stira...@redhat.com>
>>>> wrote:
>>>>
>>>>
>>>>
>>>> On Thu, Mar 2, 2017 at 11:42 AM, Maton, Brett <mat...@ltresources.co.uk
>>>> > wrote:
>>>>
>>>> What is the correct way to shut down a cluster ?
>>>>
>>>> I shutdown my 4.1 cluster following this guide
>>>> https://github.com/rharmonson/richtech/wiki/OSVDC-Series:-oV
>>>> irt-3.6-Cluster-Shutdown-and-Startup as the NAS hosting the nfs mounts
>>>> needed rebooting after updates.
>>>>
>>>> ( I realise the guide is for 3.6, surely not that different ? )
>>>>
>>>>
>>>> It seams fine.
>>>>
>>>>
>>>>
>>>> However hosted engine isn't starting now.
>>>>
>>>>   failed liveliness check
>>>>
>>>>
>>>> So it seams that the engine VM is up but the engine is not responding.
>>>>
>>>>
>>>>
>>>> I've tried connecting from the host starting the HE vm to see what's
>>>> going on with:
>>>>
>>>> virsh console HostedEngine
>>>>
>>>>I don't know what authentication it requires, tried engine admin
>>>> details and root os...
>>>>
>>>>
>>>> hosted-engine --console
>>>>
>>>>
>>>>
>>>> hosted-engine --add-console-password
>>>> Enter password:
>>>> no graphics devices configured
>>>>
>>>> unsurprisingly, remote-viewer vnc://localhost:5900
>>>> fails with Unable to connect to the graphic server vnc://localhost:5900
>>>>
>>>> What can I do next ?
>>>>
>>>>
>>>> Check the status of the engine.
>>>>
>>>>
>>>>
>>>> ___
>>>> 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 mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt backup and VM pauses.

2017-03-08 Thread Maton, Brett
I noticed similar behavior, I think if the memory state isn't backed-up
then the machines won't be paused.
Not seen an option in script to 'flip' the flag, but then again I haven't
looked at the script in enough detail to see what needs changing.

On 9 March 2017 at 06:11, Misak Khachatryan  wrote:

> Hello,
>
> I'm using oVirt and recently added backup functionality using this script:
>
> https://github.com/wefixit-AT/oVirtBackup
>
> This script runs every day from cron, but i noticed very bad behavior
> with the machines. Script on some stage pauses them, and it leads to
> problems. I have NTP stratum 2 server as a virtual machine, which I
> added to pool.ntp.org. When machine pauses, it loses time sync for a
> while and NTP.ORG monitoring system removes this machine from pool.
> And it take about a 24 hours to get good score to be included int the
> pool again, then next backup time arrives, and so on.
>
> So my question is - any suggestion to prevent this behavior or any
> other backup solution without pausing available?
>
> Best regards,
> Misak Khachatryan
> ___
> 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] oVirt VM backup and restore

2017-03-09 Thread Maton, Brett
My 2cents

  I think it would be very handy to be able to choose to save the memory
state or not.

  As for anything requiring the memory state depends very much on what your
recovery procedure is.

  Gianluca, PostgreSQL pg_start / end backup works very well.  I can't
remember exactly how it works but it's something along the lines of
stopping (disk) writes to the database and storing change in WAL (redo in
oracle speak) until the backup is complete then applying any changes to the
database files on disk.
  Basically means that the database files won't change during the backup
process.

On 9 March 2017 at 10:57, Gianluca Cecchi  wrote:

> On Thu, Mar 9, 2017 at 11:39 AM, Nathanaël Blanchet 
> wrote:
>
>>
>>
>> Le 09/03/2017 à 10:25, Gianluca Cecchi a écrit :
>>
>> On Wed, Mar 8, 2017 at 6:05 PM, Gianluca Cecchi <
>> gianluca.cec...@gmail.com> wrote:
>>
>>>
>>>
>>> NOTE: during the snapshot creation I see in web admin console the VM in
>>> paused state and also not responsive in both console and ssh session.
>>> After a couple of seconds it comes back and as a confirmation I see this
>>> in its messages:
>>>
>>> Mar  8 17:38:57 T-ORACLE73 chronyd[616]: System clock wrong by 19.077230
>>> seconds, adjustment started
>>>
>>> Is this expected?
>>>
>>>
>>>
>>>
>> Possibly the default changed at some point in time, so that now it saves
>> memory and so this implies pause of VM
>>
>> Saving memory is essential in some apàplications like DB, so you won't
>> bypass vm pauses for such a stuff
>>
>>
> Yes, indeed, the important thing is to have an option so that you can set
> it True or False, depending on the VM you are saving, the application that
> is running isnide it and the way you want to do backup of the application.
> Nevertheless, RDBMS and also other applications often have some mechanism
> to be "frozen in a consistent state" so that you can save what you have on
> disk without need to save memory to have a consistent backup.
> Oracle for example has functionality to be put in "backup mode" where you
> issue "begin backup" before the snapshot and "end backup" right after
> snapshot completion.
> I see that POstgreSQL has similar functionality (not tested myself):
> https://www.postgresql.org/docs/9.4/static/continuous-
> archiving.html#BACKUP-LOWLEVEL-BASE-BACKUP
> and the same for other ones.
>
> Gianluca
>
>
> ___
> 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] oVirt VM backup and restore

2017-03-09 Thread Maton, Brett
Good point

On 9 March 2017 at 11:10, Juan Hernández  wrote:

> On 03/09/2017 11:57 AM, Gianluca Cecchi wrote:
> > On Thu, Mar 9, 2017 at 11:39 AM, Nathanaël Blanchet  > > wrote:
> >
> >
> >
> > Le 09/03/2017 à 10:25, Gianluca Cecchi a écrit :
> >> On Wed, Mar 8, 2017 at 6:05 PM, Gianluca Cecchi
> >> >
> wrote:
> >>
> >>
> >>
> >> NOTE: during the snapshot creation I see in web admin console
> >> the VM in paused state and also not responsive in both console
> >> and ssh session.
> >> After a couple of seconds it comes back and as a confirmation
> >> I see this in its messages:
> >>
> >> Mar  8 17:38:57 T-ORACLE73 chronyd[616]: System clock wrong by
> >> 19.077230 seconds, adjustment started
> >>
> >> Is this expected?
> >>
> >>
> >>
> >>
> >> Possibly the default changed at some point in time, so that now it
> >> saves memory and so this implies pause of VM
> > Saving memory is essential in some apàplications like DB, so you
> > won't bypass vm pauses for such a stuff
> >
> >
> > Yes, indeed, the important thing is to have an option so that you can
> > set it True or False, depending on the VM you are saving, the
> > application that is running isnide it and the way you want to do backup
> > of the application.
> > Nevertheless, RDBMS and also other applications often have some
> > mechanism to be "frozen in a consistent state" so that you can save what
> > you have on disk without need to save memory to have a consistent backup.
> > Oracle for example has functionality to be put in "backup mode" where
> > you issue "begin backup" before the snapshot and "end backup" right
> > after snapshot completion.
> > I see that POstgreSQL has similar functionality (not tested myself):
> > https://www.postgresql.org/docs/9.4/static/continuous-
> archiving.html#BACKUP-LOWLEVEL-BASE-BACKUP
> > and the same for other ones.
> >
> > Gianluca
> >
>
> Just wanted to add that freezing activity is not only important for
> databases, but also for plain file systems. In order to do a consistent
> backup it is important to freeze the file systems before creating a live
> snapshot, and thaw it afterwards. oVirt does that automatically, but
> only if the guest agent is installed and running. So, remember to have
> the guest agent installed and running in the virtual machines that you
> plan to backup using this mechanism.
>
>
> ___
> 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] cannot exceed maximum memory size

2017-03-09 Thread Maton, Brett
I have a similar problem creating VM's with the API, but no solution.

  It seems that by default oVirt uses custom 'Instance Type' ( you can see
it if you use the UI to create a VM ).
  The default RAM limit for custom Instance Type is 4096MB.

  I haven't found where you can change the settnigs for the custom instance
type though.



On 9 March 2017 at 11:52, Marcelo Leandro  wrote:

> can someone help me?
>
> 2017-03-07 16:25 GMT-03:00 Marcelo Leandro :
>
>> Hello ,
>>
>> I am have an script that create VM , after upgrade to 4.1 I have this
>> erro when trying create a new VM:
>>
>> detail: Cannot add VM. Memory size (20480MB) cannot exceed maximum memory
>> size (4096MB).
>>
>> my commando fore create VM :
>>
>> api.vms.add(params.VM(name="teste", memory=memo , cpu=cpu,
>> cluster=api.clusters.get(cluster), template=api.templates.get('Blank'),
>> type_="server"))
>>
>> I dont how specific  the maximum memory size.
>>
>> Thanks
>>
>> Marcelo Leandro
>>
>
>
> ___
> 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] [ANN] oVirt 4.1.1 First Release Candidate

2017-03-06 Thread Maton, Brett
Hi Sandro,

  I just took a look at the updated release notes, the upgrade existing HE
links return a 404 page not found error.

If you're upgrading an existing Hosted Engine setup, please follow
Hosted_Engine_Howto#Upgrade_Hosted_Engine

guide or the corresponding section within the Upgrade Guide


Regards,
Brett

On 6 March 2017 at 08:55, Sandro Bonazzola  wrote:

>
>
> On Mon, Mar 6, 2017 at 9:49 AM, Christophe TREFOIS <
> christophe.tref...@uni.lu> wrote:
>
>> Hi Sandro,
>>
>> We upgraded now to 4.1.0, just have to upgrade now the hosts.
>>
>> We don’t have test env, so we’re in prod.
>>
>> If we encounter some bugs fixed in 4.1.1, how could get to 4.1.1 RC?
>>
>
> For some reason the website has not been updated (I already opened a
> github issue about that).
> You can find updated release notes with instructions here.
> https://github.com/oVirt/ovirt-site/blob/b24c3f60f26cf27054bd7dfcd9cc4d
> 6d52005a19/source/release/4.1.1/index.html.md
>
>
>
>
>>
>> Thanks,
>>
>> --
>>
>> Dr Christophe Trefois, Dipl.-Ing.
>> Technical Specialist / Post-Doc
>>
>> UNIVERSITÉ DU LUXEMBOURG
>>
>> LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDICINE
>> Campus Belval | House of Biomedicine
>> 6, avenue du Swing
>> L-4367 Belvaux
>> T: +352 46 66 44 6124 <+352%2046%2066%2044%206124>
>> F: +352 46 66 44 6949 <+352%2046%2066%2044%206949>
>> http://www.uni.lu/lcsb
>>
>> [image: Facebook]   [image: Twitter]
>>   [image: Google Plus]
>>   [image: Linkedin]
>>   [image: skype]
>> 
>>
>> 
>> This message is confidential and may contain privileged information.
>> It is intended for the named recipient only.
>> If you receive it in error please notify me and permanently delete the
>> original message and any copies.
>> 
>>
>>
>> On 6 Mar 2017, at 09:47, Sandro Bonazzola  wrote:
>>
>>
>>
>> On Mon, Mar 6, 2017 at 9:46 AM, Sandro Bonazzola 
>> wrote:
>>
>>>
>>>
>>> On Mon, Mar 6, 2017 at 12:18 AM, Christophe TREFOIS <
>>> christophe.tref...@uni.lu> wrote:
>>>
 Hi,

 Is 4.1.0 still recommneded an upgrade from 4.0.6 in production or
 should we wait for 4.1.1 to comee out?

 100+ critical bugs fixed sounds good but doesnt really encourage
 upgrading to 4.1.0

 thoughts?

>>>
>>> Note that between 4.0.6 and 4.1.0 there were ~1100 bugfix+enanchement
>>> fixed and in 4.1.1 there will be other ~400 bugfix+enhancements
>>> Being the 4.1.1 release scheduled in ~1 week, I would wait for it.
>>>
>>
>> Or you can upgrade right now to the release candidate and help us testing
>> it :-)
>>
>>
>>
>>>
>>>
>>>

 Christophe

 On 3 Mar 2017, at 14:48, Sandro Bonazzola  wrote:


 The oVirt Project is pleased to announce the availability of the First
 Release Candidate of oVirt 4.1.1 for testing, as of March 3rd, 2017

 This is pre-release software. Please take a look at our community
 page[1]
 to know how to ask questions and interact with developers and users.
 All issues or bugs should be reported via oVirt Bugzilla[2].
 This pre-release should not to be used in production.

 This update is the first release candidate of the first in a series of
 stabilization updates to the 4.1 series.
 4.1.1 brings 26 enhancements and more than 350 bugfixes,
 including more than 130 high or urgent
 severity fixes, on top of oVirt 4.1 series

 This release is available now for:
 * Fedora 24 (tech preview)
 * Red Hat Enterprise Linux 7.3 or later
 * CentOS Linux (or similar) 7.3 or later

 This release supports Hypervisor Hosts running:
 * Red Hat Enterprise Linux 7.3 or later
 * CentOS Linux (or similar) 7.3 or later
 * Fedora 24 (tech preview)

 See the release notes draft [3] for installation / upgrade instructions
 and
 a list of new features and bugs fixed.

 Notes:
 - oVirt Live has been already built [4]
 - oVirt Node and Appliance has not been built for this release due to
 build issues we're still investigating.

 Additional Resources:
 * Read more about the oVirt 4.1.1 release highlights:
 http://www.ovirt.org/release/4.1.1/
 * Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
 * Check out the latest project news on the oVirt blog:
 http://www.ovirt.org/blog/

 [1] https://www.ovirt.org/community/
 [2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
 [3] 

Re: [ovirt-users] Staring cluster Hosted Engine stuck - failed liveliness check

2017-03-03 Thread Maton, Brett
VM Up not responding - Yes that seems to be the case.

I did actually try hosted-engine --console

hosted-engine --console
The engine VM is running on this host
Connected to domain HostedEngine
Escape character is ^]
error: internal error: cannot find character device 



On 3 March 2017 at 08:39, Simone Tiraboschi <stira...@redhat.com> wrote:

>
>
> On Thu, Mar 2, 2017 at 11:42 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> What is the correct way to shut down a cluster ?
>>
>> I shutdown my 4.1 cluster following this guide
>> https://github.com/rharmonson/richtech/wiki/OSVDC-Series:-oV
>> irt-3.6-Cluster-Shutdown-and-Startup as the NAS hosting the nfs mounts
>> needed rebooting after updates.
>>
>> ( I realise the guide is for 3.6, surely not that different ? )
>>
>
> It seams fine.
>
>
>>
>> However hosted engine isn't starting now.
>>
>>   failed liveliness check
>>
>
> So it seams that the engine VM is up but the engine is not responding.
>
>
>>
>> I've tried connecting from the host starting the HE vm to see what's
>> going on with:
>>
>> virsh console HostedEngine
>>
>>I don't know what authentication it requires, tried engine admin
>> details and root os...
>>
>
> hosted-engine --console
>
>
>>
>> hosted-engine --add-console-password
>> Enter password:
>> no graphics devices configured
>>
>> unsurprisingly, remote-viewer vnc://localhost:5900
>> fails with Unable to connect to the graphic server vnc://localhost:5900
>>
>> What can I do next ?
>>
>
> Check the status of the engine.
>
>
>>
>> ___
>> 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] Staring cluster Hosted Engine stuck - failed liveliness check

2017-03-03 Thread Maton, Brett
Thanks Simone,

  I'll give that a go this evening, I'm remote at the moment.

Regards,
Brett

On 3 March 2017 at 10:48, Simone Tiraboschi <stira...@redhat.com> wrote:

>
>
> On Fri, Mar 3, 2017 at 11:35 AM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> VM Up not responding - Yes that seems to be the case.
>>
>> I did actually try hosted-engine --console
>>
>> hosted-engine --console
>> The engine VM is running on this host
>> Connected to domain HostedEngine
>> Escape character is ^]
>> error: internal error: cannot find character device 
>>
>
> This was the result of https://bugzilla.redhat.com/show_bug.cgi?id=1364132
>
> Could you please install this (it's from 4.1.1 RC)
> http://resources.ovirt.org/pub/ovirt-4.1-pre/rpm/el7/
> noarch/ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch.rpm to get it
> fixed.
> You need then to run:
> systemctl restart ovirt-ha-agent
> hosted-engine --vm-shutdown
> # wait for it
> hosted-engine --vm-start
>
> At this point you have should have the serial console.
>
>
>>
>>
>>
>> On 3 March 2017 at 08:39, Simone Tiraboschi <stira...@redhat.com> wrote:
>>
>>>
>>>
>>> On Thu, Mar 2, 2017 at 11:42 AM, Maton, Brett <mat...@ltresources.co.uk>
>>> wrote:
>>>
>>>> What is the correct way to shut down a cluster ?
>>>>
>>>> I shutdown my 4.1 cluster following this guide
>>>> https://github.com/rharmonson/richtech/wiki/OSVDC-Series:-oV
>>>> irt-3.6-Cluster-Shutdown-and-Startup as the NAS hosting the nfs mounts
>>>> needed rebooting after updates.
>>>>
>>>> ( I realise the guide is for 3.6, surely not that different ? )
>>>>
>>>
>>> It seams fine.
>>>
>>>
>>>>
>>>> However hosted engine isn't starting now.
>>>>
>>>>   failed liveliness check
>>>>
>>>
>>> So it seams that the engine VM is up but the engine is not responding.
>>>
>>>
>>>>
>>>> I've tried connecting from the host starting the HE vm to see what's
>>>> going on with:
>>>>
>>>> virsh console HostedEngine
>>>>
>>>>I don't know what authentication it requires, tried engine admin
>>>> details and root os...
>>>>
>>>
>>> hosted-engine --console
>>>
>>>
>>>>
>>>> hosted-engine --add-console-password
>>>> Enter password:
>>>> no graphics devices configured
>>>>
>>>> unsurprisingly, remote-viewer vnc://localhost:5900
>>>> fails with Unable to connect to the graphic server vnc://localhost:5900
>>>>
>>>> What can I do next ?
>>>>
>>>
>>> Check the status of the engine.
>>>
>>>
>>>>
>>>> ___
>>>> 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] Staring cluster Hosted Engine stuck - failed liveliness check

2017-03-03 Thread Maton, Brett
Hi Simone,

  I just tried to install the RPM but got a dependency issue:

Error: Package: ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch
(/ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch)
   Requires: vdsm-client >= 4.18.6

I haven't tried to install vdsm-client as I'm not sure what impact that
will have on the other pacakges

On 3 March 2017 at 10:59, Maton, Brett <mat...@ltresources.co.uk> wrote:

> Thanks Simone,
>
>   I'll give that a go this evening, I'm remote at the moment.
>
> Regards,
> Brett
>
> On 3 March 2017 at 10:48, Simone Tiraboschi <stira...@redhat.com> wrote:
>
>>
>>
>> On Fri, Mar 3, 2017 at 11:35 AM, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>>> VM Up not responding - Yes that seems to be the case.
>>>
>>> I did actually try hosted-engine --console
>>>
>>> hosted-engine --console
>>> The engine VM is running on this host
>>> Connected to domain HostedEngine
>>> Escape character is ^]
>>> error: internal error: cannot find character device 
>>>
>>
>> This was the result of https://bugzilla.redhat.com
>> /show_bug.cgi?id=1364132
>>
>> Could you please install this (it's from 4.1.1 RC)
>> http://resources.ovirt.org/pub/ovirt-4.1-pre/rpm/el7/noarch/
>> ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch.rpm to get it fixed.
>> You need then to run:
>> systemctl restart ovirt-ha-agent
>> hosted-engine --vm-shutdown
>> # wait for it
>> hosted-engine --vm-start
>>
>> At this point you have should have the serial console.
>>
>>
>>>
>>>
>>>
>>> On 3 March 2017 at 08:39, Simone Tiraboschi <stira...@redhat.com> wrote:
>>>
>>>>
>>>>
>>>> On Thu, Mar 2, 2017 at 11:42 AM, Maton, Brett <mat...@ltresources.co.uk
>>>> > wrote:
>>>>
>>>>> What is the correct way to shut down a cluster ?
>>>>>
>>>>> I shutdown my 4.1 cluster following this guide
>>>>> https://github.com/rharmonson/richtech/wiki/OSVDC-Series:-oV
>>>>> irt-3.6-Cluster-Shutdown-and-Startup as the NAS hosting the nfs
>>>>> mounts needed rebooting after updates.
>>>>>
>>>>> ( I realise the guide is for 3.6, surely not that different ? )
>>>>>
>>>>
>>>> It seams fine.
>>>>
>>>>
>>>>>
>>>>> However hosted engine isn't starting now.
>>>>>
>>>>>   failed liveliness check
>>>>>
>>>>
>>>> So it seams that the engine VM is up but the engine is not responding.
>>>>
>>>>
>>>>>
>>>>> I've tried connecting from the host starting the HE vm to see what's
>>>>> going on with:
>>>>>
>>>>> virsh console HostedEngine
>>>>>
>>>>>I don't know what authentication it requires, tried engine admin
>>>>> details and root os...
>>>>>
>>>>
>>>> hosted-engine --console
>>>>
>>>>
>>>>>
>>>>> hosted-engine --add-console-password
>>>>> Enter password:
>>>>> no graphics devices configured
>>>>>
>>>>> unsurprisingly, remote-viewer vnc://localhost:5900
>>>>> fails with Unable to connect to the graphic server
>>>>> vnc://localhost:5900
>>>>>
>>>>> What can I do next ?
>>>>>
>>>>
>>>> Check the status of the engine.
>>>>
>>>>
>>>>>
>>>>> ___
>>>>> 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] Staring cluster Hosted Engine stuck - failed liveliness check

2017-03-03 Thread Maton, Brett
Ok thanks, I'll give that another go shortly

On 3 March 2017 at 15:24, Yaniv Kaul <yk...@redhat.com> wrote:

>
>
> On Fri, Mar 3, 2017 at 5:21 PM Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Hi Simone,
>>
>>   I just tried to install the RPM but got a dependency issue:
>>
>> Error: Package: ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch
>> (/ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch)
>>Requires: vdsm-client >= 4.18.6
>>
>> I haven't tried to install vdsm-client as I'm not sure what impact that
>> will have on the other pacakges
>>
>
> vdsm-client is our 'next-gen' vdsClient - the CLI client to VDSM. You can
> and should install it in 4.1.
> Y.
>
>
>>
>> On 3 March 2017 at 10:59, Maton, Brett <mat...@ltresources.co.uk> wrote:
>>
>> Thanks Simone,
>>
>>   I'll give that a go this evening, I'm remote at the moment.
>>
>> Regards,
>> Brett
>>
>> On 3 March 2017 at 10:48, Simone Tiraboschi <stira...@redhat.com> wrote:
>>
>>
>>
>> On Fri, Mar 3, 2017 at 11:35 AM, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>> VM Up not responding - Yes that seems to be the case.
>>
>> I did actually try hosted-engine --console
>>
>> hosted-engine --console
>> The engine VM is running on this host
>> Connected to domain HostedEngine
>> Escape character is ^]
>> error: internal error: cannot find character device 
>>
>>
>> This was the result of https://bugzilla.redhat.
>> com/show_bug.cgi?id=1364132
>>
>> Could you please install this (it's from 4.1.1 RC)
>> http://resources.ovirt.org/pub/ovirt-4.1-pre/rpm/el7/
>> noarch/ovirt-hosted-engine-ha-2.1.0.4-1.el7.centos.noarch.rpm to get it
>> fixed.
>> You need then to run:
>> systemctl restart ovirt-ha-agent
>> hosted-engine --vm-shutdown
>> # wait for it
>> hosted-engine --vm-start
>>
>> At this point you have should have the serial console.
>>
>>
>>
>>
>>
>> On 3 March 2017 at 08:39, Simone Tiraboschi <stira...@redhat.com> wrote:
>>
>>
>>
>> On Thu, Mar 2, 2017 at 11:42 AM, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>> What is the correct way to shut down a cluster ?
>>
>> I shutdown my 4.1 cluster following this guide
>> https://github.com/rharmonson/richtech/wiki/OSVDC-Series:-
>> oVirt-3.6-Cluster-Shutdown-and-Startup as the NAS hosting the nfs mounts
>> needed rebooting after updates.
>>
>> ( I realise the guide is for 3.6, surely not that different ? )
>>
>>
>> It seams fine.
>>
>>
>>
>> However hosted engine isn't starting now.
>>
>>   failed liveliness check
>>
>>
>> So it seams that the engine VM is up but the engine is not responding.
>>
>>
>>
>> I've tried connecting from the host starting the HE vm to see what's
>> going on with:
>>
>> virsh console HostedEngine
>>
>>I don't know what authentication it requires, tried engine admin
>> details and root os...
>>
>>
>> hosted-engine --console
>>
>>
>>
>> hosted-engine --add-console-password
>> Enter password:
>> no graphics devices configured
>>
>> unsurprisingly, remote-viewer vnc://localhost:5900
>> fails with Unable to connect to the graphic server vnc://localhost:5900
>>
>> What can I do next ?
>>
>>
>> Check the status of the engine.
>>
>>
>>
>> ___
>> 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


[ovirt-users] Staring cluster Hosted Engine stuck - failed liveliness check

2017-03-02 Thread Maton, Brett
What is the correct way to shut down a cluster ?

I shutdown my 4.1 cluster following this guide
https://github.com/rharmonson/richtech/wiki/OSVDC-Series:-
oVirt-3.6-Cluster-Shutdown-and-Startup as the NAS hosting the nfs mounts
needed rebooting after updates.

( I realise the guide is for 3.6, surely not that different ? )

However hosted engine isn't starting now.

  failed liveliness check

I've tried connecting from the host starting the HE vm to see what's going
on with:

virsh console HostedEngine

   I don't know what authentication it requires, tried engine admin details
and root os...

hosted-engine --add-console-password
Enter password:
no graphics devices configured

unsurprisingly, remote-viewer vnc://localhost:5900
fails with Unable to connect to the graphic server vnc://localhost:5900

What can I do next ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt and Foreman

2017-07-25 Thread Maton, Brett
Last time I looked at creating VM's from foreman there was a problem with
the compute resource being passed from foreman plugin to the ovirt api.

Can't remember exactly what was being sent, but it didn't match any
available ovirt 'instance type' which is why it was failing to create the
machine.

Not sure if you're facing the same issue, but maybe worth looking into...

On 25 July 2017 at 09:59, Davide Ferrari  wrote:

> Hello
>
> I've attached logs from:
>
> - hammer cli (debug) with the command line I've used
>
> - foreman logs
>
> - ovirt engine logs (server.log)
>
>
> Basically I was trying to create a VM from an ovirt template linked to a
> Foreman image (CentOS_73) which consists of a single disk with the OS, and
> attach via Hammer 2 more disks. In this case I get a 404 Resource Not Found
> from Foreman and what I see in the ovirt logs is that the VM is created and
> then immediately deleted via API
>
>
> Thanks!
>
> On 24/07/17 20:56, Oved Ourfali wrote:
>
> CC-ing Ohad and Ivan from the Foreman team to take a look.
>
> Also, by default, RHV 4.1 will use v4 of the api, so you have to use a URL
> in Foreman that uses v3 (as Foreman doesn't support v4 yet).
>
> I assume that's not your issue, otherwise you would have encountered more
> basic issues.
>
> Also, can you please share your logs from both environments?
>
> Ohad/Ivan, any clue?
>
> Thanks,
> Oved
>
> On Jul 24, 2017 18:08, "Davide Ferrari"  wrote:
>
> Hello list
>
>
> is anybody successfully using oVirt + Foreman for VM creation +
> provisioning?
>
> I'm using Foremn (latest version, 1.15.2) with latest oVirt version
> (4.1.3) but I'm encountering several problem, especially related to disks.
> For example:
>
> - cannot create a VM with multiple disks though Foreman CLI (hammer)
>
> - if I create a multidisk VM from Foreman, the second disk always gets the
> "bootable" flag and not the primary image, making the VMs not bootable at
> all.
>
>
> Any other Foreman user sharing the pain here? Foramn's list is not so
> useful so I'm trying to ask here. How do you programmatically create
> virtual machines with oVirt and Foreman? Should I switch do directly using
> oVirt API?
>
> Thanks in advance
>
> Davide
>
> ___
> 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] Recovering hosted-engine

2017-07-03 Thread Maton, Brett
It depends on how 'toasted' the engine is.

It is possible to mount the disk, if for example it's a kernel upgrade
that's gone wrong and stopping the machine form booting

On 3 July 2017 at 15:23, Yedidyah Bar David  wrote:

> On Mon, Jul 3, 2017 at 4:40 PM, Andrew Dent 
> wrote:
> > Hi Didi
> >
> > Fair enough.
> > If I'm in this situation.
> > I have 3 hosts with 6 production VMs.
> > The hosted-engine VM is completely toast and not recoverable.
>
> Meaning? It does not even boot? If so, then I am afraid that you
> need to follow the linked procedure, including deploying hosted-engine
> again on new (or fully cleaned) storage.
>
> Are all 3 hosts also hosted-engine hosts? And you want to keep them
> this way? If so, you'll have to reinstall them.
>
> I think, didn't try, that after you deploy a new hosted-engine host,
> and restore the engine, the new engine will see your existing hosts,
> but hosted-engine-ha will not work.
>
> If you want to try and keep your VMs running, I guess your best bet
> is to try to add a new non-hosted-engine host (one or more, as needed),
> migrate your VMs to it (them), then remove the hosted-engine hosts and
> deploy them again as described there.
>
> > However I have a backup of the hosted-engine database (do I need anything
> > else).
>
> Only database? Or a backup taken by engine-backup? You also need various
> configuration files. To see the full list, in case you didn't use
> engine-backup but can restore individual files, check BACKUP_PATHS inside
> the script. But this is definitely not supported - you should first try
> verifying by restoring on a test VM and see what happens.
>
> >
> > Is it possible to build a new VM, import the backup of the previous
> > hosted-engine database and reconnect the storage domains and VMs in their
> > running state without any VMs experiencing an outage?
>
> As I wrote above, I think it is, but hosted-engine-ha will not work.
>
> If at all possible, I strongly suggest to try to simulate this in a
> test env. Can be done using nested-kvm VMs for hosts, if you do not have
> enough real hardware.
>
> >
> > The URL
> > http://www.ovirt.org/documentation/self-hosted/
> chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
> > looks to be longer now.
> > I'll review, test and see if this will give me what I'm looking for.
> >
> > The broken link still seems to be broken.
> > When I click the link, the browser ends up at this
> > http://www.ovirt.org/documentation/self-hosted/
> chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_
> Environment/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment#
> documentation%20self%20hosted%20chap%20Backing%20up%20and%
> 20Restoring%20an%20EL%20Based%20Self%20Hosted%20Environment%
> 20chap%20Installing%20Additional%20Hosts%20to%20a%
> 20Self%20Hosted%20Environment
> >
> > But I suspect it should be
> > http://www.ovirt.org/documentation/self-hosted/
> chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment/
>
> In my previous mail I just wrote I sent a pull request, not that
> the site is updated already. I updated it since and it now seems
> ok to me.
>
> Best,
>
> >
> > Kind regards
> >
> > Andrew
> >
> > -- Original Message --
> > From: "Yedidyah Bar David" 
> > To: "Andrew Dent" 
> > Cc: "users" 
> > Sent: 3/07/2017 11:12:05 PM
> > Subject: Re: [ovirt-users] Recovering hosted-engine
> >
> >> On Mon, Jul 3, 2017 at 3:46 PM, Andrew Dent 
> >> wrote:
> >>>
> >>>  Has anyone successfully completed a hosted-engine recovery on a
> multiple
> >>>  host setup with production VMs?
> >>
> >>
> >> I'd like to clarify that "recovery" can span a large spectrum of
> >> flows, from a trivial "I did some change to the engine database
> >> that broke stuff and I want to restore a backup I took prior to
> >> this change" to a full system restoration including purchasing
> >> and deploying new (perhaps different) hosts/network/storage
> >> hardware, including many other flows in between.
> >>
> >> So when you plan for recovery, you should define very well what
> >> flows you plan to handle, and how you handle each.
> >>
> >> The linked procedure correctly says it's "providing an example".
> >>
> >>>
> >>>  Kind regards
> >>>
> >>>
> >>>  Andrew
> >>>
> >>>
> >>>
> >>>  -- Original Message --
> >>>  From: "Andrew Dent" 
> >>>  To: "users" 
> >>>  Sent: 2/07/2017 2:22:16 PM
> >>>  Subject: [ovirt-users] Recovering hosted-engine
> >>>
> >>>  Hi
> >>>
> >>>  A couple of questions about hosted-engine recovery.
> >>>  Part way through this URL, in the section "Workflow for Restoring the
> >>>  Self-Hosted Engine Environment"
> >>>
> >>> http://www.ovirt.org/documentation/self-hosted/
> chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
> >>>  it looks like once the hosted-engine is recovered on 

Re: [ovirt-users] Hosted Engine not responding

2017-06-06 Thread Maton, Brett
I managed to solve the problem with guestfish and the help of this page
http://manpages.ubuntu.com/manpages/precise/man1/guestfish.1.html



On 6 June 2017 at 22:07, Maton, Brett <mat...@ltresources.co.uk> wrote:

> I'm pretty sure that I've got a failing (to boot) kernel on my Self hosted
> engine, as this has happened a few times on 'regular' guest VM's
>
>   I've tried getting it to boot from (several) CD Image, but there is no
> VNC console and hosted-engine --console just hangs at Escape character is ^]
>
> Any suggestions ?
>
> I know which LVM is the hosted engine disk but I don't know how to mount
> it from the physical host, If I could mount it I could probably switch the
> kernel back to an earlier one.
>
> All else fails I have a back up of the engine taken this morning, but I
> seem to recall having problems re-deploying hosted-engine when one already
> exists in the cluster (dead or not)
>
> Regards,
> Brett
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Error while installing oVirt Self Hosted Engine

2017-06-15 Thread Maton, Brett
Hi Jon,

  There will be people on this list far more able to help you than I can,
but the contents of the engine setup log (/var/log/ovirt-hosted-engine-
setup/ovirt-hosted-engine-setup-20170614160653-2vuu7h.log) would help

On 14 June 2017 at 21:56, Jon Bornstein 
wrote:

> This is roughly my 10th attempt at installing some version of oVirt and I
> think where I get stuck every time is with the networking aspect.
>
> I'm simply trying to test out oVirt on an old laptop wiht 16GB RAM and an
> external HDD.  I'm connected via WiFi.
>
> After failing 100 times with the regular ovirt engine, It was recommended
> I try the self-hosted engine.
>
> **
>
> Anyway, here are the contents of my /etc/hosts file:
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4
> ::1 localhost localhost.localdomain localhost6
> localhost6.localdomain6
> 10.114.13.144 host.example.rocks host
> 10.114.13.145 engine.example.rocks engine
>
> **
>
> After running hosted-engine --deploy, I get to the prompt below in which
> the installer fails afterwards:
>
> You may specify a unicast MAC address for the VM or accept a randomly
> generated default [00:16:3e:5b:3a:73]:
>
> [ ERROR ] Failed to execute stage 'Environment customization': Cannot
> acquire nic/bridge address
> [ INFO  ] Stage: Clean up
> [ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-
> setup/answers/answers-20170614163222.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Hosted Engine deployment failed
>   Log file is located at /var/log/ovirt-hosted-engine-
> setup/ovirt-hosted-engine-setup-20170614160653-2vuu7h.log
>
> **
>
> Here is a tail of the log:
>
> [root@engine /]# tail /var/log/ovirt-hosted-engine-
> setup/ovirt-hosted-engine-setup-20170614160653-2vuu7h.log
> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:134
> condition False
> 2017-06-14 16:32:22 INFO otopi.context context.runSequence:687 Stage:
> Termination
> 2017-06-14 16:32:22 DEBUG otopi.context context.runSequence:691 STAGE
> terminate
> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage
> terminate METHOD otopi.plugins.gr_he_common.core.misc.Plugin._terminate
> 2017-06-14 16:32:22 ERROR otopi.plugins.gr_he_common.core.misc
> misc._terminate:178 Hosted Engine deployment failed
> 2017-06-14 16:32:22 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:204 DIALOG:SEND Log file is located at
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-
> setup-20170614160653-2vuu7h.log
> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage
> terminate METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate
> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage
> terminate METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate
> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:134
> condition False
> 2017-06-14 16:32:22 DEBUG otopi.context context._executeMethod:128 Stage
> terminate METHOD otopi.plugins.otopi.core.log.Plugin._terminate
>
> **
>
> This is my first time writing to this list, so hopefully I'm doing it
> right.  Thanks in advance - this is driving me crazy!
>
>
>
> ___
> 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] Hello from Bacchus !

2017-05-02 Thread Maton, Brett
I'll be testing this shortly, thanks for your efforts.

Potentially one advantage of using the backup API subset is that it may be
less susceptible to changes in the underlying oVirt API.


On 29 April 2017 at 18:28, Juan Hernández  wrote:

> On 04/28/2017 09:14 PM, Niyazi Elvan wrote:
> > Thank you Barak !
> >
> > I will position Bacchus as a protection solution, not only for backups
> > but also replication. SDK would be a better decision in that way.
> >
> > Regards,
> >
>
> Note that the "backup API" is just a subset of the oVirt API. It is not
> a different API. In particular it is the subset of methods that can be
> used to create snapshots and to attach/detach the snapshot disks to/from
> virtual machines. The Python SDK does cover the complete API, including
> this subset. There is an example here:
>
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/
> sdk/examples/vm_backup.py
>
> >
> > On 28 April 2017 at 21:54, Barak Korren  > > wrote:
> >
> > On 28 April 2017 at 21:07, Niyazi Elvan  > > wrote:
> > > Hi Barak,
> > >
> > > I was not aware of backup api hence used Python SDK. Is there any
> specific
> > > reason that I should use the backup api ?
> >
> > Well, it was made specifically to make building backup tools easier.
> But
> > I guess its up to you to decide if it helps you or not.
> > I'm not sure, but maybe the SDK supports it as well.
> >
> > In any case, great work!
> >
> > --
> > Barak Korren
> > RHV DevOps team , RHCE, RHCi
> > Red Hat EMEA
> > redhat.com  | TRIED. TESTED. TRUSTED. |
> > redhat.com/trusted 
> >
> >
> >
> >
> > --
> > Niyazi Elvan
> >
> >
> > ___
> > 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


[ovirt-users] Hosted Engine not responding

2017-06-06 Thread Maton, Brett
I'm pretty sure that I've got a failing (to boot) kernel on my Self hosted
engine, as this has happened a few times on 'regular' guest VM's

  I've tried getting it to boot from (several) CD Image, but there is no
VNC console and hosted-engine --console just hangs at Escape character is ^]

Any suggestions ?

I know which LVM is the hosted engine disk but I don't know how to mount it
from the physical host, If I could mount it I could probably switch the
kernel back to an earlier one.

All else fails I have a back up of the engine taken this morning, but I
seem to recall having problems re-deploying hosted-engine when one already
exists in the cluster (dead or not)

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


Re: [ovirt-users] Update compute nodes to CentOS 7.4?

2017-09-18 Thread Maton, Brett
I've just updated my test servers to 7.4 (not hosted engine though).  So
far no issues but it's been less than 24hrs...

On 18 September 2017 at 14:50, Eduardo Mayoral  wrote:

> Now that CentOS 7.4 is out, I am wondering if I can just "yum update" my
> compute nodes. Has anyone already done so? Any issues found?
>
>
> --
> Eduardo Mayoral Jimeno (emayo...@arsys.es)
> Administrador de sistemas. Departamento de Plataformas. Arsys internet.
> +34 941 620 145 ext. 5153
>
> ___
> 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] Ovirt 4.2 Fencing problems

2017-10-09 Thread Maton, Brett
Hi,

  I recently upgraded my testlab to oVirt 4.2-pre and have been having some
issues.

  One of which is fencing with Dell Drac 8 remote access cards.
  The configuration I'm using works fine on my other (4.1.6) cluster...

  Error:
Health check on Host host.example.com indicates that future attempts to
Start this host using Power-Management are expected to fail.

  Fence agent setup for the host appears to be working though:


​

  Which logs would be helpful in debugging this issue ?

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


Re: [ovirt-users] Ovirt 4.2 Fencing problems

2017-10-09 Thread Maton, Brett
Hi Martin,

  Sure is there a way to trigger the check (I cleared the alerts), or do I
just need to have a poke around the engine log next time it happens?

Regards,
Brett

On 9 October 2017 at 14:26, Martin Perina <mper...@redhat.com> wrote:

>
>
> On Mon, Oct 9, 2017 at 2:40 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Hi,
>>
>>   I recently upgraded my testlab to oVirt 4.2-pre and have been having
>> some issues.
>>
>>   One of which is fencing with Dell Drac 8 remote access cards.
>>   The configuration I'm using works fine on my other (4.1.6) cluster...
>>
>>   Error:
>> Health check on Host host.example.com indicates that future attempts to
>> Start this host using Power-Management are expected to fail.
>>
>
> ​Hi, ​
>
> ​Could you please share engine.log around above message? We are executing
> get power management status call to check, so if this get PM status failed,
> the above error is raised.
>
> Thanks
>
> Martin
> ​
>
>
>>
>>
>>   Fence agent setup for the host appears to be working though:
>>
>>
>> ​
>>
>>   Which logs would be helpful in debugging this issue ?
>>
>> Regards,
>> Brett
>>
>> ___
>> 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] Ovirt 4.2 Fencing problems

2017-10-09 Thread Maton, Brett
Hope this is enough of the log,  no idea why it's saying invalid fence
agents:

2017-10-09 16:01:01,535+01 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.EE-ManagedThreadFactory-engine-Thread-184) [] EVENT_ID:
VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ov_host.example.com command
ConnectStoragePoolVDS failed: Cannot find master domain:
u'spUUID=47d12516-a41c-41a7-9da4-320f08fda147,
msdUUID=a28ebb26-98be-4850-8e88-0ac2c3d6037a'
2017-10-09 16:01:01,535+01 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
(org.ovirt.thread.EE-ManagedThreadFactory-engine-Thread-184) [] HostName =
ov_host.example.com
2017-10-09 16:01:01,535+01 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
(org.ovirt.thread.EE-ManagedThreadFactory-engine-Thread-184) [] Command
'ConnectStoragePoolVDSCommand(HostName = ov_host.example.com,
ConnectStoragePoolVDSCommandParameters:{hostId='9390df92-5c79-4a25-9e94-1ca2d4aedc74',
vdsId='9390df92-5c79-4a25-9e94-1ca2d4aedc74',
storagePoolId='47d12516-a41c-41a7-9da4-320f08fda147', masterVersion='2'})'
execution failed: IRSGenericException: IRSErrorException:
IRSNoMasterDomainException: Cannot find master domain:
u'spUUID=47d12516-a41c-41a7-9da4-320f08fda147,
msdUUID=a28ebb26-98be-4850-8e88-0ac2c3d6037a'
2017-10-09 16:01:01,535+01 INFO
[org.ovirt.engine.core.bll.InitVdsOnUpCommand]
(org.ovirt.thread.EE-ManagedThreadFactory-engine-Thread-184) [] Could not
connect host 'ov_host.example.com' to pool 'GHDC', as the master domain is
in inactive/unknown status - not failing the operation
2017-10-09 16:01:01,565+01 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetMOMPolicyParametersVDSCommand]
(EE-ManagedThreadFactory-engineScheduled-Thread-1) [594458d4] START,
SetMOMPolicyParametersVDSCommand(HostName = ov_host.example.com,
MomPolicyVDSParameters:{hostId='9390df92-5c79-4a25-9e94-1ca2d4aedc74'}),
log id: 43532a7a
2017-10-09 16:01:01,595+01 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand]
(org.ovirt.thread.EE-ManagedThreadFactory-engine-Thread-210) [6eeda756]
START, SpmStopVDSCommand(HostName = ov_host.example.com,
SpmStopVDSCommandParameters:{hostId='9390df92-5c79-4a25-9e94-1ca2d4aedc74',
storagePoolId='47d12516-a41c-41a7-9da4-320f08fda147'}), log id: 3861bb24
2017-10-09 16:01:01,602+01 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.EE-ManagedThreadFactory-engine-Thread-210) [6eeda756]
EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ov_host.example.com
command HSMGetAllTasksStatusesVDS failed: Not SPM: ()
2017-10-09 16:01:01,602+01 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand]
(org.ovirt.thread.EE-ManagedThreadFactory-engine-Thread-210) [6eeda756]
HostName = ov_host.example.com
2017-10-09 16:01:01,602+01 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand]
(org.ovirt.thread.EE-ManagedThreadFactory-engine-Thread-210) [6eeda756]
Command 'HSMGetAllTasksStatusesVDSCommand(HostName = ov_host.example.com,
VdsIdVDSCommandParametersBase:{hostId='9390df92-5c79-4a25-9e94-1ca2d4aedc74'})'
execution failed: IRSGenericException: IRSErrorException:
IRSNonOperationalException: Not SPM: ()
2017-10-09 16:01:01,653+01 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engineScheduled-Thread-1) [2e03c9cf] EVENT_ID:
VDS_DETECTED(13), Status of host ov_host.example.com was set to Up.
2017-10-09 16:01:01,656+01 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engineScheduled-Thread-1) [2e03c9cf] EVENT_ID:
VDS_ALERT_FENCE_TEST_FAILED(9,001), Power Management test failed for Host
ov_host.example.com.Invalid fence agents defined for host '192.168.1.12'.
2017-10-09 16:01:01,659+01 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engineScheduled-Thread-1) [2e03c9cf] EVENT_ID:
VDS_FENCE_STATUS_FAILED(497), Failed to verify Host ov_host.example.com
power management.



On 9 October 2017 at 14:41, Maton, Brett <mat...@ltresources.co.uk> wrote:

> Hi Martin,
>
>   Sure is there a way to trigger the check (I cleared the alerts), or do I
> just need to have a poke around the engine log next time it happens?
>
> Regards,
> Brett
>
> On 9 October 2017 at 14:26, Martin Perina <mper...@redhat.com> wrote:
>
>>
>>
>> On Mon, Oct 9, 2017 at 2:40 PM, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>>> Hi,
>>>
>>>   I recently upgraded my testlab to oVirt 4.2-pre and have been having
>>> some issues.
>>>
>>>   One of which is fencing with Dell Drac 8 remote access cards.
>>>   The configuration I'm using works fine on my other (4.1.6) cluster...
>>>
>>>   Error:
>>> Health check on Host host.

[ovirt-users] oVirt 4.2 alpha upgrade failed

2017-09-28 Thread Maton, Brett
Upgrading from oVirt 4.1.7

hosted-engine VM:
4GB RAM

hosted-engine setup failed, setup log shows this error:

Running upgrade sql script
'/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql'...

2017-09-28 16:56:22,951+0100 DEBUG
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:926
execute-output: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s',
'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l',
'/var/log/ovirt-engine/setup/ovirt-engine-setup-20170928164338-0rkilb.log',
'-c', 'apply'] stderr:
psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql:2:
ERROR:  check constraint "vm_static_max_memory_size_lower_bound" is
violated by some row
FATAL: Cannot execute sql command:
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql

2017-09-28 16:56:22,951+0100 ERROR
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema._misc:374
schema.sh: FATAL: Cannot execute sql command:
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql
2017-09-28 16:56:22,952+0100 DEBUG otopi.context context._executeMethod:143
method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in
_executeMethod
method['method']()
  File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py",
line 376, in _misc
raise RuntimeError(_('Engine schema refresh failed'))
RuntimeError: Engine schema refresh failed



What's the minimum RAM required now ?

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


Re: [ovirt-users] oVirt 4.2 alpha upgrade failed

2017-09-28 Thread Maton, Brett
Thanks Tomas,

  I'm restoring backup at the moment, I'll let you know how it goes when on
the next attempt.

On 28 September 2017 at 18:46, Tomas Jelinek <tjeli...@redhat.com> wrote:

> Hey Brett,
>
> That is strange - it looks like you have some VM which has memory size
> larger than the max memory size.
>
> You need to go over your VMs / templates to find which one has this wrong
> config and change it.
> Alternatively, to find it faster if you have many vms/templates, you could
> run this SQL query against your engine database:
> select vm_name from vm_static where mem_size_mb > max_memory_size_mb;
>
> Tomas
>
> On Thu, Sep 28, 2017 at 6:07 PM, Maton, Brett <mat...@ltresources.co.uk>
> wrote:
>
>> Upgrading from oVirt 4.1.7
>>
>> hosted-engine VM:
>> 4GB RAM
>>
>> hosted-engine setup failed, setup log shows this error:
>>
>> Running upgrade sql script '/usr/share/ovirt-engine/dbscr
>> ipts/upgrade/04_02_0140_add_max_memory_constraint.sql'...
>>
>> 2017-09-28 16:56:22,951+0100 DEBUG 
>> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
>> plugin.execute:926 execute-output: 
>> ['/usr/share/ovirt-engine/dbscripts/schema.sh',
>> '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l',
>> '/var/log/ovirt-engine/setup/ovirt-engine-setup-20170928164338-0rkilb.log',
>> '-c', 'apply'] stderr:
>> psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql:2:
>> ERROR:  check constraint "vm_static_max_memory_size_lower_bound" is
>> violated by some row
>> FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine
>> /dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql
>>
>> 2017-09-28 16:56:22,951+0100 ERROR 
>> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
>> schema._misc:374 schema.sh: FATAL: Cannot execute sql command:
>> --file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_
>> add_max_memory_constraint.sql
>> 2017-09-28 16:56:22,952+0100 DEBUG otopi.context
>> context._executeMethod:143 method exception
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in
>> _executeMethod
>> method['method']()
>>   File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-
>> setup/ovirt-engine/db/schema.py", line 376, in _misc
>> raise RuntimeError(_('Engine schema refresh failed'))
>> RuntimeError: Engine schema refresh failed
>>
>>
>>
>> What's the minimum RAM required now ?
>>
>> Regards,
>> Brett
>>
>> ___
>> 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] oVirt 4.2 alpha upgrade failed

2017-09-28 Thread Maton, Brett
, it was the hosted engine itself.

  RAM 4096
  Max RAM 0

  I don't think I've touched the system settings on the hosted engine vm
itself though.

This (testlab) cluster was originally installed with 4.0 (I think) and gets
constantly upgraded with the pre-releases...

After a bit of faffing around to clean up leftovers of the failed upgrade,
I'm now running v4.2.0 and it's certianly different :)

  I did have one firefox browser that refused to load the dashboard
reporting 500 errors, but that appears to have been down to cached content
(on OS X).

  I look forward to playing with the new UI.

Thanks,
Brett

On 28 September 2017 at 19:29, Maton, Brett <mat...@ltresources.co.uk>
wrote:

> Thanks Tomas,
>
>   I'm restoring backup at the moment, I'll let you know how it goes when
> on the next attempt.
>
> On 28 September 2017 at 18:46, Tomas Jelinek <tjeli...@redhat.com> wrote:
>
>> Hey Brett,
>>
>> That is strange - it looks like you have some VM which has memory size
>> larger than the max memory size.
>>
>> You need to go over your VMs / templates to find which one has this wrong
>> config and change it.
>> Alternatively, to find it faster if you have many vms/templates, you
>> could run this SQL query against your engine database:
>> select vm_name from vm_static where mem_size_mb > max_memory_size_mb;
>>
>> Tomas
>>
>> On Thu, Sep 28, 2017 at 6:07 PM, Maton, Brett <mat...@ltresources.co.uk>
>> wrote:
>>
>>> Upgrading from oVirt 4.1.7
>>>
>>> hosted-engine VM:
>>> 4GB RAM
>>>
>>> hosted-engine setup failed, setup log shows this error:
>>>
>>> Running upgrade sql script '/usr/share/ovirt-engine/dbscr
>>> ipts/upgrade/04_02_0140_add_max_memory_constraint.sql'...
>>>
>>> 2017-09-28 16:56:22,951+0100 DEBUG 
>>> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
>>> plugin.execute:926 execute-output: 
>>> ['/usr/share/ovirt-engine/dbscripts/schema.sh',
>>> '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l',
>>> '/var/log/ovirt-engine/setup/ovirt-engine-setup-20170928164338-0rkilb.log',
>>> '-c', 'apply'] stderr:
>>> psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql:2:
>>> ERROR:  check constraint "vm_static_max_memory_size_lower_bound" is
>>> violated by some row
>>> FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine
>>> /dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql
>>>
>>> 2017-09-28 16:56:22,951+0100 ERROR 
>>> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
>>> schema._misc:374 schema.sh: FATAL: Cannot execute sql command:
>>> --file=/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_
>>> add_max_memory_constraint.sql
>>> 2017-09-28 16:56:22,952+0100 DEBUG otopi.context
>>> context._executeMethod:143 method exception
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133,
>>> in _executeMethod
>>> method['method']()
>>>   File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-s
>>> etup/ovirt-engine/db/schema.py", line 376, in _misc
>>> raise RuntimeError(_('Engine schema refresh failed'))
>>> RuntimeError: Engine schema refresh failed
>>>
>>>
>>>
>>> What's the minimum RAM required now ?
>>>
>>> Regards,
>>> Brett
>>>
>>> ___
>>> 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] Error cloning snapshot

2017-09-26 Thread Maton, Brett
I think this is 'just' a UI issue, the bacchus
 oVirt backup gui tool which
basically snapshots and exports a VM image using the API works just fine on
oVirt Version 4.1.6.2-1.el7.centos

I've not been able to test this against version 4.1.7 yet though.



On 26 September 2017 at 10:40, 久保田  wrote:

> me too
>
> [environment]
> ovirt-engine:4.1.6.2-1.el7.centos
> CentOS 7.4 Kernel 3.10.0-693-2.2.el7.x86_64
> web-client : Chrome(61.0.3163.100) , Firefox(52.3.0)
>
> [want to do]
> Make a clone from the snapshot image
>
> [Reproduction procedure]
> 1. In browser, Open oVirt Manager, admin logon.
> 2. Click virtual machine tag, any one VM select
>vm state does not matter.(running, stop)
> 3.make snapshot. or select a snapshot image created in the past.
> 4.create clone  ---> ERROR, Exception occurred !
>  Result details are similar to Mr.Brett.
>
> [Remarks]
> It dows not occur in oVirt4.0
> Yesterday, I upgraded oVirt form 4.0 to 4.1 .
>
> --
> 久保田 
>
> ___
> 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] Cannot set storage domain on maintenance

2017-09-26 Thread Maton, Brett
It's not the most elegant or guaranteed to fix your issue, but I've found
that running engine-setup again on the hosted-engine server usually cleans
up broken and orphaned tasks.

Any running VM's will stay up, you'll just briefly loose access to the UI
while engine-setup restarts the interface.

On 26 September 2017 at 13:36,  wrote:

> In the engine.log I can see this:
>
> 2017-09-26 13:35:33,345+01 INFO  
> [org.ovirt.engine.core.bll.tasks.AsyncTaskManager]
> (DefaultQuartzScheduler7) [6a4aa90c] Polling and updating Async Tasks: 2
> tasks, 1 tasks to poll now
> 2017-09-26 13:35:34,500+01 INFO  [org.ovirt.engine.core.bll.sto
> rage.domain.DeactivateStorageDomainWithOvfUpdateCommand] (default
> task-37) [2ec47109-db9d-425c-85fc-ee555e7dc4db] Lock Acquired to object
> 'EngineLock:{exclusiveLocks='[4886-cee8-47ba-a679-16a7db522779=STORAGE]',
> sharedLocks='[75bf8f48-970f-42bc-8596-f8ab6efb2b63=POOL]'}'
> 2017-09-26 13:35:34,580+01 WARN  [org.ovirt.engine.core.bll.sto
> rage.domain.DeactivateStorageDomainWithOvfUpdateCommand] (default
> task-37) [2ec47109-db9d-425c-85fc-ee555e7dc4db] Validation of action
> 'DeactivateStorageDomainWithOvfUpdate' failed for user admin@internal.
> Reasons: VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__DEACTIVATE,ERROR_CAN
> NOT_DEACTIVATE_DOMAIN_WITH_TASKS
> 2017-09-26 13:35:34,581+01 INFO  [org.ovirt.engine.core.bll.sto
> rage.domain.DeactivateStorageDomainWithOvfUpdateCommand] (default
> task-37) [2ec47109-db9d-425c-85fc-ee555e7dc4db] Lock freed to object
> 'EngineLock:{exclusiveLocks='[4886-cee8-47ba-a679-16a7db522779=STORAGE]',
> sharedLocks='[75bf8f48-970f-42bc-8596-f8ab6efb2b63=POOL]'}'
> 2017-09-26 13:35:36,440+01 INFO  
> [org.ovirt.engine.core.bll.tasks.AsyncTaskManager]
> (DefaultQuartzScheduler7) [6a4aa90c] Finished polling Tasks, will poll
> again in 10 seconds.
>
>
> El 2017-09-26 13:34, nico...@devels.es escribió:
>
>> Hi,
>>
>> We're running ovirt-engine-4.1.5.2-1 and we're trying to set one of
>> the storage domains on maintenance in order to remove it, as there's
>> nothing left on it besides some templates.
>>
>> To do so, I open the 'Data Centers' tab, then the 'Storage' subtab,
>> select the storage domain and click on 'Maintenance'. When asked for
>> confirmation I click OK. After that, this error message is shown:
>>
>> Error while executing action: Cannot deactivate Storage while there
>> are running tasks on this Storage.
>> -Please wait until tasks will finish and try again.
>>
>> As far as I know, there are no pending tasks on this storage. The
>> Events tab only shows a movement of a disk which has nothing to do
>> with this storage domain.
>>
>> What can I do to solve this?
>>
>> Thanks.
>>
>> Nicolás
>> ___
>> 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] oVirt 4.2 alpha upgrade failed

2017-09-29 Thread Maton, Brett
That log appears to be the only one I have, the more recent ones are the
restore and then successful install of 4.2.

I just checked yum.conf and no, keepcache is off (0)

I didn't see any errors when engine-setup downloaded the packages, it
failed/stopped during the db migration / upgrade.

Brett

On 29 September 2017 at 08:41, Sandro Bonazzola <sbona...@redhat.com> wrote:

>
>
> 2017-09-29 9:29 GMT+02:00 Maton, Brett <mat...@ltresources.co.uk>:
>
>> It all got a bit messy, but that's probably down to me.
>>
>>   I removed the 'old' ovirt repo definitions after I installed the 4.2
>> pre release repo (simply because yum was complaining about multiple
>> definitions).
>>
>>   I also allowed the installer to clean-up the old database directory,
>> which it did.
>>   The updated PostgreSQL server stayed up and running which stopped 4.1
>> from starting the version of PostgreSQL that it wanted running (port in use
>> I expect) etc etc etc
>>
>> So no in this particular case roll back failed, but there are a bunch of
>> warnings issued but engine-setup that that would probably happen.
>>
>> I've attached the engine-setup-log as requested.
>>
>
> Thanks!
> I see that the failure is:
> YumDownloadError:
> Errors were encountered while downloading packages.
> ovirt-engine-wildfly-10.1.0-1.el7.x86_64: Insufficient space in download
> directory /var/cache/yum/x86_64/7/ovirt-4.1/packages
> * free   67 M
> * needed 130 M
>
> We may consider to run "yum clean packages" before starting rollback to
> free space there.
> Did you have keepcache=1 in your yum.conf?
>
>
>
>>
>> Best regards,
>> Brett
>>
>> On 29 September 2017 at 07:24, Sandro Bonazzola <sbona...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> 2017-09-28 20:29 GMT+02:00 Maton, Brett <mat...@ltresources.co.uk>:
>>>
>>>> Thanks Tomas,
>>>>
>>>>   I'm restoring backup at the moment, I'll let you know how it goes
>>>> when on the next attempt.
>>>>
>>>
>>> Didn't the setup rollback automatically? Can you please share the setup
>>> logs?
>>>
>>>
>>>
>>>
>>>>
>>>> On 28 September 2017 at 18:46, Tomas Jelinek <tjeli...@redhat.com>
>>>> wrote:
>>>>
>>>>> Hey Brett,
>>>>>
>>>>> That is strange - it looks like you have some VM which has memory size
>>>>> larger than the max memory size.
>>>>>
>>>>> You need to go over your VMs / templates to find which one has this
>>>>> wrong config and change it.
>>>>> Alternatively, to find it faster if you have many vms/templates, you
>>>>> could run this SQL query against your engine database:
>>>>> select vm_name from vm_static where mem_size_mb > max_memory_size_mb;
>>>>>
>>>>> Tomas
>>>>>
>>>>> On Thu, Sep 28, 2017 at 6:07 PM, Maton, Brett <
>>>>> mat...@ltresources.co.uk> wrote:
>>>>>
>>>>>> Upgrading from oVirt 4.1.7
>>>>>>
>>>>>> hosted-engine VM:
>>>>>> 4GB RAM
>>>>>>
>>>>>> hosted-engine setup failed, setup log shows this error:
>>>>>>
>>>>>> Running upgrade sql script '/usr/share/ovirt-engine/dbscr
>>>>>> ipts/upgrade/04_02_0140_add_max_memory_constraint.sql'...
>>>>>>
>>>>>> 2017-09-28 16:56:22,951+0100 DEBUG 
>>>>>> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
>>>>>> plugin.execute:926 execute-output: 
>>>>>> ['/usr/share/ovirt-engine/dbscripts/schema.sh',
>>>>>> '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l',
>>>>>> '/var/log/ovirt-engine/setup/ovirt-engine-setup-20170928164338-0rkilb.log',
>>>>>> '-c', 'apply'] stderr:
>>>>>> psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql:2:
>>>>>> ERROR:  check constraint "vm_static_max_memory_size_lower_bound" is
>>>>>> violated by some row
>>>>>> FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine
>>>>>> /dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql
>>>>>>
>>>>>> 2017-09-28 16:56:22,951+0100 ERROR 
>>>>>> otopi.plugins.ovirt_engine_setup.o

Re: [ovirt-users] oVirt 4.2 alpha upgrade failed

2017-09-29 Thread Maton, Brett
Hmm, let me see if there's another setup log

It was the SQL issue that caused the real problem, running out of space
during yum updates on my 'tiny' hosted engine vm isn't that uncommon...

On 29 September 2017 at 08:41, Sandro Bonazzola <sbona...@redhat.com> wrote:

>
>
> 2017-09-29 9:29 GMT+02:00 Maton, Brett <mat...@ltresources.co.uk>:
>
>> It all got a bit messy, but that's probably down to me.
>>
>>   I removed the 'old' ovirt repo definitions after I installed the 4.2
>> pre release repo (simply because yum was complaining about multiple
>> definitions).
>>
>>   I also allowed the installer to clean-up the old database directory,
>> which it did.
>>   The updated PostgreSQL server stayed up and running which stopped 4.1
>> from starting the version of PostgreSQL that it wanted running (port in use
>> I expect) etc etc etc
>>
>> So no in this particular case roll back failed, but there are a bunch of
>> warnings issued but engine-setup that that would probably happen.
>>
>> I've attached the engine-setup-log as requested.
>>
>
> Thanks!
> I see that the failure is:
> YumDownloadError:
> Errors were encountered while downloading packages.
> ovirt-engine-wildfly-10.1.0-1.el7.x86_64: Insufficient space in download
> directory /var/cache/yum/x86_64/7/ovirt-4.1/packages
> * free   67 M
> * needed 130 M
>
> We may consider to run "yum clean packages" before starting rollback to
> free space there.
> Did you have keepcache=1 in your yum.conf?
>
>
>
>>
>> Best regards,
>> Brett
>>
>> On 29 September 2017 at 07:24, Sandro Bonazzola <sbona...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> 2017-09-28 20:29 GMT+02:00 Maton, Brett <mat...@ltresources.co.uk>:
>>>
>>>> Thanks Tomas,
>>>>
>>>>   I'm restoring backup at the moment, I'll let you know how it goes
>>>> when on the next attempt.
>>>>
>>>
>>> Didn't the setup rollback automatically? Can you please share the setup
>>> logs?
>>>
>>>
>>>
>>>
>>>>
>>>> On 28 September 2017 at 18:46, Tomas Jelinek <tjeli...@redhat.com>
>>>> wrote:
>>>>
>>>>> Hey Brett,
>>>>>
>>>>> That is strange - it looks like you have some VM which has memory size
>>>>> larger than the max memory size.
>>>>>
>>>>> You need to go over your VMs / templates to find which one has this
>>>>> wrong config and change it.
>>>>> Alternatively, to find it faster if you have many vms/templates, you
>>>>> could run this SQL query against your engine database:
>>>>> select vm_name from vm_static where mem_size_mb > max_memory_size_mb;
>>>>>
>>>>> Tomas
>>>>>
>>>>> On Thu, Sep 28, 2017 at 6:07 PM, Maton, Brett <
>>>>> mat...@ltresources.co.uk> wrote:
>>>>>
>>>>>> Upgrading from oVirt 4.1.7
>>>>>>
>>>>>> hosted-engine VM:
>>>>>> 4GB RAM
>>>>>>
>>>>>> hosted-engine setup failed, setup log shows this error:
>>>>>>
>>>>>> Running upgrade sql script '/usr/share/ovirt-engine/dbscr
>>>>>> ipts/upgrade/04_02_0140_add_max_memory_constraint.sql'...
>>>>>>
>>>>>> 2017-09-28 16:56:22,951+0100 DEBUG 
>>>>>> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
>>>>>> plugin.execute:926 execute-output: 
>>>>>> ['/usr/share/ovirt-engine/dbscripts/schema.sh',
>>>>>> '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l',
>>>>>> '/var/log/ovirt-engine/setup/ovirt-engine-setup-20170928164338-0rkilb.log',
>>>>>> '-c', 'apply'] stderr:
>>>>>> psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql:2:
>>>>>> ERROR:  check constraint "vm_static_max_memory_size_lower_bound" is
>>>>>> violated by some row
>>>>>> FATAL: Cannot execute sql command: --file=/usr/share/ovirt-engine
>>>>>> /dbscripts/upgrade/04_02_0140_add_max_memory_constraint.sql
>>>>>>
>>>>>> 2017-09-28 16:56:22,951+0100 ERROR 
>>>>>> otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema
>>>>>> schema._misc:374 schema.sh: FATAL: Cannot execute sql com

Re: [ovirt-users] oVirt 4.2 alpha upgrade failed

2017-09-29 Thread Maton, Brett
Ah ok,

  So assuming there was enough space the rollback should have put the
engine back to it's previous state.

On 29 September 2017 at 09:38, Sandro Bonazzola <sbona...@redhat.com> wrote:

>
>
> 2017-09-29 9:58 GMT+02:00 Maton, Brett <mat...@ltresources.co.uk>:
>
>> That log appears to be the only one I have, the more recent ones are the
>> restore and then successful install of 4.2.
>>
>> I just checked yum.conf and no, keepcache is off (0)
>>
>> I didn't see any errors when engine-setup downloaded the packages, it
>> failed/stopped during the db migration / upgrade.
>>
>
> Yes, sorry, the out of space error is happening in the rollback from the
> failure during the database migration.
>
>
>
>>
>>
>> Brett
>>
>> On 29 September 2017 at 08:41, Sandro Bonazzola <sbona...@redhat.com>
>> wrote:
>>
>>>
>>>
>>> 2017-09-29 9:29 GMT+02:00 Maton, Brett <mat...@ltresources.co.uk>:
>>>
>>>> It all got a bit messy, but that's probably down to me.
>>>>
>>>>   I removed the 'old' ovirt repo definitions after I installed the 4.2
>>>> pre release repo (simply because yum was complaining about multiple
>>>> definitions).
>>>>
>>>>   I also allowed the installer to clean-up the old database directory,
>>>> which it did.
>>>>   The updated PostgreSQL server stayed up and running which stopped 4.1
>>>> from starting the version of PostgreSQL that it wanted running (port in use
>>>> I expect) etc etc etc
>>>>
>>>> So no in this particular case roll back failed, but there are a bunch
>>>> of warnings issued but engine-setup that that would probably happen.
>>>>
>>>> I've attached the engine-setup-log as requested.
>>>>
>>>
>>> Thanks!
>>> I see that the failure is:
>>> YumDownloadError:
>>> Errors were encountered while downloading packages.
>>> ovirt-engine-wildfly-10.1.0-1.el7.x86_64: Insufficient space in
>>> download directory /var/cache/yum/x86_64/7/ovirt-4.1/packages
>>> * free   67 M
>>> * needed 130 M
>>>
>>> We may consider to run "yum clean packages" before starting rollback to
>>> free space there.
>>> Did you have keepcache=1 in your yum.conf?
>>>
>>>
>>>
>>>>
>>>> Best regards,
>>>> Brett
>>>>
>>>> On 29 September 2017 at 07:24, Sandro Bonazzola <sbona...@redhat.com>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> 2017-09-28 20:29 GMT+02:00 Maton, Brett <mat...@ltresources.co.uk>:
>>>>>
>>>>>> Thanks Tomas,
>>>>>>
>>>>>>   I'm restoring backup at the moment, I'll let you know how it goes
>>>>>> when on the next attempt.
>>>>>>
>>>>>
>>>>> Didn't the setup rollback automatically? Can you please share the
>>>>> setup logs?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> On 28 September 2017 at 18:46, Tomas Jelinek <tjeli...@redhat.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hey Brett,
>>>>>>>
>>>>>>> That is strange - it looks like you have some VM which has memory
>>>>>>> size larger than the max memory size.
>>>>>>>
>>>>>>> You need to go over your VMs / templates to find which one has this
>>>>>>> wrong config and change it.
>>>>>>> Alternatively, to find it faster if you have many vms/templates, you
>>>>>>> could run this SQL query against your engine database:
>>>>>>> select vm_name from vm_static where mem_size_mb > max_memory_size_mb;
>>>>>>>
>>>>>>> Tomas
>>>>>>>
>>>>>>> On Thu, Sep 28, 2017 at 6:07 PM, Maton, Brett <
>>>>>>> mat...@ltresources.co.uk> wrote:
>>>>>>>
>>>>>>>> Upgrading from oVirt 4.1.7
>>>>>>>>
>>>>>>>> hosted-engine VM:
>>>>>>>> 4GB RAM
>>>>>>>>
>>>>>>>> hosted-engine setup failed, setup log shows this error:
>>>>>>>>
>>>>>>>> Runn

  1   2   3   >