[ovirt-users] hosted-engine some errors

2018-04-24 Thread dhy336
Hi,  I deploy hosted engine by hosted-engine --deploy,  but it go wrong . I do 
not know how to debug? thanks.
[ INFO  ] TASK [Clean /etc/hosts for the engine VM][ INFO  ] skipping: 
[localhost][ INFO  ] TASK [Copy /etc/hosts back to the engine VM][ INFO  ] 
skipping: [localhost][ INFO  ] TASK [Clean /etc/hosts on the host][ ERROR ] 
fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an 
undefined variable. The error was: list object has no element 0\n\nThe error 
appears to have been in 
'/usr/share/ovirt-hosted-engine-setup/ansible/create_target_vm.yml': line 265, 
column 5, but may\nbe elsewhere in the file depending on the exact syntax 
problem.\n\nThe offending line appears to be:\n\ntags: [ 
'skip_ansible_lint' ]\n  - name: Clean /etc/hosts on the host\n^ 
here\n\nexception type: \nexception: list object has no 
element 0"}[ ERROR ] Failed to execute stage 'Closing up': Failed executing 
ansible-playbook[ INFO  ] Stage: Clean up[ INFO  ] Cleaning temporary 
resources[ INFO  ] TASK [Gathering Facts][ INFO  ] ok: [localhost][ INFO  ] 
TASK [Remove local vm dir][ INFO  ] changed: [localhost][ INFO  ] Generating 
answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20180425125000.conf'[ INFO  
] Stage: Pre-termination[ INFO  ] Stage: Termination[ ERROR ] Hosted Engine 
deployment failed: please check the logs for the issue, fix accordingly or 
re-deploy from scratch.  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180425043425-savh7b.log
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Fwd: FreeIPA authentication broken

2018-04-24 Thread Kristian Petersen
-- Forwarded message --
From: Kristian Petersen 
Date: Tue, Apr 24, 2018 at 12:38 PM
Subject: Re: [ovirt-users] FreeIPA authentication broken
To: Ondra Machacek 


That directory only contains internal.properties.  So I copied the
IPA.properties, IPA-authn.properties, and IPA.jks files all into the 'aaa'
subdirectory and set ownership and permissions as you directed.  I reran
the command you gave me initially and it prompted me for a password for the
user when entered the process exited with status 0.  However, the web
interface still isn't letting me log in.  Do I need to restart a service
for the changes to be effective in the web UI?

On Mon, Apr 23, 2018 at 11:59 PM, Ondra Machacek 
wrote:

> Right, you are missing file /etc/ovirt-engine/aaa/IPA.properties
>
> It's not subdirectory of /etc/ovirt-engine/extensions.d, but it's in
> /etc/ovirt-engine/ in 'aaa' subdirectory, can you check what's there?
> Please check also the correct permissions of that file, it should be
> '600' and owned by ovirt user.
>
>
> On 04/23/2018 10:25 PM, Kristian Petersen wrote:
>
>> Looks like it can't find the IPA.properties file.  I tried following the
>> path it is complaining about but there are only files in
>> /etc/ovirt-engine/extensions.d on the engine VM.  No subdirectories.
>> However, that directory appears to contain the files it is looking for.
>> Both IPA-authn.properties and IPA.properties are there as are the internal
>> properties files.  Is there a config file we can edit to tell it to look in
>> the right place?
>>
>>


-- 
Kristian Petersen
System Administrator
BYU Dept. of Chemistry and Biochemistry



-- 
Kristian Petersen
System Administrator
BYU Dept. of Chemistry and Biochemistry
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] no available host to migrate on - for some of my VM's

2018-04-24 Thread Nico De Ranter
I started reinstalling the servers in the mean time.  I'll try again and
report whether it happens again or not.

Thanks for the reply.

Nico

On Tue, Apr 24, 2018 at 4:09 PM, Ala Hino  wrote:

> Can you please share the the manager (engine) log?
> Engine log is under: /var/log/ovirt-engine/engine.log
>
> On Tue, Apr 24, 2018 at 3:32 PM, Nico De Ranter <
> nico.deran...@esaturnus.com> wrote:
>
>>
>> Hi,
>>
>> I've installed a small test setup with 2 ovirt 4.2.2.6 nodes.  I've
>> created a number of VM's which are happily running distributed over both
>> hosts.  Now I want to try migrating them between the hosts. However for
>> some reason I can only migrate some of the VM's.  When I click on 'migrate'
>> for some of the VM's I get the message 'No available host to migrate on'.
>>
>> I tried comparing the settings via the GUI for a VM that can be migrated
>> and one that cannot be migrated, but I do not see any difference.
>> Note: all VM's are running Debian.
>>
>> Any ideas what could be the reason?  Is there any other location or log
>> file where I can get more details?
>>
>> Thanks in advance
>>
>> Nico
>>
>> --
>>
>> Nico De Ranter
>>
>> Operations Engineer
>>
>> T. +32 16 38 72 10
>>
>>
>> 
>>
>> 
>>
>>
>> eSATURNUS
>> Romeinse straat 12
>> 
>> 3001 Leuven – Belgium
>> 
>>
>> T. +32 16 40 12 82
>> F. +32 16 40 84 77
>> www.esaturnus.com
>>
>> 
>>
>> *For Service & Support *
>>
>> Support Line: +32 16 387210 or via email : supp...@esaturnus.com
>>
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>


-- 

Nico De Ranter

Operations Engineer

T. +32 16 38 72 10







eSATURNUS
Romeinse straat 12
3001 Leuven – Belgium

T. +32 16 40 12 82
F. +32 16 40 84 77
www.esaturnus.com



*For Service & Support *

Support Line: +32 16 387210 or via email : supp...@esaturnus.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] no available host to migrate on - for some of my VM's

2018-04-24 Thread Ala Hino
Can you please share the the manager (engine) log?
Engine log is under: /var/log/ovirt-engine/engine.log

On Tue, Apr 24, 2018 at 3:32 PM, Nico De Ranter  wrote:

>
> Hi,
>
> I've installed a small test setup with 2 ovirt 4.2.2.6 nodes.  I've
> created a number of VM's which are happily running distributed over both
> hosts.  Now I want to try migrating them between the hosts. However for
> some reason I can only migrate some of the VM's.  When I click on 'migrate'
> for some of the VM's I get the message 'No available host to migrate on'.
>
> I tried comparing the settings via the GUI for a VM that can be migrated
> and one that cannot be migrated, but I do not see any difference.
> Note: all VM's are running Debian.
>
> Any ideas what could be the reason?  Is there any other location or log
> file where I can get more details?
>
> Thanks in advance
>
> Nico
>
> --
>
> Nico De Ranter
>
> Operations Engineer
>
> T. +32 16 38 72 10
>
>
> 
>
> 
>
>
> eSATURNUS
> Romeinse straat 12
> 3001 Leuven – Belgium
>
> T. +32 16 40 12 82
> F. +32 16 40 84 77
> www.esaturnus.com
>
> 
>
> *For Service & Support *
>
> Support Line: +32 16 387210 or via email : supp...@esaturnus.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] no available host to migrate on - for some of my VM's

2018-04-24 Thread Nico De Ranter
Hi,

I've installed a small test setup with 2 ovirt 4.2.2.6 nodes.  I've created
a number of VM's which are happily running distributed over both hosts.
Now I want to try migrating them between the hosts. However for some reason
I can only migrate some of the VM's.  When I click on 'migrate' for some of
the VM's I get the message 'No available host to migrate on'.

I tried comparing the settings via the GUI for a VM that can be migrated
and one that cannot be migrated, but I do not see any difference.
Note: all VM's are running Debian.

Any ideas what could be the reason?  Is there any other location or log
file where I can get more details?

Thanks in advance

Nico

-- 

Nico De Ranter

Operations Engineer

T. +32 16 38 72 10







eSATURNUS
Romeinse straat 12
3001 Leuven – Belgium

T. +32 16 40 12 82
F. +32 16 40 84 77
www.esaturnus.com



*For Service & Support *

Support Line: +32 16 387210 or via email : supp...@esaturnus.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] UploadImageStatusCommand internal: false

2018-04-24 Thread johan . vermeulen7
Hello,

thanks for helping me out.
I guess nothing's running then.

The actual upload is not that important...

greetings, J.

- Oorspronkelijk bericht -
Van: "Idan Shaby" 
Aan: "johan vermeulen7" 
Cc: "users" 
Verzonden: Maandag 23 april 2018 07:08:47
Onderwerp: Re: [ovirt-users] UploadImageStatusCommand internal: false

Do you have anything under
":/ovirt-engine/api/imagetransfers/" (REST
API)?
This will tell you whether you have ongoing downloads/uploads in progress.


Regards,
Idan

On Sun, Apr 22, 2018 at 8:53 PM,  wrote:

> but my main concern is running as little tasks as possible on the engine
> right now
> So to make sure the upload command is not running any more...
>
>
> - Oorspronkelijk bericht -
> Van: "johan vermeulen7" 
> Aan: "Idan Shaby" 
> Cc: "users" 
> Verzonden: Zondag 22 april 2018 19:39:20
> Onderwerp: Re: [ovirt-users] UploadImageStatusCommand internal: false
>
> Hello Idan,
>
> no, still no sign of it under storage / disks
>
> greetings, J.
>
> - Oorspronkelijk bericht -
> Van: "Idan Shaby" 
> Aan: "johan vermeulen7" 
> Cc: "users" 
> Verzonden: Zondag 22 april 2018 07:09:07
> Onderwerp: Re: [ovirt-users] UploadImageStatusCommand internal: false
>
> Hi,
>
> This does not look like an error message but like a regular info log.
> Did you manage to upload the image?
>
>
> Regards,
> Idan
>
> On Fri, Apr 20, 2018 at 12:36 PM,  wrote:
>
> > hello all,
> >
> > I'm trying to upload an image but get EM:
> >
> > 2018-04-20 11:32:57,737 INFO  [org.ovirt.engine.core.bll.
> > storage.disk.image.UploadImageStatusCommand] (default task-48)
> [6333fb8a]
> > Running command: UploadImageStatusCommand internal: false. Entities
> > affected :  ID: aaa0----123456789aaa Type: SystemAction
> > group CREATE_DISK with role type USER
> >
> > What I'm mostly interested now is how I can stop dis task?
> >
> > Greetings, J.
> >
> > ___
> > 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] Duplicate host_id after deployment via GUI, how is the hosted engine host_id selected?

2018-04-24 Thread Thomas Klute
Dear Martin,

yes, that's a good improvement!

Just to let you know: The alignment of database and host ids did work
and thus we now have everything aligned and will have an improved output
because of your changes, thanks!

Best regards,
 Thomas

> Hi Thomas,
>
> I posted https://gerrit.ovirt.org/#/c/90549/ in an attempt to see how
> to improve the clarity. The result is in the attachment.
>
> The ID is still different, but the section header shows the hostname
> as well. Do you think it would be enough for you? We can't expect
> people to touch the DB every time they add a host out of order and the
> SPM ID is not selectable by user, because it needs to fit some storage
> constraints (we use it for protecting storage metadata) and must match
> the hosted engine ID now.
>
> Best regards
>
> Martin Sivak
>
> On Mon, Apr 23, 2018 at 2:47 PM, Thomas Klute  wrote:
>> Hi Martin,
>>
>> I fully understand.
>> The only reason is that it's not only me administering this oVirt setup,
>> it's a setup for a client that has 2 local administrators.
>> We are trying to eliminate any configuration that might cause confusion.
>> When doing a
>>
>> hosted-engine --vm-status
>>
>> a list like this is shown:
>>
>> --== Host 1 status ==--
>> ...
>> Hostname   : ovirt1.munk.de
>> Host ID: 1
>> ...
>>
>> --== Host 2 status ==--
>> ...
>> Hostname   : ovirt3.munk.de
>> Host ID: 2
>> ...
>>
>> and so on.
>> This "Host 2" -> ovirt3 will sooner or later cause confusion and will
>> lead to administrative actions applied to the wrong hosts.
>>
>> I'll give it a try and try to align the hosts and ids. I'll backup the
>> old values in order to be able to roll back the changes if it does not work.
>>
>> Thanks for your help!!
>> Best regards,
>>  Thomas
>>
>>
>>
>>> Hi Thomas,
>>>
>>> is there a real need to have them aligned? Both SPM ID and Hosted
>>> engine ids are quite hidden and accompanied by hostname where visible.
>>>
>>> I understand the urge to have everything neatly organized, but playing
>>> with hosted engine IDs and SPM IDs will bring you nothing but trouble.
>>>
>>> Theoretically you could put all hosts to maintenance, hosted engine to
>>> global maintenance, stop the engine service and update the DB and
>>> hosted engine config files. Changing anything when active is a big
>>> NO-NO. And I can't promise stability even if you stop everything
>>> first.
>>>
>>> The short version: Please change hosted engine ID to match SPM ID
>>> (/etc/ovirt-hosted-engine/hosted-engine.conf) and ignore the hostname
>>> vs ID mismatch. All other options might cost you..
>>>
>>> Best regards
>>>
>>> --
>>> Martin Sivak
>>> SLA / oVirt
>>>
>>> On Mon, Apr 23, 2018 at 2:26 PM, Thomas Klute  wrote:
 Dear Simone,

 thanks for the help, I already have noticed, that there is a mismatch
 between SPM IDs and the hosts.
 From my knowledge this may be our fault.

  vds_name | vds_spm_id
  oVirt4   |  3
  oVirt2   |  4
  oVirt6   |  6
  oVirt5   |  5
  oVirt1   |  1
  oVirt3   |  2

 oVirt3 was re-installed using the node ng image - and was assigned id 2 
 that
 was available at that time (taken into account this database query).
 It was not available in fact because of the host ovirt2 having the 
 host_id=2
 entry in the configuration on the host and the sanlock having locked the
 appropriate space.

 I can't remember where this mismatch came from but I assume that some time
 ago someone maybe manually changed the entry on oVirt2 host in order to
 match with the hostname (oVirtX -> Host id X).
 Thus I think it is not a bug at the moment.

 But that leads me to the next question:

 Is there a manual way to align numbers in the hostnames with the SPM IDs?
 (oVirt4 should be spm id 4)

 Does this work? Update the database, change the entry in hosted-engine.conf
 and then reboot the node?

 Thanks & best regards,
 Thomas




 On Mon, Apr 23, 2018 at 1:04 PM, Martin Sivak  wrote:
> Hello,
>
> the ID should be coming from the SPM ID of the host as assigned by the
> engine and duplicates should not be happening indeed.
>
> Can you please tell us what version of engine you have and how was
> first hosted engine node deployed? We recently changed the default
> deployment method (4.2.2 in fact) and we would like to know whether
> this might be related to that change or not.
>
> Simone, do you know how to debug this? Are there logs we could use to
> check the behavior? The host-deploy logs maybe?
 Thomas,
 can you please share the output of
   sudo -u postgres scl enable rh-postgresql95 -- psql -d engine -c "select
 vds_id, 

Re: [ovirt-users] oVirt Image I/O

2018-04-24 Thread Yaniv Kaul
On Tue, Apr 24, 2018 at 10:35 AM, Николаев Алексей <
alexeynikolaev.p...@yandex.ru> wrote:

> Thx for answer.
>
> But in admin UI from menu "Storage -> Disks -> Upload" I can only select
> the local file. There I can use URL to upload?
>

Not from the UI.
This can be achieved from Ansible, though.
See
https://github.com/oVirt/ovirt-ansible-image-template/blob/master/README.md
Y.



>
>
>
> 23.04.2018, 19:57, "Michal Skrivanek" :
>
>
>
>
> On 23 Apr 2018, at 16:25, Николаев Алексей 
> wrote:
>
> Hi community!
>
> Is it possible to Upload ISO or disk image from URL as specified
> https://ovirt.org/develop/release-management/features/
> storage/image-upload/?
>
>
> yes, it is
>
> Thanks,
> michal
>
>
>
> ___
> 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] hosted-engine --deploy ERROR

2018-04-24 Thread Martin Sivak
Hi,

was that a clean host? What does virsh -r net-list show?

Best regards

Martin Sivak

On Tue, Apr 24, 2018 at 9:12 AM,   wrote:
> Hi,
>
> I deploy hosted engine but it has some error,
>
> # hosted-engine --deploy
>
> [ INFO  ] TASK [Check status of default libvirt network]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [Activate default libvirt network]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["virsh",
> "net-start", "default"], "delta": "0:00:00.074655", "end": "2018-04-24
> 14:59:12.548459", "msg": "non-zero return code", "rc": 1, "start":
> "2018-04-24 14:59:12.473804", "stderr": "error: failed to get network
> 'default'\nerror: Network not found: no network with matching name
> 'default'", "stderr_lines": ["error: failed to get network 'default'",
> "error: Network not found: no network with matching name 'default'"],
> "stdout": "", "stdout_lines": []}
> [ INFO  ] TASK [include_tasks]
> [ INFO  ] ok: [localhost]
> [ INFO  ] TASK [Remove local vm dir]
> [ INFO  ] changed: [localhost]
> [ INFO  ] TASK [Notify the user about a failure]
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The
> system may not be provisioned according to the playbook results: please
> check the logs for the issue, fix accordingly or re-deploy from scratch.\n"}
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
>
>
> ___
> 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] Duplicate host_id after deployment via GUI, how is the hosted engine host_id selected?

2018-04-24 Thread Martin Sivak
Hi Thomas,

I posted https://gerrit.ovirt.org/#/c/90549/ in an attempt to see how
to improve the clarity. The result is in the attachment.

The ID is still different, but the section header shows the hostname
as well. Do you think it would be enough for you? We can't expect
people to touch the DB every time they add a host out of order and the
SPM ID is not selectable by user, because it needs to fit some storage
constraints (we use it for protecting storage metadata) and must match
the hosted engine ID now.

Best regards

Martin Sivak

On Mon, Apr 23, 2018 at 2:47 PM, Thomas Klute  wrote:
> Hi Martin,
>
> I fully understand.
> The only reason is that it's not only me administering this oVirt setup,
> it's a setup for a client that has 2 local administrators.
> We are trying to eliminate any configuration that might cause confusion.
> When doing a
>
> hosted-engine --vm-status
>
> a list like this is shown:
>
> --== Host 1 status ==--
> ...
> Hostname   : ovirt1.munk.de
> Host ID: 1
> ...
>
> --== Host 2 status ==--
> ...
> Hostname   : ovirt3.munk.de
> Host ID: 2
> ...
>
> and so on.
> This "Host 2" -> ovirt3 will sooner or later cause confusion and will
> lead to administrative actions applied to the wrong hosts.
>
> I'll give it a try and try to align the hosts and ids. I'll backup the
> old values in order to be able to roll back the changes if it does not work.
>
> Thanks for your help!!
> Best regards,
>  Thomas
>
>
>
>> Hi Thomas,
>>
>> is there a real need to have them aligned? Both SPM ID and Hosted
>> engine ids are quite hidden and accompanied by hostname where visible.
>>
>> I understand the urge to have everything neatly organized, but playing
>> with hosted engine IDs and SPM IDs will bring you nothing but trouble.
>>
>> Theoretically you could put all hosts to maintenance, hosted engine to
>> global maintenance, stop the engine service and update the DB and
>> hosted engine config files. Changing anything when active is a big
>> NO-NO. And I can't promise stability even if you stop everything
>> first.
>>
>> The short version: Please change hosted engine ID to match SPM ID
>> (/etc/ovirt-hosted-engine/hosted-engine.conf) and ignore the hostname
>> vs ID mismatch. All other options might cost you..
>>
>> Best regards
>>
>> --
>> Martin Sivak
>> SLA / oVirt
>>
>> On Mon, Apr 23, 2018 at 2:26 PM, Thomas Klute  wrote:
>>> Dear Simone,
>>>
>>> thanks for the help, I already have noticed, that there is a mismatch
>>> between SPM IDs and the hosts.
>>> From my knowledge this may be our fault.
>>>
>>>  vds_name | vds_spm_id
>>>  oVirt4   |  3
>>>  oVirt2   |  4
>>>  oVirt6   |  6
>>>  oVirt5   |  5
>>>  oVirt1   |  1
>>>  oVirt3   |  2
>>>
>>> oVirt3 was re-installed using the node ng image - and was assigned id 2 that
>>> was available at that time (taken into account this database query).
>>> It was not available in fact because of the host ovirt2 having the host_id=2
>>> entry in the configuration on the host and the sanlock having locked the
>>> appropriate space.
>>>
>>> I can't remember where this mismatch came from but I assume that some time
>>> ago someone maybe manually changed the entry on oVirt2 host in order to
>>> match with the hostname (oVirtX -> Host id X).
>>> Thus I think it is not a bug at the moment.
>>>
>>> But that leads me to the next question:
>>>
>>> Is there a manual way to align numbers in the hostnames with the SPM IDs?
>>> (oVirt4 should be spm id 4)
>>>
>>> Does this work? Update the database, change the entry in hosted-engine.conf
>>> and then reboot the node?
>>>
>>> Thanks & best regards,
>>> Thomas
>>>
>>>
>>>
>>>
>>> On Mon, Apr 23, 2018 at 1:04 PM, Martin Sivak  wrote:
 Hello,

 the ID should be coming from the SPM ID of the host as assigned by the
 engine and duplicates should not be happening indeed.

 Can you please tell us what version of engine you have and how was
 first hosted engine node deployed? We recently changed the default
 deployment method (4.2.2 in fact) and we would like to know whether
 this might be related to that change or not.

 Simone, do you know how to debug this? Are there logs we could use to
 check the behavior? The host-deploy logs maybe?
>>>
>>> Thomas,
>>> can you please share the output of
>>>   sudo -u postgres scl enable rh-postgresql95 -- psql -d engine -c "select
>>> vds_id, vds_name, vds_spm_id from vds"
>>> executed on the engine VM
>>>
>>> and the content of /var/log/ovirt-engine/host-deploy (still from the engine
>>> VM)?
>>>

 Best regards

 --
 Martin Sivak
 SLA / oVirt

 On Mon, Apr 23, 2018 at 12:54 PM, Thomas Klute  wrote:
> Dear oVirt Users,
>
> we installed a third ovirt node using the ovirt node ng 

Re: [ovirt-users] oVirt Image I/O

2018-04-24 Thread Николаев Алексей
Thx for answer. But in admin UI from menu "Storage -> Disks -> Upload" I can only select the local file. There I can use URL to upload?   23.04.2018, 19:57, "Michal Skrivanek" :  On 23 Apr 2018, at 16:25, Николаев Алексей  wrote: Hi community! Is it possible to Upload ISO or disk image from URL as specified https://ovirt.org/develop/release-management/features/storage/image-upload/? yes, it is Thanks,michal  ___Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] hosted-engine --deploy ERROR

2018-04-24 Thread dhy336
Hi,
I deploy hosted engine but it has some error,
# hosted-engine --deploy
[ INFO  ] TASK [Check status of default libvirt network][ INFO  ] changed: 
[localhost][ INFO  ] TASK [Activate default libvirt network][ ERROR ] fatal: 
[localhost]: FAILED! => {"changed": true, "cmd": ["virsh", "net-start", 
"default"], "delta": "0:00:00.074655", "end": "2018-04-24 14:59:12.548459", 
"msg": "non-zero return code", "rc": 1, "start": "2018-04-24 14:59:12.473804", 
"stderr": "error: failed to get network 'default'\nerror: Network not found: no 
network with matching name 'default'", "stderr_lines": ["error: failed to get 
network 'default'", "error: Network not found: no network with matching name 
'default'"], "stdout": "", "stdout_lines": []}[ INFO  ] TASK [include_tasks][ 
INFO  ] ok: [localhost][ INFO  ] TASK [Remove local vm dir][ INFO  ] changed: 
[localhost][ INFO  ] TASK [Notify the user about a failure][ ERROR ] fatal: 
[localhost]: FAILED! => {"changed": false, "msg": "The system may not be 
provisioned according to the playbook results: please check the logs for the 
issue, fix accordingly or re-deploy from scratch.\n"}[ ERROR ] Failed to 
execute stage 'Closing up': Failed executing ansible-playbook
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt4.2 snapshot upload fails

2018-04-24 Thread David David
Hi all.
oVirt 4.2

using this method
https://ovirt.org/develop/release-management/features/storage/backup-restore-disk-snapshots/
for backup and restore snapshots

trying to upload disk snapshot
thereis VM named vm-test, with disk id =
078398f5-0679-4eec-97e2-d227c097f453, storage = data00 and cluster =
testcluster.
i do snapshot of this VM.
and subsequently launched these scripts

download_vm_ovf.py
==
if __name__ == "__main__":

# Set VM name
vm_name = 'vm-test'


the ovf file is saved as 1d45f654-2ade-46c9-a747-2cd01ce14df2.ovf

download_disk_snapshots.py
==
if __name__ == "__main__":

# Set relevant disk and stroage domain IDs
disk_id = '078398f5-0679-4eec-97e2-d227c097f453'
sd_name = 'data00'
==

the snapshot is saved as a8278905-57c9-4321-ab08-633436c5a63c

upload_disk_snapshots.py:
=
if __name__ == "__main__":

# Set storage domain name
sd_name = 'data00'

# Set OVF file path
ovf_file_path = '1d45f654-2ade-46c9-a747-2cd01ce14df2.ovf'

# Disk to upload
disk_path = 'a8278905-57c9-4321-ab08-633436c5a63c'
==

when trying run script upload_disk_snapshots.py, i got error with these message:

Traceback (most recent call last):
  File "snapshot_upload.py", line 279, in 
images_chain = get_images_chain(disk_path)
  File "snapshot_upload.py", line 244, in get_images_chain
base_volume = [v for v in volumes_info.values() if
'full-backing-filename' not in v ][0]
IndexError: list index out of range

Anyone can help with this?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVIrt4.2 snapshot upload fail

2018-04-24 Thread David David
Hi all.
oVirt 4.2
trying to upload disk snapshot
thereis VM named vm-test, with disk id =
078398f5-0679-4eec-97e2-d227c097f453, storage = data00 and cluster =
testcluster.
i do snapshot of this VM.
and subsequently launched these scripts

download_vm_ovf.py
==
if __name__ == "__main__":

# Set VM name
vm_name = 'vm-test'


the ovf file is saved as 1d45f654-2ade-46c9-a747-2cd01ce14df2.ovf

download_disk_snapshots.py
==
if __name__ == "__main__":

# Set relevant disk and stroage domain IDs
disk_id = '078398f5-0679-4eec-97e2-d227c097f453'
sd_name = 'data00'
==

the snapshot is saved as a8278905-57c9-4321-ab08-633436c5a63c

upload_disk_snapshots.py:
=
if __name__ == "__main__":

# Set storage domain name
sd_name = 'data00'

# Set OVF file path
ovf_file_path = '1d45f654-2ade-46c9-a747-2cd01ce14df2.ovf'

# Disk to upload
disk_path = 'a8278905-57c9-4321-ab08-633436c5a63c'
==

when trying run script upload_disk_snapshots.py, i got error with these message:

Traceback (most recent call last):
  File "snapshot_upload.py", line 279, in 
images_chain = get_images_chain(disk_path)
  File "snapshot_upload.py", line 244, in get_images_chain
base_volume = [v for v in volumes_info.values() if
'full-backing-filename' not in v ][0]
IndexError: list index out of range

Anyone can help with this?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Hosted VM Pause when one node of gluster goes down

2018-04-24 Thread rwecker
HI, 

I have a 3 node hyper-converged cluster running glusterfs with 3 replica 1 
arbiter volumes. When I Shutdown 1 node i am having problems with high load 
VM's pausing due to storage error.what areas should i look in to get this to 
work? 



Russell Wecker 

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


Re: [ovirt-users] FreeIPA authentication broken

2018-04-24 Thread Ondra Machacek

Right, you are missing file /etc/ovirt-engine/aaa/IPA.properties

It's not subdirectory of /etc/ovirt-engine/extensions.d, but it's in
/etc/ovirt-engine/ in 'aaa' subdirectory, can you check what's there?
Please check also the correct permissions of that file, it should be
'600' and owned by ovirt user.

On 04/23/2018 10:25 PM, Kristian Petersen wrote:
Looks like it can't find the IPA.properties file.  I tried following the 
path it is complaining about but there are only files in 
/etc/ovirt-engine/extensions.d on the engine VM.  No subdirectories.  
However, that directory appears to contain the files it is looking for.  
Both IPA-authn.properties and IPA.properties are there as are the 
internal properties files.  Is there a config file we can edit to tell 
it to look in the right place?



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