[ovirt-users] Networking issues on Hosted Engine Appliance

2016-09-01 Thread Bryan Sockel
Having some issues with my Hosted Engine Appliance,  I am able to get it up 
and running, and i can access it only from the server that is hosting it.  
The host server can ping the appliance, and the appliance can ping the host 
server.  The host server can ping the rest of my network and get out to the 
internet.

This is a nested setup i am using for testing and poc and is running on a 
vmware platform.

Server IP Config: 

eno16777984: flags=4163  mtu 1500
ether 00:50:56:01:0d:48  txqueuelen 1000  (Ethernet)
RX packets 572078  bytes 673729777 (642.5 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 342235  bytes 191490802 (182.6 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
loop  txqueuelen 0  (Local Loopback)
RX packets 831524  bytes 6927010219 (6.4 GiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 831524  bytes 6927010219 (6.4 GiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
ovirtmgmt: flags=4163  mtu 1500
inet 10.20.42.3  netmask 255.255.252.0  broadcast 10.20.43.255
ether 00:50:56:01:0d:48  txqueuelen 0  (Ethernet)
RX packets 957838  bytes 796793041 (759.8 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 795846  bytes 4627811240 (4.3 GiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
vnet0: flags=4163  mtu 1500
ether fe:16:3e:20:fc:a2  txqueuelen 500  (Ethernet)
RX packets 3434  bytes 11065518 (10.5 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 9008  bytes 2493747 (2.3 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
default gw-lab.colo.test 0.0.0.0 UG0  00 
ovirtmgmt
10.20.40.0  0.0.0.0 255.255.252.0   U 0  00 
ovirtmgmt
link-local  0.0.0.0 255.255.0.0 U 1004   00 
ovirtmgmt


Appliance:
eth0: flags=4163  mtu 1500
inet 10.20.42.17  netmask 255.255.252.0  broadcast 10.20.43.255
ether 00:16:3e:20:fc:a2  txqueuelen 1000  (Ethernet)
RX packets 9489  bytes 2674331 (2.5 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 3655  bytes 11370881 (10.8 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
loop  txqueuelen 0  (Local Loopback)
RX packets 67298  bytes 36550074 (34.8 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 67298  bytes 36550074 (34.8 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
default ovirt1.test.lab 0.0.0.0 UG10000 eth0
10.20.40.0  0.0.0.0 255.255.252.0   U 10000 eth0

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


Re: [ovirt-users] Unable to backend oVirt with Cinder

2016-09-01 Thread Daniel Erez
On Wed, Aug 31, 2016 at 4:27 PM, Logan Kuhn  wrote:

> Thank you for your response, but unfortunately it still doesn't work.
>
> I can do cinder-ey things from the command line, including cinder list,
> type-show, create.  The keystonerc_admin file that I use matches yours with
> the relevant bits changed for my environment, password, region etc.  I've
> filled out the External Provider dialog with the admin user, cinder user
> and a new user.  The dialog reports that it Failed to communicate with the
> external provider and to consult the log.  The log reports the following:
>
> 2016-08-31 08:04:21,518 INFO [org.ovirt.engine.core.bll.provider.
> TestProviderConnectivityCommand] (default task-46) [20342b40] Running
> command: TestProviderConnectivityCommand internal: false. Entities
> affected : ID: aaa0----123456789aaa Type: SystemAction
> group CREATE_STORAGE_POOL with role type ADMIN
> 2016-08-31 08:04:21,546 ERROR [org.ovirt.engine.core.bll.provider.storage.
> AbstractOpenStackStorageProviderProxy] (default task-46) [20342b40]
> Unauthorized (OpenStack response error code: 401)
> 2016-08-31 08:04:21,546 ERROR [org.ovirt.engine.core.bll.provider.
> TestProviderConnectivityCommand] (default task-46) [20342b40] Command
> 'org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand'
> failed: EngineException: (Failed with error PROVIDER_FAILURE and code 5050)
>
> Which is very obvious that the username/auth that ovirt is sending isn't
> allowed to create, but it's using the same username/password that's in the
> keystonerc_admin file that I can do various command line things with.
>
> This is my keystonerc_admin file:
>
> OS_AUTH_URL=http://10.128.7.252:5000/v3
> OS_PASSWORD=adminpass
> OS_PROJECT_DOMAIN_NAME=default
> OS_PROJECT_NAME=admin
> OS_REGION_NAME=WRI
> OS_TENANT_NAME=admin
> OS_USERNAME=admin
> OS_USER_DOMAIN_NAME=default
>
> I had to make add certain fields and change the auth url to v3 otherwise
> it reported either a malformed URL or more commonly, 401 Unauthorized.
> Which made me wonder if it's a compatibility issue with the v3 API.  I've
> been working with Openstack Mitaka and ovirt 4.0.2 and 4.0.3
>

For keystone authentication, we support v2.0.
Have you tried 'http://10.128.7.252:5000/v2.0' as authentication URL on add
provider dialog?


>
> Regards,
> Logan
>
> - On Aug 31, 2016, at 6:07 AM, Natalie Gavrilov 
> wrote:
>
> Hi Logen,
>
> I'll refer only to* using authentication*, because I had configured it
> previously.
> This means: /etc/cinder/cinder.conf should have: auth_strategy = keystone
> I'm using  keystonerc file, example keystonerc_admin:
> 
> 
> unset OS_SERVICE_TOKEN
> export OS_USERNAME=admin
> export OS_PASSWORD=password
> export OS_AUTH_URL=http://CINDER-HOST:5000/v2.0
> export PS1='[\u@\h \W(keystone_admin)]\$ '
>
> export OS_TENANT_NAME=admin
> export OS_REGION_NAME=RegionOne
> 
> 
>
> This will be step by step as much as possible just to make sure nothing is
> missed (assuming Cinder and Ceph are configured correctly).
>
> Go to:
> External providers -> Add
> Fill in the fields:
> Name:
> Type: *OpenStack Volume*
> Provider url: http://CINDER_HOST:8776
> 
> Check "Requires Authentication"
>
> Fill in the information, this is an example:
> Username: admin
> Password: password
> Tenant name: admin
> Authentication URL: http://CINDER-HOST:5000/v2.0
> 
>
> Test should return *"Test succeeded, managed to access provider."*
> Now click Ok.
>
>
> *Now lets configure additional information:*
>
> Lower pane: *Authentication Keys*
> Click on: New
> Fill in *UUID* field with rbd_secret_uuid
> and *value*:which is the key (it's in /etc/ceph/ceph.client.
> USERNAME.keyring)
>
>
> Hope this helps..
>
> Regards,
> Natalie
>
> --
>
> From: "Aharon Canan" 
> To: "Natalie Gavrilov" 
> Sent: Wednesday, August 31, 2016 8:53:22 AM
> Subject: Fwd: [ovirt-users] Unable to backend oVirt with Cinder
>
> Hi
>
> Can you help with below?
> This is community email and will be great if you can help this guy.
>
> Aharon
> -- Forwarded message --
> From: Logan Kuhn 
> Date: Tue, Aug 30, 2016 at 11:07 PM
> Subject: [ovirt-users] Unable to backend oVirt with Cinder
> To: users 
>
>
> I've got Cinder configured and pointed at Ceph for it's back end storage.
> I can run ceph commands on the cinder machine and cinder is configured for
> noauth and I've also tried it with Keystone for auth.  I can run various
> cinder commands and it'll return as expected.
>
> When I configure it in oVirt it'll add the external provider fine, but when
> I go to create a disk it 

Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Simone Tiraboschi
On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO 
wrote:

>
> hello,
>
> Thanks for all the answers.
> In attachments the log file
>
>

It's taking a long time on this step executing engine-setup on the engine
VM:

2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine
dialog.__logString:204 DIALOG:SEND   ### |- [ INFO  ]
Creating/refreshing Engine 'internal' domain database schema
2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142 method
exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in
_executeMethod
method['method']()
  File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/engine/health.py",
line 132, in _closeup
line, timeout = self._appliance_readline_nb(TIMEOUT)
  File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py",
line 107, in _appliance_readline_nb
timeout
  File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in _signal
raise RuntimeError("SIG%s" % signum)
RuntimeError: SIG1
2016-08-31 19:15:15 ERROR otopi.context context._executeMethod:151 Failed
to execute stage 'Closing up': SIG1

In this step engine-setup is requiring a lot of entropy for cryptographic
actions so a similar delay could be due to the lack of entropy on your
system.

Can you please check the entropy on your host?
 cat /proc/sys/kernel/random/entropy_avail
is it a nested env?



> Thanks
>
> inle
> --
> *De: *"alvarez" 
> *À: *"Simone Tiraboschi" 
> *Envoyé: *Mercredi 31 Août 2016 14:45:53
>
> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>
> Hello,
>
> I am re-installing in orther to do the experience again.
>
> the hostname is resolvable the dns server  is in same network segment.
>
> Sincerily
>
> Inle
>
> --
> *De: *"Simone Tiraboschi" 
> *À: *"alvarez" 
> *Cc: *"users" 
> *Envoyé: *Mercredi 31 Août 2016 14:26:31
> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>
>
>
> On Wed, Aug 31, 2016 at 12:27 PM, Osvaldo ALVAREZ POZO <
> alva...@xtra-mail.fr> wrote:
>
>> Hello,
>>
>> I am trying to deploy ovirt hosted-engine (over iscsi, i do not have NFS)
>> from cockpit web interface.
>> I have:
>> -1 ovirt-node (ovirt-node-ng-installer-ovirt-4.0-2016062412)
>> -le rpm for the appliance ovirt-engine-appliance-4.0-20160819.1.el7.
>> centos.noarch
>>
>> I have four network nics let's say nic1, nic2, nic3 and nic4. I use nic3
>> and nic4 for ISCSi
>> I have the ovirt-node ip on nic1.
>>
>> Any time I try to deploy ovirt hosted engine from ovirt-node cockpit
>> interface the result is the same, I receive a "time out message", and the
>> ovirt-node cockpit web interface does not work anymore.
>>
>> The documentation does not talk about network card requirement I do not
>> know where to look.
>>
>> should I use nic2 instead of nic1 when deploying hosted-engine?
>>
>> Any advice?
>>
>
> I suspect that you hist https://bugzilla.redhat.
> com/show_bug.cgi?id=1358530
>
> Can you please check if the hostname of your host is correctly resolvable?
>
>
>>
>> Thanks
>>
>> Inle
>>
>>
>>
>>
>>
>> ___
>> 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] Change Engine History Logging from Advanched to Basic

2016-09-01 Thread Yedidyah Bar David
On Wed, Aug 31, 2016 at 2:58 PM, Matt .  wrote:
> Is there a way to change the Engine History from Advanced to Basic ?

Yes, run 'engine-setup --reconfigure-dwh-scale'.

You can also manually change [1] to whatever specific values you want.
I don't see this documented on the ovirt site, you can use RHV docs.

[1] /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf

>
> If so I also would like to know how to empty the DB for older data
> when it's on Basic again, manually.

I don't think we have this documented. It's similar to [2] though.

We have [3] open to do this properly one day.

You can try something like this:

1. Stop dwhd
2. rm /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup*.conf
3. Connect with psql as user postgres and then:
> drop database ovirt_engine_history
> drop user ovirt_engine_history
4. engine-setup

I didn't try this myself.

[2] 
http://www.ovirt.org/develop/release-management/features/engine/migration-of-local-dwh-reports-to-remote/
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1060529

>
> Thanks!
> ___
> 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] How to import a qcow2 disk into ovirt

2016-09-01 Thread Gianluca Cecchi
On Thu, Sep 1, 2016 at 10:41 AM, Amit Aviram  wrote:

> When installing the engine, what FQDN did you set? because I see in the
> logs that the browser is trying to send the disk to localhost. this is
> taken from the FQDN set during setup.
>
> On Thu, Sep 1, 2016 at 9:49 AM, Стаценко Константин Юрьевич <
> statsenko...@interrao.ru> wrote:
>
>> No, engine is running on another host.
>>
>>
>>
>> *From:* Amit Aviram [mailto:aavi...@redhat.com]
>> *Sent:* Wednesday, August 31, 2016 6:53 PM
>>
>> *To:* Стаценко Константин Юрьевич 
>> *Cc:* lifuqiong ; users 
>> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>>
>>
>>
>> Does your engine runs where your browser is? (do you connect to localhost
>> in order to connect to the engine?)
>>
>>
>>
>>
>>
How to create browser.log?
So that I can send also mine, bacuase I also still have the problem (4.0.2
with workaround fixes) and also in my case engine is on another host and an
FQDN was set...
Thanks,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Simone Tiraboschi
On Thu, Sep 1, 2016 at 10:08 AM, Osvaldo ALVAREZ POZO 
wrote:

> hello,
>
> wath could be a reasonable level? 1000?
>

Yes, I think so.


>
> do you have a procedure for this?
>

If haveged is enough for you,
   yum install haveged
   systemctl enable haveged
   systemctl start haveged
and wait till /proc/sys/kernel/random/entropy_avail goes back to a
reasonable value.


>
> thanks
>
> Sincerily
>
> --
> *De: *"Simone Tiraboschi" 
> *À: *"alvarez" 
> *Cc: *"users" 
> *Envoyé: *Jeudi 1 Septembre 2016 09:58:38
>
> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>
>
>
> On Thu, Sep 1, 2016 at 9:36 AM, Osvaldo ALVAREZ POZO  > wrote:
>
>>
>> Hello,
>> Thanks for hte fast reply.
>>
>>  cat /proc/sys/kernel/random/entropy_avail
>> 133
>>
>>
> Ok, the issue is definitively here:
> You can try installing the haveged deamon or any other method to keep
> entropy at a reasonable level.
>
>
>>
>> it is a physical server Poweredge R710
>>
>> thanks
>>
>> inle
>> --
>> *De: *"Simone Tiraboschi" 
>> *À: *"alvarez" 
>> *Cc: *"users" 
>> *Envoyé: *Jeudi 1 Septembre 2016 09:13:45
>>
>> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>>
>>
>>
>> On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO <
>> alva...@xtra-mail.fr> wrote:
>>
>>>
>>> hello,
>>>
>>> Thanks for all the answers.
>>> In attachments the log file
>>>
>>>
>>
>> It's taking a long time on this step executing engine-setup on the engine
>> VM:
>>
>> 2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine
>> dialog.__logString:204 DIALOG:SEND   ### |- [ INFO  ]
>> Creating/refreshing Engine 'internal' domain database schema
>> 2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142 method
>> exception
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in
>> _executeMethod
>> method['method']()
>>   File "/usr/share/ovirt-hosted-engine-setup/scripts/../
>> plugins/gr-he-common/engine/health.py", line 132, in _closeup
>> line, timeout = self._appliance_readline_nb(TIMEOUT)
>>   File 
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py",
>> line 107, in _appliance_readline_nb
>> timeout
>>   File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in
>> _signal
>> raise RuntimeError("SIG%s" % signum)
>> RuntimeError: SIG1
>> 2016-08-31 19:15:15 ERROR otopi.context context._executeMethod:151 Failed
>> to execute stage 'Closing up': SIG1
>>
>> In this step engine-setup is requiring a lot of entropy for cryptographic
>> actions so a similar delay could be due to the lack of entropy on your
>> system.
>>
>> Can you please check the entropy on your host?
>>  cat /proc/sys/kernel/random/entropy_avail
>> is it a nested env?
>>
>>
>>> Thanks
>>>
>>> inle
>>> --
>>> *De: *"alvarez" 
>>> *À: *"Simone Tiraboschi" 
>>> *Envoyé: *Mercredi 31 Août 2016 14:45:53
>>>
>>> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>>>
>>> Hello,
>>>
>>> I am re-installing in orther to do the experience again.
>>>
>>> the hostname is resolvable the dns server  is in same network segment.
>>>
>>> Sincerily
>>>
>>> Inle
>>>
>>> --
>>> *De: *"Simone Tiraboschi" 
>>> *À: *"alvarez" 
>>> *Cc: *"users" 
>>> *Envoyé: *Mercredi 31 Août 2016 14:26:31
>>> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>>>
>>>
>>>
>>> On Wed, Aug 31, 2016 at 12:27 PM, Osvaldo ALVAREZ POZO <
>>> alva...@xtra-mail.fr> wrote:
>>>
 Hello,

 I am trying to deploy ovirt hosted-engine (over iscsi, i do not have
 NFS) from cockpit web interface.
 I have:
 -1 ovirt-node (ovirt-node-ng-installer-ovirt-4.0-2016062412)
 -le rpm for the appliance ovirt-engine-appliance-4.0-20160819.1.el7.
 centos.noarch

 I have four network nics let's say nic1, nic2, nic3 and nic4. I use
 nic3 and nic4 for ISCSi
 I have the ovirt-node ip on nic1.

 Any time I try to deploy ovirt hosted engine from ovirt-node cockpit
 interface the result is the same, I receive a "time out message", and the
 ovirt-node cockpit web interface does not work anymore.

 The documentation does not talk about network card requirement I do not
 know where to look.

 should I use nic2 instead of nic1 when deploying hosted-engine?

 Any advice?

>>>
>>> I suspect that you hist https://bugzilla.redhat.
>>> com/show_bug.cgi?id=1358530
>>>
>>> Can you please check if the hostname of your host is correctly
>>> resolvable?
>>>
>>>

 Thanks

 Inle





 

Re: [ovirt-users] Change Engine History Logging from Advanched to Basic

2016-09-01 Thread Matt .
Hi Yedidyah,

Superb, thanks for this, very clear!

Cheers,

Matt

2016-09-01 9:52 GMT+02:00 Yedidyah Bar David :
> On Wed, Aug 31, 2016 at 2:58 PM, Matt .  wrote:
>> Is there a way to change the Engine History from Advanced to Basic ?
>
> Yes, run 'engine-setup --reconfigure-dwh-scale'.
>
> You can also manually change [1] to whatever specific values you want.
> I don't see this documented on the ovirt site, you can use RHV docs.
>
> [1] /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf
>
>>
>> If so I also would like to know how to empty the DB for older data
>> when it's on Basic again, manually.
>
> I don't think we have this documented. It's similar to [2] though.
>
> We have [3] open to do this properly one day.
>
> You can try something like this:
>
> 1. Stop dwhd
> 2. rm /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup*.conf
> 3. Connect with psql as user postgres and then:
>> drop database ovirt_engine_history
>> drop user ovirt_engine_history
> 4. engine-setup
>
> I didn't try this myself.
>
> [2] 
> http://www.ovirt.org/develop/release-management/features/engine/migration-of-local-dwh-reports-to-remote/
> [3] https://bugzilla.redhat.com/show_bug.cgi?id=1060529
>
>>
>> Thanks!
>> ___
>> 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


[ovirt-users] Netapp oVirt Plugin

2016-09-01 Thread Kai Wagner

Hi,

can someone told me, where I can find the Netapp oVirt Plugin (Storage 
Plugin) that was developed by Netapp in the past?


It was developed upstream in oVirt and I'm interested in the source 
code, because we're planning something similar with our Open Source 
Storage called openATTIC and it would be very helpful if we can look 
into that "old" code.


Thanks a lot

Kai


it-novum GmbH 
i. A. Kai Wagner  -  Team Lead Support & Presales openATTIC 
_


Tel: +49 661 103-762 
Fax: +49 661 10317762   
Mail: kai.wag...@it-novum.com


it-novum GmbH • Edelzeller Straße 44 • 36043 Fulda • http://www.it-novum.com/ 
Handelsregister Amtsgericht Fulda, HRB 1934 • Geschäftsführer: Michael Kienle • Sitz der Gesellschaft: Fulda 

Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfänger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfältigung oder Weiterleitung dieser Mail ist strengstens verboten. 
This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. 



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


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Стаценко Константин Юрьевич
No, engine is running on another host.

From: Amit Aviram [mailto:aavi...@redhat.com]
Sent: Wednesday, August 31, 2016 6:53 PM
To: Стаценко Константин Юрьевич 
Cc: lifuqiong ; users 
Subject: Re: [ovirt-users] How to import a qcow2 disk into ovirt

Does your engine runs where your browser is? (do you connect to localhost in 
order to connect to the engine?)

On Wed, Aug 31, 2016 at 6:15 PM, Стаценко Константин Юрьевич 
> wrote:
ovirt-imageio-proxy is running.
Logs attached.
Nothing interesting in ovirt-imageio-proxy logs. Just start events.

From: Amit Aviram [mailto:aavi...@redhat.com]
Sent: Wednesday, August 31, 2016 5:39 PM
To: Стаценко Константин Юрьевич 
>
Cc: lifuqiong >; 
users >

Subject: Re: [ovirt-users] How to import a qcow2 disk into ovirt

Make sure ovirt-imageio-proxy runs in your engine's host.

Can you please attach ovirt-imageio-proxy logs from /vat/ovirt-imageio-proxy, 
engine logs and your browser's console logs as well?

On Wed, Aug 31, 2016 at 5:36 PM, Стаценко Константин Юрьевич 
> wrote:
Same problem here…
oVirt 4.0.3-1. Cannot upload image using GUI. “Paused by system”.
Already tried to import oVirt CA cert to trusted CA’s with no luck.
Any solutions ?

From: users-boun...@ovirt.org 
[mailto:users-boun...@ovirt.org] On Behalf Of 
lifuqiong
Sent: Wednesday, August 31, 2016 9:34 AM
To: 'Amit Aviram' >
Cc: 'users' >
Subject: Re: [ovirt-users] How to import a qcow2 disk into ovirt

My ovirt engine version is already 4.0.0.6,  which version should I upgrade for?

Another version of ovirt engine is 4.0.2.1, I can’t even find ‘qcow2’ option in 
Image Type of Dilog ‘Upload Image’

发件人: Amit Aviram [mailto:aavi...@redhat.com]
发送时间: 2016年8月31日 14:00
收件人: lifuqiong
抄送: Maor Lipchuk; users
主题: Re: [ovirt-users] How to import a qcow2 disk into ovirt

lifuqiong, you need to update your oVirt version in order for this to succeed. 
Please dnf/yum update ovirt-engine.

On Wed, Aug 31, 2016 at 5:46 AM, lifuqiong 
> wrote:
Hi Maor,

I Upload qcow2 file in Storage Tab, but the qcow2 upload error, which’s status 
keep ‘Paused by System’. What’s the reason?

Thank you

发件人: Maor Lipchuk [mailto:mlipc...@redhat.com]
发送时间: 2016年8月29日 21:00
收件人: lifuqiong
抄送: users
主题: Re: [ovirt-users] How to import a qcow2 disk into ovirt

Hi lifuqiong,

There are several ways to import disks into oVirt

Does the disk contains any snapshots?
if not, the disk file can be copied to the storage domain and you can register 
it using the Register button (see 
https://bugzilla.redhat.com/show_bug.cgi?id=1138139)

You can also take a look at the image-uploader, see 
http://www.ovirt.org/develop/release-management/features/storage/image-upload/

What is the use case that you want to do? What is the origin of the disk (Was 
it an oVirt disk?), as asked before, does the disk includes any snapshots.

Regards,
Maor


On Mon, Aug 29, 2016 at 3:40 PM, lifuqiong 
> wrote:
Hi,
 How to import a qcow2 disk file into ovirt? I search the Internet for 
a long time , but find no solution work.

Thank you


___
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 hosted-engine deploy never works

2016-09-01 Thread Simone Tiraboschi
On Thu, Sep 1, 2016 at 9:36 AM, Osvaldo ALVAREZ POZO 
wrote:

>
> Hello,
> Thanks for hte fast reply.
>
>  cat /proc/sys/kernel/random/entropy_avail
> 133
>
>
Ok, the issue is definitively here:
You can try installing the haveged deamon or any other method to keep
entropy at a reasonable level.


>
> it is a physical server Poweredge R710
>
> thanks
>
> inle
> --
> *De: *"Simone Tiraboschi" 
> *À: *"alvarez" 
> *Cc: *"users" 
> *Envoyé: *Jeudi 1 Septembre 2016 09:13:45
>
> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>
>
>
> On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO  > wrote:
>
>>
>> hello,
>>
>> Thanks for all the answers.
>> In attachments the log file
>>
>>
>
> It's taking a long time on this step executing engine-setup on the engine
> VM:
>
> 2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine
> dialog.__logString:204 DIALOG:SEND   ### |- [ INFO  ]
> Creating/refreshing Engine 'internal' domain database schema
> 2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142 method
> exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in
> _executeMethod
> method['method']()
>   File "/usr/share/ovirt-hosted-engine-setup/scripts/../
> plugins/gr-he-common/engine/health.py", line 132, in _closeup
> line, timeout = self._appliance_readline_nb(TIMEOUT)
>   File 
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py",
> line 107, in _appliance_readline_nb
> timeout
>   File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in
> _signal
> raise RuntimeError("SIG%s" % signum)
> RuntimeError: SIG1
> 2016-08-31 19:15:15 ERROR otopi.context context._executeMethod:151 Failed
> to execute stage 'Closing up': SIG1
>
> In this step engine-setup is requiring a lot of entropy for cryptographic
> actions so a similar delay could be due to the lack of entropy on your
> system.
>
> Can you please check the entropy on your host?
>  cat /proc/sys/kernel/random/entropy_avail
> is it a nested env?
>
>
>> Thanks
>>
>> inle
>> --
>> *De: *"alvarez" 
>> *À: *"Simone Tiraboschi" 
>> *Envoyé: *Mercredi 31 Août 2016 14:45:53
>>
>> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>>
>> Hello,
>>
>> I am re-installing in orther to do the experience again.
>>
>> the hostname is resolvable the dns server  is in same network segment.
>>
>> Sincerily
>>
>> Inle
>>
>> --
>> *De: *"Simone Tiraboschi" 
>> *À: *"alvarez" 
>> *Cc: *"users" 
>> *Envoyé: *Mercredi 31 Août 2016 14:26:31
>> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>>
>>
>>
>> On Wed, Aug 31, 2016 at 12:27 PM, Osvaldo ALVAREZ POZO <
>> alva...@xtra-mail.fr> wrote:
>>
>>> Hello,
>>>
>>> I am trying to deploy ovirt hosted-engine (over iscsi, i do not have
>>> NFS) from cockpit web interface.
>>> I have:
>>> -1 ovirt-node (ovirt-node-ng-installer-ovirt-4.0-2016062412)
>>> -le rpm for the appliance ovirt-engine-appliance-4.0-20160819.1.el7.
>>> centos.noarch
>>>
>>> I have four network nics let's say nic1, nic2, nic3 and nic4. I use nic3
>>> and nic4 for ISCSi
>>> I have the ovirt-node ip on nic1.
>>>
>>> Any time I try to deploy ovirt hosted engine from ovirt-node cockpit
>>> interface the result is the same, I receive a "time out message", and the
>>> ovirt-node cockpit web interface does not work anymore.
>>>
>>> The documentation does not talk about network card requirement I do not
>>> know where to look.
>>>
>>> should I use nic2 instead of nic1 when deploying hosted-engine?
>>>
>>> Any advice?
>>>
>>
>> I suspect that you hist https://bugzilla.redhat.
>> com/show_bug.cgi?id=1358530
>>
>> Can you please check if the hostname of your host is correctly
>> resolvable?
>>
>>
>>>
>>> Thanks
>>>
>>> Inle
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> 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] How to import a qcow2 disk into ovirt

2016-09-01 Thread Amit Aviram
When installing the engine, what FQDN did you set? because I see in the
logs that the browser is trying to send the disk to localhost. this is
taken from the FQDN set during setup.

On Thu, Sep 1, 2016 at 9:49 AM, Стаценко Константин Юрьевич <
statsenko...@interrao.ru> wrote:

> No, engine is running on another host.
>
>
>
> *From:* Amit Aviram [mailto:aavi...@redhat.com]
> *Sent:* Wednesday, August 31, 2016 6:53 PM
>
> *To:* Стаценко Константин Юрьевич 
> *Cc:* lifuqiong ; users 
> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> Does your engine runs where your browser is? (do you connect to localhost
> in order to connect to the engine?)
>
>
>
> On Wed, Aug 31, 2016 at 6:15 PM, Стаценко Константин Юрьевич <
> statsenko...@interrao.ru> wrote:
>
> ovirt-imageio-proxy is running.
>
> Logs attached.
>
> Nothing interesting in ovirt-imageio-proxy logs. Just start events.
>
>
>
> *From:* Amit Aviram [mailto:aavi...@redhat.com]
> *Sent:* Wednesday, August 31, 2016 5:39 PM
> *To:* Стаценко Константин Юрьевич 
> *Cc:* lifuqiong ; users 
>
>
> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> Make sure ovirt-imageio-proxy runs in your engine's host.
>
>
>
> Can you please attach ovirt-imageio-proxy logs from
> /vat/ovirt-imageio-proxy, engine logs and your browser's console logs as
> well?
>
>
>
> On Wed, Aug 31, 2016 at 5:36 PM, Стаценко Константин Юрьевич <
> statsenko...@interrao.ru> wrote:
>
> Same problem here…
>
> oVirt 4.0.3-1. Cannot upload image using GUI. “Paused by system”.
>
> Already tried to import oVirt CA cert to trusted CA’s with no luck.
>
> Any solutions ?
>
>
>
> *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
> Behalf Of *lifuqiong
> *Sent:* Wednesday, August 31, 2016 9:34 AM
> *To:* 'Amit Aviram' 
> *Cc:* 'users' 
> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> My ovirt engine version is already 4.0.0.6,  which version should I
> upgrade for?
>
>
>
> Another version of ovirt engine is 4.0.2.1, I can’t even find ‘qcow2’
> option in Image Type of Dilog ‘Upload Image’
>
>
>
> *发件人**:* Amit Aviram [mailto:aavi...@redhat.com ]
> *发送时间**:* 2016年8月31日 14:00
> *收件人**:* lifuqiong
> *抄送**:* Maor Lipchuk; users
> *主**题**:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> lifuqiong, you need to update your oVirt version in order for this to
> succeed. Please dnf/yum update ovirt-engine.
>
>
>
> On Wed, Aug 31, 2016 at 5:46 AM, lifuqiong 
> wrote:
>
> Hi Maor,
>
>
>
> I Upload qcow2 file in Storage Tab, but the qcow2 upload error, which’s
> status keep ‘Paused by System’. What’s the reason?
>
>
>
> Thank you
>
>
>
> *发件人**:* Maor Lipchuk [mailto:mlipc...@redhat.com]
> *发送时间**:* 2016年8月29日 21:00
> *收件人**:* lifuqiong
> *抄送**:* users
> *主**题**:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>
>
>
> Hi lifuqiong,
>
>
>
> There are several ways to import disks into oVirt
>
>
>
> Does the disk contains any snapshots?
>
> if not, the disk file can be copied to the storage domain and you can
> register it using the Register button (see https://bugzilla.redhat.
> com/show_bug.cgi?id=1138139)
>
>
>
> You can also take a look at the image-uploader, see
> http://www.ovirt.org/develop/release-management/features/
> storage/image-upload/
>
>
>
> What is the use case that you want to do? What is the origin of the disk
> (Was it an oVirt disk?), as asked before, does the disk includes any
> snapshots.
>
>
>
> Regards,
>
> Maor
>
>
>
>
>
> On Mon, Aug 29, 2016 at 3:40 PM, lifuqiong 
> wrote:
>
> Hi,
>
>  How to import a qcow2 disk file into ovirt? I search the Internet
> for a long time , but find no solution work.
>
>
>
> Thank you
>
>
>
>
> ___
> 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] Changing the gluster mount point in ovirt 3.6

2016-09-01 Thread Goorkate, B.J.
Hi,

Thanks Edward Clay and Nir Soffer for the fast response!

It worked! I was focused on detaching the domain first and didn't see
the maintenance option.

Regards,

Bertjan

On Wed, Aug 31, 2016 at 09:09:02AM -0600, Edward Clay wrote:
> I believe if you put the SD in maintenance mode you can change the mount
> options and I believe the IP field.  I don't believe you should have to
> remove it and re-import it.  I could be wrong.
> 
> 
> If you click on the storage tab and select your SD in the bottom details
> pain you can put it into maintenance mode under datacenter.
> 
> 
> All VMs will have to be down to do this.
> 
> 
> On 08/31/2016 08:39 AM, Goorkate, B.J. wrote:
> > Hi all,
> >
> > I recently moved my gluster back end to a dedicated gluster network.
> >
> > Now I would like to change the mount point of my master Storage Domain
> > to point to that network too. Is that possible?
> >
> > I tried to detach the Storage Domain from the datacenter in order to
> > re-add or import it with the new IP-address, but I got the message:
> >
> > "Error while executing action: Cannot remove the master Storage Domain from
> > the Data Center without another active Storage Domain to take its place.
> > -Either activate another Storage Domain in the Data Center, or remove the
> > Data Center."
> >
> > Has anybody got an idea on how to solve this?
> >
> > Thanks in advance!
> >
> > Regards,
> >
> > Bertjan
> >
> > --
> >
> > De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
> > uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht
> > ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct
> > te informeren door het bericht te retourneren. Het Universitair Medisch
> > Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de 
> > W.H.W.
> > (Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd 
> > bij
> > de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.
> >
> > Denk s.v.p aan het milieu voor u deze e-mail afdrukt.
> >
> > --
> >
> > This message may contain confidential information and is intended 
> > exclusively
> > for the addressee. If you receive this message unintentionally, please do 
> > not
> > use the contents but notify the sender immediately by return e-mail. 
> > University
> > Medical Center Utrecht is a legal person by public law and is registered at
> > the Chamber of Commerce for Midden-Nederland under no. 30244197.
> >
> > Please consider the environment before printing this e-mail.
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> 
> -- 
> Best regards,
> Edward Clay
> Systems Administrator
> UK2 Group - US Operations
> Phone: 1-800-222-2165
> FAX: 435-755-3449
> E-mail: edward.c...@uk2group.com
>  
> Believe in Better Hosting
> http://www.westhost.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


Re: [ovirt-users] vdsm memory consumption (ovirt 4.0)

2016-09-01 Thread Nir Soffer
On Wed, Aug 31, 2016 at 9:06 PM, Nir Soffer  wrote:

> On Wed, Aug 31, 2016 at 8:06 PM, Federico Alberto Sayd 
> wrote:
>
>> Hello Nir:
>>
>>
>> I followed your instructions , added the config file, restarted vdsm, and
>> today I have the vdsm logs from a host:
>>
>> https://drive.google.com/file/d/0ByrwZ1AkYuyeR1hmRm90a1R6MEk
>> /view?usp=sharing
>>
>> Please tell me if you see anything related to the memory issue.
>>
>
> This logs start when vdsm is using 567640 kB (554 MiB) - very unusual.
>
> The memory usage grow by 18 MiB during one day. No garbage collection
> issues. This smells like we keep some data forever for no reason.
>
> $ grep rss= vdsm-leak.log | head -n 1
> Thread-33::DEBUG::2016-08-30 
> 12:01:43,845::health::122::health::(_check_resources)
> user=1.73%, sys=1.65%, rss=567640 kB (+44), threads=57
>
>  $ grep rss= vdsm-leak.log | tail -n 1
> Thread-33::DEBUG::2016-08-31 
> 13:00:36,913::health::122::health::(_check_resources)
> user=4.18%, sys=1.87%, rss=586584 kB (+0), threads=52
>
> I would like to see the logs since vdsm was started  - do you have them?
>
> Also, can you describe the workload on this hypervisor?
>
> - how many vms are running at the same time
> - how many vms are started and stopped per hour
> - using default vdsm.conf? if not, please attach your conf
>

I could reproduce similar leak in master - it seems that we leak about 1MiB
for each vm started and stopped.

I opened this bug:
https://bugzilla.redhat.com/1372205

Please check if this bug match your issue. If it does, please add
your logs and other info to this bug.

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


[ovirt-users] Limit DWH database size

2016-09-01 Thread nicolas

Hi,

Since we upgraded to 4.0.x, DWH's PostgreSQL database is getting really 
huge. Is there a clean way to limit its size, like setting a maximal 
retention time for DWH data?


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


Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Osvaldo ALVAREZ POZO

Hello, 
Thanks for hte fast reply. 

cat /proc/sys/kernel/random/entropy_avail 
133 


it is a physical server Poweredge R710 

thanks 

inle 

De: "Simone Tiraboschi"  
À: "alvarez"  
Cc: "users"  
Envoyé: Jeudi 1 Septembre 2016 09:13:45 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 




hello, 

Thanks for all the answers. 
In attachments the log file 





It's taking a long time on this step executing engine-setup on the engine VM: 

2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine 
dialog.__logString:204 DIALOG:SEND ### |- [ INFO ] Creating/refreshing Engine 
'internal' domain database schema 
2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142 method 
exception 
Traceback (most recent call last): 
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in 
_executeMethod 
method['method']() 
File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/engine/health.py",
 line 132, in _closeup 
line, timeout = self._appliance_readline_nb(TIMEOUT) 
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py",
 line 107, in _appliance_readline_nb 
timeout 
File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in _signal 
raise RuntimeError("SIG%s" % signum) 
RuntimeError: SIG1 
2016-08-31 19:15:15 ERROR otopi.context context._executeMethod:151 Failed to 
execute stage 'Closing up': SIG1 

In this step engine-setup is requiring a lot of entropy for cryptographic 
actions so a similar delay could be due to the lack of entropy on your system. 

Can you please check the entropy on your host? 
cat /proc/sys/kernel/random/entropy_avail 
is it a nested env? 

BQ_BEGIN

Thanks 

inle 

De: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
À: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] > 
Envoyé: Mercredi 31 Août 2016 14:45:53 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 

Hello, 

I am re-installing in orther to do the experience again. 

the hostname is resolvable the dns server is in same network segment. 

Sincerily 

Inle 


De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Mercredi 31 Août 2016 14:26:31 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Wed, Aug 31, 2016 at 12:27 PM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN

Hello, 

I am trying to deploy ovirt hosted-engine (over iscsi, i do not have NFS) from 
cockpit web interface. 
I have: 
-1 ovirt-node (ovirt-node-ng-installer-ovirt-4.0-2016062412) 
-le rpm for the appliance 
ovirt-engine-appliance-4.0-20160819.1.el7.centos.noarch 

I have four network nics let's say nic1, nic2, nic3 and nic4. I use nic3 and 
nic4 for ISCSi 
I have the ovirt-node ip on nic1. 

Any time I try to deploy ovirt hosted engine from ovirt-node cockpit interface 
the result is the same, I receive a "time out message", and the ovirt-node 
cockpit web interface does not work anymore. 

The documentation does not talk about network card requirement I do not know 
where to look. 

should I use nic2 instead of nic1 when deploying hosted-engine? 

Any advice? 

BQ_END

I suspect that you hist [ https://bugzilla.redhat.com/show_bug.cgi?id=1358530 | 
https://bugzilla.redhat.com/show_bug.cgi?id=1358530 ] 

Can you please check if the hostname of your host is correctly resolvable? 

BQ_BEGIN


Thanks 

Inle 





___ 
Users mailing list 
[ mailto:Users@ovirt.org | Users@ovirt.org ] 
[ http://lists.ovirt.org/mailman/listinfo/users | 
http://lists.ovirt.org/mailman/listinfo/users ] 


BQ_END



___ 
Users mailing list 
[ mailto:Users@ovirt.org | Users@ovirt.org ] 
[ http://lists.ovirt.org/mailman/listinfo/users | 
http://lists.ovirt.org/mailman/listinfo/users ] 


BQ_END


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


Re: [ovirt-users] Dead engine host

2016-09-01 Thread Yanir Quinn
Did you ran engine-setup after restore ?
also worth checking your /etc/hosts files for discrepancies.

On Thu, Sep 1, 2016 at 9:24 AM, Maton, Brett 
wrote:

> 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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Osvaldo ALVAREZ POZO
hello, 

wath could be a reasonable level? 1000? 

do you have a procedure for this? 

thanks 

Sincerily 


De: "Simone Tiraboschi"  
À: "alvarez"  
Cc: "users"  
Envoyé: Jeudi 1 Septembre 2016 09:58:38 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 9:36 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 




Hello, 
Thanks for hte fast reply. 

cat /proc/sys/kernel/random/entropy_avail 
133 




Ok, the issue is definitively here: 
You can try installing the haveged deamon or any other method to keep entropy 
at a reasonable level. 

BQ_BEGIN


it is a physical server Poweredge R710 

thanks 

inle 

De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 09:13:45 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN


hello, 

Thanks for all the answers. 
In attachments the log file 


BQ_END


It's taking a long time on this step executing engine-setup on the engine VM: 

2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine 
dialog.__logString:204 DIALOG:SEND ### |- [ INFO ] Creating/refreshing Engine 
'internal' domain database schema 
2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142 method 
exception 
Traceback (most recent call last): 
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in 
_executeMethod 
method['method']() 
File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/engine/health.py",
 line 132, in _closeup 
line, timeout = self._appliance_readline_nb(TIMEOUT) 
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py",
 line 107, in _appliance_readline_nb 
timeout 
File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in _signal 
raise RuntimeError("SIG%s" % signum) 
RuntimeError: SIG1 
2016-08-31 19:15:15 ERROR otopi.context context._executeMethod:151 Failed to 
execute stage 'Closing up': SIG1 

In this step engine-setup is requiring a lot of entropy for cryptographic 
actions so a similar delay could be due to the lack of entropy on your system. 

Can you please check the entropy on your host? 
cat /proc/sys/kernel/random/entropy_avail 
is it a nested env? 

BQ_BEGIN

Thanks 

inle 

De: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
À: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] > 
Envoyé: Mercredi 31 Août 2016 14:45:53 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 

Hello, 

I am re-installing in orther to do the experience again. 

the hostname is resolvable the dns server is in same network segment. 

Sincerily 

Inle 


De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Mercredi 31 Août 2016 14:26:31 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Wed, Aug 31, 2016 at 12:27 PM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN

Hello, 

I am trying to deploy ovirt hosted-engine (over iscsi, i do not have NFS) from 
cockpit web interface. 
I have: 
-1 ovirt-node (ovirt-node-ng-installer-ovirt-4.0-2016062412) 
-le rpm for the appliance 
ovirt-engine-appliance-4.0-20160819.1.el7.centos.noarch 

I have four network nics let's say nic1, nic2, nic3 and nic4. I use nic3 and 
nic4 for ISCSi 
I have the ovirt-node ip on nic1. 

Any time I try to deploy ovirt hosted engine from ovirt-node cockpit interface 
the result is the same, I receive a "time out message", and the ovirt-node 
cockpit web interface does not work anymore. 

The documentation does not talk about network card requirement I do not know 
where to look. 

should I use nic2 instead of nic1 when deploying hosted-engine? 

Any advice? 

BQ_END

I suspect that you hist [ https://bugzilla.redhat.com/show_bug.cgi?id=1358530 | 
https://bugzilla.redhat.com/show_bug.cgi?id=1358530 ] 

Can you please check if the hostname of your host is correctly resolvable? 

BQ_BEGIN


Thanks 

Inle 





___ 
Users mailing list 
[ mailto:Users@ovirt.org | Users@ovirt.org ] 
[ http://lists.ovirt.org/mailman/listinfo/users | 
http://lists.ovirt.org/mailman/listinfo/users ] 


BQ_END



___ 
Users mailing list 
[ mailto:Users@ovirt.org | Users@ovirt.org ] 
[ http://lists.ovirt.org/mailman/listinfo/users | 
http://lists.ovirt.org/mailman/listinfo/users ] 


BQ_END




[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] installing node on Fedora 23 failing

2016-09-01 Thread Yedidyah Bar David
On Wed, Aug 31, 2016 at 10:41 AM, Cam Mac  wrote:
> Hi Sandro,
>
> The following are enabled:
>
> fedora-updates.repo
> ovirt-4.0-dependencies.repo
> ovirt-4.0.repo

Can you please check rpm -q otopi?

>
> Thanks,
>
> Cam
>
> On Tue, Aug 30, 2016 at 7:01 PM, Sandro Bonazzola 
> wrote:
>>
>> Which repositories have you enabled on the node?
>>
>>
>> Il 30/Ago/2016 19:55, "Cam Mac"  ha scritto:
>>
>> Hi,
>>
>> I'm trying to add a Fedora 23 node to an existing cluster, but it fails
>> with the errors below. I installed python2-dnf (and I saw that there was bug
>> report https://bugzilla.redhat.com/1297835)
>> but it still does not work.
>>
>> Does anyone know what needs to be done to get this to work?
>>
>> Thanks in advance.
>>
>> -C
>>
>> 2016-08-30 18:35:31 DEBUG otopi.plugins.otopi.packagers.dnfpackager
>> dnfpackager._boot:163 Cannot initialize minidnf
>> Traceback (most recent call last):
>>   File
>> "/tmp/ovirt-HkQ2OFjPOg/otopi-plugins/otopi/packagers/dnfpackager.py", line
>> 157, in _boot
>> self._minidnf.selinux_role()
>>   File "/tmp/ovirt-HkQ2OFjPOg/pythonlib/otopi/minidnf.py", line 479, in
>> selinux_role
>> self.processTransaction()
>>   File "/tmp/ovirt-HkQ2OFjPOg/pythonlib/otopi/minidnf.py", line 646, in
>> processTransaction
>> self._processTransaction(base=self._base)
>>   File "/tmp/ovirt-HkQ2OFjPOg/pythonlib/otopi/minidnf.py", line 627, in
>> _processTransaction
>> result, errmsg = base.sigCheckPkg(po)

Another known issue, fixed in otopi-1.5.1:

https://bugzilla.redhat.com/show_bug.cgi?id=1343382

>> TypeError: 'NoneType' object is not iterable
>> 2016-08-30 18:35:31 DEBUG otopi.plugins.otopi.packagers.yumpackager
>> yumpackager._boot:184 Cannot initialize miniyum
>> Traceback (most recent call last):
>>   File
>> "/tmp/ovirt-HkQ2OFjPOg/otopi-plugins/otopi/packagers/yumpackager.py", line
>> 176, in _boot
>> self._refreshMiniyum()
>>   File
>> "/tmp/ovirt-HkQ2OFjPOg/otopi-plugins/otopi/packagers/yumpackager.py", line
>> 134, in _refreshMiniyum
>> constants.PackEnv.YUM_ENABLED_PLUGINS
>>   File
>> "/tmp/ovirt-HkQ2OFjPOg/otopi-plugins/otopi/packagers/yumpackager.py", line
>> 61, in _getMiniYum
>> from otopi import miniyum
>>   File "/tmp/ovirt-HkQ2OFjPOg/pythonlib/otopi/miniyum.py", line 17, in
>> 
>> import rpmUtils.miscutils
>> ImportError: No module named rpmUtils.miscutils
>> 2016-08-30 18:35:32 DEBUG otopi.context context._executeMethod:142 method
>> exception
>> Traceback (most recent call last):
>>   File "/tmp/ovirt-HkQ2OFjPOg/pythonlib/otopi/context.py", line 132, in
>> _executeMethod
>> method['method']()
>>   File "/tmp/ovirt-HkQ2OFjPOg/otopi-plugins/otopi/network/hostname.py",
>> line 54, in _internal_packages
>> self.packager.install(packages=('iproute',))
>>   File "/tmp/ovirt-HkQ2OFjPOg/pythonlib/otopi/packager.py", line 98, in
>> install
>> raise NotImplementedError(_('Packager install not implemented'))
>> NotImplementedError: Packager install not implemented
>> 2016-08-30 18:35:32 ERROR otopi.context context._executeMethod:151 Failed
>> to execute stage 'Environment packages setup': Packager install not
>> implemented
>>
>>
>> ___
>> 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] /var/run/ovirt-hosted-engine-ha/vm.conf not found

2016-09-01 Thread Raymond
Same issue here, got it running with an alternate config
hosted-engine  --vm-start --vm-conf=/etc/ovirt-hosted-engine/vm.conf

Cheers
Raymond



- Original Message -
From: "Pat Riehecky" 
To: "users" 
Sent: Thursday, September 1, 2016 6:41:08 PM
Subject: [ovirt-users] /var/run/ovirt-hosted-engine-ha/vm.conf not found

I seem to be unable to restart my ovirt hosted engine.

I'd swear I had this issue once before, but couldn't find any notes on 
my end.


# cat /etc/ovirt-hosted-engine/hosted-engine.conf
fqdn=vmadmin.fnal.gov
vm_disk_id=36a09f1d-0923-4b3b-87aa-4788ca64064e
vm_disk_vol_id=c4244bdd-80c5-4f68-83c2-9494d9d05723
vmid=823d3e5b-60c2-4e53-a9e8-313aedcaf808
storage=None
conf=/var/run/ovirt-hosted-engine-ha/vm.conf
host_id=4
console=qxl
domainType=fc
spUUID=----
sdUUID=81f19871-4d91-4698-a97d-36452bfae281
connectionUUID=73b61b0a-85f8-4fb7-8faf-c687ef7cc5d8
ca_cert=/etc/pki/vdsm/libvirt-spice/ca-cert.pem
ca_subject="C=EN, L=Test, O=Test, CN=Test"
vdsm_use_ssl=true
gateway=131.225.193.200
bridge=ovirtmgmt
metadata_volume_UUID=93cf12c5-d5e6-4ea6-bee7-de64ee52d7a5
metadata_image_UUID=22a9849b-c551-4783-ad0c-530464df47f3
lockspace_volume_UUID=0593a3b8-1d75-4be3-b65b-ce9a164d0309
lockspace_image_UUID=2c8c56f2-1711-4867-8ed0-3c502bb635ff
conf_volume_UUID=07c72aa5-7fd0-4159-b83e-4d078ae9c351
conf_image_UUID=f9e59ec5-6903-4b2d-8164-4fce3d901bdd

# The following are used only for iSCSI storage
iqn=
portal=
user=
password=
port=



-- 
Pat Riehecky

Fermi National Accelerator Laboratory
www.fnal.gov
www.scientificlinux.org


___
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] Limit DWH database size

2016-09-01 Thread Shirly Radco
Another option is to set the DWH_SAMPLING back to 60  and restart dwh.
This will lower the granularity of the dashboard calculations.
The dwh db size grow since now it samples the statistics every 15 seconds
instead of once a minute.

Best regards,
Shirly Radco

On Sep 1, 2016 19:29,  wrote:

> Hi Didi,
>
> El 2016-09-01 14:02, Yedidyah Bar David escribió:
>
>> On Thu, Sep 1, 2016 at 3:26 PM, Sandro Bonazzola 
>> wrote:
>>
>> Didi, Shirly, can you help here?
>>>
>>> On Thu, Sep 1, 2016 at 8:52 AM,  wrote:
>>>
>>> Hi,

 Since we upgraded to 4.0.x, DWH's PostgreSQL database is getting
 really huge. Is there a clean way to limit its size, like setting
 a maximal retention time for DWH data?

>>>
>> Earlier today replied to a similar question, search list archives for
>> "Change Engine History Logging from Advanched to Basic".
>>
>>
> Just to confirm: I already have basic DWH configured, and the content of
> /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf is:
>
>   DWH_TABLES_KEEP_SAMPLES=24
>   DWH_TABLES_KEEP_HOURLY=720
>   DWH_TABLES_KEEP_DAILY=0
>
> So according to [1] regarding "DWH_TABLES_KEEP_HOURLY":
>
>   The number of hours that hourly data is stored. The default is 60 days.
>   Hourly data more than two days old is aggregated into dailydata.
>
> if I reduce that value to say 240 (10 days), any older entry from that
> should be erased upon a DWH restart, right?
>
> Thanks.
>
>   [1]: https://access.redhat.com/documentation/en-US/Red_Hat_Enterp
> rise_Virtualization/3.6/pdf/Reports_and_Data_Warehouse_
> Guide/Red_Hat_Enterprise_Virtualization-3.6-Reports_
> and_Data_Warehouse_Guide-en-US.pdf
>
> Best,
>>
>>
>>
>> Thanks.
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users [1]

>>>
>>> --
>>>
>>> Sandro Bonazzola
>>> Better technology. Faster innovation. Powered by community
>>> collaboration.
>>> See how it works at redhat.com [2]
>>>
>>> [3]
>>>
>>
>> --
>>
>> Didi
>>
>>
>> Links:
>> --
>> [1] http://lists.ovirt.org/mailman/listinfo/users
>> [2] http://redhat.com
>> [3] https://www.redhat.com/it/about/events/red-hat-open-source-day-2016
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] /var/run/ovirt-hosted-engine-ha/vm.conf not found

2016-09-01 Thread Pat Riehecky

Any suggestions for how I generate the alternate config?

Pat

On 09/01/2016 12:30 PM, Raymond wrote:

Same issue here, got it running with an alternate config
hosted-engine  --vm-start --vm-conf=/etc/ovirt-hosted-engine/vm.conf

Cheers
Raymond



- Original Message -
From: "Pat Riehecky" 
To: "users" 
Sent: Thursday, September 1, 2016 6:41:08 PM
Subject: [ovirt-users] /var/run/ovirt-hosted-engine-ha/vm.conf not found

I seem to be unable to restart my ovirt hosted engine.

I'd swear I had this issue once before, but couldn't find any notes on
my end.


# cat /etc/ovirt-hosted-engine/hosted-engine.conf
fqdn=vmadmin.fnal.gov
vm_disk_id=36a09f1d-0923-4b3b-87aa-4788ca64064e
vm_disk_vol_id=c4244bdd-80c5-4f68-83c2-9494d9d05723
vmid=823d3e5b-60c2-4e53-a9e8-313aedcaf808
storage=None
conf=/var/run/ovirt-hosted-engine-ha/vm.conf
host_id=4
console=qxl
domainType=fc
spUUID=----
sdUUID=81f19871-4d91-4698-a97d-36452bfae281
connectionUUID=73b61b0a-85f8-4fb7-8faf-c687ef7cc5d8
ca_cert=/etc/pki/vdsm/libvirt-spice/ca-cert.pem
ca_subject="C=EN, L=Test, O=Test, CN=Test"
vdsm_use_ssl=true
gateway=131.225.193.200
bridge=ovirtmgmt
metadata_volume_UUID=93cf12c5-d5e6-4ea6-bee7-de64ee52d7a5
metadata_image_UUID=22a9849b-c551-4783-ad0c-530464df47f3
lockspace_volume_UUID=0593a3b8-1d75-4be3-b65b-ce9a164d0309
lockspace_image_UUID=2c8c56f2-1711-4867-8ed0-3c502bb635ff
conf_volume_UUID=07c72aa5-7fd0-4159-b83e-4d078ae9c351
conf_image_UUID=f9e59ec5-6903-4b2d-8164-4fce3d901bdd

# The following are used only for iSCSI storage
iqn=
portal=
user=
password=
port=





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


Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Osvaldo ALVAREZ POZO
Hello, 

but the problem is that i am not able to finish the hosted_engine deploy. So, I 
am not able to modify the Vm, because procces stoped :-( 

thanks for the help 


De: "Simone Tiraboschi"  
À: "Gianluca Cecchi"  
Cc: "alvarez" , "users"  
Envoyé: Jeudi 1 Septembre 2016 12:00:22 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 11:48 AM, Gianluca Cecchi < [ 
mailto:gianluca.cec...@gmail.com | gianluca.cec...@gmail.com ] > wrote: 



On Thu, Sep 1, 2016 at 11:39 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN

hello, 

but normally it is not possible to install paquets on ovirt node 
that's way I wonder how to install haveged? 

yum localinstall is this the command? 

Thanks 




Actually the haveged workaround is to apply on engine server, tipically when it 
is deployed as a VM, not the host. 
HIH, 
Gianluca 


BQ_END


The effectiveness of HAVEGE (HArdware Volatile Entropy Gathering and Expansion) 
on virtual machines is quite debated. 
Having more entropy on the host could also help, but yes, we also have to add a 
virtio-rng device to the engine VM: 
[ https://bugzilla.redhat.com/show_bug.cgi?id=1357246 | 
https://bugzilla.redhat.com/show_bug.cgi?id=1357246 ] 

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


Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Gianluca Cecchi
On Thu, Sep 1, 2016 at 11:39 AM, Osvaldo ALVAREZ POZO 
wrote:

> hello,
>
> but normally it is not possible to install paquets on ovirt node
> that's way I wonder how to install  haveged?
>
> yum localinstall is this the command?
>
> Thanks
>
>
Actually the haveged workaround is to apply on engine server, tipically
when it is deployed as a VM, not the host.
HIH,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Netapp oVirt Plugin

2016-09-01 Thread Gianluca Cecchi
On Thu, Sep 1, 2016 at 7:56 AM, Kai Wagner  wrote:

> Hi,
>
> can someone told me, where I can find the Netapp oVirt Plugin (Storage
> Plugin) that was developed by Netapp in the past?
>
> It was developed upstream in oVirt and I'm interested in the source code,
> because we're planning something similar with our Open Source Storage
> called openATTIC and it would be very helpful if we can look into that
> "old" code.
>
> Thanks a lot
>
> Kai
>
> Last time I saw it discussed here it was not an happy post...:

http://lists.ovirt.org/pipermail/users/2014-March/022659.html

I don't know if it changed in any way in the mean time.

In particular I doubt it was released as open source, also when in beta...

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


Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Osvaldo ALVAREZ POZO
hello, 

thanks very much 

yum installlocal haveged 

right ? It is a ovirt-node 4 

thanks 


De: "Simone Tiraboschi"  
À: "alvarez"  
Cc: "users"  
Envoyé: Jeudi 1 Septembre 2016 10:29:44 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 10:08 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 



hello, 

wath could be a reasonable level? 1000? 



Yes, I think so. 

BQ_BEGIN


do you have a procedure for this? 

BQ_END

If haveged is enough for you, 
yum install haveged 
systemctl enable haveged 
systemctl start haveged 
and wait till /proc/sys/kernel/random/entropy_avail goes back to a reasonable 
value. 

BQ_BEGIN


thanks 

Sincerily 


De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 09:58:38 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 9:36 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN


Hello, 
Thanks for hte fast reply. 

cat /proc/sys/kernel/random/entropy_avail 
133 


BQ_END

Ok, the issue is definitively here: 
You can try installing the haveged deamon or any other method to keep entropy 
at a reasonable level. 

BQ_BEGIN


it is a physical server Poweredge R710 

thanks 

inle 

De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 09:13:45 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN


hello, 

Thanks for all the answers. 
In attachments the log file 


BQ_END


It's taking a long time on this step executing engine-setup on the engine VM: 

2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine 
dialog.__logString:204 DIALOG:SEND ### |- [ INFO ] Creating/refreshing Engine 
'internal' domain database schema 
2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142 method 
exception 
Traceback (most recent call last): 
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in 
_executeMethod 
method['method']() 
File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/engine/health.py",
 line 132, in _closeup 
line, timeout = self._appliance_readline_nb(TIMEOUT) 
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py",
 line 107, in _appliance_readline_nb 
timeout 
File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in _signal 
raise RuntimeError("SIG%s" % signum) 
RuntimeError: SIG1 
2016-08-31 19:15:15 ERROR otopi.context context._executeMethod:151 Failed to 
execute stage 'Closing up': SIG1 

In this step engine-setup is requiring a lot of entropy for cryptographic 
actions so a similar delay could be due to the lack of entropy on your system. 

Can you please check the entropy on your host? 
cat /proc/sys/kernel/random/entropy_avail 
is it a nested env? 

BQ_BEGIN

Thanks 

inle 

De: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
À: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] > 
Envoyé: Mercredi 31 Août 2016 14:45:53 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 

Hello, 

I am re-installing in orther to do the experience again. 

the hostname is resolvable the dns server is in same network segment. 

Sincerily 

Inle 


De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Mercredi 31 Août 2016 14:26:31 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Wed, Aug 31, 2016 at 12:27 PM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN

Hello, 

I am trying to deploy ovirt hosted-engine (over iscsi, i do not have NFS) from 
cockpit web interface. 
I have: 
-1 ovirt-node (ovirt-node-ng-installer-ovirt-4.0-2016062412) 
-le rpm for the appliance 
ovirt-engine-appliance-4.0-20160819.1.el7.centos.noarch 

I have four network nics let's say nic1, nic2, nic3 and nic4. I use nic3 and 
nic4 for ISCSi 
I have the ovirt-node ip on nic1. 

Any time I try to deploy ovirt hosted engine from ovirt-node cockpit interface 
the result is the same, I receive a "time out message", and the ovirt-node 
cockpit web interface does not work anymore. 

The documentation does not talk about network card requirement I do not know 

Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Sandro Bonazzola
On Thu, Sep 1, 2016 at 11:39 AM, Osvaldo ALVAREZ POZO 
wrote:

> hello,
>
> but normally it is not possible to install paquets on ovirt node
> that's way I wonder how to install  haveged?
>

on oVirt node 4 it's possible.
Adding Fabian: is it common to get so low levels of entropy on a node bare
metal host? What's consuming it?

Osvaldo, does your hardware support hardware random generator?


>
> yum localinstall is this the command?
>
> Thanks
>
> --
> *De: *"Simone Tiraboschi" 
> *À: *"alvarez" 
> *Cc: *"users" 
> *Envoyé: *Jeudi 1 Septembre 2016 11:17:38
>
> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>
>
>
> On Thu, Sep 1, 2016 at 11:12 AM, Osvaldo ALVAREZ POZO <
> alva...@xtra-mail.fr> wrote:
>
>> hello,
>>
>> thanks very much
>>
>> yum installlocal haveged
>>
>> right ? It is a ovirt-node 4
>>
>>
> You have also to enable and start it if you didn't
>
>
>> thanks
>>
>> --
>> *De: *"Simone Tiraboschi" 
>> *À: *"alvarez" 
>> *Cc: *"users" 
>> *Envoyé: *Jeudi 1 Septembre 2016 10:29:44
>>
>> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>>
>>
>>
>> On Thu, Sep 1, 2016 at 10:08 AM, Osvaldo ALVAREZ POZO <
>> alva...@xtra-mail.fr> wrote:
>>
>>> hello,
>>>
>>> wath could be a reasonable level? 1000?
>>>
>>
>> Yes, I think so.
>>
>>
>>>
>>> do you have a procedure for this?
>>>
>>
>> If haveged is enough for you,
>>yum install haveged
>>systemctl enable haveged
>>systemctl start haveged
>> and wait till /proc/sys/kernel/random/entropy_avail goes back to a
>> reasonable value.
>>
>>
>>>
>>> thanks
>>>
>>> Sincerily
>>>
>>> --
>>> *De: *"Simone Tiraboschi" 
>>> *À: *"alvarez" 
>>> *Cc: *"users" 
>>> *Envoyé: *Jeudi 1 Septembre 2016 09:58:38
>>>
>>> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>>>
>>>
>>>
>>> On Thu, Sep 1, 2016 at 9:36 AM, Osvaldo ALVAREZ POZO <
>>> alva...@xtra-mail.fr> wrote:
>>>

 Hello,
 Thanks for hte fast reply.

  cat /proc/sys/kernel/random/entropy_avail
 133


>>> Ok, the issue is definitively here:
>>> You can try installing the haveged deamon or any other method to keep
>>> entropy at a reasonable level.
>>>
>>>

 it is a physical server Poweredge R710

 thanks

 inle
 --
 *De: *"Simone Tiraboschi" 
 *À: *"alvarez" 
 *Cc: *"users" 
 *Envoyé: *Jeudi 1 Septembre 2016 09:13:45

 *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works



 On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO <
 alva...@xtra-mail.fr> wrote:

>
> hello,
>
> Thanks for all the answers.
> In attachments the log file
>
>

 It's taking a long time on this step executing engine-setup on the
 engine VM:

 2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine
 dialog.__logString:204 DIALOG:SEND   ### |- [ INFO  ]
 Creating/refreshing Engine 'internal' domain database schema
 2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142
 method exception
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132,
 in _executeMethod
 method['method']()
   File "/usr/share/ovirt-hosted-engine-setup/scripts/../
 plugins/gr-he-common/engine/health.py", line 132, in _closeup
 line, timeout = self._appliance_readline_nb(TIMEOUT)
   File 
 "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py",
 line 107, in _appliance_readline_nb
 timeout
   File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in
 _signal
 raise RuntimeError("SIG%s" % signum)
 RuntimeError: SIG1
 2016-08-31 19:15:15 ERROR otopi.context context._executeMethod:151
 Failed to execute stage 'Closing up': SIG1

 In this step engine-setup is requiring a lot of entropy for
 cryptographic actions so a similar delay could be due to the lack of
 entropy on your system.

 Can you please check the entropy on your host?
  cat /proc/sys/kernel/random/entropy_avail
 is it a nested env?


> Thanks
>
> inle
> --
> *De: *"alvarez" 
> *À: *"Simone Tiraboschi" 
> *Envoyé: *Mercredi 31 Août 2016 14:45:53
>
> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>
> Hello,
>
> I am re-installing in orther to do the experience again.
>
> the hostname is resolvable the dns server  is in same network 

Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Simone Tiraboschi
On Thu, Sep 1, 2016 at 11:48 AM, Gianluca Cecchi 
wrote:

> On Thu, Sep 1, 2016 at 11:39 AM, Osvaldo ALVAREZ POZO <
> alva...@xtra-mail.fr> wrote:
>
>> hello,
>>
>> but normally it is not possible to install paquets on ovirt node
>> that's way I wonder how to install  haveged?
>>
>> yum localinstall is this the command?
>>
>> Thanks
>>
>>
> Actually the haveged workaround is to apply on engine server, tipically
> when it is deployed as a VM, not the host.
> HIH,
> Gianluca
>
>
The effectiveness of HAVEGE (HArdware Volatile Entropy Gathering and
Expansion) on virtual machines is quite debated.
Having more entropy on the host could also help, but yes, we also have to
add a virtio-rng device to the engine VM:
https://bugzilla.redhat.com/show_bug.cgi?id=1357246
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Edit default vdsm.conf

2016-09-01 Thread mailinglists
Hey,

I'm wondering how I change what gets put into the default vdsm.conf on
oVirt systems?

I've looked at the docs here
(https://github.com/oVirt/ovirt-host-deploy/blob/master/README.environment)
and they suggest I should be able to put something like this:

[environment:init]
VDSM_CONFIG/vars/migration_max_bandwidth=str:0
VDSM_CONFIG/vars/max_outgoing_migrations=str:1

In /etc/ovirt-host-deploy.conf.d/50-custom.conf on the engine (does it
need to go on the hosts instead?)

How ever I can't get that to work. The var above never gets deployed to
the system and if I add it and reinstall oVirt (Right Click on Host ->
Reinstall) the config gets wiped. Is this the proper way? Should I be
putting this config somewhere else to get it to find it?

The system its running on is on oVirt 3.6.x but will be upgraded to 4
soon if that helps. Its also not a hosted Engine, a standalone one.
Hosts are running C7 but Engine is still on C6 (about to be moved to
C7).

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


Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates unique constraint "pk_images" during import

2016-09-01 Thread Andrea Ghelardi
Thank you Jakub,
I'll try first option and let you know.
Unfortunately, it will take time as it implies installing a new system...

Cheers
AG 

-Original Message-
From: Jakub Niedermertl [mailto:jnied...@redhat.com] 
Sent: Friday, August 19, 2016 00:25
To: Andrea Ghelardi 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates 
unique constraint "pk_images" during import

Hi Andrea,

IIUIC the problem occurs during import VM from external domain. I can see two 
options to save data on disks:
* Export storage domain can be detached and removed from engine. Install new 
separate engine and try to import VMs into new engine.
* Alternative is to use virt-viewer to create a vm and directly attach images 
form export domain to the vm. The images have standard qcow2 format.

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


Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Osvaldo ALVAREZ POZO
Hello, 

this is the output of yum install haveged 

yum install haveged 
Loaded plugins: fastestmirror, imgbased-warning 
Warning: yum operations are not persisted across upgrades! 
centos-ovirt40-release | 3.4 kB 00:00 
ovirt-4.0 | 2.9 kB 00:00 
ovirt-4.0-centos-gluster37 | 2.9 kB 00:00 
ovirt-4.0-epel/x86_64/metalink | 22 kB 00:00 
ovirt-4.0-epel | 4.3 kB 00:00 
ovirt-4.0-patternfly1-noarch-epel | 3.0 kB 00:00 
virtio-win-stable | 3.0 kB 00:00 
(1/8): ovirt-4.0-centos-gluster37/x86_64/primary_db | 60 kB 00:00 
(2/8): ovirt-4.0-epel/x86_64/group_gz | 170 kB 00:00 
(3/8): ovirt-4.0-epel/x86_64/updateinfo | 618 kB 00:00 
(4/8): centos-ovirt40-release/primary_db | 32 kB 00:00 
(5/8): ovirt-4.0-patternfly1-noarch-epel/x86_64/primary_db | 2.2 kB 00:00 
(6/8): ovirt-4.0/7/primary_db | 173 kB 00:00 
(7/8): virtio-win-stable/primary_db | 2.0 kB 00:00 
(8/8): ovirt-4.0-epel/x86_64/primary_db | 4.3 MB 00:01 
Determining fastest mirrors 
* ovirt-4.0: ftp.nluug.nl 
* ovirt-4.0-epel: mir01.syntis.net 
No package haveged available. 


Sincerily 

Inle 


De: "alvarez"  
À: "Simone Tiraboschi"  
Cc: "users"  
Envoyé: Jeudi 1 Septembre 2016 11:39:02 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 

hello, 

but normally it is not possible to install paquets on ovirt node 
that's way I wonder how to install haveged? 

yum localinstall is this the command? 

Thanks 


De: "Simone Tiraboschi"  
À: "alvarez"  
Cc: "users"  
Envoyé: Jeudi 1 Septembre 2016 11:17:38 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 11:12 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 



hello, 

thanks very much 

yum installlocal haveged 

right ? It is a ovirt-node 4 




You have also to enable and start it if you didn't 

BQ_BEGIN

thanks 


De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 10:29:44 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 10:08 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN

hello, 

wath could be a reasonable level? 1000? 

BQ_END

Yes, I think so. 

BQ_BEGIN


do you have a procedure for this? 

BQ_END

If haveged is enough for you, 
yum install haveged 
systemctl enable haveged 
systemctl start haveged 
and wait till /proc/sys/kernel/random/entropy_avail goes back to a reasonable 
value. 

BQ_BEGIN


thanks 

Sincerily 


De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 09:58:38 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 9:36 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN


Hello, 
Thanks for hte fast reply. 

cat /proc/sys/kernel/random/entropy_avail 
133 


BQ_END

Ok, the issue is definitively here: 
You can try installing the haveged deamon or any other method to keep entropy 
at a reasonable level. 

BQ_BEGIN


it is a physical server Poweredge R710 

thanks 

inle 

De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 09:13:45 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN


hello, 

Thanks for all the answers. 
In attachments the log file 


BQ_END


It's taking a long time on this step executing engine-setup on the engine VM: 

2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine 
dialog.__logString:204 DIALOG:SEND ### |- [ INFO ] Creating/refreshing Engine 
'internal' domain database schema 
2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142 method 
exception 
Traceback (most recent call last): 
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in 
_executeMethod 
method['method']() 
File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/engine/health.py",
 line 132, in _closeup 
line, timeout = self._appliance_readline_nb(TIMEOUT) 
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py",
 line 107, in _appliance_readline_nb 
timeout 
File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in _signal 
raise RuntimeError("SIG%s" % signum) 

Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Simone Tiraboschi
On Thu, Sep 1, 2016 at 12:06 PM, Osvaldo ALVAREZ POZO 
wrote:

> Hello,
>
> but the problem is that i am not able to finish the hosted_engine deploy.
> So, I am not able to modify the Vm, because procces stoped :-(
>
> thanks for the help
>
>
Yes, adding entropy to the host should still help.


> --
> *De: *"Simone Tiraboschi" 
> *À: *"Gianluca Cecchi" 
> *Cc: *"alvarez" , "users" 
> *Envoyé: *Jeudi 1 Septembre 2016 12:00:22
> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>
>
>
> On Thu, Sep 1, 2016 at 11:48 AM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> On Thu, Sep 1, 2016 at 11:39 AM, Osvaldo ALVAREZ POZO <
>> alva...@xtra-mail.fr> wrote:
>>
>>> hello,
>>>
>>> but normally it is not possible to install paquets on ovirt node
>>> that's way I wonder how to install  haveged?
>>>
>>> yum localinstall is this the command?
>>>
>>> Thanks
>>>
>>>
>> Actually the haveged workaround is to apply on engine server, tipically
>> when it is deployed as a VM, not the host.
>> HIH,
>> Gianluca
>>
>>
> The effectiveness of HAVEGE (HArdware Volatile Entropy Gathering and
> Expansion) on virtual machines is quite debated.
> Having more entropy on the host could also help, but yes, we also have to
> add a virtio-rng device to the engine VM:
> https://bugzilla.redhat.com/show_bug.cgi?id=1357246
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Netapp oVirt Plugin

2016-09-01 Thread Gianluca Cecchi
On Thu, Sep 1, 2016 at 12:49 PM, Gianluca Cecchi 
wrote:

> On Thu, Sep 1, 2016 at 7:56 AM, Kai Wagner 
> wrote:
>
>> Hi,
>>
>> can someone told me, where I can find the Netapp oVirt Plugin (Storage
>> Plugin) that was developed by Netapp in the past?
>>
>> It was developed upstream in oVirt and I'm interested in the source code,
>> because we're planning something similar with our Open Source Storage
>> called openATTIC and it would be very helpful if we can look into that
>> "old" code.
>>
>> Thanks a lot
>>
>> Kai
>>
>> Last time I saw it discussed here it was not an happy post...:
>
> http://lists.ovirt.org/pipermail/users/2014-March/022659.html
>
> I don't know if it changed in any way in the mean time.
>
> In particular I doubt it was released as open source, also when in beta...
>
> Gianluca
>


Of course at the captainkvm link referred in the oVirt post:
http://captainkvm.com/2014/02/vsc-for-rhev-is-ga-today/
you also can see  the answers provided in the comments section. Just to be
complete.
It seems that now anyway there is a problem. Last comment on March 2016 was:
"
Hi Christopher,
Unfortunately, I think funding became a problem for NetApp. Also, 2 of the
3 primary people behind the plugin left NetApp for Red Hat, so….
C/K
"
I just went to Netapp support site some minutes ago (I have a Netapp
account, even if I don't use Netapp with oVirt), but in software download
section for VSC dropdown there is now only "VMware vSphere".

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


Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Simone Tiraboschi
On Thu, Sep 1, 2016 at 11:12 AM, Osvaldo ALVAREZ POZO 
wrote:

> hello,
>
> thanks very much
>
> yum installlocal haveged
>
> right ? It is a ovirt-node 4
>
>
You have also to enable and start it if you didn't


> thanks
>
> --
> *De: *"Simone Tiraboschi" 
> *À: *"alvarez" 
> *Cc: *"users" 
> *Envoyé: *Jeudi 1 Septembre 2016 10:29:44
>
> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>
>
>
> On Thu, Sep 1, 2016 at 10:08 AM, Osvaldo ALVAREZ POZO <
> alva...@xtra-mail.fr> wrote:
>
>> hello,
>>
>> wath could be a reasonable level? 1000?
>>
>
> Yes, I think so.
>
>
>>
>> do you have a procedure for this?
>>
>
> If haveged is enough for you,
>yum install haveged
>systemctl enable haveged
>systemctl start haveged
> and wait till /proc/sys/kernel/random/entropy_avail goes back to a
> reasonable value.
>
>
>>
>> thanks
>>
>> Sincerily
>>
>> --
>> *De: *"Simone Tiraboschi" 
>> *À: *"alvarez" 
>> *Cc: *"users" 
>> *Envoyé: *Jeudi 1 Septembre 2016 09:58:38
>>
>> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>>
>>
>>
>> On Thu, Sep 1, 2016 at 9:36 AM, Osvaldo ALVAREZ POZO <
>> alva...@xtra-mail.fr> wrote:
>>
>>>
>>> Hello,
>>> Thanks for hte fast reply.
>>>
>>>  cat /proc/sys/kernel/random/entropy_avail
>>> 133
>>>
>>>
>> Ok, the issue is definitively here:
>> You can try installing the haveged deamon or any other method to keep
>> entropy at a reasonable level.
>>
>>
>>>
>>> it is a physical server Poweredge R710
>>>
>>> thanks
>>>
>>> inle
>>> --
>>> *De: *"Simone Tiraboschi" 
>>> *À: *"alvarez" 
>>> *Cc: *"users" 
>>> *Envoyé: *Jeudi 1 Septembre 2016 09:13:45
>>>
>>> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>>>
>>>
>>>
>>> On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO <
>>> alva...@xtra-mail.fr> wrote:
>>>

 hello,

 Thanks for all the answers.
 In attachments the log file


>>>
>>> It's taking a long time on this step executing engine-setup on the
>>> engine VM:
>>>
>>> 2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine
>>> dialog.__logString:204 DIALOG:SEND   ### |- [ INFO  ]
>>> Creating/refreshing Engine 'internal' domain database schema
>>> 2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142
>>> method exception
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132,
>>> in _executeMethod
>>> method['method']()
>>>   File "/usr/share/ovirt-hosted-engine-setup/scripts/../
>>> plugins/gr-he-common/engine/health.py", line 132, in _closeup
>>> line, timeout = self._appliance_readline_nb(TIMEOUT)
>>>   File 
>>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py",
>>> line 107, in _appliance_readline_nb
>>> timeout
>>>   File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in
>>> _signal
>>> raise RuntimeError("SIG%s" % signum)
>>> RuntimeError: SIG1
>>> 2016-08-31 19:15:15 ERROR otopi.context context._executeMethod:151
>>> Failed to execute stage 'Closing up': SIG1
>>>
>>> In this step engine-setup is requiring a lot of entropy for
>>> cryptographic actions so a similar delay could be due to the lack of
>>> entropy on your system.
>>>
>>> Can you please check the entropy on your host?
>>>  cat /proc/sys/kernel/random/entropy_avail
>>> is it a nested env?
>>>
>>>
 Thanks

 inle
 --
 *De: *"alvarez" 
 *À: *"Simone Tiraboschi" 
 *Envoyé: *Mercredi 31 Août 2016 14:45:53

 *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works

 Hello,

 I am re-installing in orther to do the experience again.

 the hostname is resolvable the dns server  is in same network segment.

 Sincerily

 Inle

 --
 *De: *"Simone Tiraboschi" 
 *À: *"alvarez" 
 *Cc: *"users" 
 *Envoyé: *Mercredi 31 Août 2016 14:26:31
 *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works



 On Wed, Aug 31, 2016 at 12:27 PM, Osvaldo ALVAREZ POZO <
 alva...@xtra-mail.fr> wrote:

> Hello,
>
> I am trying to deploy ovirt hosted-engine (over iscsi, i do not have
> NFS) from cockpit web interface.
> I have:
> -1 ovirt-node (ovirt-node-ng-installer-ovirt-4.0-2016062412)
> -le rpm for the appliance ovirt-engine-appliance-4.0-20160819.1.el7.
> centos.noarch
>
> I have four network nics let's say nic1, nic2, nic3 and nic4. I use
> nic3 and nic4 for ISCSi
> I have the ovirt-node ip on nic1.

Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Osvaldo ALVAREZ POZO
hello, 

but normally it is not possible to install paquets on ovirt node 
that's way I wonder how to install haveged? 

yum localinstall is this the command? 

Thanks 


De: "Simone Tiraboschi"  
À: "alvarez"  
Cc: "users"  
Envoyé: Jeudi 1 Septembre 2016 11:17:38 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 11:12 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 



hello, 

thanks very much 

yum installlocal haveged 

right ? It is a ovirt-node 4 




You have also to enable and start it if you didn't 

BQ_BEGIN

thanks 


De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 10:29:44 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 10:08 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN

hello, 

wath could be a reasonable level? 1000? 

BQ_END

Yes, I think so. 

BQ_BEGIN


do you have a procedure for this? 

BQ_END

If haveged is enough for you, 
yum install haveged 
systemctl enable haveged 
systemctl start haveged 
and wait till /proc/sys/kernel/random/entropy_avail goes back to a reasonable 
value. 

BQ_BEGIN


thanks 

Sincerily 


De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 09:58:38 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 9:36 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN


Hello, 
Thanks for hte fast reply. 

cat /proc/sys/kernel/random/entropy_avail 
133 


BQ_END

Ok, the issue is definitively here: 
You can try installing the haveged deamon or any other method to keep entropy 
at a reasonable level. 

BQ_BEGIN


it is a physical server Poweredge R710 

thanks 

inle 

De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 09:13:45 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 8:53 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN


hello, 

Thanks for all the answers. 
In attachments the log file 


BQ_END


It's taking a long time on this step executing engine-setup on the engine VM: 

2016-08-31 19:11:53 DEBUG otopi.plugins.otopi.dialog.machine 
dialog.__logString:204 DIALOG:SEND ### |- [ INFO ] Creating/refreshing Engine 
'internal' domain database schema 
2016-08-31 19:15:15 DEBUG otopi.context context._executeMethod:142 method 
exception 
Traceback (most recent call last): 
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in 
_executeMethod 
method['method']() 
File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/engine/health.py",
 line 132, in _closeup 
line, timeout = self._appliance_readline_nb(TIMEOUT) 
File 
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/appliance_esetup.py",
 line 107, in _appliance_readline_nb 
timeout 
File "/usr/lib/python2.7/site-packages/otopi/main.py", line 48, in _signal 
raise RuntimeError("SIG%s" % signum) 
RuntimeError: SIG1 
2016-08-31 19:15:15 ERROR otopi.context context._executeMethod:151 Failed to 
execute stage 'Closing up': SIG1 

In this step engine-setup is requiring a lot of entropy for cryptographic 
actions so a similar delay could be due to the lack of entropy on your system. 

Can you please check the entropy on your host? 
cat /proc/sys/kernel/random/entropy_avail 
is it a nested env? 

BQ_BEGIN

Thanks 

inle 

De: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
À: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] > 
Envoyé: Mercredi 31 Août 2016 14:45:53 

Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 

Hello, 

I am re-installing in orther to do the experience again. 

the hostname is resolvable the dns server is in same network segment. 

Sincerily 

Inle 


De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > 
Cc: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Mercredi 31 Août 2016 14:26:31 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Wed, Aug 31, 2016 at 12:27 PM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr 

Re: [ovirt-users] How to purge disk remained in locked state

2016-09-01 Thread Gianluca Cecchi
On Tue, Aug 30, 2016 at 4:32 PM, Nir Soffer  wrote:

>
>
> Can you file a bug about this, and attach engine logs?
>
> You may also find more errors in the browser console - these probably
> removed when you
> close the browser tab/window, but if you didn't, it would be useful to
> open the console
> and copy the errors there.
>
> Nir
>
>
Done.
https://bugzilla.redhat.com/show_bug.cgi?id=1372326
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Gianluca Cecchi
On Thu, Sep 1, 2016 at 10:49 AM, Gianluca Cecchi 
wrote:

> On Thu, Sep 1, 2016 at 10:41 AM, Amit Aviram  wrote:
>
>> When installing the engine, what FQDN did you set? because I see in the
>> logs that the browser is trying to send the disk to localhost. this is
>> taken from the FQDN set during setup.
>>
>> On Thu, Sep 1, 2016 at 9:49 AM, Стаценко Константин Юрьевич <
>> statsenko...@interrao.ru> wrote:
>>
>>> No, engine is running on another host.
>>>
>>>
>>>
>>> *From:* Amit Aviram [mailto:aavi...@redhat.com]
>>> *Sent:* Wednesday, August 31, 2016 6:53 PM
>>>
>>> *To:* Стаценко Константин Юрьевич 
>>> *Cc:* lifuqiong ; users 
>>> *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt
>>>
>>>
>>>
>>> Does your engine runs where your browser is? (do you connect to
>>> localhost in order to connect to the engine?)
>>>
>>>
>>>
>>>
>>>
> How to create browser.log?
> So that I can send also mine, bacuase I also still have the problem (4.0.2
> with workaround fixes) and also in my case engine is on another host and an
> FQDN was set...
> Thanks,
> Gianluca
>


found...

Also in my case I get the "localhost" thing:



Thu Sep 01 14:33:08 GMT+200 2016
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 14:33:08 GMT+200 2016
INFO: Upload phase: Initializingwebadmin:1:12954
Thu Sep 01 14:33:12 GMT+200 2016
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 14:33:15 GMT+200 2016
INFO: Upload phase: Initializingwebadmin:1:12954
Thu Sep 01 14:33:19 GMT+200 2016
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 14:33:20 GMT+200 2016
INFO: Upload phase: Transferringwebadmin:1:12954
"Thu Sep 01 14:33:20 GMT+200 2016
INFO: Starting upload to https://localhost:54323/images
With imaged ticket: 87c0a98e-96c4-4244-bc55-605539b005f4
With proxy ticket:

Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Стаценко Константин Юрьевич
Run engine-setup again.
In browser logs URL is still localhost and same thing happens – “Paused by 
system”.

From: Amit Aviram [mailto:aavi...@redhat.com]
Sent: Thursday, September 1, 2016 3:54 PM
To: Gianluca Cecchi 
Cc: Стаценко Константин Юрьевич ; users 

Subject: Re: [ovirt-users] How to import a qcow2 disk into ovirt

Can you please run engine-setup again and check if the URL of the POST request 
is still localhost? bug https://bugzilla.redhat.com/show_bug.cgi?id=1365744 was 
about running the setup twice in order to install this feature to work.

On Thu, Sep 1, 2016 at 3:38 PM, Gianluca Cecchi 
> wrote:
On Thu, Sep 1, 2016 at 10:49 AM, Gianluca Cecchi 
> wrote:
On Thu, Sep 1, 2016 at 10:41 AM, Amit Aviram 
> wrote:
When installing the engine, what FQDN did you set? because I see in the logs 
that the browser is trying to send the disk to localhost. this is taken from 
the FQDN set during setup.

On Thu, Sep 1, 2016 at 9:49 AM, Стаценко Константин Юрьевич 
> wrote:
No, engine is running on another host.

From: Amit Aviram [mailto:aavi...@redhat.com]
Sent: Wednesday, August 31, 2016 6:53 PM

To: Стаценко Константин Юрьевич 
>
Cc: lifuqiong >; 
users >
Subject: Re: [ovirt-users] How to import a qcow2 disk into ovirt

Does your engine runs where your browser is? (do you connect to localhost in 
order to connect to the engine?)



How to create browser.log?
So that I can send also mine, bacuase I also still have the problem (4.0.2 with 
workaround fixes) and also in my case engine is on another host and an FQDN was 
set...
Thanks,
Gianluca


found...

Also in my case I get the "localhost" thing:



Thu Sep 01 14:33:08 GMT+200 2016
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 14:33:08 GMT+200 2016
INFO: Upload phase: Initializingwebadmin:1:12954
Thu Sep 01 14:33:12 GMT+200 2016
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 14:33:15 GMT+200 2016
INFO: Upload phase: Initializingwebadmin:1:12954
Thu Sep 01 14:33:19 GMT+200 2016
INFO: Polling for statuswebadmin:1:12954
Thu Sep 01 14:33:20 GMT+200 2016
INFO: Upload phase: Transferringwebadmin:1:12954
"Thu Sep 01 14:33:20 GMT+200 2016
INFO: Starting upload to https://localhost:54323/images
With imaged ticket: 87c0a98e-96c4-4244-bc55-605539b005f4
With proxy ticket: 

Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Gianluca Cecchi
On Thu, Sep 1, 2016 at 3:18 PM, Gianluca Cecchi 
wrote:

> On Thu, Sep 1, 2016 at 3:12 PM, Gianluca Cecchi  > wrote:
>
>> On Thu, Sep 1, 2016 at 2:53 PM, Amit Aviram  wrote:
>>
>>> Can you please run engine-setup again and check if the URL of the POST
>>> request is still localhost? bug https://bugzilla.redhat.com/sh
>>> ow_bug.cgi?id=1365744 was about running the setup twice in order to
>>> install this feature to work.
>>>
>>>
>>>
>> I seem to remember that I already did it, but I can do again.
>> Currently I'm on 4.0.2.
>> Is there any way to run engine-setup but without updating it to 4.0.3?
>> ANy command line switch?
>>
>>
> Found.. I forgot it "--offline"
> I'm going to do and verify, even if another post seems to confirm if
> doesn't change behavior...
>
>

Closed firefox from client and run engine-setup again:

Full output
[root@ractorshe tmp]# engine-setup --offline
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
  Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20160901151651-n77p09.log
  Version: otopi-1.5.1 (otopi-1.5.1-1.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

  --== PRODUCT OPTIONS ==--


  --== PACKAGES ==--


  --== NETWORK CONFIGURATION ==--

[WARNING] Failed to resolve ractorshe.mydomain using DNS, it can be
resolved only locally
  Setup can automatically configure the firewall on this system.
  Note: automatic configuration of the firewall may overwrite
current settings.
  Do you want Setup to configure the firewall? (Yes, No) [Yes]:
[ INFO  ] firewalld will be configured as firewall manager.

  --== DATABASE CONFIGURATION ==--

  The detected DWH database size is 177 MB.
  Setup can backup the existing database. The time and space
required for the database backup depend on its size. This process takes
time, and in some cases (for instance, when the size is few GBs) may take
several hours to complete.
  If you choose to not back up the database, and Setup later fails
for some reason, it will not be able to restore the database and all DWH
data will be lost.
  Would you like to backup the existing database before upgrading
it? (Yes, No) [Yes]:

  --== OVIRT ENGINE CONFIGURATION ==--


  --== STORAGE CONFIGURATION ==--


  --== PKI CONFIGURATION ==--


  --== APACHE CONFIGURATION ==--


  --== SYSTEM CONFIGURATION ==--


  --== MISC CONFIGURATION ==--


  --== END OF CONFIGURATION ==--

[ INFO  ] Stage: Setup validation
  During execution engine service will be stopped (OK, Cancel)
[OK]:
[ INFO  ] Hosted Engine HA is in Global Maintenance mode.
[ INFO  ] Cleaning stale zombie tasks and commands

  --== CONFIGURATION PREVIEW ==--

  Default SAN wipe after delete   : False
  Firewall manager: firewalld
  Update Firewall : True
  Host FQDN   : ractorshe.mydomain
  Engine database secured connection  : False
  Engine database host: localhost
  Engine database user name   : engine
  Engine database name: engine
  Engine database port: 5432
  Engine database host name validation: False
  DWH database secured connection : False
  DWH database host   : localhost
  DWH database user name  : ovirt_engine_history
  DWH database name   : ovirt_engine_history
  DWH database port   : 5432
  DWH database host name validation   : False
  Engine installation : True
  PKI organization: mydomain
  DWH installation: True
  Backup DWH database : True
  Engine Host FQDN: ractorshe.mydomain
  Configure Image I/O Proxy   : True
  Configure VMConsole Proxy   : True
  Configure WebSocket Proxy   : True

  Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Unlocking existing entities
[ INFO  ] Checking the Engine database consistency
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping ovirt-fence-kdump-listener service
[ INFO  ] 

Re: [ovirt-users] Netapp oVirt Plugin

2016-09-01 Thread Kai Wagner

Hi,

thanks a lot for the update and information.

Ridiculous...

So it's not possible to download the source code anymore from Netapp, 
but if somebody on this mailing list have to source code, please let me 
know it would be very helpful I guess.


Why should I delete open source code completely and don't upload it to a 
public repository?


Nervermind...

Kai

Am 01.09.2016 um 13:05 schrieb Gianluca Cecchi:
On Thu, Sep 1, 2016 at 12:49 PM, Gianluca Cecchi 
> wrote:


On Thu, Sep 1, 2016 at 7:56 AM, Kai Wagner
> wrote:

Hi,

can someone told me, where I can find the Netapp oVirt Plugin
(Storage Plugin) that was developed by Netapp in the past?

It was developed upstream in oVirt and I'm interested in the
source code, because we're planning something similar with our
Open Source Storage called openATTIC and it would be very
helpful if we can look into that "old" code.

Thanks a lot

Kai

Last time I saw it discussed here it was not an happy post...:

http://lists.ovirt.org/pipermail/users/2014-March/022659.html


I don't know if it changed in any way in the mean time.

In particular I doubt it was released as open source, also when in
beta...

Gianluca



Of course at the captainkvm link referred in the oVirt post:
http://captainkvm.com/2014/02/vsc-for-rhev-is-ga-today/
you also can see  the answers provided in the comments section. Just 
to be complete.
It seems that now anyway there is a problem. Last comment on March 
2016 was:

"
Hi Christopher,
Unfortunately, I think funding became a problem for NetApp. Also, 2 of 
the 3 primary people behind the plugin left NetApp for Red Hat, so….

C/K
"
I just went to Netapp support site some minutes ago (I have a Netapp 
account, even if I don't use Netapp with oVirt), but in software 
download section for VSC dropdown there is now only "VMware vSphere".


Gianluca



it-novum GmbH 
i. A. Kai Wagner  -  Team Lead Support & Presales openATTIC 
_


Tel: +49 661 103-762 
Fax: +49 661 10317762   
Mail: kai.wag...@it-novum.com


it-novum GmbH • Edelzeller Straße 44 • 36043 Fulda • http://www.it-novum.com/ 
Handelsregister Amtsgericht Fulda, HRB 1934 • Geschäftsführer: Michael Kienle • Sitz der Gesellschaft: Fulda 

Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfänger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfältigung oder Weiterleitung dieser Mail ist strengstens verboten. 
This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. 

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


Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates unique constraint "pk_images" during import

2016-09-01 Thread Sandro Bonazzola
Hi Andrea, I'm a bit curious, any reason for staying on 3.5 and not
upgrading to 3.6 / 4.0 ?

On Mon, Aug 15, 2016 at 12:47 AM, Andrea Ghelardi  wrote:

> Hallo all,
>
>
>
> I’m currently unable to import/activate VM due to error above.
>
> It has been a long series of unfortunate events.
>
> Long story short:
>
> - VM running on storage on iscsi failing disks
>
> - put storage and server in maint. Shut down server
>
> - restart server.
>
> - server has a misconfiguration on lvm/multipath rules (not due to ovirt)
>
> - put storage and server active
>
> - cluster goes down. Put storage in maintenance again. Detached storage
> from cluster (ach! That was unfortunate).
>
> - cluster now ok. Storage ok. Activate storage.
>
> - trying to import VM. Ovirt replies with error in subject and attached.
>
>
>
> How can I recover from this situation?
>
> It would be great to recover the entire VM, but I’m more interested in
> disks which are in unregistered state than VM itself.
>
>
>
> Thank you all
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
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


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Gianluca Cecchi
On Thu, Sep 1, 2016 at 2:53 PM, Amit Aviram  wrote:

> Can you please run engine-setup again and check if the URL of the POST
> request is still localhost? bug https://bugzilla.redhat.com/
> show_bug.cgi?id=1365744 was about running the setup twice in order to
> install this feature to work.
>
>
>
I seem to remember that I already did it, but I can do again.
Currently I'm on 4.0.2.
Is there any way to run engine-setup but without updating it to 4.0.3? ANy
command line switch?

[root@ractorshe tmp]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files:
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
  Log file:
/var/log/ovirt-engine/setup/ovirt-engine-setup-20160901150612-t7mj3s.log
  Version: otopi-1.5.1 (otopi-1.5.1-1.el7.centos)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup
[ INFO  ] Stage: Environment customization

  --== PRODUCT OPTIONS ==--


  --== PACKAGES ==--

[ INFO  ] Checking for product updates...
  Setup has found updates for some packages:
  PACKAGE: [updated] otopi-1.5.1-1.el7.centos.noarch
  PACKAGE: [update] otopi-1.5.2-1.el7.centos.noarch
  PACKAGE: [updated] otopi-java-1.5.1-1.el7.centos.noarch
  PACKAGE: [update] otopi-java-1.5.2-1.el7.centos.noarch
  PACKAGE: [updated] ovirt-engine-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update] ovirt-engine-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-backend-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update] ovirt-engine-backend-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-dashboard-1.0.2-1.el7.centos.noarch
  PACKAGE: [update] ovirt-engine-dashboard-1.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-dbscripts-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update] ovirt-engine-dbscripts-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-extensions-api-impl-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-extensions-api-impl-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated] ovirt-engine-lib-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update] ovirt-engine-lib-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-restapi-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update] ovirt-engine-restapi-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated] ovirt-engine-setup-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update] ovirt-engine-setup-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-setup-base-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-setup-base-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-setup-plugin-ovirt-engine-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-setup-plugin-ovirt-engine-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-setup-plugin-ovirt-engine-common-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-setup-plugin-ovirt-engine-common-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-setup-plugin-websocket-proxy-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-setup-plugin-websocket-proxy-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated] ovirt-engine-tools-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update] ovirt-engine-tools-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-tools-backup-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-tools-backup-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-userportal-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-userportal-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-vmconsole-proxy-helper-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-vmconsole-proxy-helper-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-webadmin-portal-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-webadmin-portal-4.0.3-1.el7.centos.noarch
  PACKAGE: [updated]
ovirt-engine-websocket-proxy-4.0.2.7-1.el7.centos.noarch
  PACKAGE: [update]
ovirt-engine-websocket-proxy-4.0.3-1.el7.centos.noarch
  do you wish to update them now? (Yes, No) [Yes]: No
[ ERROR ] Failed to execute stage 'Environment customization': Aborted,
packages must be updated
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20160901150612-t7mj3s.log
[ INFO 

Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Gianluca Cecchi
On Thu, Sep 1, 2016 at 3:12 PM, Gianluca Cecchi 
wrote:

> On Thu, Sep 1, 2016 at 2:53 PM, Amit Aviram  wrote:
>
>> Can you please run engine-setup again and check if the URL of the POST
>> request is still localhost? bug https://bugzilla.redhat.com/sh
>> ow_bug.cgi?id=1365744 was about running the setup twice in order to
>> install this feature to work.
>>
>>
>>
> I seem to remember that I already did it, but I can do again.
> Currently I'm on 4.0.2.
> Is there any way to run engine-setup but without updating it to 4.0.3? ANy
> command line switch?
>
>
Found.. I forgot it "--offline"
I'm going to do and verify, even if another post seems to confirm if
doesn't change behavior...
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Limit DWH database size

2016-09-01 Thread Sandro Bonazzola
Didi, Shirly, can you help here?


On Thu, Sep 1, 2016 at 8:52 AM,  wrote:

> Hi,
>
> Since we upgraded to 4.0.x, DWH's PostgreSQL database is getting really
> huge. Is there a clean way to limit its size, like setting a maximal
> retention time for DWH data?
>
> Thanks.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 
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


Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates unique constraint "pk_images" during import

2016-09-01 Thread Andrea Ghelardi
Hi Sandro,
Since this is a production environment, our upgrade project is not so quick to 
complete.
Are you asking because you think this database issue would be cleared by an 
upgrade or maybe because we could check the bug on a currently maintained 
version? ☺

Cheers
AG

From: Sandro Bonazzola [mailto:sbona...@redhat.com]
Sent: Thursday, September 01, 2016 14:03
To: Andrea Ghelardi 
Cc: users@ovirt.org
Subject: Re: [ovirt-users] ovirt 3.5.6: ERROR: duplicate key value violates 
unique constraint "pk_images" during import

Hi Andrea, I'm a bit curious, any reason for staying on 3.5 and not upgrading 
to 3.6 / 4.0 ?

On Mon, Aug 15, 2016 at 12:47 AM, Andrea Ghelardi 
> wrote:
Hallo all,

I’m currently unable to import/activate VM due to error above.
It has been a long series of unfortunate events.
Long story short:
- VM running on storage on iscsi failing disks
- put storage and server in maint. Shut down server
- restart server.
- server has a misconfiguration on lvm/multipath rules (not due to ovirt)
- put storage and server active
- cluster goes down. Put storage in maintenance again. Detached storage from 
cluster (ach! That was unfortunate).
- cluster now ok. Storage ok. Activate storage.
- trying to import VM. Ovirt replies with error in subject and attached.

How can I recover from this situation?
It would be great to recover the entire VM, but I’m more interested in disks 
which are in unregistered state than VM itself.

Thank you all

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



--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
[http://images.engage.redhat.com/EloquaImages/clients/RedHat/%7B53f97a34-013e-4b79-966f-222f50a6de8c%7D_Red_Hat_Open_Source_Day_2_CITIES.png]
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Limit DWH database size

2016-09-01 Thread Yedidyah Bar David
On Thu, Sep 1, 2016 at 3:26 PM, Sandro Bonazzola 
wrote:

> Didi, Shirly, can you help here?
>
>
> On Thu, Sep 1, 2016 at 8:52 AM,  wrote:
>
>> Hi,
>>
>> Since we upgraded to 4.0.x, DWH's PostgreSQL database is getting really
>> huge. Is there a clean way to limit its size, like setting a maximal
>> retention time for DWH data?
>>
>
Earlier today replied to a similar question, search list archives for
"Change Engine History Logging from Advanched to Basic".

Best,


>
>> Thanks.
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
> 
>



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


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Amit Aviram
Can you please run engine-setup again and check if the URL of the POST
request is still localhost? bug
https://bugzilla.redhat.com/show_bug.cgi?id=1365744 was about running the
setup twice in order to install this feature to work.

On Thu, Sep 1, 2016 at 3:38 PM, Gianluca Cecchi 
wrote:

> On Thu, Sep 1, 2016 at 10:49 AM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> On Thu, Sep 1, 2016 at 10:41 AM, Amit Aviram  wrote:
>>
>>> When installing the engine, what FQDN did you set? because I see in the
>>> logs that the browser is trying to send the disk to localhost. this is
>>> taken from the FQDN set during setup.
>>>
>>> On Thu, Sep 1, 2016 at 9:49 AM, Стаценко Константин Юрьевич <
>>> statsenko...@interrao.ru> wrote:
>>>
 No, engine is running on another host.



 *From:* Amit Aviram [mailto:aavi...@redhat.com]
 *Sent:* Wednesday, August 31, 2016 6:53 PM

 *To:* Стаценко Константин Юрьевич 
 *Cc:* lifuqiong ; users 
 *Subject:* Re: [ovirt-users] How to import a qcow2 disk into ovirt



 Does your engine runs where your browser is? (do you connect to
 localhost in order to connect to the engine?)





>> How to create browser.log?
>> So that I can send also mine, bacuase I also still have the problem
>> (4.0.2 with workaround fixes) and also in my case engine is on another host
>> and an FQDN was set...
>> Thanks,
>> Gianluca
>>
>
>
> found...
>
> Also in my case I get the "localhost" thing:
>
>
>
> Thu Sep 01 14:33:08 GMT+200 2016
> INFO: Polling for statuswebadmin:1:12954
> Thu Sep 01 14:33:08 GMT+200 2016
> INFO: Upload phase: Initializingwebadmin:1:12954
> Thu Sep 01 14:33:12 GMT+200 2016
> INFO: Polling for statuswebadmin:1:12954
> Thu Sep 01 14:33:15 GMT+200 2016
> INFO: Upload phase: Initializingwebadmin:1:12954
> Thu Sep 01 14:33:19 GMT+200 2016
> INFO: Polling for statuswebadmin:1:12954
> Thu Sep 01 14:33:20 GMT+200 2016
> INFO: Upload phase: Transferringwebadmin:1:12954
> "Thu Sep 01 14:33:20 GMT+200 2016
> INFO: Starting upload to https://localhost:54323/images
> With imaged ticket: 87c0a98e-96c4-4244-bc55-605539b005f4
> With proxy ticket: eyJzYWx0IjoiOU1oaHUzdmlRTzA9Ii
> wiZGF0YSI6IntcbiAgXCJuYmZcIiA6IDE0NzI3MzMxOTQsXG4gIFwiZXhwXC
> IgOiAxNDcyNzM2Nzk0LFxuICBcImlhdFwiIDogMTQ3MjczMzE5NCxcbiAgXC
> J0cmFuc2Zlci10aWNrZXRcIiA6IFwiODdjMGE5OGUtOTZjNC00MjQ0LWJjNT
> UtNjA1NTM5YjAwNWY0XCIsXG4gIFwiaW1hZ2VkLXVyaVwiIDogXCJodHRwcz
> ovL3JhY3Rvci5kYXRhY2VudGVyLnBvbGltaS5pdDo1NDMyMlwiXG59Iiwic2
> lnbmF0dXJlIjoiVXhueWJaVG81Rmd6SFArTXdNcDZUalY2Wkx6RTdMaWtJNG
> psM0QzblhWTzJMRUVZKzhFK2Q3bVQyK3BBR1NrQlJhUGxVbm1HZElURVBpcU
> 5obUpRbFhSTFZBb3RXaFlEUnI5N0dHcmc3OUN0NW5NSTNwNUtPSGp6QzB3L1
> N5dlQ0RGxWeXZZMFBzZDgvakhnb3VJellLWDZzZzd0NzgwK0h4b1NRNCtZb3
> h2ZElZUTZBUFF6c0lEdlVFbkplb0lRMGQvd01LWVpMS0E2dmRRb2J3RzVIN3
> lwVTcvUFpyRUhKT1p4em1BT3F4STU1bm5JZ21ublpjQ3RWRzB1dUYyRVRLNF
> hpbGhEOFZQSDBGRGJCZkRwdjdEQllhblhENUhDbUMxcEx2UnBtL3hkNWcwbk
> FEbHpSMUJMVFYySVNQdUJVMmxKOXNHNlVZSloxRDQ2SmxwS0hRPT0iLCJkaW
> dlc3QiOiJzaGExIiwiY2VydGlmaWNhdGUiOiItLS0tLUJFR0lOIENFUlRJRk
> lDQVRFLS0tLS1cbk1JSUVyVENDQTVXZ0F3SUJBZ0lDRUFFd0RRWUpLb1pJaH
> ZjTkFRRUZCUUF3V3pFTE1Ba0dBMVVFQmhNQ1ZWTXhIVEFiQmdOVkJBb1Rccl
> xuRkdSaGRHRmpaVzUwWlhJdWNHOXNhVzFwTG1sME1TMHdLd1lEVlFRREV5Un
> lZV04wYjNKemFHVXVaR0YwWVdObGJuUmxjaTV3YjJ4cFxyXG5iV2t1YVhRdU
> 1UTTVPVGt3SGhjTk1UVXhNVEU0TVRRek16VTFXaGNOTWpBeE1ESXpNVFF6TX
> pVMVdqQlZNUXN3Q1FZRFZRUUdFd0pWXHJcblV6RWRNQnNHQTFVRUNoTVVaR0
> YwWVdObGJuUmxjaTV3YjJ4cGJXa3VhWFF4SnpBbEJnTlZCQU1USG5KaFkzUn
> Zjbk5vWlM1a1lYUmhcclxuWTJWdWRHVnlMbkJ2YkdsdGFTNXBkRENDQVNJd0
> RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFOd0E5cmc4cG
> NCR1xyXG5zeGpMZSs3UzhFeU9aRnloN1FOQjBDNnpqNGdKeUd6N1FyVVNMcF
> EwTUNlSjdrWlBuRTBuM1hGazg1NDM0anJpMkh3UlBBcUkwcFM2XHJcbkg5VG
> R1MGNubDZRNDkrbllTSTdaVjFyR25SYXlTZU55ZWNQRTh1blhSVlVPWWhHVk
> ltSXIxVmxKTzc0V2tsL1F1aHYwTzZKZzQ4RElcclxuL3pPSGllU2tXVGpJVW
> tKSE1waTRNU3QyU29YZ0xnMXVpcUptZkxsM0tONGVYeXcrcVRPaytKRjJrTE
> R3UU1waTZJUXp5REx2eVJjTFxyXG5lbDBQaE1MTDlMTWVPMVlJTFZCTFRxTX
> orb2tWWjJJZ1dSaXRGNkMwWjBjd0pCeGcxb1RENXVtZnloWi9kVEY1V2x3Q2
> VOQWRtUUFyXHJcbnpPUjZoV0lMMURBTmNEamMvUGFJT2d3cEE1TUNBd0VBQW
> FPQ0FYOHdnZ0Y3TUIwR0ExVWREZ1FXQkJTMUo5cm43Wjcramt6ZGl3MHpccl
> xuUnl4S0pRdFFoVENCbFFZSUt3WUJCUVVIQVFFRWdZZ3dnWVV3Z1lJR0NDc0
> dBUVVGQnpBQ2huWm9kSFJ3T2k4dmNtRmpkRzl5YzJobFxyXG5MbVJoZEdGal
> pXNTBaWEl1Y0c5c2FXMXBMbWwwT2pnd0wyOTJhWEowTFdWdVoybHVaUzl6Wl
> hKMmFXTmxjeTl3YTJrdGNtVnpiM1Z5XHJcblkyVS9jbVZ6YjNWeVkyVTlZMk
> V0WTJWeWRHbG1hV05oZEdVbVptOXliV0YwUFZnMU1Ea3RVRVZOTFVOQk1JR0
> VCZ05WSFNNRWZUQjdcclxuZ0JTUkF0VkRmM0tqZnRXcE5qTFJ1MEwwMnRxZ3
> pLRmZwRjB3V3pFTE1Ba0dBMVVFQmhNQ1ZWTXhIVEFiQmdOVkJBb1RGR1JoZE
> dGalxyXG5aVzUwWlhJdWNHOXNhVzFwTG1sME1TMHdLd1lEVlFRREV5UnlZV0
> 4wYjNKemFHVXVaR0YwWVdObGJuUmxjaTV3YjJ4cGJXa3VhWFF1XHJcbk1UTT
> VPVG1DQWhBQU1Ba0dBMVVkRXdRQ01BQXdEZ1lEVlIwUEFRSC9CQVFEQWdXZ0
> 

Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Gianluca Cecchi
On Thu, Sep 1, 2016 at 3:53 PM, Amit Aviram  wrote:

> You can just replace this value in the DB and change it to the right FQDN,
> it is a config value named "ImageProxyAddress". replace "localhost" with
> the right address (notice that the port is there too).
>
> If this will keep happen after users will have the latest version, we will
> have to open a bug and fix whatever causes the URL to be "localhost".
>
>
Do you mean through "engine-config" or directly into database?
In this second case which is the table involved?

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


Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Gianluca Cecchi
On Thu, Sep 1, 2016 at 5:01 PM, Amit Aviram  wrote:

> You can do both,
> Through the database, the table is "vdc_options". change "option_value"
> where "option_name" = 'ImageProxyAddress' .
>
> On Thu, Sep 1, 2016 at 4:56 PM, Gianluca Cecchi  > wrote:
>
>> On Thu, Sep 1, 2016 at 3:53 PM, Amit Aviram  wrote:
>>
>>> You can just replace this value in the DB and change it to the right
>>> FQDN, it is a config value named "ImageProxyAddress". replace "localhost"
>>> with the right address (notice that the port is there too).
>>>
>>> If this will keep happen after users will have the latest version, we
>>> will have to open a bug and fix whatever causes the URL to be "localhost".
>>>
>>>
>> Do you mean through "engine-config" or directly into database?
>> In this second case which is the table involved?
>>
>> Gianluca
>>
>
>

[root@ractorshe bin]# systemctl stop ovirt-imageio-proxy

engine=# select * from vdc_options where option_name='ImageProxyAddress';
 option_id |option_name|  option_value   | version
---+---+-+-
   950 | ImageProxyAddress | localhost:54323 | general
(1 row)

engine=# update vdc_options set option_value='ractorshe.mydomain:54323'
where option_name='ImageProxyAddress';
UPDATE 1
engine=# select * from vdc_options where option_name='ImageProxyAddress';
option_id |option_name| option_value |
version
---+---+--+-
   950 | ImageProxyAddress | ractorshe.mydomain:54323 | general
(1 row)

engine=#

engine=# select * from vdc_options where option_name='ImageProxyAddress';
option_id |option_name| option_value |
version
---+---+--+-
   950 | ImageProxyAddress | ractorshe.mydomain:54323 | general
(1 row)


systemctl stop ovirt-engine
(otherwise it remained localhost)

systemctl start ovirt-engine

systemctl start ovirt-imageio-proxy

Now transfer is ok.
I tried a qcow2 disck configured as 40Gb but containing about 1.6Gb of data.
I'm going to connect it to a VM and see if all is ok also from a contents
point of view.

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


Re: [ovirt-users] ovirt hosted-engine deploy never works

2016-09-01 Thread Artyom Lukianov
Just run on your host hosted-engine --vm-status.

On Thu, Sep 1, 2016 at 5:47 PM, Osvaldo ALVAREZ POZO 
wrote:

> hello,
>
> I managed to install hoste-engine.
> I think
>
> yum localinstall http://dl.fedoraproject.org/
> pub/epel/7/x86_64/h/haveged-1.9.1-1.el7.x86_64.rpm
>
>  -systemctl enable haveged
>
> systemctl start haveged
>
>
> cat /proc/sys/kernel/random/entropy_avail
>
> 1888
> it was helpfull
>
> I lost connection for a while to the ovirt-node
>
> But I think the hosted-engine vm is not in the iscsi LUN.
> How can I see where is the VM located?
>
> Thanks
>
> --
> *De: *"Simone Tiraboschi" 
> *À: *"alvarez" 
> *Cc: *"Gianluca Cecchi" , "users" <
> users@ovirt.org>
> *Envoyé: *Jeudi 1 Septembre 2016 12:12:39
>
> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>
>
>
> On Thu, Sep 1, 2016 at 12:06 PM, Osvaldo ALVAREZ POZO <
> alva...@xtra-mail.fr> wrote:
>
>> Hello,
>>
>> but the problem is that i am not able to finish the hosted_engine deploy.
>> So, I am not able to modify the Vm, because procces stoped :-(
>>
>> thanks for the help
>>
>>
> Yes, adding entropy to the host should still help.
>
>
>> --
>> *De: *"Simone Tiraboschi" 
>> *À: *"Gianluca Cecchi" 
>> *Cc: *"alvarez" , "users" 
>> *Envoyé: *Jeudi 1 Septembre 2016 12:00:22
>> *Objet: *Re: [ovirt-users] ovirt hosted-engine deploy never works
>>
>>
>>
>> On Thu, Sep 1, 2016 at 11:48 AM, Gianluca Cecchi <
>> gianluca.cec...@gmail.com> wrote:
>>
>>> On Thu, Sep 1, 2016 at 11:39 AM, Osvaldo ALVAREZ POZO <
>>> alva...@xtra-mail.fr> wrote:
>>>
 hello,

 but normally it is not possible to install paquets on ovirt node
 that's way I wonder how to install  haveged?

 yum localinstall is this the command?

 Thanks


>>> Actually the haveged workaround is to apply on engine server, tipically
>>> when it is deployed as a VM, not the host.
>>> HIH,
>>> Gianluca
>>>
>>>
>> The effectiveness of HAVEGE (HArdware Volatile Entropy Gathering and
>> Expansion) on virtual machines is quite debated.
>> Having more entropy on the host could also help, but yes, we also have to
>> add a virtio-rng device to the engine VM:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1357246
>>
>>
>
> ___
> 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 hosted-engine deploy never works

2016-09-01 Thread Osvaldo ALVAREZ POZO
hello, 

I managed to install hoste-engine. 
I think 



yum localinstall 
http://dl.fedoraproject.org/pub/epel/7/x86_64/h/haveged-1.9.1-1.el7.x86_64.rpm 

-systemctl enable haveged 

systemctl start haveged 




cat /proc/sys/kernel/random/entropy_avail 



1888 
it was helpfull 

I lost connection for a while to the ovirt-node 

But I think the hosted-engine vm is not in the iscsi LUN. 
How can I see where is the VM located? 

Thanks 


De: "Simone Tiraboschi"  
À: "alvarez"  
Cc: "Gianluca Cecchi" , "users"  
Envoyé: Jeudi 1 Septembre 2016 12:12:39 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 12:06 PM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 



Hello, 

but the problem is that i am not able to finish the hosted_engine deploy. So, I 
am not able to modify the Vm, because procces stoped :-( 

thanks for the help 




Yes, adding entropy to the host should still help. 

BQ_BEGIN


De: "Simone Tiraboschi" < [ mailto:stira...@redhat.com | stira...@redhat.com ] 
> 
À: "Gianluca Cecchi" < [ mailto:gianluca.cec...@gmail.com | 
gianluca.cec...@gmail.com ] > 
Cc: "alvarez" < [ mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] >, 
"users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Envoyé: Jeudi 1 Septembre 2016 12:00:22 
Objet: Re: [ovirt-users] ovirt hosted-engine deploy never works 



On Thu, Sep 1, 2016 at 11:48 AM, Gianluca Cecchi < [ 
mailto:gianluca.cec...@gmail.com | gianluca.cec...@gmail.com ] > wrote: 

BQ_BEGIN

On Thu, Sep 1, 2016 at 11:39 AM, Osvaldo ALVAREZ POZO < [ 
mailto:alva...@xtra-mail.fr | alva...@xtra-mail.fr ] > wrote: 

BQ_BEGIN

hello, 

but normally it is not possible to install paquets on ovirt node 
that's way I wonder how to install haveged? 

yum localinstall is this the command? 

Thanks 


BQ_END

Actually the haveged workaround is to apply on engine server, tipically when it 
is deployed as a VM, not the host. 
HIH, 
Gianluca 


BQ_END


The effectiveness of HAVEGE (HArdware Volatile Entropy Gathering and Expansion) 
on virtual machines is quite debated. 
Having more entropy on the host could also help, but yes, we also have to add a 
virtio-rng device to the engine VM: 
[ https://bugzilla.redhat.com/show_bug.cgi?id=1357246 | 
https://bugzilla.redhat.com/show_bug.cgi?id=1357246 ] 


BQ_END


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


Re: [ovirt-users] Unable to backend oVirt with Cinder

2016-09-01 Thread Logan Kuhn
Yep, changing to keystone v2 is what did it. I had previously tried v1 and v3. 

Thank you both 

Regards, 
Logan 

- On Sep 1, 2016, at 1:57 AM, Daniel Erez  wrote: 

| On Wed, Aug 31, 2016 at 4:27 PM, Logan Kuhn < log...@wolfram.com > wrote:

|| Thank you for your response, but unfortunately it still doesn't work.

|| I can do cinder-ey things from the command line, including cinder list,
|| type-show, create. The keystonerc_admin file that I use matches yours with 
the
|| relevant bits changed for my environment, password, region etc. I've filled 
out
|| the External Provider dialog with the admin user, cinder user and a new user.
|| The dialog reports that it Failed to communicate with the external provider 
and
|| to consult the log. The log reports the following:

|| 2016-08-31 08:04:21,518 INFO
|| [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (default
|| task-46) [20342b40] Running command: TestProviderConnectivityCommand 
internal:
|| false. Entities affected : ID: aaa0----123456789aaa Type:
|| SystemAction group CREATE_STORAGE_POOL with role type ADMIN
|| 2016-08-31 08:04:21,546 ERROR
|| 
[org.ovirt.engine.core.bll.provider.storage.AbstractOpenStackStorageProviderProxy]
|| (default task-46) [20342b40] Unauthorized (OpenStack response error code: 
401)
|| 2016-08-31 08:04:21,546 ERROR
|| [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand] (default
|| task-46) [20342b40] Command
|| 'org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand' failed:
|| EngineException: (Failed with error PROVIDER_FAILURE and code 5050)

|| Which is very obvious that the username/auth that ovirt is sending isn't 
allowed
|| to create, but it's using the same username/password that's in the
|| keystonerc_admin file that I can do various command line things with.

|| This is my keystonerc_admin file:

|| OS_AUTH_URL= http://10.128.7.252:5000/v3
|| OS_PASSWORD=adminpass
|| OS_PROJECT_DOMAIN_NAME=default
|| OS_PROJECT_NAME=admin
|| OS_REGION_NAME=WRI
|| OS_TENANT_NAME=admin
|| OS_USERNAME=admin
|| OS_USER_DOMAIN_NAME=default

|| I had to make add certain fields and change the auth url to v3 otherwise it
|| reported either a malformed URL or more commonly, 401 Unauthorized. Which 
made
|| me wonder if it's a compatibility issue with the v3 API. I've been working 
with
|| Openstack Mitaka and ovirt 4.0.2 and 4.0.3

| For keystone authentication, we support v2.0.
| Have you tried ' http://10.128.7.252:5000/v2.0 ' as authentication URL on add
| provider dialog?

|| Regards,
|| Logan

|| - On Aug 31, 2016, at 6:07 AM, Natalie Gavrilov < ngavr...@redhat.com >
|| wrote:

||| Hi Logen,

||| I'll refer only to using authentication , because I had configured it
||| previously.
||| This means: /etc/cinder/cinder.conf should have: auth_strategy = keystone
||| I'm using keystonerc file, example keystonerc_admin:
||| 
||| unset OS_SERVICE_TOKEN
||| export OS_USERNAME=admin
||| export OS_PASSWORD=password
||| export OS_AUTH_URL= http://CINDER-HOST:5000/v2.0
||| export PS1='[\u@\h \W(keystone_admin)]\$ '

||| export OS_TENANT_NAME=admin
||| export OS_REGION_NAME=RegionOne
||| 

||| This will be step by step as much as possible just to make sure nothing is
||| missed (assuming Cinder and Ceph are configured correctly).

||| Go to:
||| External providers -> Add
||| Fill in the fields:
||| Name:
||| Type: OpenStack Volume
||| Provider url: http://CINDER_HOST:8776
||| Check "Requires Authentication"

||| Fill in the information, this is an example:
||| Username: admin
||| Password: password
||| Tenant name: admin
||| Authentication URL: http://CINDER-HOST:5000/v2.0

||| Test should return "Test succeeded, managed to access provider."
||| Now click Ok.

||| Now lets configure additional information:

||| Lower pane: Authentication Keys
||| Click on: New
||| Fill in UUID field with rbd_secret_uuid
||| and value :which is the key (it's in /etc/ceph/ceph.client.USERNAME.keyring)

||| Hope this helps..

||| Regards,
||| Natalie

||| From: "Aharon Canan" < aca...@redhat.com >
||| To: "Natalie Gavrilov" < ngavr...@redhat.com >
||| Sent: Wednesday, August 31, 2016 8:53:22 AM
||| Subject: Fwd: [ovirt-users] Unable to backend oVirt with Cinder

||| Hi

||| Can you help with below?
||| This is community email and will be great if you can help this guy.

||| Aharon
||| -- Forwarded message --
||| From: Logan Kuhn < log...@wolfram.com >
||| Date: Tue, Aug 30, 2016 at 11:07 PM
||| Subject: [ovirt-users] Unable to backend oVirt with Cinder
||| To: users < users@ovirt.org >

||| I've got Cinder configured and pointed at Ceph for it's back end storage.
||| I can run ceph commands on the cinder machine and cinder is configured for
||| noauth and I've also tried it with Keystone for auth. I can run 

Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Amit Aviram
You can just replace this value in the DB and change it to the right FQDN,
it is a config value named "ImageProxyAddress". replace "localhost" with
the right address (notice that the port is there too).

If this will keep happen after users will have the latest version, we will
have to open a bug and fix whatever causes the URL to be "localhost".

On Thu, Sep 1, 2016 at 4:30 PM, Gianluca Cecchi 
wrote:

>
>
> On Thu, Sep 1, 2016 at 3:18 PM, Gianluca Cecchi  > wrote:
>
>> On Thu, Sep 1, 2016 at 3:12 PM, Gianluca Cecchi <
>> gianluca.cec...@gmail.com> wrote:
>>
>>> On Thu, Sep 1, 2016 at 2:53 PM, Amit Aviram  wrote:
>>>
 Can you please run engine-setup again and check if the URL of the POST
 request is still localhost? bug https://bugzilla.redhat.com/sh
 ow_bug.cgi?id=1365744 was about running the setup twice in order to
 install this feature to work.



>>> I seem to remember that I already did it, but I can do again.
>>> Currently I'm on 4.0.2.
>>> Is there any way to run engine-setup but without updating it to 4.0.3?
>>> ANy command line switch?
>>>
>>>
>> Found.. I forgot it "--offline"
>> I'm going to do and verify, even if another post seems to confirm if
>> doesn't change behavior...
>>
>>
>
> Closed firefox from client and run engine-setup again:
>
> Full output
> [root@ractorshe tmp]# engine-setup --offline
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>   Configuration files: ['/etc/ovirt-engine-setup.
> conf.d/10-packaging-jboss.conf', 
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf',
> '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>   Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-
> 20160901151651-n77p09.log
>   Version: otopi-1.5.1 (otopi-1.5.1-1.el7.centos)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment setup
> [ INFO  ] Stage: Environment customization
>
>   --== PRODUCT OPTIONS ==--
>
>
>   --== PACKAGES ==--
>
>
>   --== NETWORK CONFIGURATION ==--
>
> [WARNING] Failed to resolve ractorshe.mydomain using DNS, it can be
> resolved only locally
>   Setup can automatically configure the firewall on this system.
>   Note: automatic configuration of the firewall may overwrite
> current settings.
>   Do you want Setup to configure the firewall? (Yes, No) [Yes]:
> [ INFO  ] firewalld will be configured as firewall manager.
>
>   --== DATABASE CONFIGURATION ==--
>
>   The detected DWH database size is 177 MB.
>   Setup can backup the existing database. The time and space
> required for the database backup depend on its size. This process takes
> time, and in some cases (for instance, when the size is few GBs) may take
> several hours to complete.
>   If you choose to not back up the database, and Setup later fails
> for some reason, it will not be able to restore the database and all DWH
> data will be lost.
>   Would you like to backup the existing database before upgrading
> it? (Yes, No) [Yes]:
>
>   --== OVIRT ENGINE CONFIGURATION ==--
>
>
>   --== STORAGE CONFIGURATION ==--
>
>
>   --== PKI CONFIGURATION ==--
>
>
>   --== APACHE CONFIGURATION ==--
>
>
>   --== SYSTEM CONFIGURATION ==--
>
>
>   --== MISC CONFIGURATION ==--
>
>
>   --== END OF CONFIGURATION ==--
>
> [ INFO  ] Stage: Setup validation
>   During execution engine service will be stopped (OK, Cancel)
> [OK]:
> [ INFO  ] Hosted Engine HA is in Global Maintenance mode.
> [ INFO  ] Cleaning stale zombie tasks and commands
>
>   --== CONFIGURATION PREVIEW ==--
>
>   Default SAN wipe after delete   : False
>   Firewall manager: firewalld
>   Update Firewall : True
>   Host FQDN   : ractorshe.mydomain
>   Engine database secured connection  : False
>   Engine database host: localhost
>   Engine database user name   : engine
>   Engine database name: engine
>   Engine database port: 5432
>   Engine database host name validation: False
>   DWH database secured connection : False
>   DWH database host   : localhost
>   DWH database user name  : ovirt_engine_history
>   DWH database name   : ovirt_engine_history
>   DWH database port   : 5432
>   DWH database host name validation   : False
>   Engine installation : True
>   PKI organization: mydomain
>   DWH installation: True
>

Re: [ovirt-users] How to import a qcow2 disk into ovirt

2016-09-01 Thread Amit Aviram
You can do both,
Through the database, the table is "vdc_options". change "option_value"
where "option_name" = 'ImageProxyAddress' .

On Thu, Sep 1, 2016 at 4:56 PM, Gianluca Cecchi 
wrote:

> On Thu, Sep 1, 2016 at 3:53 PM, Amit Aviram  wrote:
>
>> You can just replace this value in the DB and change it to the right
>> FQDN, it is a config value named "ImageProxyAddress". replace "localhost"
>> with the right address (notice that the port is there too).
>>
>> If this will keep happen after users will have the latest version, we
>> will have to open a bug and fix whatever causes the URL to be "localhost".
>>
>>
> Do you mean through "engine-config" or directly into database?
> In this second case which is the table involved?
>
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] /var/run/ovirt-hosted-engine-ha/vm.conf not found

2016-09-01 Thread Pat Riehecky

I seem to be unable to restart my ovirt hosted engine.

I'd swear I had this issue once before, but couldn't find any notes on 
my end.



# cat /etc/ovirt-hosted-engine/hosted-engine.conf
fqdn=vmadmin.fnal.gov
vm_disk_id=36a09f1d-0923-4b3b-87aa-4788ca64064e
vm_disk_vol_id=c4244bdd-80c5-4f68-83c2-9494d9d05723
vmid=823d3e5b-60c2-4e53-a9e8-313aedcaf808
storage=None
conf=/var/run/ovirt-hosted-engine-ha/vm.conf
host_id=4
console=qxl
domainType=fc
spUUID=----
sdUUID=81f19871-4d91-4698-a97d-36452bfae281
connectionUUID=73b61b0a-85f8-4fb7-8faf-c687ef7cc5d8
ca_cert=/etc/pki/vdsm/libvirt-spice/ca-cert.pem
ca_subject="C=EN, L=Test, O=Test, CN=Test"
vdsm_use_ssl=true
gateway=131.225.193.200
bridge=ovirtmgmt
metadata_volume_UUID=93cf12c5-d5e6-4ea6-bee7-de64ee52d7a5
metadata_image_UUID=22a9849b-c551-4783-ad0c-530464df47f3
lockspace_volume_UUID=0593a3b8-1d75-4be3-b65b-ce9a164d0309
lockspace_image_UUID=2c8c56f2-1711-4867-8ed0-3c502bb635ff
conf_volume_UUID=07c72aa5-7fd0-4159-b83e-4d078ae9c351
conf_image_UUID=f9e59ec5-6903-4b2d-8164-4fce3d901bdd

# The following are used only for iSCSI storage
iqn=
portal=
user=
password=
port=



--
Pat Riehecky

Fermi National Accelerator Laboratory
www.fnal.gov
www.scientificlinux.org

MainThread::INFO::2016-09-01 
11:36:05,537::hosted_engine::517::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
 Initializing ha-broker connection
MainThread::INFO::2016-09-01 
11:36:05,538::brokerlink::129::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor ping, options {'addr': '131.225.193.200'}
MainThread::INFO::2016-09-01 
11:36:05,541::brokerlink::140::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 23350672
MainThread::INFO::2016-09-01 
11:36:05,542::brokerlink::129::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor mgmt-bridge, options {'use_ssl': 'true', 'bridge_name': 
'ovirtmgmt', 'address': '0'}
MainThread::INFO::2016-09-01 
11:36:05,549::brokerlink::140::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 23350736
MainThread::INFO::2016-09-01 
11:36:05,550::brokerlink::129::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor mem-free, options {'use_ssl': 'true', 'address': '0'}
MainThread::INFO::2016-09-01 
11:36:05,554::brokerlink::140::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 23351120
MainThread::INFO::2016-09-01 
11:36:05,555::brokerlink::129::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor cpu-load-no-engine, options {'use_ssl': 'true', 'vm_uuid': 
'823d3e5b-60c2-4e53-a9e8-313aedcaf808', 'address': '0'}
MainThread::INFO::2016-09-01 
11:36:05,558::brokerlink::140::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 140278866605776
MainThread::INFO::2016-09-01 
11:36:05,558::brokerlink::129::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Starting monitor engine-health, options {'use_ssl': 'true', 'vm_uuid': 
'823d3e5b-60c2-4e53-a9e8-313aedcaf808', 'address': '0'}
MainThread::INFO::2016-09-01 
11:36:05,563::brokerlink::140::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(start_monitor)
 Success, id 140278866742032
MainThread::INFO::2016-09-01 
11:36:05,756::brokerlink::178::ovirt_hosted_engine_ha.lib.brokerlink.BrokerLink::(set_storage_domain)
 Success, id 140278732398288
MainThread::INFO::2016-09-01 
11:36:05,756::hosted_engine::609::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
 Broker initialized, all submonitors started
MainThread::INFO::2016-09-01 
11:36:05,816::hosted_engine::708::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_sanlock)
 Ensuring lease for lockspace hosted-engine, host id 4 is acquired (file: 
/var/run/vdsm/storage/81f19871-4d91-4698-a97d-36452bfae281/2c8c56f2-1711-4867-8ed0-3c502bb635ff/0593a3b8-1d75-4be3-b65b-ce9a164d0309)
MainThread::INFO::2016-09-01 
11:36:10,961::upgrade::1001::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(upgrade_35_36)
 Host configuration is already up-to-date
MainThread::INFO::2016-09-01 
11:36:10,961::hosted_engine::421::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(start_monitoring)
 Reloading vm.conf from the shared storage domain
MainThread::INFO::2016-09-01 
11:36:10,961::config::206::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file)
 Trying to get a fresher copy of vm configuration from the OVF_STORE
MainThread::INFO::2016-09-01 
11:36:16,122::ovf_store::102::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan)
 Found OVF_STORE: imgUUID:c231f06b-0d4e-4d91-be55-2de903351fd3, 
volUUID:57e7e406-32f3-47ff-b879-9b608ba9cd42
MainThread::INFO::2016-09-01 
11:36:16,193::ovf_store::102::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan)
 Found OVF_STORE: 

[ovirt-users] OVirt 4.0.3 VDI?

2016-09-01 Thread Uwe Laverenz

Hi,

I have a small DC running with OVirt 4.0.3 and I am very pleased so far. 
The next thing I want to test is VDI, so I:


- installed a Windows 7 machine
- ran sysprep and created a template

On my hosted-engine I ran:

   # ovirt-engine-extension-aaa-ldap-setup

where I chose '3 - Active Directory' and entered a non-admin-user for 
LDAP-Queries and successfully tested a Login.


next:

   # engine-config -s SysPrepDefaultUser=admin
   # engine-config -s SysPrepDefaultPassword=interactive

This is my first problem: this supposedly is for the creation of the 
local admin account on the windows machines, right? These values do not 
have any effect: the web dialog for pool creation doesn't know about the 
password and the DefaultUser is created as "user" instead of "admin". Do 
I have to create a custom sysprep file and insert it into the web dialog 
to override these settings? Is there any other way to configure this?


The second problem is: when I create a pool based on my Windows 7 
template, how do I manage to automatically join the newly created 
virtual machines to our Active Directory? Where can I set the 
credentials of a domain admin that joins the machines to the domain?


Thank you in advance,
Uwe
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users