<div dir="ltr">Hi Joe and Zhiyuan,<div><br></div><div>When creating network with AZ scheduler hints specified, I execute "curl -X POST <a href="http://127.0.0.1:9696/v2.0/networks">http://127.0.0.1:9696/v2.0/networks</a> -H "Content-Type: application/json" -H "X-Auth-Token: $token" -d '{"network": {"name": "net1", "admin_state_up": true, "availability_zone_hints": ["az1"]}}'". The results also indicate that</div><div><br></div><div><span style="font-size:12.8px">Failed to connect to </span>127.0.0.1<span style="font-size:12.8px"> port 9696: Connection refused.</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Unlike the error mentioned in last mail, I still cannot find any processor is listening on port 9696 after running "</span><span style="font-size:12.8px">rejoin-stack.sh</span><span style="font-size:12.8px">". </span></div><div><br></div><div>Best regards,</div><div>Yipei</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 22, 2016 at 11:45 AM, Vega Cai <span dir="ltr"><<a href="mailto:luckyvega.g@gmail.com" target="_blank">luckyvega.g@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Yipei,<div><br></div><div>One reason for that error is that the API service is down. You can run "rejoin-stack.sh" under your DevStack folder to enter the "screen" console of DevStack, to check if services are running well. If you are not familiar with "screen", which is a window manager for Linux, you can do a brief search.</div><div><br></div><div>One more thing you can try, change the IP address to 127.0.0.1 and issue the request in the machine hosting the services to see if there is still "Connection refused" error.</div><div><br></div><div>BR</div><div>Zhiyuan</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 20 February 2016 at 20:49, Yipei Niu <span dir="ltr"><<a href="mailto:newypei@gmail.com" target="_blank">newypei@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Joe and Zhiyuan,<div><br></div><div>I encounter an error when executing the following command:</div><div><br></div><div><div>stack@nyp-VirtualBox:~/devstack$ curl -X POST <a href="http://192.168.56.101:19999/v1.0/pods" target="_blank">http://192.168.56.101:19999/v1.0/pods</a> -H "Content-Type: application/json" -H "X-Auth-Token: 0ead350329ef4b07ab3b823a9d37b724" -d '{"pod": {"pod_name":  "RegionOne"}}'</div><div>curl: (7) Failed to connect to 192.168.56.101 port 19999: Connection refused</div></div><div><br></div><div>Before executing the command, I source the file "userrc_early", whose content is as follows:</div><div><div>export OS_IDENTITY_API_VERSION=3</div><div>export OS_AUTH_URL=<a href="http://192.168.56.101:35357" target="_blank">http://192.168.56.101:35357</a></div><div>export OS_USERNAME=admin</div><div>export OS_USER_DOMAIN_ID=default</div><div>export OS_PASSWORD=nypnyp0316</div><div>export OS_PROJECT_NAME=admin</div><div>export OS_PROJECT_DOMAIN_ID=default</div><div>export OS_REGION_NAME=RegionOne</div></div><div><br></div><div>Furthermore, the results of "openstack endpoint list" are as follows:</div><div><div>stack@nyp-VirtualBox:~/devstack$ openstack endpoint list </div><div>+----------------------------------+-----------+--------------+----------------+---------+-----------+------------------------------------------------+</div><div>| ID                               | Region    | Service Name | Service Type   | Enabled | Interface | URL                                            |</div><div>+----------------------------------+-----------+--------------+----------------+---------+-----------+------------------------------------------------+</div><div>| 0702ff208f914910bf5c0e1b69ee73cc | RegionOne | nova_legacy  | compute_legacy | True    | internal  | <a href="http://192.168.56.101:8774/v2/$(tenant_id)s" target="_blank">http://192.168.56.101:8774/v2/$(tenant_id)s</a>    |</div><div>| 07fe31211a234566a257e3388bba0393 | RegionOne | nova_legacy  | compute_legacy | True    | admin     | <a href="http://192.168.56.101:8774/v2/$(tenant_id)s" target="_blank">http://192.168.56.101:8774/v2/$(tenant_id)s</a>    |</div><div>| 11cea2de9407459480a30b190e005a5c | Pod1      | neutron      | network        | True    | internal  | <a href="http://192.168.56.101:20001/" target="_blank">http://192.168.56.101:20001/</a>                   |</div><div>| 16c0d9f251d84af897dfdd8df60f76dd | Pod2      | nova_legacy  | compute_legacy | True    | admin     | <a href="http://192.168.56.102:8774/v2/$(tenant_id)s" target="_blank">http://192.168.56.102:8774/v2/$(tenant_id)s</a>    |</div><div>| 184870e1e5df48629e8e1c7a13c050f8 | RegionOne | cinderv2     | volumev2       | True    | public    | <a href="http://192.168.56.101:19997/v2/$(tenant_id)s" target="_blank">http://192.168.56.101:19997/v2/$(tenant_id)s</a>   |</div><div>| 1a068f85aa12413582c4f4d256d276af | Pod2      | nova         | compute        | True    | admin     | <a href="http://192.168.56.102:8774/v2.1/$(tenant_id)s" target="_blank">http://192.168.56.102:8774/v2.1/$(tenant_id)s</a>  |</div><div>| 1b3799428309490bbce57043e87ac815 | RegionOne | cinder       | volume         | True    | internal  | <a href="http://192.168.56.101:8776/v1/$(tenant_id)s" target="_blank">http://192.168.56.101:8776/v1/$(tenant_id)s</a>    |</div><div>| 221d74877fdd4c03b9b9b7d752e30473 | Pod2      | neutron      | network        | True    | internal  | <a href="http://192.168.56.102:9696/" target="_blank">http://192.168.56.102:9696/</a>                    |</div><div>| 413de19152f04fc6b2b1f3a1e43fd8eb | Pod2      | cinderv2     | volumev2       | True    | public    | <a href="http://192.168.56.102:8776/v2/$(tenant_id)s" target="_blank">http://192.168.56.102:8776/v2/$(tenant_id)s</a>    |</div><div>| 42e1260ab0854f3f807dcd67b19cf671 | RegionOne | keystone     | identity       | True    | admin     | <a href="http://192.168.56.101:35357/v2.0" target="_blank">http://192.168.56.101:35357/v2.0</a>               |</div><div>| 45e4ccd5e16a423e8cb9f59742acee27 | Pod1      | neutron      | network        | True    | public    | <a href="http://192.168.56.101:20001/" target="_blank">http://192.168.56.101:20001/</a>                   |</div><div>| 464dd469545b4eb49e53aa8dafc114bc | RegionOne | cinder       | volume         | True    | admin     | <a href="http://192.168.56.101:8776/v1/$(tenant_id)s" target="_blank">http://192.168.56.101:8776/v1/$(tenant_id)s</a>    |</div><div>| 47351cda93a54a2a9379b83c0eb445ca | Pod2      | neutron      | network        | True    | admin     | <a href="http://192.168.56.102:9696/" target="_blank">http://192.168.56.102:9696/</a>                    |</div><div>| 56d6f7641ee84ee58611621c4657e45d | Pod2      | nova_legacy  | compute_legacy | True    | internal  | <a href="http://192.168.56.102:8774/v2/$(tenant_id)s" target="_blank">http://192.168.56.102:8774/v2/$(tenant_id)s</a>    |</div><div>| 57887a9d15164d6cb5b58d9342316cf7 | RegionOne | glance       | image          | True    | internal  | <a href="http://192.168.56.101:9292" target="_blank">http://192.168.56.101:9292</a>                     |</div><div>| 5f2a4f69682941edbe54a85c45a5fe1b | Pod1      | cinderv2     | volumev2       | True    | public    | <a href="http://192.168.56.101:8776/v2/$(tenant_id)s" target="_blank">http://192.168.56.101:8776/v2/$(tenant_id)s</a>    |</div><div>| 6720806fe7e24a7c8335159013dba948 | Pod2      | cinderv2     | volumev2       | True    | admin     | <a href="http://192.168.56.102:8776/v2/$(tenant_id)s" target="_blank">http://192.168.56.102:8776/v2/$(tenant_id)s</a>    |</div><div>| 72e2726b55414d25928b4fc9925a06ed | RegionOne | nova_legacy  | compute_legacy | True    | public    | <a href="http://192.168.56.101:8774/v2/$(tenant_id)s" target="_blank">http://192.168.56.101:8774/v2/$(tenant_id)s</a>    |</div><div>| 75163e97c3014a389ab56184f970908f | Pod2      | neutron      | network        | True    | public    | <a href="http://192.168.56.102:9696/" target="_blank">http://192.168.56.102:9696/</a>                    |</div><div>| 77b67589282e4776916ead802646de11 | Pod1      | nova         | compute        | True    | internal  | <a href="http://192.168.56.101:8774/v2.1/$(tenant_id)s" target="_blank">http://192.168.56.101:8774/v2.1/$(tenant_id)s</a>  |</div><div>| 789f3456899f4381aef850822c412436 | Pod2      | nova         | compute        | True    | internal  | <a href="http://192.168.56.102:8774/v2.1/$(tenant_id)s" target="_blank">http://192.168.56.102:8774/v2.1/$(tenant_id)s</a>  |</div><div>| 78da748f6fdc41e8b690acefec8e2838 | Pod1      | cinderv2     | volumev2       | True    | internal  | <a href="http://192.168.56.101:8776/v2/$(tenant_id)s" target="_blank">http://192.168.56.101:8776/v2/$(tenant_id)s</a>    |</div><div>| 844402eaacb24f0480aacf7bae9139ee | Pod1      | nova         | compute        | True    | public    | <a href="http://192.168.56.101:8774/v2.1/$(tenant_id)s" target="_blank">http://192.168.56.101:8774/v2.1/$(tenant_id)s</a>  |</div><div>| 854c00bb353548ad85e691278f74f51f | Pod1      | cinderv2     | volumev2       | True    | admin     | <a href="http://192.168.56.101:8776/v2/$(tenant_id)s" target="_blank">http://192.168.56.101:8776/v2/$(tenant_id)s</a>    |</div><div>| 8d1cd835e76b4f8d9ebb4c61526cb0b0 | Pod2      | cinderv2     | volumev2       | True    | internal  | <a href="http://192.168.56.102:8776/v2/$(tenant_id)s" target="_blank">http://192.168.56.102:8776/v2/$(tenant_id)s</a>    |</div><div>| 954fc0d2d5ab41cf84df8c00133013bc | RegionOne | tricircle    | Cascading      | True    | public    | <a href="http://192.168.56.101:19999/v1.0" target="_blank">http://192.168.56.101:19999/v1.0</a>               |</div><div>| 981feb7ec05b4e7e854a95e6b6f08130 | RegionOne | cinder       | volume         | True    | public    | <a href="http://192.168.56.101:8776/v1/$(tenant_id)s" target="_blank">http://192.168.56.101:8776/v1/$(tenant_id)s</a>    |</div><div>| 9dd0d79fdd5e4901b77f372a48bb0480 | Pod2      | cinder       | volume         | True    | admin     | <a href="http://192.168.56.102:8776/v1/$(tenant_id)s" target="_blank">http://192.168.56.102:8776/v1/$(tenant_id)s</a>    |</div><div>| 9f082c47441f4155b7789b23e7e9df74 | RegionOne | nova         | compute        | True    | internal  | <a href="http://192.168.56.101:19998/v2.1/$(tenant_id)s" target="_blank">http://192.168.56.101:19998/v2.1/$(tenant_id)s</a> |</div><div>| 9f7a8aeb2a7649a2a4ace4fa2b09ec20 | Pod2      | cinder       | volume         | True    | internal  | <a href="http://192.168.56.102:8776/v1/$(tenant_id)s" target="_blank">http://192.168.56.102:8776/v1/$(tenant_id)s</a>    |</div><div>| a1964711d7234735a680cb5f8c8c94fc | RegionOne | nova         | compute        | True    | public    | <a href="http://192.168.56.101:19998/v2.1/$(tenant_id)s" target="_blank">http://192.168.56.101:19998/v2.1/$(tenant_id)s</a> |</div><div>| a78ede8acd494ce98b0f74fd740c7ab1 | Pod2      | nova         | compute        | True    | public    | <a href="http://192.168.56.102:8774/v2.1/$(tenant_id)s" target="_blank">http://192.168.56.102:8774/v2.1/$(tenant_id)s</a>  |</div><div>| ae95ee6b1661486e83fb2ba07a7eeaad | Pod1      | nova         | compute        | True    | admin     | <a href="http://192.168.56.101:8774/v2.1/$(tenant_id)s" target="_blank">http://192.168.56.101:8774/v2.1/$(tenant_id)s</a>  |</div><div>| af16acfbdd1647b38728d6902e68047f | RegionOne | tricircle    | Cascading      | True    | admin     | <a href="http://192.168.56.101:19999/v1.0" target="_blank">http://192.168.56.101:19999/v1.0</a>               |</div><div>| afde6b08a898458ca0d9c38725b070da | RegionOne | cinderv2     | volumev2       | True    | internal  | <a href="http://192.168.56.101:19997/v2/$(tenant_id)s" target="_blank">http://192.168.56.101:19997/v2/$(tenant_id)s</a>   |</div><div>| bae25abb9e1d4ccbabb0b90fffd0b319 | RegionOne | keystone     | identity       | True    | internal  | <a href="http://192.168.56.101:5000/v2.0" target="_blank">http://192.168.56.101:5000/v2.0</a>                |</div><div>| bae6bae8cd804340a9bbb7c2991f90b3 | RegionOne | neutron      | network        | True    | public    | <a href="http://192.168.56.101:9696/" target="_blank">http://192.168.56.101:9696/</a>                    |</div><div>| be103791473d4458b55ba1648628fbd5 | Pod2      | nova_legacy  | compute_legacy | True    | public    | <a href="http://192.168.56.102:8774/v2/$(tenant_id)s" target="_blank">http://192.168.56.102:8774/v2/$(tenant_id)s</a>    |</div><div>| c444764bde164d6ea6dbdbcf4a66f7cc | Pod2      | cinder       | volume         | True    | public    | <a href="http://192.168.56.102:8776/v1/$(tenant_id)s" target="_blank">http://192.168.56.102:8776/v1/$(tenant_id)s</a>    |</div><div>| c885c5493b834461a0cc2bf2371c002e | RegionOne | neutron      | network        | True    | internal  | <a href="http://192.168.56.101:9696/" target="_blank">http://192.168.56.101:9696/</a>                    |</div><div>| c968a53b50c64d1ebe6d313f9b68543a | RegionOne | glance       | image          | True    | admin     | <a href="http://192.168.56.101:9292" target="_blank">http://192.168.56.101:9292</a>                     |</div><div>| d2cff2e9381e4232bbd4a37e8512e0e2 | RegionOne | nova         | compute        | True    | admin     | <a href="http://192.168.56.101:19998/v2.1/$(tenant_id)s" target="_blank">http://192.168.56.101:19998/v2.1/$(tenant_id)s</a> |</div><div>| e1c7990b7b374cf5aea1c89cda66a2f9 | RegionOne | cinderv2     | volumev2       | True    | admin     | <a href="http://192.168.56.101:19997/v2/$(tenant_id)s" target="_blank">http://192.168.56.101:19997/v2/$(tenant_id)s</a>   |</div><div>| e4a6391980024fb4bade7f8af4f1d5e3 | RegionOne | keystone     | identity       | True    | public    | <a href="http://192.168.56.101:5000/v2.0" target="_blank">http://192.168.56.101:5000/v2.0</a>                |</div><div>| ec048e1ce4a04c14a78416a486a2efa2 | Pod1      | neutron      | network        | True    | admin     | <a href="http://192.168.56.101:20001/" target="_blank">http://192.168.56.101:20001/</a>                   |</div><div>| ec4e5d60973d4aaa88a5e48aff3ab10b | RegionOne | glance       | image          | True    | public    | <a href="http://192.168.56.101:9292" target="_blank">http://192.168.56.101:9292</a>                     |</div><div>| eed887aa33d342cf9bdaa11a2cd8e8fa | RegionOne | neutron      | network        | True    | admin     | <a href="http://192.168.56.101:9696/" target="_blank">http://192.168.56.101:9696/</a>                    |</div><div>| f52daaa17e644c28b5f2a67c1b9321fd | RegionOne | tricircle    | Cascading      | True    | internal  | <a href="http://192.168.56.101:19999/v1.0" target="_blank">http://192.168.56.101:19999/v1.0</a>               |</div><div>+----------------------------------+-----------+--------------+----------------+---------+-----------+------------------------------------------------+</div></div><div><br></div><div><div>Since current solution to fixing the bug of multi-region setting in devstack needs to be further verified, I am not sure whether the error is caused by the solution or not.</div></div><div><br></div><div>Best regards,</div><div>Yipei</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>