Hello Viswa,

I have tried the IT Test, it seems to be fine from my side. Is that possible to 
send me the detailed logs regarding to your error?

Just one thing to mention, during the IT Test, it will start 2 containers 
automatically: mariaDB container and python container. While starting the 
python container, it will request internet connection to install some python 
package. If you don’t have the connection to the internet, the package 
installation might hang and eventually the test will fail due to time out.

For successful case, you should see logs similar as below. But if python 
container can not install the package successfully, you will see the logs 
hanging on the line in red.
[INFO] DOCKER> [library/mariadb:10.1.11] "mariadb": Start container d3a9efa382d0
[INFO] DOCKER> Pattern 'socket: '/var/run/mysqld/mysqld.sock'  port: 3306  
mariadb.org binary distribution' matched for container d3a9efa382d0
[INFO] DOCKER> [library/mariadb:10.1.11] "mariadb": Waited on log out 'socket: 
'/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution' 
14606 ms
[INFO] DOCKER> [library/python:2-slim] "python": Start container 19b53b1e6f4e
[INFO] DOCKER> [library/python:2-slim] "python": Waiting for ports [8080] 
directly on container with IP (172.17.0.3).
[INFO] DOCKER> [library/python:2-slim] "python": Waited on tcp port 
'[/172.17.0.3:8080]' 3040 ms

Kr,

Xue


From: [email protected] <[email protected]> On Behalf Of Gao, 
Xue
Sent: Monday, July 23, 2018 9:40 AM
To: [email protected]; [email protected]
Subject: Re: [Onap-seccom] [onap-discuss] [clamp] Unable to run CLAMP from 
source

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.

Hello Viswa,

The latest Clamp uses AAF certificate for authentication, and the keyfile is 
one of the file used for the certificate authentication. So in order to make it 
work, you need to put the good keyfile, trust store and key store file under 
the folder /opt/clamp/config of the container.

We didn’t put any default files since the certificate might be different in 
different environment, but if you want to test, some sample files could be 
found under the following folder of the clamp project:

[cid:[email protected]]


I will check on the issue with IT test enables and will let you know the result.

Kr,

Xue


From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
Viswanath Kumar Skand Priya via Lists.Onap.Org
Sent: Saturday, July 21, 2018 8:00 PM
To: onap-discuss 
<[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] [clamp] Unable to run CLAMP from source

Dear CLAMP Team,

I'm trying to build CLAMP from source ( master ) and trying to deploy local 
docker images. I'm using OSX as part of development setup.

When I build CLAMP "including" IT, as part of docker IT test, execution keeps 
stalling while waiting for port 8080 to comeup.

On skipping the IT and building docker images, while trying to use 
docker-compose up, clamp_clamp_1 container keeps exiting.

Inspecting the logs, I could see that tomcat is unable to init due to keystore 
issue. PFB logs

clamp_1              | 17:47:52.465 [localhost-startStop-1] INFO  
org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing 
Spring embedded WebApplicationContext
third_party_proxy_1  |   Downloading 
https://files.pythonhosted.org/packages/e3/24/c35fb1c1c315fc0fffe61ea00d3f88e85469004713dab488dee4f35b0aff/simplejson-3.16.0.tar.gz<https://urldefense.proofpoint.com/v2/url?u=https-3A__files.pythonhosted.org_packages_e3_24_c35fb1c1c315fc0fffe61ea00d3f88e85469004713dab488dee4f35b0aff_simplejson-2D3.16.0.tar.gz&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=ySTRq0iuckTawXrFCjgNAQ&m=dFUNtTFTQV3Lpu7W4MvYAmJplM7NbP0o93uOfmUAV-4&s=cP1VtBXNLEcZPxGSd2abDNkxf6JhbzUPMBDKN7k94ss&e=>
 (81kB)
clamp_1              | 17:47:53.084 [localhost-startStop-1] INFO  
org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - 
2018-07-21T17:47:53.083+0000 INIT [cadi] cadi_keyfile points to 
/opt/clamp/config/org.onap.clamp.keyfile
clamp_1              | 17:47:53.094 [localhost-startStop-1] ERROR 
org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - 
2018-07-21T17:47:53.092+0000 ERROR [cadi] Cannot load keyfile
clamp_1              | java.io.IOException: Invalid Key
clamp_1              |            at 
org.onap.aaf.cadi.Symm.obtain(Symm.java:616)
clamp_1              |            at 
org.onap.aaf.cadi.Symm.obtain(Symm.java:555)
clamp_1              |            at 
org.onap.aaf.cadi.PropAccess.init(PropAccess.java:130)
clamp_1              |            at 
org.onap.aaf.cadi.ServletContextAccess.<init>(ServletContextAccess.java:41)
clamp_1              |            at 
org.onap.aaf.cadi.filter.CadiFilter.init(CadiFilter.java:129)
clamp_1              |            at 
org.onap.clamp.clds.filter.ClampCadiFilter.init(ClampCadiFilter.java:80)

Could you please let me know what I'm missing here?

BR,
Viswa

[http://ss7.vzw.com/is/image/VerizonWireless/vz-sig-verizon?$defaultscale$]<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.verizon.com&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=ySTRq0iuckTawXrFCjgNAQ&m=dFUNtTFTQV3Lpu7W4MvYAmJplM7NbP0o93uOfmUAV-4&s=sAwbB5XcCYjgSBDwKXHXIMmRjjoaryixe5uqTv7YWQw&e=>

Viswanath Kumar Skand Priya
Senior Architect
Technology, Architecture & Planning



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11353): https://lists.onap.org/g/onap-discuss/message/11353
Mute This Topic: https://lists.onap.org/mt/23777541/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to