<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<style>
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
<div style="font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif; line-height:1.6;">
    <div>
    <div>
        <span>
            <br>
        </span>
    </div><div><span>Hi All</span></div><div><br></div><div>My openstack all-in-one environment is setup by devstack. I created a server-group with anti-affinity policy. </div><div>Then an instance was created with this server-group successfully with command[1]. Another instance was also </div><div>created with this server-group and with force_host successfully with command[2]. But if I did not specify the </div><div>force_host, the instance failed to create[3].</div><div><br></div><div>I think the second instance had broken the anti-affinity server-group.</div><div><br></div><div>So my question is that whether the result is within design scope or it is a issue and needs to be discussed : )</div><div><br></div><div>[1] nova boot <instance-name> --flavor <flavor> --image <image> --availability-zone <az> --security-groups <sec-group> --nic net-id=<net-id> --hint group=<server-group></div><div>[2] <span style="line-height: 22.4px;">nova boot <instance-name> --flavor <flavor> --image <image> --availability-zone <az>:<host> --security-groups <sec-group> --nic net-id=<net-id> --hint group=<server-group></span></div><div>[3] <span style="line-height: 22.4px;">nova boot <instance-name> --flavor <flavor> --image <image> --availability-zone <az> --security-groups <sec-group> --nic net-id=<net-id> --hint group=<server-group></span></div><div><br></div><div><br></div><div>Best Regards</div>
    <div>
        <span>Boxiang
        </span></div>
    <div id="ntes-pcmac-signature" style="font-family:'微软雅黑'">
        
        <div style="font-size:14px; padding: 0;  margin:0;">

        </div>
    </div>
</div><!--😀-->
</div>
</body>
</html>