-
Bug
-
Resolution: Done
-
Highest
-
Frankfurt Release
-
None
the ETSI Catalog Manager Pod is failing to start up, it looks like it is attempting to connect “msb-iag” over port 80, however the latest OOM “msb-iag” configuration only uses port 443.
This completely blocks testing the SO-SDC Enhancements User Story, as the ETSI Catalog Manager keeps crashing.
Could you please take a look at this failure as the highest priority item?
Thanks.
--------------------------------------------------
Logs from ETSI Catalog Manager Pod:
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
SERVICE_IP=10.42.1.61
MSB_ADDR=msb-iag:80
MYSQL_ADDR=modeling-db:3306
Wait for MSB initialization
curl: (28) Connection timed out after 1001 milliseconds
curl: (28) Connection timed out after 1000 milliseconds
curl: (28) Connection timed out after 1000 milliseconds
curl: (28) Connection timed out after 1001 milliseconds
curl: (28) Connection timed out after 1001 milliseconds
Wait for DB initialization
curl: (1) Received HTTP/0.9 when not allowed
curl: (1) Received HTTP/0.9 when not allowed
curl: (1) Received HTTP/0.9 when not allowed
curl: (1) Received HTTP/0.9 when not allowed
curl: (1) Received HTTP/0.9 when not allowed
MYSQL_ADDR=modeling-db:3306
- Copyright 2017 ZTE Corporation.
#
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- [MSB]
MSB_SERVICE_IP = 'msb-iag'
MSB_SERVICE_PORT = '80'
- [REDIS]
- REDIS_HOST = '127.0.0.1'
- REDIS_PORT = '6379'
- REDIS_PASSWD = ''
- [mysql]
DB_IP = 'modeling-db'
DB_PORT = 3306
DB_NAME = "etsicatalog"
DB_USER = "etsicatalog"
DB_PASSWD = "etsicatalog"
- [MDC]
SERVICE_NAME = "catalog"
FORWARDED_FOR_FIELDS = ["HTTP_X_FORWARDED_FOR", "HTTP_X_FORWARDED_HOST",
"HTTP_X_FORWARDED_SERVER"]
- [register]
REG_TO_MSB_WHEN_START = True
REG_TO_MSB_REG_URL = "/api/microservices/v1/services"
REG_TO_MSB_REG_PARAM = [{
"serviceName": "catalog",
"version": "v1",
"url": "/api/catalog/v1",
"protocol": "REST",
"visualRange": "1",
"nodes": [
{ "ip": "10.42.1.61", "port": "8806", "ttl": 0 }]
}, {
"serviceName": "nsd",
"version": "v1",
"url": "/api/nsd/v1",
"protocol": "REST",
"visualRange": "1",
"nodes": [
{ "ip": "10.42.1.61", "port": "8806", "ttl": 0 }]
}, {
"serviceName": "vnfpkgm",
"version": "v1",
"url": "/api/vnfpkgm/v1",
"protocol": "REST",
"visualRange": "1",
"nodes": [
{ "ip": "10.42.1.61", "port": "8806", "ttl": 0 }]
}, {
"serviceName": "parser",
"version": "v1",
"url": "/api/parser/v1",
"protocol": "REST",
"visualRange": "1",
"nodes": [
{ "ip": "10.42.1.61", "port": "8806", "ttl": 0 }]
}]
MSB_SVC_CALALOG_URL = "/api/microservices/v1/services/catalog/version/v1"
MSB_SVC_NSD_URL = "/api/microservices/v1/services/nsd/version/v1"
MSB_SVC_VNFPKGM_URL = "/api/microservices/v1/services/vnfpkgm/version/v1"
MSB_SVC_PARSER_URL = "/api/microservices/v1/services/parser/version/v1"
- catalog path(values is defined in settings.py)
CATALOG_ROOT_PATH = None
CATALOG_URL_PATH = None
- [sdc config]
SDC_BASE_URL = "https://msb-iag/api"
SDC_USER = "aai"
SDC_PASSWD = "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
VNFD_SCHEMA_VERSION_DEFAULT = "base"
start create etsicatalog db
Create etsicatalog database successfully
/usr/local/lib/python3.6/site-packages/onaplogging/logWatchDog.py:29: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
return yaml.load(f.read())
Traceback (most recent call last):
File "/usr/local/lib/python3.6/logging/config.py", line 565, in configure
handler = self.configure_handler(handlers[name])
File "/usr/local/lib/python3.6/logging/config.py", line 738, in configure_handler
result = factory(**kwargs)
File "/usr/local/lib/python3.6/logging/handlers.py", line 150, in _init_
BaseRotatingHandler._init_(self, filename, mode, encoding, delay)
File "/usr/local/lib/python3.6/logging/handlers.py", line 57, in _init_
logging.FileHandler._init_(self, filename, mode, encoding, delay)
File "/usr/local/lib/python3.6/logging/_init.py", line 1032, in __init_
StreamHandler._init_(self, self._open())
File "/usr/local/lib/python3.6/logging/_init_.py", line 1061, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
FileNotFoundError: [Errno 2] No such file or directory: '/var/log/onap/modeling/etsicatalog/runtime_catalog.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/onaplogging/logWatchDog.py", line 83, in _yamlConfig
config.dictConfig(dictConfig)
File "/usr/local/lib/python3.6/logging/config.py", line 802, in dictConfig
dictConfigClass(config).configure()
File "/usr/local/lib/python3.6/logging/config.py", line 573, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'catalog_handler': [Errno 2] No such file or directory: '/var/log/onap/modeling/etsicatalog/runtime_catalog.log'
Traceback (most recent call last):
File "/service/modeling/etsicatalog/catalog/pub/utils/restcall.py", line 68, in call_req
raise ex
File "/service/modeling/etsicatalog/catalog/pub/utils/restcall.py", line 51, in call_req
resp, resp_content = http.request(full_url, method=method.upper(), body=content, headers=headers)
File "/usr/local/lib/python3.6/site-packages/httplib2/_init_.py", line 1926, in request
cachekey,
File "/usr/local/lib/python3.6/site-packages/httplib2/_init_.py", line 1595, in _request
conn, request_uri, method, body, headers
File "/usr/local/lib/python3.6/site-packages/httplib2/_init_.py", line 1501, in _conn_request
conn.connect()
File "/usr/local/lib/python3.6/site-packages/httplib2/_init_.py", line 1356, in connect
raise socket_err
File "/usr/local/lib/python3.6/site-packages/httplib2/_init_.py", line 1289, in connect
sock.connect((self.host, self.port))
OSError: [Errno 113] Host is unreachable
[2c85c424-534b-11ea-9b97-3a311e983aaa]ret=(<class 'OSError'>, OSError(113, 'Host is unreachable'), <traceback object at 0x7fa4ab0a8d48>)