I saw following error when I try to setup ONAP env on openstack, Is there
anyone encounter this? Is there any changes related to sdc container?
normatives/scripts/import/tosca/importPolicyTypes.py
STDERR:
---- End output of "bash" "/tmp/jetty/chef-script20170508-470-1b3qqzw" ----
Ran "bash" "/tmp/jetty/chef-script20170508-470-1b3qqzw" returned 1
Resource Declaration:
---------------------
# In
/root/chef-solo/cache/cookbooks/sdc-normatives/recipes/upgrade_Normatives.rb
7: bash "upgrade-normatives" do
8: cwd "#{working_directory}"
9: code <<-EOH
10: tar xvfz /tmp/normatives.tar.gz
11: cd normatives/scripts/import/tosca/
12: /bin/chmod +x upgradeNormative.py importGroupTypes.py
13: python upgradeNormative.py -i "#{node['HOST_IP']}" --debug=true >
/var/lib/jetty/logs/upgradeNormative.log
14: python importGroupTypes.py -i "#{node['HOST_IP']}" >
/var/lib/jetty/logs/importGroupTypes.log
15: EOH
16: end
17:
Compiled Resource:
------------------
# Declared in
/root/chef-solo/cache/cookbooks/sdc-normatives/recipes/upgrade_Normatives.rb:7:in
`from_file'
bash("upgrade-normatives") do
action [:run]
retries 0
retry_delay 2
default_guard_interpreter :default
command "upgrade-normatives"
backup 5
cwd "/tmp"
returns 0
user nil
code " tar xvfz /tmp/normatives.tar.gz\n cd
normatives/scripts/import/tosca/\n /bin/chmod +x upgradeNormative.py
importGroupTypes.py\n python upgradeNormative.py -i \"10.0
.3.1\" --debug=true > /var/lib/jetty/logs/upgradeNormative.log\n python
importGroupTypes.py -i \"10.0.3.1\" >
/var/lib/jetty/logs/importGroupTypes.log\n"
interpreter "bash"
declared_type :bash
cookbook_name "sdc-normatives"
recipe_name "upgrade_Normatives"
end
Platform:
---------
x86_64-linux
[2017-05-08T15:40:22+00:00] INFO: Running queued delayed notifications before
re-raising exception
[2017-05-08T15:40:22+00:00] ERROR: Running exception handlers
[2017-05-08T15:40:22+00:00] ERROR: Exception handlers complete
[2017-05-08T15:40:22+00:00] FATAL: Stacktrace dumped to
/root/chef-solo/cache/chef-stacktrace.out
[2017-05-08T15:40:22+00:00] FATAL: Please provide the contents of the
stacktrace.out file if you file a bug report
[2017-05-08T15:40:22+00:00] ERROR: bash[upgrade-normatives]
(sdc-normatives::upgrade_Normatives line 7) had an error:
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with
[0], but received '1'
---- Begin output of "bash" "/tmp/jetty/chef-script20170508-470-1b3qqzw" ----
STDOUT: normatives/import/
normatives/import/tosca/
root@lxh-onap-sdc:/opt# docker exec -it sdc-BE cat
/var/lib/jetty/logs/importGroupTypes.log
Number of arguments: 3 arguments.
be host = 10.0.3.1 , be port = 8080 , user = jh0003
in create normative element groupTypes
../../../import/tosca/group-types//groupTypes.zip
[('groupTypesZip', (10, '../../../import/tosca/group-types//groupTypes.zip'))]
http response= 503
response buffer <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 503 </title>
</head>
<body>
<h2>HTTP ERROR: 503</h2>
<p>Problem accessing /sdc2/rest/v1/catalog/uploadType/grouptypes. Reason:
<pre> Service Unavailable</pre></p>
<hr /><a href="http://eclipse.org/jetty">Powered by Jetty://
9.3.15.v20161220</a><hr/>
</body>
</html>
----------------------------------------
groupTypes | 503
----------------------------------------
status=1.
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss