<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 8/31/2021 10:19 AM, Sofia Enriquez
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANtmtpHyjhqBX-UaPS4vjGgCckhgwrTRbZiotZz_BYD=zCN9=Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hello, <br>
</div>
<div><br>
</div>
<div>As far as I can see cinder hasn't implemented this.
However, I'm not sure about the status of this feature because
the last update was on 2014[1]</div>
<div><br>
</div>
</div>
</blockquote>
<p>I remember being a part of these discussions and the fact that
there was interest in getting it working. I am wondering if this
was just a case where no one followed through on implementation.
It might be that we encountered an unexpected challenge that I
don't remember.</p>
<p>Either way, I do agree that this would be a good topic for the
PTG.</p>
<blockquote type="cite"
cite="mid:CANtmtpHyjhqBX-UaPS4vjGgCckhgwrTRbZiotZz_BYD=zCN9=Q@mail.gmail.com">
<div dir="ltr">
<div>I think it's important to mention that this would only
affect the live snapshots (handled by Nova) but for any other
scenario every cinder driver optimized the snapshot/backup
creation in a different way.</div>
<div><br>
</div>
<div>This sounds like a good PTG discussion topic. You can add
it to the planning etherpad here:<br>
<a
href="https://etherpad.opendev.org/p/yoga-ptg-cinder-planning"
moz-do-not-send="true">https://etherpad.opendev.org/p/yoga-ptg-cinder-planning</a><br>
<br>
There's also info about the dates and times we'll be meeting
on that etherpad.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Sofia<br>
</div>
<div><br>
</div>
<div>[1] <a
href="https://blueprints.launchpad.net/cinder/+spec/quiesced-snapshots-with-qemu-guest-agent"
target="_blank" moz-do-not-send="true">https://blueprints.launchpad.net/cinder/+spec/quiesced-snapshots-with-qemu-guest-agent</a></div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Aug 31, 2021 at
11:52 AM Arthur Outhenin-Chalandre <<a
href="mailto:arthur.outhenin-chalandre@cern.ch"
target="_blank" moz-do-not-send="true">arthur.outhenin-chalandre@cern.ch</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
We are trying to trigger an fsfreeze via a cinder backup or
snapshot. We<br>
confirmed that the fsfreeze hooks are actually called with a
nova<br>
snapshot with `/var/log/qga-fsfreeze-hook.log` in the VM,
but we can't<br>
achieve the same thing with a cinder backup/snapshot
attached to the<br>
same instance. We are using Wallaby, libvirt, RBD for cinder
volumes and<br>
RBD as well for cinder-backup.<br>
<br>
According to this (old) spec [0], cinder should call the
`quiesce()`<br>
method in nova during backup/snapshot. We looked in the
cinder code and<br>
couldn't find any clear evidence that this method is
actually called by<br>
cinder (but we may have missed something). We added some
debug messages<br>
on quiesce/can_quiesce/require_quiesce/... in<br>
`nova/virt/libvirt/driver.py` and they are never called with
a cinder<br>
backup/snapshot in our setup while they are (and succeed) if
we do a<br>
nova snapshot.<br>
<br>
We are starting to suspect that something is missing in
cinder, but it<br>
could very well be a problem with our setup as well... Does
someone use<br>
this feature or know if it should be working/implemented?<br>
<br>
[0]:<br>
<a
href="https://wiki.openstack.org/wiki/Cinder/QuiescedSnapshotWithQemuGuestAgent#Cinder"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://wiki.openstack.org/wiki/Cinder/QuiescedSnapshotWithQemuGuestAgent#Cinder</a><br>
<br>
Cheers,<br>
<br>
-- <br>
Arthur Outhenin-Chalandre<br>
<br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div>
<p
style="font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:capitalize;font-family:"RedHatText",sans-serif">
<font size="1"><span>L. Sofía</span>
<span>Enriquez</span><span
style="color:rgb(170,170,170);margin:0px"></span>
</font></p>
<font size="1"> </font>
<p
style="font-weight:normal;margin:0px
0px
4px;text-transform:capitalize;font-family:"RedHatText",sans-serif"><font
size="1">she/her</font></p>
<font size="1"> </font>
<p
style="font-weight:normal;margin:0px;text-transform:capitalize;font-family:"RedHatText",sans-serif">
<font size="1"><span>Software
Engineer</span></font> </p>
<font size="1"> </font>
<p
style="font-weight:normal;margin:0px
0px
4px;font-family:"RedHatText",sans-serif">
<font size="1"><a
style="color:rgb(0,136,206);margin:0px;text-decoration:none;font-family:"RedHatText",sans-serif"
href="https://www.redhat.com"
target="_blank"
moz-do-not-send="true">Red Hat
<span>PnT</span></a></font> </p>
<font size="1"><span></span></font>
<p
style="font-weight:normal;margin:0px;font-family:"RedHatText",sans-serif"><font
size="1"><span><span>IRC:
@enriquetaso</span></span></font>
</p>
<font size="1"> </font>
<div
style="font-weight:normal;font-size:12px;font-family:"RedHatText",sans-serif;margin-bottom:8px"><font
size="1"> </font>
<div><font size="1"> <a
href="https://twitter.com/redhat"
title="twitter"
style="background:transparent
url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/3780bd4ede961ef3cd4108b8c0e80186/web-icon-twitter.png")
no-repeat scroll 0px
50%/13px;text-decoration:none;color:rgb(0,0,0);display:inline-block;line-height:20px;padding-left:13px"
target="_blank"
moz-do-not-send="true"> <span
style="margin-left:2px">@RedHat</span>
</a> <a
href="https://www.linkedin.com/company/red-hat"
title="LinkedIn"
style="background:transparent
url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/8d3507e3c6b6c9ad10e301accf1a4af0/web-icon-linkedin.png")
no-repeat scroll 0px
50%/12px;text-decoration:none;color:rgb(0,0,0);display:inline-block;line-height:20px;padding-left:12px;margin:0px
4px 0px 3px;padding-top:1px"
target="_blank"
moz-do-not-send="true"> <span
style="margin-left:4px">Red
Hat</span> </a> </font><a
href="https://www.facebook.com/RedHatInc" title="Facebook"
style="background:transparent
url("https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/220b85e2f100025e94cb1bcd993bd51d/web-icon-facebook.png")
no-repeat scroll 0px
50%/11px;text-decoration:none;color:rgb(0,0,0);display:inline-block;line-height:20px;padding-left:13px"
target="_blank"
moz-do-not-send="true"><font
size="1"> <span>Red Hat</span></font>
</a> </div>
</div>
<div style="margin-top:12px">
<table border="0">
<tbody>
<tr>
<td width="100px"><a
href="https://www.redhat.com"
target="_blank"
moz-do-not-send="true">
<img
src="https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/f5445ae0c9ddafd5b2f1836854d7416a/Logo-RedHat-Email.png"
moz-do-not-send="true"
width="90"
height="auto"></a> </td>
</tr>
</tbody>
</table>
</div>
</div>
<table border="0">
<tbody>
<tr>
<td width="100px"><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>