yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59039
[Bug 1643991] Re: 504 Gateway Timeout when creating a port
It turned out that the issue was that the port creation command was
taking around 2 minutes with the ML2 driver we were testing, and the
HAProxy from OpenStack Ansible had default reading timeouts of 50s.
** Changed in: neutron
Status: New => Invalid
** Also affects: openstack-ansible
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1643991
Title:
504 Gateway Timeout when creating a port
Status in neutron:
Invalid
Status in openstack-ansible:
New
Bug description:
We are using Openstack installed on Containers and trying to create ports or networks using Neutron CLI. But we received this error message on CLI: "504 Gateway Time-out The server didn't respond in time." and there is no error in the Neutron Logs. Sometimes networks or ports are created and sometimes not.
In another test, we are trying to perform a Deploy and neutron creates and then delete the network or port, and the same error message appears in the Ironic log.
The message error is like this:
https://bugs.launchpad.net/fuel/+bug/1540346
Error log from CLI:
DEBUG: neutronclient.v2_0.client Error message:
<html><body><h1>504 Gateway Time-out</h1>The server didn't respond in time.</body></html>
DEBUG: neutronclient.v2_0.client POST call to neutron for http://XXX.XX.XXX.XXX:9696/v2.0/ports.json used request id None
ERROR: neutronclient.shell <html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/neutronclient/shell.py", line 877, in run_subcommand
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/shell.py", line 114, in run_command
return cmd.run(known_args)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 324, in run
return super(NeutronCommand, self).run(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 100, in run
column_names, data = self.take_action(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/neutron/v2_0/__init__.py", line 407, in take_action
data = obj_creator(body)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 750, in create_port
return self.post(self.ports_path, body=body)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 365, in post
headers=headers, params=params)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 300, in do_request
self._handle_fault_response(status_code, replybody, resp)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 275, in _handle_fault_response
exception_handler_v20(status_code, error_body)
File "/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20
request_ids=request_ids)
NeutronClientException: <html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1643991/+subscriptions
References