[Openstack] Fwd: Openstack Heat/Orchestration Service - 500 Internal Server Error
Mohit Taneja
mohit.taneja at postgrad.wit.ie
Tue Jun 27 13:16:41 UTC 2017
---------- Forwarded message ----------
From: MOHIT TANEJA <mohittaneja7 at gmail.com>
Date: Tue, Jun 27, 2017 at 11:34 AM
Subject: Openstack Heat/Orchestration Service - 500 Internal Server Error
To: ochuprykov at mirantis.com, skraynev at mirantis.com, mkr1481 at gmail.com
Hi,
When I try to orchestrate (create stack) using heat template I get the
following error:
*Commands:*
*To Create Stack:*
$> openstack stack create -t <file.yaml> -e <file.env> STACKNAME
*To Check Stack list:*
$>openstack stack list
/*Both command after sourcing the shell file*/
*Error that I receive:*
ubuntu at mohitfogcloud:~$ openstack stack list
ERROR: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
[no address given] to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at 192.168.1.126 Port 8004</address>
</body></html>
*heat_api.log shows the following:*
2017-06-27 12:37:58.884717 mod_wsgi (pid=2139): Target WSGI script
'/usr/local/bin/heat-wsgi-api' cannot be loaded as Python module.
2017-06-27 12:37:58.884737 mod_wsgi (pid=2139): Exception occurred
processing WSGI script '/usr/local/bin/heat-wsgi-api'.
2017-06-27 12:37:58.884754 Traceback (most recent call last):
2017-06-27 12:37:58.884770 File "/usr/local/bin/heat-wsgi-api", line 54,
in <module>
2017-06-27 12:37:58.884814 application = init_application()
2017-06-27 12:37:58.884825 File "/opt/stack/heat/heat/httpd/heat_api.py",
line 36, in init_application
2017-06-27 12:37:58.884852 logging.register_options(cfg.CONF)
2017-06-27 12:37:58.884861 File
"/usr/local/lib/python2.7/dist-packages/oslo_log/log.py",
line 250, in register_options
2017-06-27 12:37:58.884874 conf.register_cli_opts(_option
s.common_cli_opts)
2017-06-27 12:37:58.884882 File
"/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py",
line 2329, in __inner
2017-06-27 12:37:58.884895 result = f(self, *args, **kwargs)
2017-06-27 12:37:58.884902 File
"/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py",
line 2551, in register_cli_opts
2017-06-27 12:37:58.884913 self.register_cli_opt(opt, group,
clear_cache=False)
2017-06-27 12:37:58.884932 File
"/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py",
line 2333, in __inner
2017-06-27 12:37:58.884943 return f(self, *args, **kwargs)
2017-06-27 12:37:58.884949 File
"/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py",
line 2543, in register_cli_opt
2017-06-27 12:37:58.884960 raise ArgsAlreadyParsedError("cannot
register CLI option")
2017-06-27 12:37:58.884977 ArgsAlreadyParsedError: arguments already
parsed: cannot register CLI option
I checked that it was a bug initially which was fixed in openstac/heat
6.0.0.0b1. I referred to the following links:
https://bugs.launchpad.net/heat/+bug/1500807
https://review.openstack.org/gitweb?p=openstack/heat.git;a=c
ommitdiff;h=a1b3c23ff856ed2574a1ab50ba854f6a79b3213e#patch1
https://git.openstack.org/cgit/openstack/heat/diff/?id=a1b3c
23ff856ed2574a1ab50ba854f6a79b3213e
I am using latest version of heat and everything seems to be as desired as
per the links above, but I am still getting the error as mentioned.
I please request you to help me out here to fix this issue.
Eagerly waiting for your response!
Thanking you in anticipation!
Best Regards,
Mohit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170627/14e28805/attachment.html>
More information about the Openstack
mailing list