<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Is it time to resurrect this now that we're getting close to having a release which reshapes when you upgrade to it?<br><br><div>Eric Fried</div><div><br>On Oct 29, 2018, at 22:29, Zhenyu Zheng <<a href="mailto:zhengzhenyulixi@gmail.com">zhengzhenyulixi@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">I would like to help since I have now finished all the downstream works. But I may need to take some time understanding all the background information</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 29, 2018 at 11:25 PM Matt Riedemann <<a href="mailto:mriedemos@gmail.com">mriedemos@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Given the outstanding results of my recruiting job last week [1] I have <br>
been tasked with recruiting one of our glorious and most talented <br>
contributors to work on the fast-forward-upgrade script changes needed <br>
for the reshape-provider-tree blueprint.<br>
<br>
The work item is nicely detailed in the spec [2]. A few things to keep <br>
in mind:<br>
<br>
1. There are currently no virt drivers which run the reshape routine. <br>
However, patches are up for review for libvirt [3] and xen [4]. There <br>
are also functional tests which exercise the ResourceTracker code with a <br>
faked out virt driver interface to test reshaping [5].<br>
<br>
2. The FFU entry point will mimic the reshape routine that will happen <br>
on nova-compute service startup in the ResourceTracker [6].<br>
<br>
3. The FFU script will need to run per-compute service rather than <br>
globally (or per cell) since it actually needs to call the virt driver's <br>
update_provider_tree() interface which might need to inspect the <br>
hardware (like for GPUs).<br>
<br>
Given there is already a model to follow from the ResourceTracker this <br>
should not be too hard, the work will likely mostly be writing tests.<br>
<br>
What do you get if you volunteer? The usual: fame, fortune, the respect <br>
of your peers, etc.<br>
<br>
[1] <br>
<a href="http://lists.openstack.org/pipermail/openstack-dev/2018-October/136075.html" rel="noreferrer" target="_blank">http://lists.openstack.org/pipermail/openstack-dev/2018-October/136075.html</a><br>
[2] <br>
<a href="https://specs.openstack.org/openstack/nova-specs/specs/stein/approved/reshape-provider-tree.html#offline-upgrade-script" rel="noreferrer" target="_blank">https://specs.openstack.org/openstack/nova-specs/specs/stein/approved/reshape-provider-tree.html#offline-upgrade-script</a><br>
[3] <a href="https://review.openstack.org/#/c/599208/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/599208/</a><br>
[4] <a href="https://review.openstack.org/#/c/521041/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/521041/</a><br>
[5] <br>
<a href="https://github.com/openstack/nova/blob/a0eacbf7f/nova/tests/functional/test_servers.py#L1839" rel="noreferrer" target="_blank">https://github.com/openstack/nova/blob/a0eacbf7f/nova/tests/functional/test_servers.py#L1839</a><br>
[6] <br>
<a href="https://github.com/openstack/nova/blob/a0eacbf7f/nova/compute/resource_tracker.py#L917-L940" rel="noreferrer" target="_blank">https://github.com/openstack/nova/blob/a0eacbf7f/nova/compute/resource_tracker.py#L917-L940</a><br>
<br>
-- <br>
<br>
Thanks,<br>
<br>
Matt<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>
</div></blockquote><blockquote type="cite"><div><span>__________________________________________________________________________</span><br><span>OpenStack Development Mailing List (not for usage questions)</span><br><span>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe</span><br><span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></span><br></div></blockquote></body></html>