Re: [ovirt-users] Building ovirt-host-deploy gives `configure: error: otopi-devtools required but missing`

2017-04-25 Thread Leni Kadali Mutungi
On 4/25/17, Douglas Landgraf  wrote:
> Hi Leni,

> My recommendation is save the output of 'sudo make install &>
> /tmp/output-make-install-otopi' and
> debug it, start checking if the path of destination files are correct.
>
> Not sure if this your case, but, I have noticed some similar errors
> when --prefix is not set.
>
> """
> From configure --help:
>
> By default, `make install' will install all the files in
> `/usr/local/bin', `/usr/local/lib' etc.  You can specify
> an installation prefix other than `/usr/local' using `--prefix',
> for instance `--prefix=$HOME'.
> """
>
> For this case, I would suggest try:
>  ./configure --enable-java-sdk --with-maven --prefix=/usr/

Will definitely try this out and send feedback. Thanks.

>
> Fell free to share with us the output of make install.
>
> Thanks
> Douglas

My apologies. I thought I had attached the output of `sudo make
install`. Here it is:
https://paste.fedoraproject.org/paste/90D0k1AyVPGDbNhk1WxlBl5M1UNdIGYhyRLivL9gydE=


-- 
- Warm regards
Leni Kadali Mutungi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Import OVA

2017-04-25 Thread Arik Hadas
On Tue, Apr 25, 2017 at 8:26 PM, Andy Kress  wrote:

> This is a KVM native OVA.  Other than pulling apart the archive and
> importing the disks directly, then attaching the disk to a VM, is there a
> more efficient process??
>

Unfortunately, not yet. A better process is planned for 4.2:
https://github.com/oVirt/ovirt-site/pull/828/files


>
> Thanks
>
> On Apr 25, 2017, at 12:02 PM, Arik Hadas  wrote:
>
> If that's a VMware-compatible OVA then a better approach (the approach
> that was previously proposed requires you to convert the vmdk disks
> separately) would be to copy the OVA file to one of the hosts managed by
> oVirt, change its permissions to vdsm:kvm, and import it using the import
> dialog in the virtual machines tab.
>
> On Tue, Apr 25, 2017 at 6:34 PM, Andy  wrote:
>
>> Ahh makes sense,  will give that a try.  thank you much for the info.
>>
>>
>> On Tuesday, April 25, 2017, 8:21:43 AM EDT, Fred Rolland <
>> froll...@redhat.com> wrote:
>> Hi,
>>
>> You can upload a disk in the "disks" tab.
>> You will need to create the VM manually, and attached the disk to it.
>>
>> Regards,
>>
>> Fred
>>
>> On Tue, Apr 25, 2017 at 3:06 PM, Andy Kress 
>> wrote:
>>
>> All,
>>
>> I am using the latest version of Ovirt 4.1.1.8-1 running in CentOS 7.3
>> and would like to import an OVA.  Since it appears the image-uploader
>> utility is deprecated, does anyone have information on how to accomplish
>> this?
>> I cannot import it through the UI directly and rather than importing the
>> OVA to a VMWARE environment and pulling it in, I would like to know how to
>> directly do this.
>>
>> Thanks
>>
>> AK
>> __ _
>> 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] Windows Server 2016 client licensing costs

2017-04-25 Thread Markus Stockhausen
Hi Andrew,

you are on the right way. Although I'm no licensing expert our customers
have the same problem with Orache database since years. The policy boils
down to:

You must license every hardware that the VM might run on. Oracle even
wants to license hardware accross virtualization clusters if there might
be the possibility to relocate the VM between them online (VMWare 6
and higher).

>From a technical perspective OVirt virtualization has the same limits. So 
setup small dedicated Windows (or Oracle clusters) to keep costs down.

Markus

Mit freundlichen Grüßen
Markus Stockhausen
Teamleiter Softwaretechnologie
___

Ubierring 11 · 50678 Köln

Telefon: +49 221 336 08-0
Mobil: +49 151 12040 606
E-Mail: stockhau...@collogia.de

Web: www.collogia.de


Von: users-boun...@ovirt.org [users-boun...@ovirt.org] im Auftrag von 
Andrew Wippler [andrew.wipp...@lancasterbaptist.org]
Gesendet: Dienstag, 25. April 2017 18:24
An: users@ovirt.org
Betreff: [ovirt-users] Windows Server 2016 client licensing costs

We have been running oVirt for over two years now and we are quite satisfied
with it. Most of our infrastructure is CentOS VMs with about 7 Windows VMs which
are all running on 4 oVirt nodes.

With Microsoft changing their licensing terms for 2016, it sounds like I have to
pay a license fee for the physical hypervisor cores if I intend to run Windows
Server 2016 virtual machines on them - even if Windows is not the Host OS. Does
this sound about right?

Has anyone had to buy 2016 licenses yet? Did you also have to buy licenses to
cover the host? What are other hypervisor companies (i.e. VMWare, Citrix, etc.)
instructing their customers to do?

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

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


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


[ovirt-users] Windows Server 2016 client licensing costs

2017-04-25 Thread Andrew Wippler
We have been running oVirt for over two years now and we are quite satisfied
with it. Most of our infrastructure is CentOS VMs with about 7 Windows VMs which
are all running on 4 oVirt nodes.

With Microsoft changing their licensing terms for 2016, it sounds like I have to
pay a license fee for the physical hypervisor cores if I intend to run Windows
Server 2016 virtual machines on them - even if Windows is not the Host OS. Does
this sound about right?

Has anyone had to buy 2016 licenses yet? Did you also have to buy licenses to
cover the host? What are other hypervisor companies (i.e. VMWare, Citrix, etc.)
instructing their customers to do?

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


Re: [ovirt-users] Import OVA

2017-04-25 Thread Andy Kress
This is a KVM native OVA.  Other than pulling apart the archive and importing 
the disks directly, then attaching the disk to a VM, is there a more efficient 
process?? 

Thanks 

> On Apr 25, 2017, at 12:02 PM, Arik Hadas  wrote:
> 
> If that's a VMware-compatible OVA then a better approach (the approach that 
> was previously proposed requires you to convert the vmdk disks separately) 
> would be to copy the OVA file to one of the hosts managed by oVirt, change 
> its permissions to vdsm:kvm, and import it using the import dialog in the 
> virtual machines tab.
> 
>> On Tue, Apr 25, 2017 at 6:34 PM, Andy  wrote:
>> Ahh makes sense,  will give that a try.  thank you much for the info. 
>> 
>> 
>> On Tuesday, April 25, 2017, 8:21:43 AM EDT, Fred Rolland 
>>  wrote:
>> Hi,
>> 
>> You can upload a disk in the "disks" tab.
>> You will need to create the VM manually, and attached the disk to it.
>> 
>> Regards,
>> 
>> Fred
>> 
>> On Tue, Apr 25, 2017 at 3:06 PM, Andy Kress  wrote:
>> All,
>> 
>> I am using the latest version of Ovirt 4.1.1.8-1 running in CentOS 7.3 and 
>> would like to import an OVA.  Since it appears the image-uploader utility is 
>> deprecated, does anyone have information on how to accomplish this?
>> I cannot import it through the UI directly and rather than importing the OVA 
>> to a VMWARE environment and pulling it in, I would like to know how to 
>> directly do this.
>> 
>> Thanks
>> 
>> AK
>> __ _
>> 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] Building ovirt-host-deploy gives `configure: error: otopi-devtools required but missing`

2017-04-25 Thread Jason Brooks
On Tue, Apr 25, 2017 at 7:45 AM, Leni Kadali Mutungi
 wrote:
> Hello. I got the error mentioned in the subject when when trying to
> build ovirt-host-deploy. Full output here:
> https://paste.fedoraproject.org/paste/Dh7FF1XjhDa2TGNSBs~o815M1UNdIGYhyRLivL9gydE=
>
> The troubleshooting I've done so far is as follows:
> 1. Rebuilt otopi, running the commands `autoreconf -ivf` and then
> `./configure --enable-java-sdk --with-maven`. This made `make`
> download a host of stuff for otopi project from
> https://repo.maven.apache.org
> It did this again when I ran `make install`. When I went back to the
> ovirt-host-deploy directory, I ran `./configure`, both with the
> --enable-java-sdk and --with-maven options. Got the same error again.
>
> 2. I tried running entering the directory src/java and running `mvn
> install`. I received a build success message and then proceeded to run
>
> ./configure --build=x86_64-linux-gnu --host=x86_64-linux-gnu
> --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
> --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
> --includedir=/usr/include --libdir=/usr/lib64
> --libexecdir=/usr/libexec --localstatedir=/var
> --sharedstatedir=/var/lib --mandir=/usr/share/man
> --disable-python-syntax-check --enable-java-sdk
> --with-local-version=otopi-1.7.0.master
> COMMONS_LOGGING_JAR=/usr/share/java/commons-logging.jar
> JUNIT_JAR=/usr/share/java/junit.jar
>
> I omitted the --disable-dependency-tracking and
> --docdir=/usr/share/doc/otopi-1.7.0 options because of the following
> error: configure: WARNING: unrecognized options:
> --disable-dependency-tracking and the fact that I didn't have the
> directory /usr/share/doc/otopi-1.7.0 respectively. I got the following
> output: 
> https://paste.fedoraproject.org/paste/90D0k1AyVPGDbNhk1WxlBl5M1UNdIGYhyRLivL9gydE=
>
> Running `sudo make install` gives me the same errors. It seems otopi
> is failing to compile properly and as a result, running ./configure
> within the ovirt-host-deploy directory ends with an error saying
> otopi-devtools are missing. Documentation of my environment as it
> stands is here:
> https://github.com/leni1/oVirt-docs-Debian/blob/master/oVirt-Development-Environment.md
>
> Any ideas on what I should try next are welcome.

On debian testing, I managed to build and install using ./configure
--with-otopi-sources=/root/otopi (this is where I'd checked out and
built otopi)

I got this error running ovirt-host-deploy:

# ovirt-host-deploy
***L:ERROR Internal error: Internal error, plugins set(['otopi',
'ovirt-host-common', 'ovirt-host-deploy']) are missing

It ran a bit further when run from the source dir:


# ./src/bin/ovirt-host-deploy
[ INFO  ] Stage: Initializing
  Continuing will configure this host for serving as
hypervisor. Are you sure you want to continue? (yes/no) yes
[ INFO  ] Stage: Environment setup
  Configuration files: []
  Log file: /tmp/ovirt-host-deploy-20170425170102-6mdsx6.log
  Version: otopi-1.7.0_master ()
  Version: ovirt-host-deploy-1.7.0_master ()
[ INFO  ] Stage: Environment packages setup
[ ERROR ] Failed to execute stage 'Environment packages setup':
Packager install not implemented
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination

>
> --
> - Warm regards
> Leni Kadali Mutungi
> ___
> 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] Gluster and oVirt 4.0 questions

2017-04-25 Thread Sahina Bose
On Tue, Apr 25, 2017 at 9:18 PM, Jim Kusznir  wrote:

> So with arbiter, I actually only have two copies of data...Does arbiter
> have at least checksum or something to detect corruption of a copy? (like
> old RAID-4 disk configuration)?
>

Yes, the arbiter brick stores metadata information about the files to
decide the good copy of data stored on the replicas in case of conflict.


>
> Ok...Related question:  Is there a way to set up an offsite gluster
> storage server to mirror the contents of my main server?  As "fire"
> insurance basically?  (eventually, I'd like to have an "offsite" DR
> cluster, but I don't have the resources or scale yet for that).
>
> What I'd like to do is place a basic storage server somewhere else and
> have it sync any gluster data changes on a regular basis, and be usable to
> repopulate storage should I loose all of my current cluster (eg, a building
> fire or theft).
>

Yes, the geo-replication feature can help with that. There's a remote data
sync feature introduced for gluster storage domains, that helps with this.
You can set this up such that data from your storage domain is regularly
synced to a remote gluster volume, while ensuring data consistency. The
remote gluster volume does not have to a replica 3.


>
> I find gluster has amazing power from what I hear, but I have a hard time
> finding documentation at "the right level" to be useful.  I've found some
> very basic introductory guide, then some very advanced guides that require
> extensive knowledge of gluster already.  Something in the middle to explain
> some of these questions (like arbitrar and migration strategies,
> geo-replication, etc; and how to deploy them) are absent (or at least, i
> haven't found them yet).  I still feel like I'm using something I don't
> understand, and the only avenue I have to learn more is to ask questions
> here, as the docs aren't at an accessible level.
>

Thanks for the feedback. Are you looking at documentation on a use-case
basis?


>
> Thanks!
> --Jim
>
> On Mon, Apr 3, 2017 at 10:34 PM, Sahina Bose  wrote:
>
>>
>>
>> On Sat, Apr 1, 2017 at 10:32 PM, Jim Kusznir  wrote:
>>
>>> Thank you!
>>>
>>> Here's the output of gluster volume info:
>>> [root@ovirt1 ~]# gluster volume info
>>>
>>> Volume Name: data
>>> Type: Replicate
>>> Volume ID: e670c488-ac16-4dd1-8bd3-e43b2e42cc59
>>> Status: Started
>>> Number of Bricks: 1 x (2 + 1) = 3
>>> Transport-type: tcp
>>> Bricks:
>>> Brick1: ovirt1.nwfiber.com:/gluster/brick2/data
>>> Brick2: ovirt2.nwfiber.com:/gluster/brick2/data
>>> Brick3: ovirt3.nwfiber.com:/gluster/brick2/data (arbiter)
>>> Options Reconfigured:
>>> performance.strict-o-direct: on
>>> nfs.disable: on
>>> user.cifs: off
>>> network.ping-timeout: 30
>>> cluster.shd-max-threads: 6
>>> cluster.shd-wait-qlength: 1
>>> cluster.locking-scheme: granular
>>> cluster.data-self-heal-algorithm: full
>>> performance.low-prio-threads: 32
>>> features.shard-block-size: 512MB
>>> features.shard: on
>>> storage.owner-gid: 36
>>> storage.owner-uid: 36
>>> cluster.server-quorum-type: server
>>> cluster.quorum-type: auto
>>> network.remote-dio: enable
>>> cluster.eager-lock: enable
>>> performance.stat-prefetch: off
>>> performance.io-cache: off
>>> performance.read-ahead: off
>>> performance.quick-read: off
>>> performance.readdir-ahead: on
>>> server.allow-insecure: on
>>>
>>> Volume Name: engine
>>> Type: Replicate
>>> Volume ID: 87ad86b9-d88b-457e-ba21-5d3173c612de
>>> Status: Started
>>> Number of Bricks: 1 x (2 + 1) = 3
>>> Transport-type: tcp
>>> Bricks:
>>> Brick1: ovirt1.nwfiber.com:/gluster/brick1/engine
>>> Brick2: ovirt2.nwfiber.com:/gluster/brick1/engine
>>> Brick3: ovirt3.nwfiber.com:/gluster/brick1/engine (arbiter)
>>> Options Reconfigured:
>>> performance.readdir-ahead: on
>>> performance.quick-read: off
>>> performance.read-ahead: off
>>> performance.io-cache: off
>>> performance.stat-prefetch: off
>>> cluster.eager-lock: enable
>>> network.remote-dio: off
>>> cluster.quorum-type: auto
>>> cluster.server-quorum-type: server
>>> storage.owner-uid: 36
>>> storage.owner-gid: 36
>>> features.shard: on
>>> features.shard-block-size: 512MB
>>> performance.low-prio-threads: 32
>>> cluster.data-self-heal-algorithm: full
>>> cluster.locking-scheme: granular
>>> cluster.shd-wait-qlength: 1
>>> cluster.shd-max-threads: 6
>>> network.ping-timeout: 30
>>> user.cifs: off
>>> nfs.disable: on
>>> performance.strict-o-direct: on
>>>
>>> Volume Name: export
>>> Type: Replicate
>>> Volume ID: 04ee58c7-2ba1-454f-be99-26ac75a352b4
>>> Status: Stopped
>>> Number of Bricks: 1 x (2 + 1) = 3
>>> Transport-type: tcp
>>> Bricks:
>>> Brick1: ovirt1.nwfiber.com:/gluster/brick3/export
>>> Brick2: ovirt2.nwfiber.com:/gluster/brick3/export
>>> Brick3: ovirt3.nwfiber.com:/gluster/brick3/export (arbiter)
>>> Options Reconfigured:
>>> performance.readdir-ahead: on
>>> performance.quick-read: off
>>> performance.read-ahead: off
>>> 

Re: [ovirt-users] [Ovirt 4.0] HA VM fail to start on another Host.

2017-04-25 Thread knarra

On 04/25/2017 08:45 PM, TranceWorldLogic . wrote:

Hi,

This is regarding HA VM fail to restart on other host.

I have setup, which has 2 host in a cluster let say host1 and host2.
And one HA VM (with High priority), say vm1.
And also not storage domain is configure on host3 and it available all 
time.


1> Initially vm1 was running on host2.
2> Then I power OFF host2 to see whether ovirt start vm1 on host1.

I found two result in this case as below:
1> Sometime vm1 retrying to start but retrying on host2 itself.
2> Sometime vm1 move in down state without retrying.

Can anyone explain about this behaviour ? Or Is this an issue ?

Note : I am using Ovirt 4.0.

Thanks,
~Rohit


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


Hi,

  If a host is powered off and if powermanagment is enabled engine 
will fence the host and restarts it. During this process host residing 
on the vm  will be shutdown and will be restarted on another node. All 
the events can be seen in the engine UI.


Hope you have not missed to enable power management on the hosts.  
with out enabling power management even if the vm is marked to be Highly 
available it will not  be.


Second thing to check for is if the vm has guest-agent installed on 
it. If the vm does not have guest-agent installed then it wont be 
restarted on different host. More info on this can be found at  [1].


 [1] https://bugzilla.redhat.com/show_bug.cgi?id=1341106#c35

Thanks

kasturi

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


Re: [ovirt-users] Import OVA

2017-04-25 Thread Arik Hadas
If that's a VMware-compatible OVA then a better approach (the approach that
was previously proposed requires you to convert the vmdk disks separately)
would be to copy the OVA file to one of the hosts managed by oVirt, change
its permissions to vdsm:kvm, and import it using the import dialog in the
virtual machines tab.

On Tue, Apr 25, 2017 at 6:34 PM, Andy  wrote:

> Ahh makes sense,  will give that a try.  thank you much for the info.
>
>
> On Tuesday, April 25, 2017, 8:21:43 AM EDT, Fred Rolland <
> froll...@redhat.com> wrote:
> Hi,
>
> You can upload a disk in the "disks" tab.
> You will need to create the VM manually, and attached the disk to it.
>
> Regards,
>
> Fred
>
> On Tue, Apr 25, 2017 at 3:06 PM, Andy Kress  wrote:
>
> All,
>
> I am using the latest version of Ovirt 4.1.1.8-1 running in CentOS 7.3 and
> would like to import an OVA.  Since it appears the image-uploader utility
> is deprecated, does anyone have information on how to accomplish this?
> I cannot import it through the UI directly and rather than importing the
> OVA to a VMWARE environment and pulling it in, I would like to know how to
> directly do this.
>
> Thanks
>
> AK
> __ _
> 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 tasks "stuck"

2017-04-25 Thread Jim Kusznir
(sorry. e-mail client sent message prematurely)

Ok, I figured out that this needs to be run on the engine, I figured out
that PGPASSWORD is the postgres password, and I finally figured out that
the db password is stored in:
/etc/ovirt-engine/engine.conf.d/10-setup-database.conf

Unfortunately, when I run the command provided, I get just an empty line
back, no UUIDs.

I looked in the gui, under the disks tab and found the ID there.  I ran the
command on the two UUIDs for the two disks in question:

[root@ovirt ~]# PGPASSWORD=
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t disk -u engine

[root@ovirt ~]# PGPASSWORD=
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot -u
engine 405fabe0-873c-4e8e-ae10-9990debf96c0
Caution, this operation may lead to data corruption and should be used with
care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_snapshot('405fabe0-873c-4e8e-ae10-9990debf96c0');


INSERT 0 1
unlock snapshot 405fabe0-873c-4e8e-ae10-9990debf96c0 completed successfully.
[root@ovirt ~]# PGPASSWORD=
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot -u
engine eada2c1c-1d99-4391-9be3-352c411a0a91
Caution, this operation may lead to data corruption and should be used with
care. Please contact support prior to running this command
Are you sure you want to proceed? [y/n]
y
select fn_db_unlock_snapshot('eada2c1c-1d99-4391-9be3-352c411a0a91');


INSERT 0 1
unlock snapshot eada2c1c-1d99-4391-9be3-352c411a0a91 completed successfully.

Unfortunately, this doesn't appear to have accomplished anything.  In the
web UI, the disks are still shown as locked, and the tasks are still shown
as pending.

I logged into a host node and found the directory by the same UUID:

root@ovirt1 images]# cd 405fabe0-873c-4e8e-ae10-9990debf96c0/
[root@ovirt1 405fabe0-873c-4e8e-ae10-9990debf96c0]# ls
8e4a02a7-760b-478c-a694-81466d601356
 8e4a02a7-760b-478c-a694-81466d601356.lease
 8e4a02a7-760b-478c-a694-81466d601356.meta
[root@ovirt1 405fabe0-873c-4e8e-ae10-9990debf96c0]# du -sh
514M .


I'm assuming I should NOT just rm these files and the containing
directory

Suggestions moving forward?


On Tue, Apr 25, 2017 at 8:50 AM, Jim Kusznir  wrote:

> Ok, I figured out that this needs to be run on the engine, I figured out
> that PGPASSWORD
>
> On Tue, Apr 4, 2017 at 2:02 AM, Nathanaël Blanchet 
> wrote:
>
>> For instance
>>
>> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
>> -q -t disk -u engine
>> 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-8ac2ae
>> d48392
>>
>> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
>> -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392
>>
>> Le 01/04/2017 à 19:55, Jim Kusznir a écrit :
>>
>> Hi:
>>
>> A few days ago I attempted to create a new VM from one of the
>> ovirt-image-repository images.  I haven't really figured out how to use
>> this reliably yet, and in this case, while trying to import an image, one
>> of my nodes spontaneously rebooted (or at least, it looked like that to
>> ovirt...Not sure if it had an OOM issue or something else).  I assume it
>> was the node that got the task of importing those images, as ever since
>> then (several days now), on my management screen under "Tasks" it shows the
>> attempted imports, still stuck in "processing".  I'm quite certain its not
>> actually processing.  I do believe it used some of my storage up in the
>> partially downloaded images, though (they do show up as
>> GlanceDisk-, with a status of "Locked" under the main Disks tab.
>>
>> How do I "properly" recover from this (abort the task and delete the
>> partial download)?
>>
>> Thanks!
>>
>> --Jim
>>
>>
>> ___
>> Users mailing 
>> listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>
>>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle Infrastrutures Informatiques
>> 227 avenue Professeur-Jean-Louis-Viala
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Building ovirt-host-deploy gives `configure: error: otopi-devtools required but missing`

2017-04-25 Thread Douglas Landgraf
Hi Leni,

On Tue, Apr 25, 2017 at 10:45 AM, Leni Kadali Mutungi
 wrote:
> Hello. I got the error mentioned in the subject when when trying to
> build ovirt-host-deploy. Full output here:
> https://paste.fedoraproject.org/paste/Dh7FF1XjhDa2TGNSBs~o815M1UNdIGYhyRLivL9gydE=
>
> The troubleshooting I've done so far is as follows:
> 1. Rebuilt otopi, running the commands `autoreconf -ivf` and then
> `./configure --enable-java-sdk --with-maven`. This made `make`
> download a host of stuff for otopi project from
> https://repo.maven.apache.org
> It did this again when I ran `make install`. When I went back to the
> ovirt-host-deploy directory, I ran `./configure`, both with the
> --enable-java-sdk and --with-maven options. Got the same error again.

My recommendation is save the output of 'sudo make install &>
/tmp/output-make-install-otopi' and
debug it, start checking if the path of destination files are correct.

Not sure if this your case, but, I have noticed some similar errors
when --prefix is not set.

"""
>From configure --help:

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
"""

For this case, I would suggest try:
 ./configure --enable-java-sdk --with-maven --prefix=/usr/

Fell free to share with us the output of make install.

Thanks
Douglas

>
> 2. I tried running entering the directory src/java and running `mvn
> install`. I received a build success message and then proceeded to run
>
> ./configure --build=x86_64-linux-gnu --host=x86_64-linux-gnu
> --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
> --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
> --includedir=/usr/include --libdir=/usr/lib64
> --libexecdir=/usr/libexec --localstatedir=/var
> --sharedstatedir=/var/lib --mandir=/usr/share/man
> --disable-python-syntax-check --enable-java-sdk
> --with-local-version=otopi-1.7.0.master
> COMMONS_LOGGING_JAR=/usr/share/java/commons-logging.jar
> JUNIT_JAR=/usr/share/java/junit.jar
>
> I omitted the --disable-dependency-tracking and
> --docdir=/usr/share/doc/otopi-1.7.0 options because of the following
> error: configure: WARNING: unrecognized options:
> --disable-dependency-tracking and the fact that I didn't have the
> directory /usr/share/doc/otopi-1.7.0 respectively. I got the following
> output: 
> https://paste.fedoraproject.org/paste/90D0k1AyVPGDbNhk1WxlBl5M1UNdIGYhyRLivL9gydE=
>
> Running `sudo make install` gives me the same errors. It seems otopi
> is failing to compile properly and as a result, running ./configure
> within the ovirt-host-deploy directory ends with an error saying
> otopi-devtools are missing. Documentation of my environment as it
> stands is here:
> https://github.com/leni1/oVirt-docs-Debian/blob/master/oVirt-Development-Environment.md
>
> Any ideas on what I should try next are welcome.
>
> --
> - Warm regards
> Leni Kadali Mutungi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



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


Re: [ovirt-users] Ovirt tasks "stuck"

2017-04-25 Thread Jim Kusznir
Ok, I figured out that this needs to be run on the engine, I figured out
that PGPASSWORD

On Tue, Apr 4, 2017 at 2:02 AM, Nathanaël Blanchet  wrote:

> For instance
>
> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
> -q -t disk -u engine
> 296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-
> 8ac2aed48392
>
> PGPASSWORD=X /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
> -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392
>
> Le 01/04/2017 à 19:55, Jim Kusznir a écrit :
>
> Hi:
>
> A few days ago I attempted to create a new VM from one of the
> ovirt-image-repository images.  I haven't really figured out how to use
> this reliably yet, and in this case, while trying to import an image, one
> of my nodes spontaneously rebooted (or at least, it looked like that to
> ovirt...Not sure if it had an OOM issue or something else).  I assume it
> was the node that got the task of importing those images, as ever since
> then (several days now), on my management screen under "Tasks" it shows the
> attempted imports, still stuck in "processing".  I'm quite certain its not
> actually processing.  I do believe it used some of my storage up in the
> partially downloaded images, though (they do show up as
> GlanceDisk-, with a status of "Locked" under the main Disks tab.
>
> How do I "properly" recover from this (abort the task and delete the
> partial download)?
>
> Thanks!
>
> --Jim
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Gluster and oVirt 4.0 questions

2017-04-25 Thread Jim Kusznir
So with arbiter, I actually only have two copies of data...Does arbiter
have at least checksum or something to detect corruption of a copy? (like
old RAID-4 disk configuration)?

Ok...Related question:  Is there a way to set up an offsite gluster storage
server to mirror the contents of my main server?  As "fire" insurance
basically?  (eventually, I'd like to have an "offsite" DR cluster, but I
don't have the resources or scale yet for that).

What I'd like to do is place a basic storage server somewhere else and have
it sync any gluster data changes on a regular basis, and be usable to
repopulate storage should I loose all of my current cluster (eg, a building
fire or theft).

I find gluster has amazing power from what I hear, but I have a hard time
finding documentation at "the right level" to be useful.  I've found some
very basic introductory guide, then some very advanced guides that require
extensive knowledge of gluster already.  Something in the middle to explain
some of these questions (like arbitrar and migration strategies,
geo-replication, etc; and how to deploy them) are absent (or at least, i
haven't found them yet).  I still feel like I'm using something I don't
understand, and the only avenue I have to learn more is to ask questions
here, as the docs aren't at an accessible level.

Thanks!
--Jim

On Mon, Apr 3, 2017 at 10:34 PM, Sahina Bose  wrote:

>
>
> On Sat, Apr 1, 2017 at 10:32 PM, Jim Kusznir  wrote:
>
>> Thank you!
>>
>> Here's the output of gluster volume info:
>> [root@ovirt1 ~]# gluster volume info
>>
>> Volume Name: data
>> Type: Replicate
>> Volume ID: e670c488-ac16-4dd1-8bd3-e43b2e42cc59
>> Status: Started
>> Number of Bricks: 1 x (2 + 1) = 3
>> Transport-type: tcp
>> Bricks:
>> Brick1: ovirt1.nwfiber.com:/gluster/brick2/data
>> Brick2: ovirt2.nwfiber.com:/gluster/brick2/data
>> Brick3: ovirt3.nwfiber.com:/gluster/brick2/data (arbiter)
>> Options Reconfigured:
>> performance.strict-o-direct: on
>> nfs.disable: on
>> user.cifs: off
>> network.ping-timeout: 30
>> cluster.shd-max-threads: 6
>> cluster.shd-wait-qlength: 1
>> cluster.locking-scheme: granular
>> cluster.data-self-heal-algorithm: full
>> performance.low-prio-threads: 32
>> features.shard-block-size: 512MB
>> features.shard: on
>> storage.owner-gid: 36
>> storage.owner-uid: 36
>> cluster.server-quorum-type: server
>> cluster.quorum-type: auto
>> network.remote-dio: enable
>> cluster.eager-lock: enable
>> performance.stat-prefetch: off
>> performance.io-cache: off
>> performance.read-ahead: off
>> performance.quick-read: off
>> performance.readdir-ahead: on
>> server.allow-insecure: on
>>
>> Volume Name: engine
>> Type: Replicate
>> Volume ID: 87ad86b9-d88b-457e-ba21-5d3173c612de
>> Status: Started
>> Number of Bricks: 1 x (2 + 1) = 3
>> Transport-type: tcp
>> Bricks:
>> Brick1: ovirt1.nwfiber.com:/gluster/brick1/engine
>> Brick2: ovirt2.nwfiber.com:/gluster/brick1/engine
>> Brick3: ovirt3.nwfiber.com:/gluster/brick1/engine (arbiter)
>> Options Reconfigured:
>> performance.readdir-ahead: on
>> performance.quick-read: off
>> performance.read-ahead: off
>> performance.io-cache: off
>> performance.stat-prefetch: off
>> cluster.eager-lock: enable
>> network.remote-dio: off
>> cluster.quorum-type: auto
>> cluster.server-quorum-type: server
>> storage.owner-uid: 36
>> storage.owner-gid: 36
>> features.shard: on
>> features.shard-block-size: 512MB
>> performance.low-prio-threads: 32
>> cluster.data-self-heal-algorithm: full
>> cluster.locking-scheme: granular
>> cluster.shd-wait-qlength: 1
>> cluster.shd-max-threads: 6
>> network.ping-timeout: 30
>> user.cifs: off
>> nfs.disable: on
>> performance.strict-o-direct: on
>>
>> Volume Name: export
>> Type: Replicate
>> Volume ID: 04ee58c7-2ba1-454f-be99-26ac75a352b4
>> Status: Stopped
>> Number of Bricks: 1 x (2 + 1) = 3
>> Transport-type: tcp
>> Bricks:
>> Brick1: ovirt1.nwfiber.com:/gluster/brick3/export
>> Brick2: ovirt2.nwfiber.com:/gluster/brick3/export
>> Brick3: ovirt3.nwfiber.com:/gluster/brick3/export (arbiter)
>> Options Reconfigured:
>> performance.readdir-ahead: on
>> performance.quick-read: off
>> performance.read-ahead: off
>> performance.io-cache: off
>> performance.stat-prefetch: off
>> cluster.eager-lock: enable
>> network.remote-dio: off
>> cluster.quorum-type: auto
>> cluster.server-quorum-type: server
>> storage.owner-uid: 36
>> storage.owner-gid: 36
>> features.shard: on
>> features.shard-block-size: 512MB
>> performance.low-prio-threads: 32
>> cluster.data-self-heal-algorithm: full
>> cluster.locking-scheme: granular
>> cluster.shd-wait-qlength: 1
>> cluster.shd-max-threads: 6
>> network.ping-timeout: 30
>> user.cifs: off
>> nfs.disable: on
>> performance.strict-o-direct: on
>>
>> Volume Name: iso
>> Type: Replicate
>> Volume ID: b1ba15f5-0f0f-4411-89d0-595179f02b92
>> Status: Started
>> Number of Bricks: 1 x (2 + 1) = 3
>> Transport-type: tcp
>> Bricks:
>> Brick1: ovirt1.nwfiber.com:/gluster/brick4/iso
>> 

Re: [ovirt-users] Import OVA

2017-04-25 Thread Andy
Ahh makes sense,  will give that a try.  thank you much for the info. 


On Tuesday, April 25, 2017, 8:21:43 AM EDT, Fred Rolland  
wrote:Hi,

You can upload a disk in the "disks" tab.
You will need to create the VM manually, and attached the disk to it.

Regards,

Fred

On Tue, Apr 25, 2017 at 3:06 PM, Andy Kress  wrote:

All,

I am using the latest version of Ovirt 4.1.1.8-1 running in CentOS 7.3 and 
would like to import an OVA.  Since it appears the image-uploader utility is 
deprecated, does anyone have information on how to accomplish this?
I cannot import it through the UI directly and rather than importing the OVA to 
a VMWARE environment and pulling it in, I would like to know how to directly do 
this.

Thanks

AK
__ _
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/ mailman/listinfo/users


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


[ovirt-users] [Ovirt 4.0] HA VM fail to start on another Host.

2017-04-25 Thread TranceWorldLogic .
Hi,

This is regarding HA VM fail to restart on other host.

I have setup, which has 2 host in a cluster let say host1 and host2.
And one HA VM (with High priority), say vm1.
And also not storage domain is configure on host3 and it available all time.

1> Initially vm1 was running on host2.
2> Then I power OFF host2 to see whether ovirt start vm1 on host1.

I found two result in this case as below:
1> Sometime vm1 retrying to start but retrying on host2 itself.
2> Sometime vm1 move in down state without retrying.

Can anyone explain about this behaviour ? Or Is this an issue ?

Note : I am using Ovirt 4.0.

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


[ovirt-users] Building ovirt-host-deploy gives `configure: error: otopi-devtools required but missing`

2017-04-25 Thread Leni Kadali Mutungi
Hello. I got the error mentioned in the subject when when trying to
build ovirt-host-deploy. Full output here:
https://paste.fedoraproject.org/paste/Dh7FF1XjhDa2TGNSBs~o815M1UNdIGYhyRLivL9gydE=

The troubleshooting I've done so far is as follows:
1. Rebuilt otopi, running the commands `autoreconf -ivf` and then
`./configure --enable-java-sdk --with-maven`. This made `make`
download a host of stuff for otopi project from
https://repo.maven.apache.org
It did this again when I ran `make install`. When I went back to the
ovirt-host-deploy directory, I ran `./configure`, both with the
--enable-java-sdk and --with-maven options. Got the same error again.

2. I tried running entering the directory src/java and running `mvn
install`. I received a build success message and then proceeded to run

./configure --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/var/lib --mandir=/usr/share/man
--disable-python-syntax-check --enable-java-sdk
--with-local-version=otopi-1.7.0.master
COMMONS_LOGGING_JAR=/usr/share/java/commons-logging.jar
JUNIT_JAR=/usr/share/java/junit.jar

I omitted the --disable-dependency-tracking and
--docdir=/usr/share/doc/otopi-1.7.0 options because of the following
error: configure: WARNING: unrecognized options:
--disable-dependency-tracking and the fact that I didn't have the
directory /usr/share/doc/otopi-1.7.0 respectively. I got the following
output: 
https://paste.fedoraproject.org/paste/90D0k1AyVPGDbNhk1WxlBl5M1UNdIGYhyRLivL9gydE=

Running `sudo make install` gives me the same errors. It seems otopi
is failing to compile properly and as a result, running ./configure
within the ovirt-host-deploy directory ends with an error saying
otopi-devtools are missing. Documentation of my environment as it
stands is here:
https://github.com/leni1/oVirt-docs-Debian/blob/master/oVirt-Development-Environment.md

Any ideas on what I should try next are welcome.

-- 
- Warm regards
Leni Kadali Mutungi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted engine FCP SAN can not activate data domain

2017-04-25 Thread Jens Oechsler
Hi,

LUN is not in pvs output, but I found it in lsblk output without any
partions on it apparently.

$ sudo pvs
  PVVG
  Fmt  Attr PSize   PFree
  /dev/mapper/360050768018182b6c990 data
  lvm2 a--  200.00g 180.00g
  /dev/mapper/360050768018182b6c998
9f10e00f-ae39-46a0-86da-8b157c6de7bc lvm2 a--  499.62g 484.50g
  /dev/sda2 system
  lvm2 a--  278.78g 208.41g

$ sudo lvs
  LV   VG
 Attr   LSizePool Origin Data%  Meta%  Move Log Cpy%Sync
Convert
  34a9328f-87fe-4190-96e9-a3580b0734fc
9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-1.00g
  506ff043-1058-448c-bbab-5c864adb2bfc
9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-   10.00g
  65449c88-bc28-4275--5fc75b692cbc
9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-  128.00m
  e2ee95ce-8105-4a20-8e1f-9f6dfa16bf59
9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-ao  128.00m
  ids
9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-ao  128.00m
  inbox
9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-  128.00m
  leases
9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-2.00g
  master
9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-1.00g
  metadata
9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-  512.00m
  outbox
9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-  128.00m
  data data
 -wi-ao   20.00g
  home system
 -wi-ao 1000.00m
  prod system
 -wi-ao4.88g
  root system
 -wi-ao7.81g
  swap system
 -wi-ao4.00g
  swap7system
 -wi-ao   20.00g
  tmp  system
 -wi-ao4.88g
  var  system
 -wi-ao   27.81g

$ sudo lsblk

sdq
65:00   500G  0 disk
└─360050768018182b6c9d7
   253:33   0   500G  0 mpath

Data domain was made with one 500 GB LUN and extended with 500 GB more.

On Tue, Apr 25, 2017 at 2:17 PM, Fred Rolland  wrote:
> Hi,
>
> Do you see the LUN in the host ?
> Can you share pvs and lvs output ?
>
> Thanks,
>
> Fred
>
> On Mon, Apr 24, 2017 at 1:05 PM, Jens Oechsler  wrote:
>>
>> Hello
>> I have a problem with oVirt Hosted Engine Setup version:
>> 4.0.5.5-1.el7.centos.
>> Setup is using FCP SAN for data and engine.
>> Cluster has worked fine for a while. It has two hosts with VMs running.
>> I extended storage with an additional LUN recently. This LUN seems to
>> be gone from data domain and one VM is paused which I assume has data
>> on that device.
>>
>> Got these errors in events:
>>
>> Apr 24, 2017 10:26:05 AM
>> Failed to activate Storage Domain SD (Data Center DC) by
>> admin@internal-authz
>> Apr 10, 2017 3:38:08 PM
>> Status of host cl01 was set to Up.
>> Apr 10, 2017 3:38:03 PM
>> Host cl01 does not enforce SELinux. Current status: DISABLED
>> Apr 10, 2017 3:37:58 PM
>> Host cl01 is initializing. Message: Recovering from crash or Initializing
>> Apr 10, 2017 3:37:58 PM
>> VDSM cl01 command failed: Recovering from crash or Initializing
>> Apr 10, 2017 3:37:46 PM
>> Failed to Reconstruct Master Domain for Data Center DC.
>> Apr 10, 2017 3:37:46 PM
>> Host cl01 is not responding. Host cannot be fenced automatically
>> because power management for the host is disabled.
>> Apr 10, 2017 3:37:46 PM
>> VDSM cl01 command failed: Broken pipe
>> Apr 10, 2017 3:37:46 PM
>> VDSM cl01 command failed: Broken pipe
>> Apr 10, 2017 3:32:45 PM
>> Invalid status on Data Center DC. Setting Data Center status to Non
>> Responsive (On host cl01, Error: General Exception).
>> Apr 10, 2017 3:32:45 PM
>> VDSM cl01 command failed: [Errno 19] Could not find dm device named
>> `[unknown]`
>> Apr 7, 2017 1:28:04 PM
>> VM HostedEngine is down with error. Exit message: resource busy:
>> Failed to acquire lock: error -243.
>> Apr 7, 2017 1:28:02 PM
>> Storage Pool Manager runs on Host cl01 (Address: cl01).
>> Apr 7, 2017 1:27:59 PM
>> Invalid status on Data Center DC. Setting status to Non Responsive.
>> Apr 7, 2017 1:27:53 PM
>> Host cl02 does not enforce SELinux. Current status: DISABLED
>> Apr 7, 2017 1:27:52 PM
>> Host cl01 does not enforce SELinux. Current status: DISABLED
>> Apr 7, 2017 1:27:49 PM
>> Affinity Rules Enforcement Manager started.
>> Apr 7, 2017 1:27:34 PM
>> ETL Service Started
>> Apr 7, 2017 1:26:01 PM
>> ETL Service Stopped
>> Apr 3, 2017 1:22:54 PM
>> Shutdown of VM HostedEngine failed.
>> Apr 3, 2017 1:22:52 PM
>> Storage Pool Manager runs on Host cl01 (Address: cl01).
>> Apr 3, 2017 1:22:49 PM
>> Invalid status on Data Center DC. Setting status to Non Responsive.
>>
>>
>> Master data domain is inactive.
>>
>>
>> vdsm.log:
>>
>> jsonrpc.Executor/5::INFO::2017-04-20
>> 

Re: [ovirt-users] oVirt GUI bug? clicking "ok" on upgrade host confirmation screen

2017-04-25 Thread Nelson Lameiras
I opened a bug in BZ, 

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

This is my first BZ entry, so I'm guessing I did not fill all fields right. 
Hope it doesn't affect bug resolution. 

cordialement, regards, 


Nelson LAMEIRAS 
Ingénieur Systèmes et Réseaux / Systems and Networks engineer 
Tel: +33 5 32 09 09 70 
nelson.lamei...@lyra-network.com 

www.lyra-network.com | www.payzen.eu 





Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE 



From: "knarra"  
To: "Nelson Lameiras"  
Cc: "ovirt users"  
Sent: Tuesday, April 25, 2017 6:38:24 AM 
Subject: Re: [ovirt-users] oVirt GUI bug? clicking "ok" on upgrade host 
confirmation screen 

On 04/24/2017 03:59 PM, Nelson Lameiras wrote: 



Hi kasturi, 

Thanks for your answer, 

Indeed, I tried again and after 1 minute and 17 seconds (!!) the confirmation 
screen disappeared. Is it really necessary to wait this long for screen to 
disapear? (I can see in the background that "upgrade" stars a few seconds after 
clicking ok) 

When putting host into maintenance mode, a circular "waiting" animation is used 
in order to warn user "something" is happening. A similar animation would be 
usefull in "upgrade" screen after clicking ok, no? 

cordialement, regards, 




Nelson LAMEIRAS 
Ingénieur Systèmes et Réseaux / Systems and Networks engineer 
Tel: +33 5 32 09 09 70 
nelson.lamei...@lyra-network.com 

www.lyra-network.com | www.payzen.eu 









Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE 



Not sure why does it take so long in your case. In my case it just takes few 
sec. But yaniv mentioned a bug on this would be good to track it down. 

BQ_BEGIN



From: "knarra"  
To: "Nelson Lameiras"  , "ovirt users" 
 
Sent: Monday, April 24, 2017 7:34:17 AM 
Subject: Re: [ovirt-users] oVirt GUI bug? clicking "ok" on upgrade host 
confirmation screen 

On 04/21/2017 10:20 PM, Nelson Lameiras wrote: 

BQ_BEGIN

Hello, 

Since "upgrade" functionality is available for hosts in oVirt GUI I have this 
strange bug : 

- Click on "Installation>>Upgrade" 
- Click "ok" on confirmation screen 
- -> (bug) confirmation screen does not dissapear as expected 
- Click "ok" again on confirmation screen -> error : "system is already 
upgrading" 
- Click "cancel" to be able to return to oVirt 

This happens using on : 
ovirt engine : oVirt Engine Version: 4.1.1.6-1.el7.centos 
client : windows 10 
client : chrome Version 57.0.2987.133 (64-bit) 

This bug was already present on oVirt 4.0 before updating to 4.1. 

Has anybody else have this problem? 

(will try to reproduce with firefox, IE) 

cordialement, regards, 




Nelson LAMEIRAS 
Ingénieur Systèmes et Réseaux / Systems and Networks engineer 
Tel: +33 5 32 09 09 70 
nelson.lamei...@lyra-network.com 

www.lyra-network.com | www.payzen.eu 









Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE 



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

BQ_END


Hi Nelson, 

Once you click on 'OK' you will need to wait for few seconds (before the 
confirmation disappears) then you can see that upgrade starts. In the previous 
versions once user clicks on 'OK' confirmation screen usually disappears 
immediately. 


Thanks 

kasturi 


BQ_END




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


Re: [ovirt-users] Hyperconverged Setup and Gluster healing

2017-04-25 Thread FERNANDO FREDIANI

RAID 6 doesn't make exactly 3 copies of data.

I think storage is too expensive when compared to the total cost of the 
platform that 3 copies is waste of storage or luxury, given than if you 
have a permanent failure you still can make a new 2nd copy of the data 
provided you have storage left for that.



On 25/04/2017 10:26, Donny Davis wrote:
I personally want three copies of my data, more akin to RAID 6(ish) so 
in my case replica 3 makes perfect sense.


On Mon, Apr 24, 2017 at 11:34 AM, Denis Chaplygin > wrote:


Hello!

On Mon, Apr 24, 2017 at 5:08 PM, FERNANDO FREDIANI
> wrote:

Hi Denis, understood.
What if in the case of adding a fourth host to the running
cluster, will the copy of data be kept only twice in any of
the 4 servers ?


replica volumes can be build only from 2 or 3 bricks. There is no
way to make a replica volume from a 4 bricks.

But you may combine distributed volumes and replica volumes [1]:

|gluster volume create test-volume replica 2 transport tcp
server1:/b1 server2:/b2 server3:/b3 server4:/b4|

test-volume would be like a RAID10 - you will have two replica
volumes b1+b2 and b3+b4 combined into a single distributed volume.
In that case you will
have only two copies of your data. Part of your data will be
stored twice on b1 and b2 and another one part will be stored
twice at b3 and b4
You will be able to extend that distributed volume by adding new
replicas.


[1]

https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Volumes/#creating-distributed-replicated-volumes



___
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] Hyperconverged Setup and Gluster healing

2017-04-25 Thread Donny Davis
I personally want three copies of my data, more akin to RAID 6(ish) so in
my case replica 3 makes perfect sense.

On Mon, Apr 24, 2017 at 11:34 AM, Denis Chaplygin 
wrote:

> Hello!
>
> On Mon, Apr 24, 2017 at 5:08 PM, FERNANDO FREDIANI <
> fernando.fredi...@upx.com> wrote:
>
>> Hi Denis, understood.
>> What if in the case of adding a fourth host to the running cluster, will
>> the copy of data be kept only twice in any of the 4 servers ?
>>
>
> replica volumes can be build only from 2 or 3 bricks. There is no way to
> make a replica volume from a 4 bricks.
>
> But you may combine distributed volumes and replica volumes [1]:
>
> gluster volume create test-volume replica 2 transport tcp server1:/b1 
> server2:/b2 server3:/b3 server4:/b4
>
> test-volume would be like a RAID10 - you will have two replica volumes
> b1+b2 and b3+b4 combined into a single distributed volume. In that case you
> will
> have only two copies of your data. Part of your data will be stored twice
> on b1 and b2 and another one part will be stored twice at b3 and b4
> You will be able to extend that distributed volume by adding new replicas.
>
>
> [1] https://gluster.readthedocs.io/en/latest/Administrator%
> 20Guide/Setting%20Up%20Volumes/#creating-distributed-replicated-volumes
>
> ___
> 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 Engine Can't See The Gluster Storage

2017-04-25 Thread knarra

On 04/25/2017 02:17 PM, khalid wrote:

dear ovirt users team

i have issued :

six server installed glusterfs configured with replica 3 when the 
first 3 servers of gluster down the ovirt engine can't see the gluster 
domain storage  , but i know when the first or last 3 server down must 
the domain storage in read only is that right and how you can help me 
with this isuues.


best regards

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


Hi,

 i just have few questions to understand your issue.

1) Any reason you are using six servers? are you trying to create 
distribute replicate / replica 3 volume?


2) If you are using six servers are the bricks of the volume present on 
all the nodes or just the first three or last three nodes?


3) Once you have the gluster volume has it been added as a storage 
domain in ovirt-UI? If the gluster volume is added as storage domain to 
UI only then ovirt engine can see this.


4) so when you have replica 3 volume configured on three nodes if two 
nodes goes down then system will go to read-only file system.


5) what is the error you are facing ?

Thanks

kasturi


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


Re: [ovirt-users] Hosted engine FCP SAN can not activate data domain

2017-04-25 Thread Fred Rolland
Hi,

Do you see the LUN in the host ?
Can you share pvs and lvs output ?

Thanks,

Fred

On Mon, Apr 24, 2017 at 1:05 PM, Jens Oechsler  wrote:

> Hello
> I have a problem with oVirt Hosted Engine Setup version:
> 4.0.5.5-1.el7.centos.
> Setup is using FCP SAN for data and engine.
> Cluster has worked fine for a while. It has two hosts with VMs running.
> I extended storage with an additional LUN recently. This LUN seems to
> be gone from data domain and one VM is paused which I assume has data
> on that device.
>
> Got these errors in events:
>
> Apr 24, 2017 10:26:05 AM
> Failed to activate Storage Domain SD (Data Center DC) by
> admin@internal-authz
> Apr 10, 2017 3:38:08 PM
> Status of host cl01 was set to Up.
> Apr 10, 2017 3:38:03 PM
> Host cl01 does not enforce SELinux. Current status: DISABLED
> Apr 10, 2017 3:37:58 PM
> Host cl01 is initializing. Message: Recovering from crash or Initializing
> Apr 10, 2017 3:37:58 PM
> VDSM cl01 command failed: Recovering from crash or Initializing
> Apr 10, 2017 3:37:46 PM
> Failed to Reconstruct Master Domain for Data Center DC.
> Apr 10, 2017 3:37:46 PM
> Host cl01 is not responding. Host cannot be fenced automatically
> because power management for the host is disabled.
> Apr 10, 2017 3:37:46 PM
> VDSM cl01 command failed: Broken pipe
> Apr 10, 2017 3:37:46 PM
> VDSM cl01 command failed: Broken pipe
> Apr 10, 2017 3:32:45 PM
> Invalid status on Data Center DC. Setting Data Center status to Non
> Responsive (On host cl01, Error: General Exception).
> Apr 10, 2017 3:32:45 PM
> VDSM cl01 command failed: [Errno 19] Could not find dm device named
> `[unknown]`
> Apr 7, 2017 1:28:04 PM
> VM HostedEngine is down with error. Exit message: resource busy:
> Failed to acquire lock: error -243.
> Apr 7, 2017 1:28:02 PM
> Storage Pool Manager runs on Host cl01 (Address: cl01).
> Apr 7, 2017 1:27:59 PM
> Invalid status on Data Center DC. Setting status to Non Responsive.
> Apr 7, 2017 1:27:53 PM
> Host cl02 does not enforce SELinux. Current status: DISABLED
> Apr 7, 2017 1:27:52 PM
> Host cl01 does not enforce SELinux. Current status: DISABLED
> Apr 7, 2017 1:27:49 PM
> Affinity Rules Enforcement Manager started.
> Apr 7, 2017 1:27:34 PM
> ETL Service Started
> Apr 7, 2017 1:26:01 PM
> ETL Service Stopped
> Apr 3, 2017 1:22:54 PM
> Shutdown of VM HostedEngine failed.
> Apr 3, 2017 1:22:52 PM
> Storage Pool Manager runs on Host cl01 (Address: cl01).
> Apr 3, 2017 1:22:49 PM
> Invalid status on Data Center DC. Setting status to Non Responsive.
>
>
> Master data domain is inactive.
>
>
> vdsm.log:
>
> jsonrpc.Executor/5::INFO::2017-04-20
> 07:01:26,796::lvm::1226::Storage.LVM::(activateLVs) Refreshing lvs:
> vg=bd616961-6da7-4eb0-939e-330b0a3fea6e lvs=['ids']
> jsonrpc.Executor/5::DEBUG::2017-04-20
> 07:01:26,796::lvm::288::Storage.Misc.excCmd::(cmd) /usr/bin/taskset
> --cpu-list 0-39 /usr/bin/sudo -n /usr/sbin/lvm lvchange --config '
> devices { preferred_names = ["^/dev/mapper/"] ignore_suspended_d
> evices=1 write_cache_state=0 disable_after_error_count=3 filter = [
> '\''a|/dev/mapper/360050768018182b6c99e|[unknown]|'\'',
> '\''r|.*|'\'' ] }  global {  locking_type=1  prioritise_write_locks=1
> wait_for_locks=1  use_lvmetad=
> 0 }  backup {  retain_min = 50  retain_days = 0 } ' --refresh
> bd616961-6da7-4eb0-939e-330b0a3fea6e/ids (cwd None)
> jsonrpc.Executor/5::DEBUG::2017-04-20
> 07:01:26,880::lvm::288::Storage.Misc.excCmd::(cmd) SUCCESS:  = "
> WARNING: Not using lvmetad because config setting use_lvmetad=0.\n
> WARNING: To avoid corruption, rescan devices to make changes
>  visible (pvscan --cache).\n  Couldn't find device with uuid
> jDB9VW-bNqY-UIKc-XxXp-xnyK-ZTlt-7Cpa1U.\n";  = 0
> jsonrpc.Executor/5::INFO::2017-04-20
> 07:01:26,881::lvm::1226::Storage.LVM::(activateLVs) Refreshing lvs:
> vg=bd616961-6da7-4eb0-939e-330b0a3fea6e lvs=['leases']
> jsonrpc.Executor/5::DEBUG::2017-04-20
> 07:01:26,881::lvm::288::Storage.Misc.excCmd::(cmd) /usr/bin/taskset
> --cpu-list 0-39 /usr/bin/sudo -n /usr/sbin/lvm lvchange --config '
> devices { preferred_names = ["^/dev/mapper/"] ignore_suspended_d
> evices=1 write_cache_state=0 disable_after_error_count=3 filter = [
> '\''a|/dev/mapper/360050768018182b6c99e|[unknown]|'\'',
> '\''r|.*|'\'' ] }  global {  locking_type=1  prioritise_write_locks=1
> wait_for_locks=1  use_lvmetad=
> 0 }  backup {  retain_min = 50  retain_days = 0 } ' --refresh
> bd616961-6da7-4eb0-939e-330b0a3fea6e/leases (cwd None)
> jsonrpc.Executor/5::DEBUG::2017-04-20
> 07:01:26,973::lvm::288::Storage.Misc.excCmd::(cmd) SUCCESS:  = "
> WARNING: Not using lvmetad because config setting use_lvmetad=0.\n
> WARNING: To avoid corruption, rescan devices to make changes
>  visible (pvscan --cache).\n  Couldn't find device with uuid
> jDB9VW-bNqY-UIKc-XxXp-xnyK-ZTlt-7Cpa1U.\n";  = 0
> jsonrpc.Executor/5::INFO::2017-04-20
> 07:01:26,973::lvm::1226::Storage.LVM::(activateLVs) Refreshing lvs:
> 

Re: [ovirt-users] oVirt Setup

2017-04-25 Thread Yaniv Kaul
On Mon, Apr 24, 2017 at 5:38 PM, Mohd Zainal Abidin 
wrote:

> Hi,
>
> Hardware:
>
> 1x DL380 G9 32GB Memory (Ovirt Engine)
> 3x DL560 G9 512GB Memory (Hypervisor)
> 4x DL180se 6x3TB 32GB Memory (Storage - GlusterFS)
>
> What is the best setup from my requirement? Which step i need to do? How
> many NIC do i need to use for each server?
>

Depends on your required performance, scalability and resiliency.
Theoretically, you'd like to have bond for every critical network, but
that's not always feasible.
10g are very much recommended for high performance (for example, fast
storage and live migration performance).
Y.


>
>
> --
> Thank you
> __
>
> Mohd Zainal Abidin
>
> ___
> 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] Import OVA

2017-04-25 Thread Fred Rolland
Hi,

You can upload a disk in the "disks" tab.
You will need to create the VM manually, and attached the disk to it.

Regards,

Fred

On Tue, Apr 25, 2017 at 3:06 PM, Andy Kress  wrote:

> All,
>
> I am using the latest version of Ovirt 4.1.1.8-1 running in CentOS 7.3 and
> would like to import an OVA.  Since it appears the image-uploader utility
> is deprecated, does anyone have information on how to accomplish this?
> I cannot import it through the UI directly and rather than importing the
> OVA to a VMWARE environment and pulling it in, I would like to know how to
> directly do this.
>
> Thanks
>
> AK
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Import OVA

2017-04-25 Thread Andy Kress
All, 

I am using the latest version of Ovirt 4.1.1.8-1 running in CentOS 7.3 and 
would like to import an OVA.  Since it appears the image-uploader utility is 
deprecated, does anyone have information on how to accomplish this? 
I cannot import it through the UI directly and rather than importing the OVA to 
a VMWARE environment and pulling it in, I would like to know how to directly do 
this.

Thanks 

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


Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Yedidyah Bar David
On Tue, Apr 25, 2017 at 1:28 PM, Fabrice Bacchella
 wrote:
> I activated pg query log and got that:
>
> grep gettagsbyparent_id /data/pgsql/9.4/data/pg_log/postgresql-Tue.log
> < 2017-04-25 12:21:29.770 CEST >LOG:  execute : SELECT NULL AS 
> PROCEDURE_CAT, n.nspname AS PROCEDURE_SCHEM, p.proname AS PROCEDURE_NAME, 
> NULL, NULL, NULL, d.description AS REMARKS, 2 AS PROCEDURE_TYPE,  p.proname 
> || '_' || p.oid AS SPECIFIC_NAME  FROM pg_catalog.pg_namespace n, 
> pg_catalog.pg_proc p  LEFT JOIN pg_catalog.pg_description d ON 
> (p.oid=d.objoid)  LEFT JOIN pg_catalog.pg_class c ON (d.classoid=c.oid AND 
> c.relname='pg_proc')  LEFT JOIN pg_catalog.pg_namespace pn ON 
> (c.relnamespace=pn.oid AND pn.nspname='pg_catalog')  WHERE 
> p.pronamespace=n.oid  AND n.nspname LIKE 'public' AND p.proname LIKE 
> 'gettagsbyparent_id' ORDER BY PROCEDURE_SCHEM, PROCEDURE_NAME, p.oid::text

This query does not seem to be originated by oVirt, but by
postgresql-jdbc [1]. Can you try downgrading that one as well, and
then restart the engine? Thanks.

[1] 
https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/jdbc/PgDatabaseMetaData.java#L959

> < 2017-04-25 12:21:29.787 CEST >LOG:  execute : SELECT 
> n.nspname,p.proname,p.prorettype,p.proargtypes, t.typtype,t.typrelid,  
> p.proargnames, p.proargmodes, p.proallargtypes, p.oid  FROM 
> pg_catalog.pg_proc p, pg_catalog.pg_namespace n, pg_catalog.pg_type t  WHERE 
> p.pronamespace=n.oid AND p.prorettype=t.oid  AND n.nspname LIKE 'public' AND 
> p.proname LIKE 'gettagsbyparent_id' ORDER BY n.nspname, p.proname, p.oid::text
> < 2017-04-25 12:21:29.827 CEST >ERROR:  function gettagsbyparent_id() does 
> not exist at character 16
> < 2017-04-25 12:21:29.827 CEST >STATEMENT:  select * from  
> gettagsbyparent_id()
>
>
> And:
>
> grep getallmacpoolrangesbymacpoolid 
> /data/pgsql/9.4/data/pg_log/postgresql-Tue.log
> < 2017-04-25 12:13:03.519 CEST >ERROR:  function 
> getallmacpoolrangesbymacpoolid() does not exist at character 16
> < 2017-04-25 12:13:03.519 CEST >STATEMENT:  select * from  
> getallmacpoolrangesbymacpoolid();
> < 2017-04-25 12:21:29.816 CEST >LOG:  execute : SELECT NULL AS 
> PROCEDURE_CAT, n.nspname AS PROCEDURE_SCHEM, p.proname AS PROCEDURE_NAME, 
> NULL, NULL, NULL, d.description AS REMARKS, 2 AS PROCEDURE_TYPE,  p.proname 
> || '_' || p.oid AS SPECIFIC_NAME  FROM pg_catalog.pg_namespace n, 
> pg_catalog.pg_proc p  LEFT JOIN pg_catalog.pg_description d ON 
> (p.oid=d.objoid)  LEFT JOIN pg_catalog.pg_class c ON (d.classoid=c.oid AND 
> c.relname='pg_proc')  LEFT JOIN pg_catalog.pg_namespace pn ON 
> (c.relnamespace=pn.oid AND pn.nspname='pg_catalog')  WHERE 
> p.pronamespace=n.oid  AND n.nspname LIKE 'public' AND p.proname LIKE 
> 'getallmacpoolrangesbymacpoolid' ORDER BY PROCEDURE_SCHEM, PROCEDURE_NAME, 
> p.oid::text
> < 2017-04-25 12:21:29.821 CEST >LOG:  execute : SELECT 
> n.nspname,p.proname,p.prorettype,p.proargtypes, t.typtype,t.typrelid,  
> p.proargnames, p.proargmodes, p.proallargtypes, p.oid  FROM 
> pg_catalog.pg_proc p, pg_catalog.pg_namespace n, pg_catalog.pg_type t  WHERE 
> p.pronamespace=n.oid AND p.prorettype=t.oid  AND n.nspname LIKE 'public' AND 
> p.proname LIKE 'getallmacpoolrangesbymacpoolid' ORDER BY n.nspname, 
> p.proname, p.oid::text
> < 2017-04-25 12:21:29.865 CEST >ERROR:  function 
> getallmacpoolrangesbymacpoolid() does not exist at character 16
> < 2017-04-25 12:21:29.865 CEST >STATEMENT:  select * from  
> getallmacpoolrangesbymacpoolid()
>
>
> And for all the errors for today:
> < 2017-04-25 03:23:08.098 CEST >ERROR:  update or delete on table 
> "fact_values" violates foreign key constraint "fact_value_id_fk" on table 
> "facts"
> < 2017-04-25 12:13:03.519 CEST >ERROR:  function 
> getallmacpoolrangesbymacpoolid() does not exist at character 16
> < 2017-04-25 12:21:29.827 CEST >ERROR:  function gettagsbyparent_id() does 
> not exist at character 16
> < 2017-04-25 12:21:29.865 CEST >ERROR:  function 
> getallmacpoolrangesbymacpoolid() does not exist at character 16
>
> But the first one is old:
> grep fact_value_id_fk /data/pgsql/9.4/data/pg_log/postgresql-*
> /data/pgsql/9.4/data/pg_log/postgresql-Mon.log:< 2017-04-24 03:38:33.212 CEST 
> >ERROR:  update or delete on table "fact_values" violates foreign key 
> constraint "fact_value_id_fk" on table "facts"
> /data/pgsql/9.4/data/pg_log/postgresql-Sat.log:< 2017-04-22 04:12:59.608 CEST 
> >ERROR:  update or delete on table "fact_values" violates foreign key 
> constraint "fact_value_id_fk" on table "facts"
> /data/pgsql/9.4/data/pg_log/postgresql-Sun.log:< 2017-04-23 03:52:01.341 CEST 
> >ERROR:  update or delete on table "fact_values" violates foreign key 
> constraint "fact_value_id_fk" on table "facts"
> /data/pgsql/9.4/data/pg_log/postgresql-Tue.log:< 2017-04-25 03:23:08.098 CEST 
> >ERROR:  update or delete on table "fact_values" violates foreign key 
> constraint "fact_value_id_fk" on table "facts"
>
> ovirt was 

Re: [ovirt-users] engine upgrade 4.1.0 => 4.1.1, no more engine console available

2017-04-25 Thread Evgenia Tokar
It seems that the main issue here is that the graphics device is missing
from the engine db.
This causes the generated ovf to not contain a graphics device which in
turn makes the vm.conf not have it, and so the console is not available.

So what we need to understand now is what caused the graphics device to
disappear and a way to return it.

Did anything out of the regular update flow happened with the vm?


Thanks,
Jenny

On Tue, Apr 25, 2017 at 12:38 AM, Gianluca Cecchi  wrote:

> On Mon, Apr 24, 2017 at 7:01 PM, Sharon Gratch  wrote:
>
>> Hi,
>>
>>
>> On Mon, Apr 24, 2017 at 6:06 PM, Gianluca Cecchi <
>> gianluca.cec...@gmail.com> wrote:
>>
>>>
>>>
>>> On Mon, Apr 24, 2017 at 12:57 PM, Evgenia Tokar 
>>> wrote:
>>>

 Thanks.

 1. In the UI under vm devices tab do you have an entry for graphical
 device (type=spice)?

>>>
>>> It doesn't seem so...
>>> Se the whole content:
>>> https://drive.google.com/file/d/0BwoPbcrMv8mvblV3dDlMelVFS1U
>>> /view?usp=sharing
>>>
>>>
>> According to the vm devices list you sent here, there is also no ​entry
>> for for the video device (device with type=qxl)​, although according to one
>> of your previous mails, the vm "general" sub tab shows "Video Type: qxl".
>>
>
> I confirm that. But please note that in the same general sub tab the
> "Graphics Protocol" appears as "None", while normally it should contain
> "SPICE".
> I resend the link of the general sub tab screenshot:
> https://drive.google.com/file/d/0BwoPbcrMv8mvUURobHhKb0kxemM
> /view?usp=sharing
>
>
>
>
>>
>> 1. Can you please check the vm console configuration to see if headless
>> mode is off, just to make sure?  (in ui - edit the vm and check the console
>> tab to see if the "Headless mode" is not checked).
>>
>> (*) headless mode is a new feature added to 4.1
>>
>
> I confirm headless is not checked.
> See here (you see underneath also the general sub tab):
> https://drive.google.com/file/d/0BwoPbcrMv8mvQVhzaGFHSmoxaGc/
> view?usp=sharing
>
>
>
>> 2. what values are assigned in vm console tab for "Video Type" and
>> "Graphics protocol" fields?
>>
>
> From the above screenshot you see that they are "QXL" and "SPICE"
>
>
>>
>> Thanks,
>> Sharon
>>
>>
>>
> You are welcome.
> I have another environment with single server and she, with similar update
> history and now at 4.1.1.6-1 level, where I had not the problem, but in
> that environment the engine was configured as "VNC" and "Cirrus" so it was
> not the same.
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.1.1 and ovn problems

2017-04-25 Thread Gianluca Cecchi
On Tue, Apr 25, 2017 at 9:34 AM, Marcin Mirecki  wrote:

> It looks like ndb is listening (netstat shows this), but not receiving
> anything (log is empty).
> This looks like a connectivity issue.
> Can the provider host ping the ovn host?
>

Yes. The provider host is the oVirt self hosted engine VM


> Is firewalld/iptables disabled on both hosts?
>

Firewall is disabled on all 3 oVirt hosts. While on engine VM side the
firewalld service is active but with needed ports enabled.


[g.cecchi@ovmgr1 ~]$ sudo firewall-cmd --get-default-zone
public

[g.cecchi@ovmgr1 ~]$ sudo firewall-cmd --get-active-zones
public
  interfaces: ens192

[g.cecchi@ovmgr1 ~]$ sudo firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: ens192
  sources:
  services: dhcpv6-client ovirt-fence-kdump-listener ovirt-http ovirt-https
ovirt-imageio-proxy ovirt-postgres ovirt-provider-ovn ovirt-vmconsole-proxy
ovirt-websocket-proxy ssh
  ports:
  protocols:
  masquerade: no
  forward-ports:
  sourceports:
  icmp-blocks:
  rich rules:
rule family="ipv4" port port="6641" protocol="tcp" accept
rule family="ipv4" port port="6642" protocol="tcp" accept
[g.cecchi@ovmgr1 ~]$


> Let's make sure that OVN is working fine.
> I attach a short python script that checks the connection from the
> localhost.
> Please check if it can connect to ovn from localhost (just execute this on
> the host with ovn: "python tcp_connection_test.py" ).
> It should connect and print out all the OVN networks.
> Does this work?
> 
>

It seems so. If I run on my ovm provider host:

[g.cecchi@ovmgr1 ~]$ python /tmp/tcp_connection_test.py
connecting  1
connecting  2
CONNECTED!
ROW: uuid:04501f6b-3977-4ba1-9ead-7096768d796d  name:ovn172
ROW: uuid:6110649a-db2b-4de7-8fbc-601095cfe510  name:ovn192
[g.cecchi@ovmgr1 ~]$

Perhaps I was not clear at the beginning I try to reformulate.
I noticed that ovn didn't work after upgrade from 4.1.0 to 4.1.1.
Then in oVirt OVN documentation I found about the  "set" commands to give
in case of openvswitch 2.7
And in fact after giving the commands I was able to start VM with OVN vnics
and they was able to communicate through openvswitch.

The problem was the persistence of the set command. It seems that after
restarting engine VM (that is my provider host), the setting is not
maintained

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


Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Fabrice Bacchella
I activated pg query log and got that:

grep gettagsbyparent_id /data/pgsql/9.4/data/pg_log/postgresql-Tue.log 
< 2017-04-25 12:21:29.770 CEST >LOG:  execute : SELECT NULL AS 
PROCEDURE_CAT, n.nspname AS PROCEDURE_SCHEM, p.proname AS PROCEDURE_NAME, NULL, 
NULL, NULL, d.description AS REMARKS, 2 AS PROCEDURE_TYPE,  p.proname || '_' || 
p.oid AS SPECIFIC_NAME  FROM pg_catalog.pg_namespace n, pg_catalog.pg_proc p  
LEFT JOIN pg_catalog.pg_description d ON (p.oid=d.objoid)  LEFT JOIN 
pg_catalog.pg_class c ON (d.classoid=c.oid AND c.relname='pg_proc')  LEFT JOIN 
pg_catalog.pg_namespace pn ON (c.relnamespace=pn.oid AND 
pn.nspname='pg_catalog')  WHERE p.pronamespace=n.oid  AND n.nspname LIKE 
'public' AND p.proname LIKE 'gettagsbyparent_id' ORDER BY PROCEDURE_SCHEM, 
PROCEDURE_NAME, p.oid::text 
< 2017-04-25 12:21:29.787 CEST >LOG:  execute : SELECT 
n.nspname,p.proname,p.prorettype,p.proargtypes, t.typtype,t.typrelid,  
p.proargnames, p.proargmodes, p.proallargtypes, p.oid  FROM pg_catalog.pg_proc 
p, pg_catalog.pg_namespace n, pg_catalog.pg_type t  WHERE p.pronamespace=n.oid 
AND p.prorettype=t.oid  AND n.nspname LIKE 'public' AND p.proname LIKE 
'gettagsbyparent_id' ORDER BY n.nspname, p.proname, p.oid::text 
< 2017-04-25 12:21:29.827 CEST >ERROR:  function gettagsbyparent_id() does not 
exist at character 16
< 2017-04-25 12:21:29.827 CEST >STATEMENT:  select * from  gettagsbyparent_id()


And:

grep getallmacpoolrangesbymacpoolid 
/data/pgsql/9.4/data/pg_log/postgresql-Tue.log 
< 2017-04-25 12:13:03.519 CEST >ERROR:  function 
getallmacpoolrangesbymacpoolid() does not exist at character 16
< 2017-04-25 12:13:03.519 CEST >STATEMENT:  select * from  
getallmacpoolrangesbymacpoolid();
< 2017-04-25 12:21:29.816 CEST >LOG:  execute : SELECT NULL AS 
PROCEDURE_CAT, n.nspname AS PROCEDURE_SCHEM, p.proname AS PROCEDURE_NAME, NULL, 
NULL, NULL, d.description AS REMARKS, 2 AS PROCEDURE_TYPE,  p.proname || '_' || 
p.oid AS SPECIFIC_NAME  FROM pg_catalog.pg_namespace n, pg_catalog.pg_proc p  
LEFT JOIN pg_catalog.pg_description d ON (p.oid=d.objoid)  LEFT JOIN 
pg_catalog.pg_class c ON (d.classoid=c.oid AND c.relname='pg_proc')  LEFT JOIN 
pg_catalog.pg_namespace pn ON (c.relnamespace=pn.oid AND 
pn.nspname='pg_catalog')  WHERE p.pronamespace=n.oid  AND n.nspname LIKE 
'public' AND p.proname LIKE 'getallmacpoolrangesbymacpoolid' ORDER BY 
PROCEDURE_SCHEM, PROCEDURE_NAME, p.oid::text 
< 2017-04-25 12:21:29.821 CEST >LOG:  execute : SELECT 
n.nspname,p.proname,p.prorettype,p.proargtypes, t.typtype,t.typrelid,  
p.proargnames, p.proargmodes, p.proallargtypes, p.oid  FROM pg_catalog.pg_proc 
p, pg_catalog.pg_namespace n, pg_catalog.pg_type t  WHERE p.pronamespace=n.oid 
AND p.prorettype=t.oid  AND n.nspname LIKE 'public' AND p.proname LIKE 
'getallmacpoolrangesbymacpoolid' ORDER BY n.nspname, p.proname, p.oid::text 
< 2017-04-25 12:21:29.865 CEST >ERROR:  function 
getallmacpoolrangesbymacpoolid() does not exist at character 16
< 2017-04-25 12:21:29.865 CEST >STATEMENT:  select * from  
getallmacpoolrangesbymacpoolid()


And for all the errors for today:
< 2017-04-25 03:23:08.098 CEST >ERROR:  update or delete on table "fact_values" 
violates foreign key constraint "fact_value_id_fk" on table "facts"
< 2017-04-25 12:13:03.519 CEST >ERROR:  function 
getallmacpoolrangesbymacpoolid() does not exist at character 16
< 2017-04-25 12:21:29.827 CEST >ERROR:  function gettagsbyparent_id() does not 
exist at character 16
< 2017-04-25 12:21:29.865 CEST >ERROR:  function 
getallmacpoolrangesbymacpoolid() does not exist at character 16

But the first one is old:
grep fact_value_id_fk /data/pgsql/9.4/data/pg_log/postgresql-*
/data/pgsql/9.4/data/pg_log/postgresql-Mon.log:< 2017-04-24 03:38:33.212 CEST 
>ERROR:  update or delete on table "fact_values" violates foreign key 
constraint "fact_value_id_fk" on table "facts"
/data/pgsql/9.4/data/pg_log/postgresql-Sat.log:< 2017-04-22 04:12:59.608 CEST 
>ERROR:  update or delete on table "fact_values" violates foreign key 
constraint "fact_value_id_fk" on table "facts"
/data/pgsql/9.4/data/pg_log/postgresql-Sun.log:< 2017-04-23 03:52:01.341 CEST 
>ERROR:  update or delete on table "fact_values" violates foreign key 
constraint "fact_value_id_fk" on table "facts"
/data/pgsql/9.4/data/pg_log/postgresql-Tue.log:< 2017-04-25 03:23:08.098 CEST 
>ERROR:  update or delete on table "fact_values" violates foreign key 
constraint "fact_value_id_fk" on table "facts"

ovirt was working on monday morgning, I'm positive about that.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Yedidyah Bar David
On Tue, Apr 25, 2017 at 1:14 PM, Fabrice Bacchella
 wrote:
>
>> Le 25 avr. 2017 à 12:05, Yedidyah Bar David  a écrit :
>>
>> On Tue, Apr 25, 2017 at 12:14 PM, Fabrice Bacchella
>>  wrote:
>>>
 Le 25 avr. 2017 à 10:27, Yedidyah Bar David  a écrit :


>>>
 So all was good until you changed (downgraded?) your pg client? So
 perhaps try to revert that. Although if you didn't change your jdbc
 library, I do not think this should have affected you. But in any
 case, if the failure was not caused by running 'engine-setup', it's
 most likely not due to a bug in engine-setup, but elsewhere.
>>>
>>> Possible, but for the moment, I need a way to get out of this trap. My 
>>> ovirt engine is broken.
>>
>> Your db dump does have gettagsbyparent_id, so that's not the problem.
>> I am not an expert in the engine side, no idea otherwise.
>
> But:
>
> su - postgres
>  $ psql ovirt_engine
> psql (9.4.11)
> Type "help" for help.
>
> ovirt_engine=# select * from  getallmacpoolrangesbymacpoolid();
> ERROR:  function getallmacpoolrangesbymacpoolid() does not exist
> LINE 1: select * from  getallmacpoolrangesbymacpoolid();
>^
> HINT:  No function matches the given name and argument types. You might need 
> to add explicit type casts.
>

Because it requires a uuid parameter.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Fabrice Bacchella

> Le 25 avr. 2017 à 12:05, Yedidyah Bar David  a écrit :
> 
> On Tue, Apr 25, 2017 at 12:14 PM, Fabrice Bacchella
>  wrote:
>> 
>>> Le 25 avr. 2017 à 10:27, Yedidyah Bar David  a écrit :
>>> 
>>> 
>> 
>>> So all was good until you changed (downgraded?) your pg client? So
>>> perhaps try to revert that. Although if you didn't change your jdbc
>>> library, I do not think this should have affected you. But in any
>>> case, if the failure was not caused by running 'engine-setup', it's
>>> most likely not due to a bug in engine-setup, but elsewhere.
>> 
>> Possible, but for the moment, I need a way to get out of this trap. My ovirt 
>> engine is broken.
> 
> Your db dump does have gettagsbyparent_id, so that's not the problem.
> I am not an expert in the engine side, no idea otherwise.

But:

su - postgres
 $ psql ovirt_engine
psql (9.4.11)
Type "help" for help.

ovirt_engine=# select * from  getallmacpoolrangesbymacpoolid();
ERROR:  function getallmacpoolrangesbymacpoolid() does not exist
LINE 1: select * from  getallmacpoolrangesbymacpoolid();
   ^
HINT:  No function matches the given name and argument types. You might need to 
add explicit type casts.


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


Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Yedidyah Bar David
On Tue, Apr 25, 2017 at 12:14 PM, Fabrice Bacchella
 wrote:
>
>> Le 25 avr. 2017 à 10:27, Yedidyah Bar David  a écrit :
>>
>>
>
>> So all was good until you changed (downgraded?) your pg client? So
>> perhaps try to revert that. Although if you didn't change your jdbc
>> library, I do not think this should have affected you. But in any
>> case, if the failure was not caused by running 'engine-setup', it's
>> most likely not due to a bug in engine-setup, but elsewhere.
>
> Possible, but for the moment, I need a way to get out of this trap. My ovirt 
> engine is broken.

Your db dump does have gettagsbyparent_id, so that's not the problem.
I am not an expert in the engine side, no idea otherwise.

My guess is that it might be related to:

2017-04-24 16:52:23,700+02 WARN
[org.springframework.jdbc.core.metadata.CallMetaDataProvider]
(ServerService Thread Pool -- 49) Error while retrieving metadata for
procedure columns: org.postgresql.util.PSQLException: Cannot cast type
String to boolean: "2"
2017-04-24 16:52:23,727+02 WARN
[org.springframework.jdbc.core.metadata.CallMetaDataProvider]
(ServerService Thread Pool -- 53) Error while retrieving metadata for
procedure columns: org.postgresql.util.PSQLException: Cannot cast type
String to boolean: "2"
2017-04-24 16:52:23,759+02 WARN
[org.springframework.jdbc.core.metadata.CallMetaDataProvider]
(ServerService Thread Pool -- 49) Error while retrieving metadata for
procedure columns: org.postgresql.util.PSQLException: Cannot cast type
String to boolean: "2"

Perhaps try to start the engine with DEBUG level info to get more info.
Edit /usr/share/ovirt-engine/services/ovirt-engine/ovirt-engine.xml.in
and replace each 'INFO' with 'DEBUG', then restart the engine. Adding
Eli.

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


Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Fabrice Bacchella

> Le 25 avr. 2017 à 10:27, Yedidyah Bar David  a écrit :
> 
> On Tue, Apr 25, 2017 at 11:14 AM, Fabrice Bacchella
>  wrote:
>> 
>>> Le 25 avr. 2017 à 07:59, Yedidyah Bar David  a écrit :
>>> 
>>> On Mon, Apr 24, 2017 at 5:59 PM, Fabrice Bacchella
>>>  wrote:
 https://www.dropbox.com/s/70h2ajt049i89p6/ovirt-engine.log.tar.gz?dl=0
>>> 
>>> Seems like this wasn't the first error. Before that, the engine lost
>>> connection to the database:
>>> 
>> 
>>> Later the engine was restarted and then the error you reported.
>>> 
>>> Are you sure your database is ok?
>> 
>> Of course I needed to restart the database, to change the requested setting 
>> about vacuum. But it was a scheduled restart, not during the upgrade.
>> 
>>> 
>>> Please provide the output of 'pg_dump -s' for it, and the output of
>>> 'select * from schema_version'.
>>> 
>> 
>> it ? what it's name. I have no knowledge of pg, how can I connect to it to 
>> give the requested informations.
> 
> Sorry, I was under the impression that your organization has some pg
> expertise, based on the thread about remote version.
> 
> On the pg machine, this should work:
> su - postgres -c 'pg_dump -s engine' > engine-schema.dump
> su - postgres -c 'psql engine -c "select * from schema_version;"' >
> schema-version-table

https://www.dropbox.com/s/6o51owq0f6qrdte/schema-version-table?dl=0
https://www.dropbox.com/s/luw35rlcksl3uwa/engine-schema.dump?dl=0



> 
> 
>> 
>>> 
>>> Can you please describe the full flow that you went through?
>> 
>> On last friday, I tried a first upgrade, but it stop because of the 
>> requested version mismatch. So I stopped it and asked for help.
>> 
>> On monday I tried to apply the tuning on my database about autovacuum and so 
>> restart it.
>> 
>> At this time, ovirt was still working fine.
>> 
>> I then upgraded the pg client, to match pg_dump with the server but not the 
>> jdbc library, to keep the one supported (9.2).
> 
> Please explain this last part with more details.
> 
> IIUC your pg client was 9.4.8, and now it's 9.4.11.

> 
> Please share yum logs (or whatever you have if you installed it not using 
> yum).
> Please share all engine-setup logs.
> 

grep -i postgres /var/log/yum.log
Apr 24 13:28:00 Updated: postgresql94-libs-9.4.11-2PGDG.rhel7.x86_64
Apr 24 13:28:01 Updated: postgresql94-9.4.11-2PGDG.rhel7.x86_64
Apr 24 13:28:07 Updated: postgresql-jdbc-42.0.0-1.rhel7.noarch
Apr 24 13:28:09 Updated: postgresql94-server-9.4.11-2PGDG.rhel7.x86_64
Apr 24 13:36:48 Installed: collectd-postgresql-5.7.0-2.el7.x86_64

rpm -qa |grep -i postgres
postgresql94-libs-9.4.11-2PGDG.rhel7.x86_64
postgresql94-server-9.4.11-2PGDG.rhel7.x86_64
postgresql-jdbc-42.0.0-1.rhel7.noarch
collectd-postgresql-5.7.0-2.el7.x86_64
postgresql94-9.4.11-2PGDG.rhel7.x86_64


> I think the engine should work just fine with pg 9.5 (Fedora 25's
> default). Never heard about using 9.4.
> 
>> 
>> And then it failed and didn't want to restart any more.
> 
> So all was good until you changed (downgraded?) your pg client? So

I upgraded the client from 9.4.8 to 9.4.11, since my server was already 9.4.11, 
downloaded directly from postgres' yum repo :

https://yum.postgresql.org/repopackages.php

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


[ovirt-users] Ovirt Engine Can't See The Gluster Storage

2017-04-25 Thread khalid

dear ovirt users team

i have issued :

six server installed glusterfs configured with replica 3 when the first 
3 servers of gluster down the ovirt engine can't see the gluster domain 
storage  , but i know when the first or last 3 server down must the 
domain storage in read only is that right and how you can help me with 
this isuues.


best regards

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


[ovirt-users] Bonding type

2017-04-25 Thread Alexis HAUSER
Hi, 

I would like to bond 2 NICS from RHV side. There 2 links would go on 2 
separates switch. 
Which kind of bond would you advice me to use (betweem the 4 proposed mode or 
the custom mode) ? 

Regardes 


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


Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Yedidyah Bar David
On Tue, Apr 25, 2017 at 11:14 AM, Fabrice Bacchella
 wrote:
>
>> Le 25 avr. 2017 à 07:59, Yedidyah Bar David  a écrit :
>>
>> On Mon, Apr 24, 2017 at 5:59 PM, Fabrice Bacchella
>>  wrote:
>>> https://www.dropbox.com/s/70h2ajt049i89p6/ovirt-engine.log.tar.gz?dl=0
>>
>> Seems like this wasn't the first error. Before that, the engine lost
>> connection to the database:
>>
>
>> Later the engine was restarted and then the error you reported.
>>
>> Are you sure your database is ok?
>
> Of course I needed to restart the database, to change the requested setting 
> about vacuum. But it was a scheduled restart, not during the upgrade.
>
>>
>> Please provide the output of 'pg_dump -s' for it, and the output of
>> 'select * from schema_version'.
>>
>
> it ? what it's name. I have no knowledge of pg, how can I connect to it to 
> give the requested informations.

Sorry, I was under the impression that your organization has some pg
expertise, based on the thread about remote version.

On the pg machine, this should work:
su - postgres -c 'pg_dump -s engine' > engine-schema.dump
su - postgres -c 'psql engine -c "select * from schema_version;"' >
schema-version-table

To do this from the engine machine, you'd need to pass more options to
supply the credentials.
You can find those that you use for the engine in
/etc/ovirt-engine/engine.conf.d/10-setup-database.conf .

>
>>
>> Can you please describe the full flow that you went through?
>
> On last friday, I tried a first upgrade, but it stop because of the requested 
> version mismatch. So I stopped it and asked for help.
>
> On monday I tried to apply the tuning on my database about autovacuum and so 
> restart it.
>
> At this time, ovirt was still working fine.
>
> I then upgraded the pg client, to match pg_dump with the server but not the 
> jdbc library, to keep the one supported (9.2).

Please explain this last part with more details.

IIUC your pg client was 9.4.8, and now it's 9.4.11.

Please share yum logs (or whatever you have if you installed it not using yum).
Please share all engine-setup logs.

I think the engine should work just fine with pg 9.5 (Fedora 25's
default). Never heard about using 9.4.

>
> And then it failed and didn't want to restart any more.

So all was good until you changed (downgraded?) your pg client? So
perhaps try to revert that. Although if you didn't change your jdbc
library, I do not think this should have affected you. But in any
case, if the failure was not caused by running 'engine-setup', it's
most likely not due to a bug in engine-setup, but elsewhere.

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


Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Fabrice Bacchella

> Le 25 avr. 2017 à 07:59, Yedidyah Bar David  a écrit :
> 
> On Mon, Apr 24, 2017 at 5:59 PM, Fabrice Bacchella
>  wrote:
>> https://www.dropbox.com/s/70h2ajt049i89p6/ovirt-engine.log.tar.gz?dl=0
> 
> Seems like this wasn't the first error. Before that, the engine lost
> connection to the database:
> 

> Later the engine was restarted and then the error you reported.
> 
> Are you sure your database is ok?

Of course I needed to restart the database, to change the requested setting 
about vacuum. But it was a scheduled restart, not during the upgrade.

> 
> Please provide the output of 'pg_dump -s' for it, and the output of
> 'select * from schema_version'.
> 

it ? what it's name. I have no knowledge of pg, how can I connect to it to give 
the requested informations.

> 
> Can you please describe the full flow that you went through?

On last friday, I tried a first upgrade, but it stop because of the requested 
version mismatch. So I stopped it and asked for help.

On monday I tried to apply the tuning on my database about autovacuum and so 
restart it.

At this time, ovirt was still working fine.

I then upgraded the pg client, to match pg_dump with the server but not the 
jdbc library, to keep the one supported (9.2).

And then it failed and didn't want to restart any more.


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


Re: [ovirt-users] oVirt 4.1.1 and ovn problems

2017-04-25 Thread Marcin Mirecki
It looks like ndb is listening (netstat shows this), but not receiving
anything (log is empty).
This looks like a connectivity issue.
Can the provider host ping the ovn host?
Is firewalld/iptables disabled on both hosts?

Let's make sure that OVN is working fine.
I attach a short python script that checks the connection from the
localhost.
Please check if it can connect to ovn from localhost (just execute this on
the host with ovn: "python tcp_connection_test.py" ).
It should connect and print out all the OVN networks.
Does this work?



On Mon, Apr 24, 2017 at 11:23 PM, Gianluca Cecchi  wrote:

>
> On Mon, Apr 24, 2017 at 10:03 PM, Marcin Mirecki 
> wrote:
>
>> Looks like the south db works properly. The north db uses the same
>> mechanism, just a different schema and port.
>>
>> Looking at the netstat output it looks like ovn north db is not even
>> listening, or is there anything for 6641?
>>
>>
>>
>>
> Actually yes... it seems that the switch "-t" with the "-p" doesn't catch
> the 6641 and 6642 "LISTEN" lines, while if I use "-a" instead of "-t" I get
> them too...
>
> with "-a"
> root@ovmgr1 ~]# netstat -apn | grep 664
> tcp0  0 0.0.0.0:66410.0.0.0:*
> LISTEN  6691/ovsdb-server
> tcp0  0 0.0.0.0:66420.0.0.0:*
> LISTEN  6699/ovsdb-server
> tcp0  0 10.4.192.43:664210.4.168.76:38882
> ESTABLISHED 6699/ovsdb-server
> tcp0  0 10.4.192.43:664210.4.168.75:45486
> ESTABLISHED 6699/ovsdb-server
> tcp0  0 10.4.192.43:664210.4.168.74:59176
> ESTABLISHED 6699/ovsdb-server
> unix  3  [ ] STREAM CONNECTED 14119
> 664/vmtoolsd
>
> with "-t"
> [root@ovmgr1 ~]# netstat -tpn | grep 664
> tcp0  0 10.4.192.43:664210.4.168.76:38882
> ESTABLISHED 6699/ovsdb-server
> tcp0  0 10.4.192.43:664210.4.168.75:45486
> ESTABLISHED 6699/ovsdb-server
> tcp0  0 10.4.192.43:664210.4.168.74:59176
> ESTABLISHED 6699/ovsdb-server
>
>
>


-- 

MARCIN mIRECKI

Red Hat



"""

Code for testing ovs connection to OVN north DB
The north DB was configured with:
ovn-nbctl set-connection ptcp:6641
"""

import time
import six

import ovs.db.idl


OVS_CONNECTION='tcp:127.0.0.1:6641'

OVN_NB_OVSSCHEMA_FILE = '/usr/share/openvswitch/ovn-nb.ovsschema'
NETWORK_TABLE_COLUMNS = ['name', 'ports', 'other_config', 'external_ids']
NETWORK_TABLE = 'Logical_Switch'


def get_schema_helper():
schema_helper = ovs.db.idl.SchemaHelper(OVN_NB_OVSSCHEMA_FILE)
schema_helper.register_columns(NETWORK_TABLE, NETWORK_TABLE_COLUMNS)
return schema_helper

def get_networks(ovsdb_connection):
rows = ovsdb_connection.tables['Logical_Switch'].rows
for row in six.itervalues(rows):
print('ROW: uuid:' + str(row.uuid) + '  name:' + str(row.name))

def connect():
schema_helper=get_schema_helper()
ovsdb_connection = ovs.db.idl.Idl(OVS_CONNECTION, schema_helper)

i=1
start = time.time()
while (time.time() - start) < 30:
ovsdb_connection.run()
if ovsdb_connection.has_ever_connected():
print('CONNECTED!')
return ovsdb_connection
print('connecting  ' + str(i) )
i=i+1
time.sleep(0.01)

raise Exception('Failed to connect')

try:
ovsdb_connection = connect()
get_networks(ovsdb_connection)
except Exception as e:
print('Exception' + str(e))___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Upgrade 4.0.6 to 4.1.1 -- How to Update oVirt Node (4.x) Hosts?

2017-04-25 Thread Yedidyah Bar David
On Tue, Apr 25, 2017 at 1:19 AM, Beckman, Daniel
 wrote:
> So I successfully upgraded my engine from 4.06 to 4.1.1 with no major
> issues.
>
>
>
> A nice thing I noticed was that my custom CA certificate for https on the
> admin and user portals wasn’t clobbered by setup.
>
>
>
> I did have to restore my custom settings for ISO uploader, log collector,
> and websocket proxy:
>
> cp
> /etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf.
> /etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf
>
> cp
> /etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf.
> /etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf
>
> cp
> /etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf.
> /etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf

The utilities read these files sorted by name, last wins. So you
can add '99-my.conf' to each and have it override whatever engine-setup does.

>
>
>
> Now I’m moving on to updating the oVirt node hosts, which are currently at
> oVirt Node 4.0.6.1. (I’m assuming I should do that before attempting to
> upgrade the cluster and data center compatibility level to 4.1.)
>
>
>
> When I right-click on a host and go to Installation / Check for Upgrade, the
> results are ‘no updates found.’ When I log into that host directly, I notice
> it’s still got the oVirt 4.0 repo, not 4.1. Is there an extra step I’m
> missing? The documentation I’ve found
> (http://www.ovirt.org/documentation/upgrade-guide/chap-Updates_between_Minor_Releases/)
> doesn’t mention this.

You are right. It's mentioned for the engine in the release notes [1]
but not for the hosts. Please file a github issue or send a pull request :-)

[1] https://www.ovirt.org/release/4.1.0/

>
>
>
>
>
> **
>
> If I can offer some unsolicited feedback: I feel like this list is populated
> with a lot of questions that could be averted with a little care and feeding
> of the documentation. It’s unfortunate because that makes for a rocky
> introduction to oVirt, and it makes it look like a neglected project, which
> I know is not the case.

Patches are welcome :-)

>
>
>
> On a related note, I know this has been discussed before but…
>
> The centralized control in Github for the documentation does not really
> encourage user contributions. What’s wrong with a wiki? If we’re really
> concerned about bad or malicious edits being posted, keep the official in
> git and add a separate wiki that is clearly marked as user-contributed.

That was indeed discussed in the past, I am not aware of any conclusions.
Perhaps start a separate thread about this? Adding Duck.

Please also note that you can have a look at RHV documentation [2].
Almost all of it applies to oVirt as well (and oVirt's to RHV).

[2] https://access.redhat.com/documentation/en/red-hat-virtualization/

Best,

>
> **
>
>
>
>
>
> Thanks,
>
> Daniel
>
>
> ___
> 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