This is very risky and untested, expect issues and throughly test. VSDM should be updated with all the other packages. 

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
        8272306
Email: ydary@redhat.com
IRC : ydary

On Dec 16, 2016 2:49 PM, "Николаев Алексей" <alexeynikolaev.post@yandex.ru> wrote:
 
 
16.12.2016, 13:19, "Gianluca Cecchi" <gianluca.cecchi@gmail.com>:
On Fri, Dec 16, 2016 at 6:44 AM, Николаев Алексей <alexeynikolaev.post@yandex.ru> wrote:
Hi, community!
 
15.12.2016, 20:16, "Yaniv Dary" <ydary@redhat.com>:
It may work, but we don't support 3.6 for a while and I'm not sure what issues you may encounter. 
 
We are using oVirt engine 3.6. How can I prevent upgrade my hosts with CentOS 7.2 to unsupported 7.3? Thx.
 
 
I would do this way
 
yum clean all
modify your repo fies in /etc/yum.repos.d
- verify CentOS-CR is disabled
- at least in
CentOS-Base.repo
where you don't have "enabled=0" (so both where there is no enabled=.. line and where enabled=1)
 
comment mirrorlist and uncomment baseurl
 
in baseurl line substitute the word 
$releasever
with 
7.2.1511
 
try a yum update and verify that no 7.3 packages come in.
 
The problem is that epel repo don't track minor versions, so that if you have an update in epel that requires a 7.3 package you would get dependency error.
or you can disable also epel in the mean time if this is the case....
 
HIH,
Gianluca
 
Well, I remember that ovirt-engine uses some yum plugin to lock pkgs versions. And i found this plugin - yum-plugin-versionlock. I will try it to lock vdsm version.
 
http://www.tecmint.com/yum-lock-disable-blacklist-certain-package-update-version/
 
https://pkgs.org/centos-7/centos-x86_64/yum-plugin-versionlock-1.1.31-40.el7.noarch.rpm.html