--Apple-Mail=_4763F427-94C6-455A-AB71-46D55D1C50F8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
On 10 Dec 2015, at 15:12, Gianluca Cecchi
<gianluca.cecchi(a)gmail.com> =
wrote:
=20
On Thu, Dec 10, 2015 at 2:35 PM, Michal Skrivanek <mskrivan(a)redhat.com =
<mailto:mskrivan@redhat.com>> wrote:
=20
=20
great!
with 7.2 it should be automatic. I think with Windows it works =
automatically as
well.
=20
=20
In the mean time I tested how to make it automatic also in my CentOS =
7.1 guest.
=20
I temporarily added this rule inside =
/lib/udev/rules.d/55-ovirt-guest-agent.rules
(but it could have also =
been a plain new file for that matter):
=20
SUBSYSTEM=3D=3D"memory", ACTION=3D=3D"add",
TEST=3D=3D"state", =
ATTR{state}=3D=3D"offline",
ATTR{state}=3D"online"
=20
With this row the addition is automatically intercepted and applied =
from the OS
too.
Tested changing from 8Gb to 10Gb of ram.
=20
I'm not an udev guru.... I took inspiration form the already set up =
file for
cpu adition in 40-redhat.rules file.. ;-)
me neither, but yeah, it=E2=80=99s in 7.2 just like that:)
# cat /lib/udev/rules.d/40-redhat.rules
# do not edit this file, it will be overwritten on update
# CPU hotadd request
SUBSYSTEM=3D=3D"cpu", ACTION=3D=3D"add", TEST=3D=3D"online",
=
ATTR{online}=3D=3D"0", ATTR{online}=3D"1"
# Memory hotadd request
SUBSYSTEM=3D=3D"memory", ACTION=3D=3D"add",
ATTR{state}=3D=3D"offline", =
ATTR{state}=3D"online"
# reload sysctl.conf / sysctl.conf.d settings when the bridge module is =
loaded
ACTION=3D=3D"add", SUBSYSTEM=3D=3D"module",
KERNEL=3D=3D"bridge", =
RUN+=3D"/usr/lib/systemd/systemd-sysctl --prefix=3D/proc/sys/net/bridge"
# load SCSI generic (sg) driver
SUBSYSTEM=3D=3D"scsi", ENV{DEVTYPE}=3D=3D"scsi_device", =
TEST!=3D"[module/sg]", RUN+=3D"/sbin/modprobe -bv sg"
# Rule for prandom character device node permissions
KERNEL=3D=3D"prandom", MODE=3D=E2=80=9C0644"
=20
So perhaps the only change in 7.2 is an addition like mine in =
40-redhat.rules?
=20
>=20
>=20
> Questions:
> 1) which component to bugzilla against for message confusing window =
of the
gui?
=20
doesn=E2=80=99t matter much, ovirt-engine, frontend.
=20
Ok, I'll do
=20
=20
Gianluca
--Apple-Mail=_4763F427-94C6-455A-AB71-46D55D1C50F8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote
type=3D"cite" class=3D""><div =
class=3D"">On 10 Dec 2015, at 15:12, Gianluca Cecchi <<a =
href=3D"mailto:gianluca.cecchi@gmail.com" =
class=3D"">gianluca.cecchi(a)gmail.com</a>&gt;
wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div
dir=3D"ltr" =
class=3D""><div class=3D"gmail_extra"><div
class=3D"gmail_quote">On Thu, =
Dec 10, 2015 at 2:35 PM, Michal Skrivanek <span dir=3D"ltr" =
class=3D""><<a href=3D"mailto:mskrivan@redhat.com"
target=3D"_blank" =
class=3D"">mskrivan(a)redhat.com</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote"
style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><div style=3D"word-wrap:break-word" =
class=3D""><br class=3D""><div
class=3D""><div class=3D""><br =
class=3D""></div>great!</div><div class=3D"">with
7.2 it should be =
automatic. I think with Windows it works automatically as =
well.</div><div class=3D""><div class=3D""><div
class=3D"h5"><br =
class=3D""></div></div></div></div></blockquote><div
class=3D""><br =
class=3D""></div><div class=3D""><div
class=3D"gmail_extra">In the mean =
time I tested how to make it automatic also in my CentOS 7.1 =
guest.</div><div class=3D"gmail_extra"><br
class=3D""></div><div =
class=3D"gmail_extra">I temporarily added this rule =
inside /lib/udev/rules.d/55-ovirt-guest-agent.rules (but it could =
have also been a plain new file for that matter):</div><div =
class=3D"gmail_extra"><br class=3D""></div><div
class=3D"gmail_extra"><div=
class=3D"gmail_extra">SUBSYSTEM=3D=3D"memory",
ACTION=3D=3D"add", =
TEST=3D=3D"state", ATTR{state}=3D=3D"offline", =
ATTR{state}=3D"online"</div><div class=3D""><br
class=3D""></div><div =
class=3D"">With this row the addition is automatically intercepted and =
applied from the OS too.</div><div class=3D"">Tested changing from
8Gb =
to 10Gb of ram.</div><div class=3D""><br
class=3D""></div><div =
class=3D"">I'm not an udev guru.... I took inspiration form the already
=
set up file for cpu adition in 40-redhat.rules file.. =
;-)</div></div></div></div></div></div></div></blockquote><div><br
=
class=3D""></div>me neither, but yeah, it=E2=80=99s in 7.2 just like =
that:)</div><div><br
class=3D""></div><div><div># cat =
/lib/udev/rules.d/40-redhat.rules</div><div># do not edit this file, it =
will be overwritten on update</div><div><br
class=3D""></div><div># CPU =
hotadd request</div><div>SUBSYSTEM=3D=3D"cpu",
ACTION=3D=3D"add", =
TEST=3D=3D"online", ATTR{online}=3D=3D"0", =
ATTR{online}=3D"1"</div><div><br
class=3D""></div><div># Memory hotadd =
request</div><div>SUBSYSTEM=3D=3D"memory",
ACTION=3D=3D"add", =
ATTR{state}=3D=3D"offline",
ATTR{state}=3D"online"</div><div><br =
class=3D""></div><div># reload sysctl.conf / sysctl.conf.d
settings when =
the bridge module is loaded</div><div>ACTION=3D=3D"add", =
SUBSYSTEM=3D=3D"module", KERNEL=3D=3D"bridge", =
RUN+=3D"/usr/lib/systemd/systemd-sysctl =
--prefix=3D/proc/sys/net/bridge"</div><div><br
class=3D""></div><div># =
load SCSI generic (sg) driver</div><div>SUBSYSTEM=3D=3D"scsi", =
ENV{DEVTYPE}=3D=3D"scsi_device", TEST!=3D"[module/sg]", =
RUN+=3D"/sbin/modprobe -bv sg"</div><div><br
class=3D""></div><div># =
Rule for prandom character device node =
permissions</div><div>KERNEL=3D=3D"prandom",
MODE=3D=E2=80=9C0644"</div><d=
iv><br class=3D""></div><blockquote type=3D"cite"
class=3D""><div =
class=3D""><div dir=3D"ltr" class=3D""><div
class=3D"gmail_extra"><div =
class=3D"gmail_quote"><div class=3D""><div
class=3D"gmail_extra"><div =
class=3D""><br class=3D""></div><div
class=3D"">So perhaps the only =
change in 7.2 is an addition like mine in =
40-redhat.rules?</div></div></div><div
class=3D""> </div><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><div style=3D"word-wrap:break-word" =
class=3D""><div class=3D""><div
class=3D""><div class=3D"h5"><blockquote =
type=3D"cite" class=3D""><div class=3D""><div
dir=3D"ltr" class=3D""><div =
class=3D"gmail_extra"><br class=3D""></div><div
class=3D"gmail_extra"><br =
class=3D""></div><div class=3D"gmail_extra"><div =
class=3D"">Questions:</div><div class=3D"">1) which
component to =
bugzilla against for message confusing window of the =
gui?</div></div></div></div></blockquote><div
class=3D""><br =
class=3D""></div></div></div>doesn=E2=80=99t matter much,
ovirt-engine, =
frontend.</div></div></blockquote><div class=3D""><br
=
class=3D""></div><div class=3D"">Ok, I'll
do</div><div class=3D""><br =
class=3D""></div><div
class=3D""> </div><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><div style=3D"word-wrap:break-word" =
class=3D""><span class=3D""><div =
class=3D""></div></span></div></blockquote></div></div>Gianluca</div>
</div></blockquote></div><br
class=3D""></body></html>=
--Apple-Mail=_4763F427-94C6-455A-AB71-46D55D1C50F8--