<div dir="auto">Hello Laurent, today I am out of office. Tomorrow I will send the spec value of an instance with server groups and the spec value of an instance without server groups.<div dir="auto"><br><div dir="auto">Ignazio</div><div dir="auto"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il Mer 6 Apr 2022, 23:25 Laurent Dumont <<a href="mailto:laurentfdumont@gmail.com">laurentfdumont@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Nice!<div dir="auto"><br></div><div dir="auto">Can you detail the fields you changed? I had a look in the DB for the request_specs and it's a big old JSON blurb.</div><div dir="auto"><br></div><div dir="auto">What fields did you change?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 6, 2022, 12:15 PM Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" target="_blank" rel="noreferrer">ignaziocassano@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">We solved our issue: the spec field in request_specs table was wrong. Non live migration works fine <div dir="auto">Ignazio</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il Mer 6 Apr 2022, 09:05 Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" rel="noreferrer noreferrer" target="_blank">ignaziocassano@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><p dir="ltr">We've 2 cases, those VMs are in the same group, one fails when migration is launched, the other working well, you can see output of nova live migration and spec on DB</p>
<p dir="ltr">not working:<br>
<a href="https://paste.openstack.org/show/b4QfkVHkUpIC97E3aWAx/" rel="noreferrer noreferrer noreferrer" target="_blank">https://paste.openstack.org/show/b4QfkVHkUpIC97E3aWAx/</a><br>
working:<br>
<a href="https://paste.openstack.org/show/busPt39bkfUzQthk1Tcf/" rel="noreferrer noreferrer noreferrer" target="_blank">https://paste.openstack.org/show/busPt39bkfUzQthk1Tcf/</a></p><p dir="ltr">Ignazio</p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il Mer 6 Apr 2022, 06:53 Laurent Dumont <<a href="mailto:laurentfdumont@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">laurentfdumont@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I cannot easily reproduce, but what does Nova complain about with the live migration? Any chance you can run it with DEBUG?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 6, 2022 at 12:34 AM Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">ignaziocassano@gmail.com</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"><div dir="auto">Thanks Laurent. Sometimes the trick works and instances can migrate. We do not understand what is wrong when instances fail to migrate.<div dir="auto">We are usung soft-anti-affinity policy.</div><div dir="auto">The spec field we inserted in both cases seeems the same.<br><div dir="auto">Ignazio.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il Mer 6 Apr 2022, 01:03 Laurent Dumont <<a href="mailto:laurentfdumont@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">laurentfdumont@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm trying to find where else this was discussed, but afaik, this was never supported.<div><br></div><div>I am not sure if someone was able to "hack" it's way to a working setup. It's a bit of a shame because it makes server-groups really not flexible :(</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 5, 2022 at 3:04 PM Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">ignaziocassano@gmail.com</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"><div dir="auto">Hello, we noted that instances can be inserted in server groups only at instance creation step but we need to insert in a server group some old instances.<div dir="auto"><br><div dir="auto">We tried to modify database nova_api server group tables but we noted that we must modify spec in  request_specs table . For us is not clear how to modify the spec value. </div><div dir="auto">We tried to investigate looking at instances inserted in a server group at creation step and we got issues in instance live migration.</div><div dir="auto">Please, anyone could provide any utility to do it or any template ?</div><div dir="auto">Thanks</div><div dir="auto">Ignazio</div><div dir="auto"><br></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>