Hello

I want to deploy a new ONAP installation using the Heat template 
(onap_openstack.yaml) over an Ocata OpenStack using the environment  variables 
as proposed in the env files:
artifacts_version: 1.1.0-SNAPSHOT
docker_version: 1.1-STAGING-latest
gerrit_branch: master


I have some pbs with SDC installation. I relaunched the scripts within the VM, 
but the pbs are still there.
I read some similar pbs in the mailing lists 
(https://lists.onap.org/pipermail/onap-discuss/2017-July/002092.html), but my 
configuration seems a bit different and I have some HealthCheck pbs


The healthCheck for FE using $curl http://localhost:8080/sdc2/rest/healthCheck
<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/healthCheck. Reason:
<pre>    Service Unavailable</pre></p>
<hr /><a href="http://eclipse.org/jetty";>Powered by Jetty:// 
9.3.15.v20161220</a><hr/>
</body>
</html>


The healthCheck for BE using  curl http://localhost:8181/sdc1/rest/healthCheck
{
  "sdcVersion": "UNKNOWN",
  "siteMode": "UNKNOWN",
  "componentsInfo": [
    {
      "healthCheckComponent": "FE",
      "healthCheckStatus": "UP",
      "version": "1.1.0-SNAPSHOT",
      "description": "OK"
    },
    {
      "healthCheckComponent": "BE",
      "healthCheckStatus": "DOWN"
    },
    {
      "healthCheckComponent": "TITAN",
      "healthCheckStatus": "UNKNOWN"
    },
    {
      "healthCheckComponent": "CASSANDRA",
      "healthCheckStatus": "UNKNOWN"
    },
    {
      "healthCheckComponent": "DE",
      "healthCheckStatus": "UNKNOWN"
    },
    {
      "healthCheckComponent": "ON_BOARDING",
      "healthCheckStatus": "UNKNOWN"
    }
  ]
}

The docker logs for sdc-BE
Ran "bash"  "/tmp/jetty/chef-script20170801-603-1ht21zd" returned 1
[2017-08-01T07:08:03+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef 
run process exited unsuccessfully (exit code 1)


The docker logs for sdc-CS

================================================================================
    Error executing action `run` on resource 'bash[excuting-schema-creation]'
    
================================================================================

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '2'
    ---- Begin output of "bash"  "/tmp/chef-script20170801-409-nn82si" ----
    STDOUT: java 
-Dlogback.configurationFile=/tmp/sdctool/scripts/../config/logback.xml -cp 
::/tmp/sdctool/scripts/../asdctool-1.1.0-SNAPSHOT-jar-with-dependencies.jar: 
org.openecomp.sdc.asdctool.main.DataSchemaMenu create-cassandra-structures 
/tmp/sdctool/config
    07:02:06,873 |-INFO in ch.qos.logback.classic.LoggerContext[default] - 
Found resource [/tmp/sdctool/scripts/../config/logback.xml] at 
[file:/tmp/sdctool/scripts/../config/logback.xml]
    07:02:07,060 |-INFO in 
ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not 
set
    07:02:07,090 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - 
About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
    07:02:07,095 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - 
Naming appender as [STDOUT]
    07:02:07,200 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@11:13 - 
no applicable action for [encoder], current ElementPath  is 
[[configuration][appender][layout][encoder]]
    07:02:07,293 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - This 
appender no longer admits a layout as a sub-component, set an encoder instead.
    07:02:07,293 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - To 
ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
    07:02:07,293 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - See 
also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
    07:02:07,294 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - 
About to instantiate appender of type 
[ch.qos.logback.core.rolling.RollingFileAppender]
    07:02:07,300 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - 
Naming appender as [DEBUG_ROLLING]
    07:02:07,334 |-INFO in 
ch.qos.logback.core.rolling.FixedWindowRollingPolicy@4c75cab9 - No compression 
will be used
    07:02:07,348 |-INFO in 
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default 
type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] 
property
    07:02:07,367 |-INFO in 
ch.qos.logback.core.rolling.RollingFileAppender[DEBUG_ROLLING] - Active log 
file name: /root/asdctool/logs/SDC/SDC-TOOL/debug.log
    07:02:07,367 |-INFO in 
ch.qos.logback.core.rolling.RollingFileAppender[DEBUG_ROLLING] - File property 
is set to [/root/asdctool/logs/SDC/SDC-TOOL/debug.log]
    07:02:07,370 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - 
About to instantiate appender of type 
[ch.qos.logback.core.rolling.RollingFileAppender]
    07:02:07,370 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - 
Naming appender as [MALFORMED_DATA]
    07:02:07,373 |-INFO in 
ch.qos.logback.core.rolling.FixedWindowRollingPolicy@1ef7fe8e - No compression 
will be used
    07:02:07,374 |-INFO in 
ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default 
type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] 
property
    07:02:07,382 |-INFO in 
ch.qos.logback.core.rolling.RollingFileAppender[MALFORMED_DATA] - Active log 
file name: /root/asdctool/logs/SDC/SDC-TOOL/malformed-data.log
    07:02:07,382 |-INFO in 
ch.qos.logback.core.rolling.RollingFileAppender[MALFORMED_DATA] - File property 
is set to [/root/asdctool/logs/SDC/SDC-TOOL/malformed-data.log]
    07:02:07,382 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction 
- Setting level of ROOT logger to INFO
    07:02:07,382 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - 
Attaching appender named [DEBUG_ROLLING] to Logger[ROOT]
    07:02:07,384 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - 
Setting level of logger [org.openecomp.sdc] to INFO
    07:02:07,385 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - 
Setting level of logger [org.openecomp.sdc.be.model.operations.migration] to 
ERROR
    07:02:07,385 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - 
Attaching appender named [MALFORMED_DATA] to 
Logger[org.openecomp.sdc.be.model.operations.migration]
    07:02:07,385 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - 
Setting level of logger [org.openecomp.sdc.asdctool.migration] to INFO
    07:02:07,385 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - 
Attaching appender named [STDOUT] to 
Logger[org.openecomp.sdc.asdctool.migration]
    07:02:07,385 |-INFO in 
ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
    07:02:07,387 |-INFO in 
ch.qos.logback.classic.joran.JoranConfigurator@6f79caec - Registering current 
configuration as safe fallback point

    ***********************************
    ***** 2 *********************
    ***********************************
    STDERR:
    ---- End output of "bash"  "/tmp/chef-script20170801-409-nn82si" ----
    Ran "bash"  "/tmp/chef-script20170801-409-nn82si" returned 2

    Resource Declaration:
    ---------------------
    # In 
/root/chef-solo/cache/cookbooks/cassandra-actions/recipes/04-schemaCreation.rb

     52: bash "excuting-schema-creation" do
     53:    code <<-EOH
     54:      cd /tmp
     55:      chmod +x /tmp/sdctool/scripts/schemaCreation.sh
     56:      /tmp/sdctool/scripts/schemaCreation.sh /tmp/sdctool/config
     57:    EOH
     58: end

    Compiled Resource:
    ------------------
    # Declared in 
/root/chef-solo/cache/cookbooks/cassandra-actions/recipes/04-schemaCreation.rb:52:in
 `from_file'

    bash("excuting-schema-creation") do
      action [:run]
      default_guard_interpreter :default
      command nil
      backup 5
      returns 0
      user nil
      interpreter "bash"
      declared_type :bash
      cookbook_name "cassandra-actions"
      recipe_name "04-schemaCreation"
      code "     cd /tmp\n     chmod +x 
/tmp/sdctool/scripts/schemaCreation.sh\n     
/tmp/sdctool/scripts/schemaCreation.sh /tmp/sdctool/config\n"
      domain nil
    end

    System Info:
    ------------
    chef_version=13.2.20
    platform=debian
    platform_version=8.8
    ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
    program_name=chef-solo worker: ppid=400;start=07:01:20;
    executable=/opt/chef/bin/chef-solo

[2017-08-01T07:02:16+00:00] INFO: Running queued delayed notifications before 
re-raising exception

Running handlers:
[2017-08-01T07:02:16+00:00] ERROR: Running exception handlers
Running handlers complete
[2017-08-01T07:02:16+00:00] ERROR: Exception handlers complete
Chef Client failed. 10 resources updated in 55 seconds
[2017-08-01T07:02:16+00:00] FATAL: Stacktrace dumped to 
/root/chef-solo/cache/chef-stacktrace.out
[2017-08-01T07:02:16+00:00] FATAL: Please provide the contents of the 
stacktrace.out file if you file a bug report
[2017-08-01T07:02:16+00:00] ERROR: bash[excuting-schema-creation] 
(cassandra-actions::04-schemaCreation line 52) had an error: 
Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but 
received '2'

STDERR:
---- End output of "bash"  "/tmp/chef-script20170801-409-nn82si" ----
Ran "bash"  "/tmp/chef-script20170801-409-nn82si" returned 2
[2017-08-01T07:02:16+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef 
run process exited unsuccessfully (exit code 1)


However, Cassandra is running and I could access Cassandra using cqlsh -u 
cassandra -p Aa1234%^! 10.0.3.1

Regards

Eric

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to