<div dir="ltr">Hi, Micheal,<div><br></div><div>Thanks a lot for your help, but I still have one question. </div><div><br></div><div>In Octavia, once the controller worker fails plugging VIP to the amphora, the amphora is deleted immediately, making it impossible to trace the error. How to prevent Octavia from stopping and deleting the amphora? </div><div><br></div><div>Best regards,</div><div>Yipei </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 26, 2017 at 11:21 AM, 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, all,<div><br></div><div>I am trying to create a load balancer in octavia. The amphora can be booted successfully, and can be reached via icmp. However, octavia fails to plug vip to the amphora through the amphora client api and returns 500 status code, causing some errors as follows.</div><div><br></div><div><div> |__Flow 'octavia-create-loadbalancer-<wbr>flow': InternalServerError: Internal Server Error</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker Traceback (most recent call last):</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker File "/usr/local/lib/python2.7/<wbr>dist-packages/taskflow/<wbr>engines/action_engine/<wbr>executor.py", line 53, in _execute_task</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker result = task.execute(**arguments)</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker File "/opt/stack/octavia/octavia/<wbr>controller/worker/tasks/<wbr>amphora_driver_tasks.py", line 240, in execute</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker amphorae_network_config)</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker File "/opt/stack/octavia/octavia/<wbr>controller/worker/tasks/<wbr>amphora_driver_tasks.py", line 219, in execute</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker amphora, loadbalancer, amphorae_network_config)</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker File "/opt/stack/octavia/octavia/<wbr>amphorae/drivers/haproxy/rest_<wbr>api_driver.py", line 137, in post_vip_plug</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker net_info)</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker File "/opt/stack/octavia/octavia/<wbr>amphorae/drivers/haproxy/rest_<wbr>api_driver.py", line 378, in plug_vip</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker return exc.check_exception(r)</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker File "/opt/stack/octavia/octavia/<wbr>amphorae/drivers/haproxy/<wbr>exceptions.py", line 32, in check_exception</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker raise responses[status_code]()</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker InternalServerError: Internal Server Error</div><div>2017-06-21 09:49:35.864 25411 ERROR octavia.controller.worker.<wbr>controller_worker</div></div><div><br></div><div>To fix the problem, I log in the amphora and find that there is one http server process is listening on port 9443, so I think the amphora api services is active. But do not know how to further investigate what error happens inside the amphora api service and solve it? Look forward to your valuable comments.</div><div><br></div><div>Best regards,</div><div>Yipei </div></div>
</blockquote></div><br></div>