[ovirt-users] Remote DB: How do you set server_version?

~Stack~ i.am.stack at gmail.com
Wed May 2 21:56:51 UTC 2018


On 05/02/2018 03:26 PM, Jamie Lawrence wrote:
> 
> I've been down this road. Postgres won't lie about its version for you.  If you want to do this, you have to patch the Ovirt installer[1]. I stopped trying to use my PG cluster at some point -  the relationship between the installer and the product combined with the overly restrictive requirements baked into the installer[2]) makes doing so  an ongoing hassle. So I treat Ovirt's PG as an black box; disappointing, considering that we are a very heavy PG shop with a lot of expertise and automation I can't use with Ovirt.
> 
> If nothing has changed (my notes are from a few versions ago), everything you need to correct is in
> 
> /usr/share/ovirt-engine/setup/ovirt_engine_setup/engine_common/constants.py
> 
> Aside from the version, you'll also have to make the knobs for vacuuming match those of your current installation, and I think there was another configurable for something else I'm not remembering right now.
> 
> Be aware that doing so is accepting an ongoing commitment to monkeying with the installer a lot. At one time I thought doing so was the right tradeoff, but it turns out I  was wrong.
> 
> -j
> 
> [1] Or you could rebuild PG with a fake version. That option was unavailable here.
> [2] Not criticizing, just stating a technical fact. How folks apportion their QA resources is their business.
>

Yikes! OK. Thanks for the warning. I've got better things to do with my
time. I will just skip this part of exploring. :-)

Thank you!
~Stack~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180502/52e7ac14/attachment.sig>


More information about the Users mailing list