Please find the attached log file for sdc-FE docker container. Thanks, Ganesh
On Tue, Oct 10, 2017 at 3:58 PM, Gitelman, Tal <tg8...@intl.att.com> wrote: > As I see the FE is down please check the FE logs. > > > > *From:* Ganesh Kaila [mailto:gane...@biarca.com] > *Sent:* יום ג 10 אוקטובר 2017 13:23 > *To:* Gitelman, Tal <tg8...@intl.att.com> > *Cc:* Lando,Michael <ml6...@intl.att.com>; onap-discuss@lists.onap.org > > *Subject:* Re: [onap-discuss] SDC Portal HTTP Error 404 > > > > Hi, > > > > The results for docker_health check in SDC: > > > > *ubuntu@vm1-sdc:~$ /data/scripts/docker_health.sh* > > *{* > > * "cluster_name" : "SDC-ES-AUTO",* > > * "status" : "yellow",* > > * "timed_out" : false,* > > * "number_of_nodes" : 1,* > > * "number_of_data_nodes" : 1,* > > * "active_primary_shards" : 2,* > > * "active_shards" : 2,* > > * "relocating_shards" : 0,* > > * "initializing_shards" : 0,* > > * "unassigned_shards" : 1,* > > * "delayed_unassigned_shards" : 0,* > > * "number_of_pending_tasks" : 0,* > > * "number_of_in_flight_fetch" : 0,* > > * "task_max_waiting_in_queue_millis" : 0,* > > * "active_shards_percent_as_number" : 66.66666666666666* > > *}* > > *BE health-Check:* > > *{* > > * "sdcVersion": "1.1.0",* > > * "siteMode": "unknown",* > > * "componentsInfo": [* > > * {* > > * "healthCheckComponent": "BE",* > > * "healthCheckStatus": "UP",* > > * "version": "1.1.0",* > > * "description": "OK"* > > * },* > > * {* > > * "healthCheckComponent": "TITAN",* > > * "healthCheckStatus": "DOWN",* > > * "description": "Titan graph is down"* > > * },* > > * {* > > * "healthCheckComponent": "DE",* > > * "healthCheckStatus": "UP",* > > * "description": "OK"* > > * },* > > * {* > > * "healthCheckComponent": "CASSANDRA",* > > * "healthCheckStatus": "UP",* > > * "description": "OK"* > > * },* > > * {* > > * "healthCheckComponent": "ON_BOARDING",* > > * "healthCheckStatus": "UP",* > > * "version": "1.1.0",* > > * "description": "OK",* > > * "componentsInfo": [* > > * {* > > * "healthCheckComponent": "ZU",* > > * "healthCheckStatus": "UP",* > > * "version": "0.2.0",* > > * "description": "OK"* > > * },* > > * {* > > * "healthCheckComponent": "BE",* > > * "healthCheckStatus": "UP",* > > * "version": "1.1.0",* > > * "description": "OK"* > > * },* > > * {* > > * "healthCheckComponent": "CAS",* > > * "healthCheckStatus": "UP",* > > * "version": "2.1.17",* > > * "description": "OK"* > > * }* > > * ]* > > * }* > > * ]* > > *}* > > > > *FE health-Check:* > > *<html>* > > *<head>* > > *<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>* > > *<title>Error 404 </title>* > > *</head>* > > *<body>* > > *<h2>HTTP ERROR: 404</h2>* > > *<p>Problem accessing /sdc1/rest/healthCheck. Reason:* > > *<pre> Not Found</pre></p>* > > *<hr /><a href="http://eclipse.org/jetty > <https://urldefense.proofpoint.com/v2/url?u=http-3A__eclipse.org_jetty&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_v4H6ftYbU9i942SNspFbfOKqAo0WxiI5Uyuwk9rXrk&m=jfbjy71OJf1o6cBGKkYkbtkNSRBDRK6H_JnZxqEEzyM&s=D0Xznjoz0fOT3_1Kap5EduyL_BDAkAG-zB5MbJ62vvk&e=>">Powered > by Jetty:// 9.3.20.v20170531</a><hr/>* > > *</body>* > > *</html>* > > > > > > *Error [8] while user existance check* > > *ubuntu@vm1-sdc:~$* > > > > > Thanks, > > Ganesh > > > > On Tue, Oct 10, 2017 at 1:52 PM, Gitelman, Tal <tg8...@intl.att.com> > wrote: > > Please provide the healtchecks received from SDC > > > > *From:* Ganesh Kaila [mailto:gane...@biarca.com] > *Sent:* יום ג 10 אוקטובר 2017 08:03 > *To:* Lando,Michael <ml6...@intl.att.com> > *Cc:* onap-discuss@lists.onap.org; Gitelman, Tal <tg8...@intl.att.com> > > > *Subject:* Re: [onap-discuss] SDC Portal HTTP Error 404 > > > > Hi Michael, > > > > repos: > > > > nexus_repo: https://nexus.onap.org/content/sites/raw > <https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus.onap.org_content_sites_raw&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_v4H6ftYbU9i942SNspFbfOKqAo0WxiI5Uyuwk9rXrk&m=xJqSIvvDwsYLyfu2NAa6cOKzNsKwJsJIaXfHk_17g80&s=_EJ3mlbtx2FdKm8L10Cp67S_n0MbqZ2xkSy7G7O2Fyw&e=> > > nexus_docker_repo: nexus3.onap.org:10001 > <https://urldefense.proofpoint.com/v2/url?u=http-3A__nexus3.onap.org-3A10001&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=_v4H6ftYbU9i942SNspFbfOKqAo0WxiI5Uyuwk9rXrk&m=xJqSIvvDwsYLyfu2NAa6cOKzNsKwJsJIaXfHk_17g80&s=DB22LN53lKfHjgKlp5ggKOBTyZLwDlPeY3LpdI7UoXY&e=> > > > > versions: > > > > sdc_branch: master > > sdc_docker: 1.1-STAGING-latest > > > > Am I using the correct ones? > > > Thanks, > > Ganesh > > > > On Mon, Oct 9, 2017 at 10:28 PM, Lando,Michael <ml6...@intl.att.com> > wrote: > > And please provide the version of SDC you are trying to deploy. > > > > > > > > > > > > *BR,* > > > > *Michael Lando* > > Opensource TL , SDC > > AT&T Network Application Development · NetCom > > Tel Aviv | Tampa | Atlanta | New Jersey |Chicago > > ···························································· > ··············· > > *Office*: +972 (3) 5451487 > > *Mobile*: +972 (54) 7833603 > > *e-mail*: *ml6...@intl.att.com <ml6...@intl.att.com>* > > > > *From:* Ganesh Kaila [mailto:gane...@biarca.com] > *Sent:* Monday, October 09, 2017 3:33 PM > *To:* Gitelman, Tal <tg8...@intl.att.com> > *Cc:* onap-discuss@lists.onap.org; Lando,Michael <ml6...@intl.att.com> > *Subject:* Re: [onap-discuss] SDC Portal HTTP Error 404 > > > > Hi, > > > > I use openstack environment. I have deleted that old ONAP deployment and > trying to run it again with latest demo repo heat templates. I will let you > know if that issue persists. > > > Thanks, > > Ganesh > > > > On Mon, Oct 9, 2017 at 2:30 PM, Gitelman, Tal <tg8...@intl.att.com> wrote: > > Hi, > > > > Wanted to know in which environment you’re running an instance of SDC? > > Please perform healthcheck to the SDC: > > https://wiki.onap.org/display/DW/SDC+Vagrant+Common+Commands > <https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_SDC-2BVagrant-2BCommon-2BCommands&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=FYvXSElfSmWIXOeZxWIxQysejuz9-TXmaL6uftBh8MY&m=6vekhSm6Cp3NWLbHDImbdt6GSXnHocV93Zxn6R174D8&s=btBroZMm9eQrkptDBvEeXs78x2dZS19darR60XMRLAk&e=> > > Also check if your host file with the DEV environment ip is correct. > > > > Please share with me the results and update on the issue > > > > *From:* onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-bounces@ > lists.onap.org] *On Behalf Of *Ganesh Kaila > *Sent:* שבת 07 אוקטובר 2017 16:33 > *To:* onap-discuss@lists.onap.org > *Subject:* [onap-discuss] SDC Portal HTTP Error 404 > > > > Hi SDC Team, > > > > I am frequently seeing HTTP ERROR: 404 while accessing SDC from the ONAP > portal. In the past three days, I tried to deploy ONAP on vanilla openstack > several times, every time I am encountering the same error. Please find the > attached screenshot. > > > > [image: Inline image 1] > > Thanks, > > Ganesh > > > > > > >
ubuntu@vm1-sdc:~$ sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6e0cd8f3b3ec nexus3.onap.org:10001/openecomp/sdc-frontend:1.1-STAGING-latest "/root/startup.sh" 22 hours ago Up 22 hours 0.0.0.0:8181->8181/tcp, 8080/tcp, 0.0.0.0:9443->9443/tcp sdc-FE f2cd03b87c62 nexus3.onap.org:10001/openecomp/sdc-backend:1.1-STAGING-latest "/root/startup.sh" 22 hours ago Up 22 hours 0.0.0.0:8080->8080/tcp, 0.0.0.0:8443->8443/tcp sdc-BE 12dfe2159a16 nexus3.onap.org:10001/openecomp/sdc-kibana:1.1-STAGING-latest "/root/startup.sh" 22 hours ago Up 22 hours 0.0.0.0:5601->5601/tcp sdc-kbn 6ef6e03231df nexus3.onap.org:10001/openecomp/sdc-cassandra:1.1-STAGING-latest "/root/startup.sh" 22 hours ago Up 22 hours 7000-7001/tcp, 0.0.0.0:9042->9042/tcp, 7199/tcp, 0.0.0.0:9160->9160/tcp sdc-cs 11b6010709e7 nexus3.onap.org:10001/openecomp/sdc-elasticsearch:1.1-STAGING-latest "/root/startup.sh" 23 hours ago Up 23 hours 0.0.0.0:9200->9200/tcp, 0.0.0.0:9300->9300/tcp sdc-es ubuntu@vm1-sdc:~$ sudo docker logs sdc-FE [2017-10-09T13:45:49+00:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /root/chef-solo One version per cookbook [2017-10-09T13:45:49+00:00] INFO: Forking chef instance to converge... Starting Chef Client, version 13.4.24 [2017-10-09T13:45:53+00:00] INFO: *** Chef 13.4.24 *** [2017-10-09T13:45:53+00:00] INFO: Platform: x86_64-linux [2017-10-09T13:45:53+00:00] INFO: Chef-client pid: 12 [2017-10-09T13:45:53+00:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping... [2017-10-09T13:46:17+00:00] INFO: Setting the run_list to ["role[catalog-fe]"] from CLI options [2017-10-09T13:46:18+00:00] INFO: Run List is [role[catalog-fe]] [2017-10-09T13:46:18+00:00] INFO: Run List expands to [sdc-catalog-fe::FE_1_cleanup_jettydir, sdc-catalog-fe::FE_2_setup_configuration, sdc-catalog-fe::FE_3_errors_config, sdc-catalog-fe::FE_4_logback, sdc-catalog-fe::FE_5_rest_configuration, sdc-catalog-fe::FE_6_locate_keystore, sdc-catalog-fe::FE_7_create_jetty_modules] [2017-10-09T13:46:18+00:00] INFO: Starting Chef Run for 6e0cd8f3b3ec [2017-10-09T13:46:18+00:00] INFO: Running start handlers [2017-10-09T13:46:18+00:00] INFO: Start handlers complete. resolving cookbooks for run list: ["sdc-catalog-fe::FE_1_cleanup_jettydir", "sdc-catalog-fe::FE_2_setup_configuration", "sdc-catalog-fe::FE_3_errors_config", "sdc-catalog-fe::FE_4_logback", "sdc-catalog-fe::FE_5_rest_configuration", "sdc-catalog-fe::FE_6_locate_keystore", "sdc-catalog-fe::FE_7_create_jetty_modules"] [2017-10-09T13:46:22+00:00] INFO: Loading cookbooks [sdc-catalog-fe@0.0.0] Synchronizing Cookbooks: [2017-10-09T13:46:24+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/recipes/FE_6_locate_keystore.rb in the cache. [2017-10-09T13:46:24+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/attributes/default.rb in the cache. [2017-10-09T13:46:24+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/recipes/FE_4_logback.rb in the cache. [2017-10-09T13:46:24+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/recipes/FE_5_rest_configuration.rb in the cache. [2017-10-09T13:46:24+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/recipes/FE_2_setup_configuration.rb in the cache. [2017-10-09T13:46:24+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/recipes/FE_3_errors_config.rb in the cache. [2017-10-09T13:46:25+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/files/default/FE-rest-configuration.yaml in the cache. [2017-10-09T13:46:25+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/recipes/FE_1_cleanup_jettydir.rb in the cache. [2017-10-09T13:46:25+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/templates/default/FE-onboarding-configuration.yaml.erb in the cache. [2017-10-09T13:46:25+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/templates/default/FE-http-ini.erb in the cache. [2017-10-09T13:46:25+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/templates/default/ssl-ini.erb in the cache. [2017-10-09T13:46:25+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/templates/default/FE-https-ini.erb in the cache. [2017-10-09T13:46:26+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/recipes/FE_7_create_jetty_modules.rb in the cache. [2017-10-09T13:46:26+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/files/default/keystore in the cache. [2017-10-09T13:46:26+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/files/default/FE-ecomp-error-configuration.yaml in the cache. [2017-10-09T13:46:26+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/files/default/FE-logback.xml in the cache. [2017-10-09T13:46:26+00:00] INFO: Storing updated cookbooks/sdc-catalog-fe/templates/default/FE-configuration.yaml.erb in the cache. - sdc-catalog-fe (0.0.0) Installing Cookbook Gems: Compiling Cookbooks... Converging 16 resources Recipe: sdc-catalog-fe::FE_1_cleanup_jettydir * directory[FE_tempdir_creation] action create[2017-10-09T13:46:28+00:00] INFO: directory[FE_tempdir_creation] created directory /var/lib/jetty/temp - create new directory /var/lib/jetty/temp[2017-10-09T13:46:28+00:00] INFO: directory[FE_tempdir_creation] owner changed to 999 [2017-10-09T13:46:28+00:00] INFO: directory[FE_tempdir_creation] group changed to 999 [2017-10-09T13:46:28+00:00] INFO: directory[FE_tempdir_creation] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' * directory[FE_create_config_dir] action create[2017-10-09T13:46:28+00:00] INFO: directory[FE_create_config_dir] created directory /var/lib/jetty/config - create new directory /var/lib/jetty/config[2017-10-09T13:46:28+00:00] INFO: directory[FE_create_config_dir] owner changed to 999 [2017-10-09T13:46:28+00:00] INFO: directory[FE_create_config_dir] group changed to 999 [2017-10-09T13:46:28+00:00] INFO: directory[FE_create_config_dir] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' * directory[FE_create_catalog-fe] action create[2017-10-09T13:46:28+00:00] INFO: directory[FE_create_catalog-fe] created directory /var/lib/jetty/config/catalog-fe - create new directory /var/lib/jetty/config/catalog-fe[2017-10-09T13:46:28+00:00] INFO: directory[FE_create_catalog-fe] owner changed to 999 [2017-10-09T13:46:28+00:00] INFO: directory[FE_create_catalog-fe] group changed to 999 [2017-10-09T13:46:28+00:00] INFO: directory[FE_create_catalog-fe] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' * directory[FE_create_catalog-fe] action create[2017-10-09T13:46:29+00:00] INFO: directory[FE_create_catalog-fe] created directory /var/lib/jetty/config/onboarding-fe - create new directory /var/lib/jetty/config/onboarding-fe[2017-10-09T13:46:29+00:00] INFO: directory[FE_create_catalog-fe] owner changed to 999 [2017-10-09T13:46:29+00:00] INFO: directory[FE_create_catalog-fe] group changed to 999 [2017-10-09T13:46:29+00:00] INFO: directory[FE_create_catalog-fe] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-fe::FE_2_setup_configuration * template[catalog-fe-config] action create[2017-10-09T13:46:29+00:00] INFO: template[catalog-fe-config] created file /var/lib/jetty/config/catalog-fe/configuration.yaml - create new file /var/lib/jetty/config/catalog-fe/configuration.yaml[2017-10-09T13:46:29+00:00] INFO: template[catalog-fe-config] updated file contents /var/lib/jetty/config/catalog-fe/configuration.yaml - update content in file /var/lib/jetty/config/catalog-fe/configuration.yaml from none to e0f7f4 --- /var/lib/jetty/config/catalog-fe/configuration.yaml 2017-10-09 13:46:29.444481539 +0000 +++ /var/lib/jetty/config/catalog-fe/.chef-configuration20171009-12-s2if3a.yaml 2017-10-09 13:46:29.432481124 +0000 @@ -1 +1,85 @@ +# Needed for logging purposes. To be populated by DevOps - currently dummy +feFqdn: 10.0.3.1 + +# catalog backend hostname +beHost: 10.0.3.1 + +# catalog backend http port +beHttpPort: 8080 + +# catalog backend http context +beContext: /sdc2/rest/v1/catalog/upload/resources + +# catalog backend protocol +beProtocol: http + +# catalog backend ssl port +beSslPort: 8443 + +# threadpool size for handling requests +threadpoolSize: 50 + +# request processing timeout (seconds) +requestTimeout: 10 + +healthCheckSocketTimeoutInMs: 5000 + +healthCheckIntervalInSeconds: 5 + +onboarding: + protocol: http + host: 10.0.3.1 + port: 8181 + healthCheckUri: "/onboarding/v1.0/healthcheck" + +identificationHeaderFields: + - + - &HTTP_IV_USER HTTP_IV_USER + - &iv-user iv-user + - + - &USER_ID USER_ID + - &user-id user-id + - + - &HTTP_CSP_ATTUID HTTP_CSP_ATTUID + - &csp-attuid csp-attuid + - + - &HTTP_CSP_WSTYPE HTTP_CSP_WSTYPE + - &csp-wstype csp-wstype + +optionalHeaderFields: + - + - &HTTP_CSP_FIRSTNAME HTTP_CSP_FIRSTNAME + - &csp-firstname csp-firstname + - + - &HTTP_CSP_LASTNAME HTTP_CSP_LASTNAME + - &csp-lastname csp-lastname + - + - &HTTP_IV_REMOTE_ADDRESS HTTP_IV_REMOTE_ADDRESS + - &iv-remote-address iv-remote-address + - + - &HTTP_CSP_EMAIL HTTP_CSP_EMAIL + - &csp-email csp-email + +version: 1.0 +released: 2012-11-30 + +# Connection parameters +connection: + url: jdbc:mysql://localhost:3306/db + poolSize: 17 + +# Protocols +protocols: + - http + - https + + +systemMonitoring: + enabled: false + isProxy: true + probeIntervalInSeconds: 15 + +kibanaHost: localhost +kibanaPort: 5601 +kibanaProtocol: http[2017-10-09T13:46:29+00:00] INFO: template[catalog-fe-config] owner changed to 999 [2017-10-09T13:46:30+00:00] INFO: template[catalog-fe-config] group changed to 999 [2017-10-09T13:46:30+00:00] INFO: template[catalog-fe-config] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' * template[onboarding-fe-config] action create[2017-10-09T13:46:30+00:00] INFO: template[onboarding-fe-config] created file /var/lib/jetty/config/onboarding-fe/onboarding_configuration.yaml - create new file /var/lib/jetty/config/onboarding-fe/onboarding_configuration.yaml[2017-10-09T13:46:30+00:00] INFO: template[onboarding-fe-config] updated file contents /var/lib/jetty/config/onboarding-fe/onboarding_configuration.yaml - update content in file /var/lib/jetty/config/onboarding-fe/onboarding_configuration.yaml from none to 0db116 --- /var/lib/jetty/config/onboarding-fe/onboarding_configuration.yaml 2017-10-09 13:46:30.316511758 +0000 +++ /var/lib/jetty/config/onboarding-fe/.chef-onboarding_configuration20171009-12-1opjdcu.yaml 2017-10-09 13:46:30.308511481 +0000 @@ -1 +1,6 @@ +notifications: + pollingIntervalMsec: 2000 + selectionSize: 100 + beHost: 10.0.3.1 + beHttpPort: 8080[2017-10-09T13:46:30+00:00] INFO: template[onboarding-fe-config] owner changed to 999 [2017-10-09T13:46:30+00:00] INFO: template[onboarding-fe-config] group changed to 999 [2017-10-09T13:46:30+00:00] INFO: template[onboarding-fe-config] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-fe::FE_3_errors_config * cookbook_file[/var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml] action create[2017-10-09T13:46:30+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml] created file /var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml - create new file /var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml[2017-10-09T13:46:31+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml] updated file contents /var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml - update content in file /var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml from none to 6643bc --- /var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml 2017-10-09 13:46:30.976534653 +0000 +++ /var/lib/jetty/config/catalog-fe/.chef-ecomp-error-configuration20171009-12-syam6k.yaml 2017-10-09 13:46:30.964534236 +0000 @@ -1 +1,49 @@ +########################################### +# Note the conventions of the field values: +# type can be one of: CONFIG_ERROR, SYSTEM_ERROR, DATA_ERROR, CONNECTION_PROBLEM +# severity can be one of: WARN, ERROR, FATAL +# alarmSeverity can be one of: CRITICAL,MAJOR,MINOR,INFORMATIONAL,NONE +# code is a unique integer in range of 3003-9999 (3000-3002 are occupied for internal usage) +# The above enumeration values are out-of-the-box and can be changed in code. +# In case of config and code mismatch, the appropriate error will be printed to log +# +# Range of FE codes - 8000-9999 + + +errors: + FeHealthCheckConnectionError: { + type: CONNECTION_PROBLEM, + code: ASDC_8000, + severity: ERROR, + description: "Connection error during FE Health Check", + alarmSeverity: CRITICAL + } + FeHttpLoggingError: { + type: SYSTEM_ERROR, + code: ASDC_8001, + severity: ERROR, + description: "Error when logging FE HTTP request/response", + alarmSeverity: MINOR + } + FePortalServletError: { + type: SYSTEM_ERROR, + code: ASDC_8002, + severity: ERROR, + description: "Error when trying to access FE Portal page", + alarmSeverity: MAJOR + } + FeHealthCheckGeneralError: { + type: SYSTEM_ERROR, + code: ASDC_8004, + severity: ERROR, + description: "General error during FE Health Check", + alarmSeverity: CRITICAL + } + FeHealthCheckRecovery: { + type: RECOVERY, + code: ASDC_8005, + severity: INFO, + description: "BE Health Check Recovery", + alarmSeverity: INFORMATIONAL + } [2017-10-09T13:46:31+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml] owner changed to 999 [2017-10-09T13:46:31+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml] group changed to 999 [2017-10-09T13:46:31+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/ecomp-error-configuration.yaml] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-fe::FE_4_logback * cookbook_file[/var/lib/jetty/config/catalog-fe/logback.xml] action create[2017-10-09T13:46:31+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/logback.xml] created file /var/lib/jetty/config/catalog-fe/logback.xml - create new file /var/lib/jetty/config/catalog-fe/logback.xml[2017-10-09T13:46:31+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/logback.xml] updated file contents /var/lib/jetty/config/catalog-fe/logback.xml - update content in file /var/lib/jetty/config/catalog-fe/logback.xml from none to 8f2606 --- /var/lib/jetty/config/catalog-fe/logback.xml 2017-10-09 13:46:31.424550214 +0000 +++ /var/lib/jetty/config/catalog-fe/.chef-logback20171009-12-1xyj1kh.xml 2017-10-09 13:46:31.412549798 +0000 @@ -1 +1,228 @@ +<?xml version="1.0" encoding="UTF-8"?> +<configuration scan="true" scanPeriod="5 seconds"> + + <property scope="system" name="ECOMP-component-name" value="ASDC" /> + <property scope="system" name="ECOMP-subcomponent-name" value="ASDC-FE" /> + <property file="${config.home}/catalog-fe/configuration.yaml" /> + <property scope="context" name="enable-all-log" value="false" /> + + <!-- value used by pattern field list (| - is inter-field separator, || - unavailable or not applicable field value) (m - mandatory, o- optional)--> + <!--timestamp(m)| requestID(m)| serviceInstanceID(o)| threadID(m)| physicalServerName(o)| serviceName(m)| userID(m)| logLevel(m)| severity(o)| serverIpAddress(m)| serverName(m)| clientIpAddress(o)| className(m)| timer(o)| detailedMessage(o)--> + <property name="default-log-pattern" + value="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{uuid}|%X{serviceInstanceID}|%thread||${ECOMP-subcomponent-name}|%X{userId}|%level|%X{alarmSeverity}|%X{localAddr}|${feFqdn}|%X{remoteAddr}|%logger{35}|%X{timer}|ActivityType=<%M>, Desc=<%msg>%n" /> + + <!-- All log --> + <if condition='property("enable-all-log").equalsIgnoreCase("true")'> + <then> + <appender name="ALL_ROLLING" + class="ch.qos.logback.core.rolling.RollingFileAppender"> + <file>${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/all.log + </file> + + <rollingPolicy + class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> + <fileNamePattern>${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/all.log.%i + </fileNamePattern> + <minIndex>1</minIndex> + <maxIndex>10</maxIndex> + </rollingPolicy> + + <triggeringPolicy + class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> + <maxFileSize>20MB</maxFileSize> + </triggeringPolicy> + <encoder> + <pattern>${default-log-pattern}</pattern> + </encoder> + </appender> + + <appender name="ASYNC_ALL" class="ch.qos.logback.classic.AsyncAppender"> + <appender-ref ref="ALL_ROLLING" /> + </appender> + </then> + </if> + + <!-- Error log --> + <appender name="ERROR_ROLLING" + class="ch.qos.logback.core.rolling.RollingFileAppender"> + <file>${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/error.log + </file> + + <!-- Audit messages filter - deny audit messages --> + <filter class="ch.qos.logback.core.filter.EvaluatorFilter"> + <evaluator class="ch.qos.logback.classic.boolex.OnMarkerEvaluator"> + <marker>AUDIT_MARKER</marker> + </evaluator> + <onMismatch>NEUTRAL</onMismatch> + <onMatch>DENY</onMatch> + </filter> + + <!-- Transaction messages filter - deny Transaction messages --> + <filter class="ch.qos.logback.core.filter.EvaluatorFilter"> + <evaluator class="ch.qos.logback.classic.boolex.OnMarkerEvaluator"> + <marker>TRANSACTION_MARKER</marker> + </evaluator> + <onMismatch>NEUTRAL</onMismatch> + <onMatch>DENY</onMatch> + </filter> + + <!-- deny all events with a level below INFO, that is TRACE and DEBUG --> + <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> + <level>INFO</level> + </filter> + + <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> + <fileNamePattern>${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/error.log.%i + </fileNamePattern> + <minIndex>1</minIndex> + <maxIndex>10</maxIndex> + </rollingPolicy> + + <triggeringPolicy + class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> + <maxFileSize>20MB</maxFileSize> + </triggeringPolicy> + <encoder> + <pattern>${default-log-pattern}</pattern> + </encoder> + </appender> + + <!-- Debug log --> + <appender name="DEBUG_ROLLING" + class="ch.qos.logback.core.rolling.RollingFileAppender"> + <file>${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/debug.log + </file> + + <!-- No need to deny audit messages - they are INFO only, will be denied + anyway --> + <!-- Transaction messages filter - deny Transaction messages, there are + some DEBUG level messages among them --> + <filter class="ch.qos.logback.core.filter.EvaluatorFilter"> + <evaluator class="ch.qos.logback.classic.boolex.OnMarkerEvaluator"> + <marker>TRANSACTION_MARKER</marker> + </evaluator> + <onMismatch>NEUTRAL</onMismatch> + <onMatch>DENY</onMatch> + </filter> + + <!-- accept DEBUG and TRACE level --> + <filter class="ch.qos.logback.core.filter.EvaluatorFilter"> + <evaluator class="ch.qos.logback.classic.boolex.GEventEvaluator"> + <expression> + e.level.toInt() <= DEBUG.toInt() + </expression> + </evaluator> + <OnMismatch>DENY</OnMismatch> + <OnMatch>NEUTRAL</OnMatch> + </filter> + + <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> + <fileNamePattern>${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/debug.log.%i + </fileNamePattern> + <minIndex>1</minIndex> + <maxIndex>10</maxIndex> + </rollingPolicy> + + <triggeringPolicy + class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> + <maxFileSize>20MB</maxFileSize> + </triggeringPolicy> + <encoder> + <pattern>${default-log-pattern}</pattern> + </encoder> + </appender> + + <!-- Audit log --> + <appender name="AUDIT_ROLLING" + class="ch.qos.logback.core.rolling.RollingFileAppender"> + + <file>${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/audit.log + </file> + + <!-- Audit messages filter - accept audit messages --> + <filter class="ch.qos.logback.core.filter.EvaluatorFilter"> + <evaluator class="ch.qos.logback.classic.boolex.OnMarkerEvaluator"> + <marker>AUDIT_MARKER</marker> + </evaluator> + <onMismatch>DENY</onMismatch> + <onMatch>ACCEPT</onMatch> + </filter> + + <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> + <fileNamePattern>${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/audit.log.%i + </fileNamePattern> + <minIndex>1</minIndex> + <maxIndex>10</maxIndex> + </rollingPolicy> + + <triggeringPolicy + class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> + <maxFileSize>20MB</maxFileSize> + </triggeringPolicy> + <encoder> + <pattern>${default-log-pattern}</pattern> + </encoder> + </appender> + + <!-- SdncTransaction log --> + <appender name="TRANSACTION_ROLLING" + class="ch.qos.logback.core.rolling.RollingFileAppender"> + + <file>${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/transaction.log + </file> + + <!-- Transaction messages filter - accept audit messages --> + <filter class="ch.qos.logback.core.filter.EvaluatorFilter"> + <evaluator class="ch.qos.logback.classic.boolex.OnMarkerEvaluator"> + <marker>TRANSACTION_MARKER</marker> + </evaluator> + <onMismatch>DENY</onMismatch> + <onMatch>ACCEPT</onMatch> + </filter> + + <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> + <fileNamePattern>${log.home}/${ECOMP-component-name}/${ECOMP-subcomponent-name}/transaction.log.%i + </fileNamePattern> + <minIndex>1</minIndex> + <maxIndex>10</maxIndex> + </rollingPolicy> + + <triggeringPolicy + class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> + <maxFileSize>20MB</maxFileSize> + </triggeringPolicy> + <encoder> + <pattern>${default-log-pattern}</pattern> + </encoder> + </appender> + + <!-- Asynchronicity Configurations --> + <appender name="ASYNC_DEBUG" class="ch.qos.logback.classic.AsyncAppender"> + <appender-ref ref="DEBUG_ROLLING" /> + </appender> + + <appender name="ASYNC_TRANSACTION" class="ch.qos.logback.classic.AsyncAppender"> + <appender-ref ref="TRANSACTION_ROLLING" /> + </appender> + + <appender name="ASYNC_ERROR" class="ch.qos.logback.classic.AsyncAppender"> + <appender-ref ref="ERROR_ROLLING" /> + </appender> + + + <root level="INFO"> + <appender-ref ref="ASYNC_ERROR" /> + <appender-ref ref="ASYNC_DEBUG" /> + <appender-ref ref="AUDIT_ROLLING" /> + <appender-ref ref="ASYNC_TRANSACTION" /> + <if condition='property("enable-all-log").equalsIgnoreCase("true")'> + <then> + <appender-ref ref="ALL_ROLLING" /> + </then> + </if> + </root> + + <logger name="org.openecomp.sdc" level="INFO" /> +</configuration> +[2017-10-09T13:46:31+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/logback.xml] owner changed to 999 [2017-10-09T13:46:32+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/logback.xml] group changed to 999 [2017-10-09T13:46:32+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/logback.xml] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-fe::FE_5_rest_configuration * cookbook_file[/var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml] action create[2017-10-09T13:46:32+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml] created file /var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml - create new file /var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml[2017-10-09T13:46:32+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml] updated file contents /var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml - update content in file /var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml from none to cbd502 --- /var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml 2017-10-09 13:46:32.296580522 +0000 +++ /var/lib/jetty/config/catalog-fe/.chef-rest-configuration-info20171009-12-h53fj2.yaml 2017-10-09 13:46:32.284580104 +0000 @@ -1 +1,12 @@ +# rest read timeout - means no timeout +readTimeoutInSec: 0 + +# whether to ignore certificate +ignoreCertificate: false + +# the connection pool size +connectionPoolSize: 10 + +# create connection timeout +connectTimeoutInSec: 10[2017-10-09T13:46:32+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml] owner changed to 999 [2017-10-09T13:46:32+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml] group changed to 999 [2017-10-09T13:46:32+00:00] INFO: cookbook_file[/var/lib/jetty/config/catalog-fe/rest-configuration-info.yaml] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-fe::FE_6_locate_keystore * directory[Jetty_etcdir_creation] action create[2017-10-09T13:46:32+00:00] INFO: directory[Jetty_etcdir_creation] created directory //var/lib/jetty/etc - create new directory //var/lib/jetty/etc[2017-10-09T13:46:32+00:00] INFO: directory[Jetty_etcdir_creation] owner changed to 999 [2017-10-09T13:46:32+00:00] INFO: directory[Jetty_etcdir_creation] group changed to 999 [2017-10-09T13:46:32+00:00] INFO: directory[Jetty_etcdir_creation] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' * cookbook_file[//var/lib/jetty/etc/keystore] action create[2017-10-09T13:46:32+00:00] INFO: cookbook_file[//var/lib/jetty/etc/keystore] created file //var/lib/jetty/etc/keystore - create new file //var/lib/jetty/etc/keystore[2017-10-09T13:46:32+00:00] INFO: cookbook_file[//var/lib/jetty/etc/keystore] updated file contents //var/lib/jetty/etc/keystore - update content in file //var/lib/jetty/etc/keystore from none to beac97 (new content is binary, diff output suppressed)[2017-10-09T13:46:32+00:00] INFO: cookbook_file[//var/lib/jetty/etc/keystore] owner changed to 999 [2017-10-09T13:46:32+00:00] INFO: cookbook_file[//var/lib/jetty/etc/keystore] group changed to 999 [2017-10-09T13:46:33+00:00] INFO: cookbook_file[//var/lib/jetty/etc/keystore] mode changed to 755 - change mode from '' to '0755' - change owner from '' to 'jetty' - change group from '' to 'jetty' Recipe: sdc-catalog-fe::FE_7_create_jetty_modules * bash[create-jetty-modules] action run [execute] INFO: logging initialised in ${jetty.base}/start.d/logging.ini INFO: ssl initialised (transitively) in ${jetty.base}/start.d/ssl.ini INFO: https initialised in ${jetty.base}/start.d/https.ini INFO: Base directory was modified [2017-10-09T13:47:45+00:00] INFO: bash[create-jetty-modules] ran successfully - execute "bash" "/tmp/jetty/chef-script20171009-12-5nqc2g" * template[FE-http-ini] action create[2017-10-09T13:47:45+00:00] INFO: template[FE-http-ini] backed up to /root/chef-solo/backup//var/lib/jetty/start.d/http.ini.chef-20171009134745.363995 [2017-10-09T13:47:45+00:00] INFO: template[FE-http-ini] updated file contents //var/lib/jetty/start.d/http.ini - update content in file //var/lib/jetty/start.d/http.ini from 8b7de7 to f40409 --- //var/lib/jetty/start.d/http.ini 2017-09-14 06:35:06.000000000 +0000 +++ /var/lib/jetty/start.d/.chef-http20171009-12-gjrodd.ini 2017-10-09 13:47:45.271252243 +0000 @@ -1,4 +1,4 @@ -# --------------------------------------- +# --------------------------------------- # Module: http --module=http @@ -8,10 +8,10 @@ # jetty.http.host=0.0.0.0 ## Connector port to listen on -# jetty.http.port=8080 +jetty.http.port=8181 ## Connector idle timeout in milliseconds -# jetty.http.idleTimeout=30000 +jetty.http.idleTimeout=30000 ## Connector socket linger time in seconds (-1 to disable) # jetty.http.soLingerTime=-1 @@ -30,5 +30,4 @@ ## HTTP Compliance: RFC7230, RFC2616, LEGACY # jetty.http.compliance=RFC7230 -[2017-10-09T13:47:45+00:00] INFO: template[FE-http-ini] mode changed to 755 - change mode from '0644' to '0755' * template[FE-https-ini] action create[2017-10-09T13:47:45+00:00] INFO: template[FE-https-ini] backed up to /root/chef-solo/backup//var/lib/jetty/start.d/https.ini.chef-20171009134745.833952 [2017-10-09T13:47:45+00:00] INFO: template[FE-https-ini] updated file contents //var/lib/jetty/start.d/https.ini - update content in file //var/lib/jetty/start.d/https.ini from 971559 to 751612 --- //var/lib/jetty/start.d/https.ini 2017-10-09 13:47:44.783233508 +0000 +++ /var/lib/jetty/start.d/.chef-https20171009-12-1j7aqjx.ini 2017-10-09 13:47:45.791272218 +0000 @@ -1,6 +1,16 @@ -# --------------------------------------- +# --------------------------------------- # Module: https --module=https + +## HTTPS Configuration +# HTTP port to listen on +https.port=9443 + +# HTTPS idle timeout in milliseconds +jetty.https.idleTimeout=300000 + +# HTTPS Socket.soLingerTime in seconds. (-1 to disable) +# https.soLingerTime=-1 [2017-10-09T13:47:46+00:00] INFO: template[FE-https-ini] owner changed to 999 [2017-10-09T13:47:46+00:00] INFO: template[FE-https-ini] group changed to 999 [2017-10-09T13:47:46+00:00] INFO: template[FE-https-ini] mode changed to 755 - change mode from '0644' to '0755' - change owner from 'root' to 'jetty' - change group from 'root' to 'jetty' * template[ssl-ini] action create[2017-10-09T13:47:46+00:00] INFO: template[ssl-ini] backed up to /root/chef-solo/backup//var/lib/jetty/start.d/ssl.ini.chef-20171009134746.343328 [2017-10-09T13:47:46+00:00] INFO: template[ssl-ini] updated file contents //var/lib/jetty/start.d/ssl.ini - update content in file //var/lib/jetty/start.d/ssl.ini from 76c9e6 to 86e8c5 --- //var/lib/jetty/start.d/ssl.ini 2017-10-09 13:47:44.763232741 +0000 +++ /var/lib/jetty/start.d/.chef-ssl20171009-12-4ycb53.ini 2017-10-09 13:47:46.235289285 +0000 @@ -1,4 +1,4 @@ -# --------------------------------------- +# --------------------------------------- # Module: ssl --module=ssl @@ -8,7 +8,7 @@ # jetty.ssl.host=0.0.0.0 ## Connector port to listen on -# jetty.ssl.port=8443 +jetty.ssl.port=9443 ## Connector idle timeout in milliseconds # jetty.ssl.idleTimeout=30000 @@ -49,6 +49,7 @@ ## Keystore password # jetty.sslContext.keyStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 +jetty.sslContext.keyStorePassword=OBF:1cp61iuj194s194u194w194y1is31cok ## Keystore type and provider # jetty.sslContext.keyStoreType=JKS @@ -56,9 +57,11 @@ ## KeyManager password # jetty.sslContext.keyManagerPassword=OBF:1u2u1wml1z7s1z7a1wnl1u2g +jetty.sslContext.keyManagerPassword=OBF:1cp61iuj194s194u194w194y1is31cok ## Truststore password # jetty.sslContext.trustStorePassword=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 +jetty.sslContext.trustStorePassword=OBF:1cp61iuj194s194u194w194y1is31cok ## Truststore type and provider # jetty.sslContext.trustStoreType=JKS @@ -85,5 +88,4 @@ ## Allow SSL renegotiation # jetty.sslContext.renegotiationAllowed=true # jetty.sslContext.renegotiationLimit=5 -[2017-10-09T13:47:46+00:00] INFO: template[ssl-ini] owner changed to 999 [2017-10-09T13:47:46+00:00] INFO: template[ssl-ini] group changed to 999 [2017-10-09T13:47:46+00:00] INFO: template[ssl-ini] mode changed to 755 - change mode from '0644' to '0755' - change owner from 'root' to 'jetty' - change group from 'root' to 'jetty' * bash[echo status] action run [execute] ###### DOCKER STARTED ##### [2017-10-09T13:47:47+00:00] INFO: bash[echo status] ran successfully - execute "bash" "/tmp/jetty/chef-script20171009-12-nnezzt" [2017-10-09T13:47:49+00:00] INFO: Chef Run complete in 91.156560893 seconds Running handlers: [2017-10-09T13:47:49+00:00] INFO: Running report handlers Running handlers complete [2017-10-09T13:47:49+00:00] INFO: Report handlers complete Chef Client finished, 16/16 resources updated in 01 minutes 59 seconds [2017-10-09T13:47:49+00:00] WARN: ***************************************** [2017-10-09T13:47:49+00:00] WARN: Did not find config file: /solo.rb, using command line options. [2017-10-09T13:47:49+00:00] WARN: ***************************************** OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 2017-10-09 13:48:27.133:INFO::main: Logging initialized @36244ms 2017-10-09 13:48:34.649:INFO::main: Redirecting stderr/stdout to /var/lib/jetty/logs/2017_10_09.stderrout.log ubuntu@vm1-sdc:~$
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss