However VID started experiencing a login 404 issue since at least a 28 July deployment (that looks like the issue in PORTAL-34 - but only in 1.0). I reverified the latest deploy and although the vid war starts up fine and a login attempt queries hibernate properly - the fusion redirect is not rendering properly and throws a 404 for the virtual url. This is on 1.0, I will switch back to 1.1 retest now that the AAI fix was merged on the 10th - portal looks to be OK - SDC license creation is proceeding)..
I would expect that no master changes affect the 1.0.0-release branch (no cherry picks since april) - all the heat env variables except github point to 1.0.
There was a fix for this 404 on 22 of July (merged later) that matches this issue - It does not make sense that we would need to backport this unless we are sharing docker images between 1.1 and 1.0
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
439c8829638f nexus3.onap.org:10001/openecomp/vid:1.0-STAGING-latest "/tmp/vid/localize.sh" 5 seconds ago Up 4 seconds 0.0.0.0:8080->8080/tcp vid-server
5462e63c9f7d mariadb:10 "docker-entrypoint..." 6 seconds ago Up 5 seconds 3306/tcp vid-mariadb
root@vm1-vid:~# docker logs -f vid-server
12-Aug-2017 13:22:19.195 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/tomcat/webapps/vid.war
13:22:33,068 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [EELFError]
12-Aug-2017 13:22:44.097 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/tomcat/webapps/vid.war has finished in 24,901 ms
Hibernate: select app0_.app_id as app_id1_12_0_, app0_.app_name as app_name2_12_0_, app0_.app_password as app_pass3_12_0_, app0_.app_username as app_user4_12_0_, app0_.app_image_url as app_imag5_12_0_, app0_.app_description as app_desc6_12_0_, app0_.app_notes as app_note7_12_0_, app0_.app_url as app_url8_12_0_, app0_.app_alternate_url as app_alte9_12_0_, app0_.app_rest_endpoint as app_res10_12_0_, app0_.ml_app_name as ml_app_11_12_0_, app0_.ml_app_admin_id as ml_app_12_12_0_, app0_.mots_id as mots_id13_12_0_, app0_.open as open14_12_0_, app0_.enabled as enabled15_12_0_, app0_.thumbnail as thumbna16_12_0_, app0_.ueb_key as ueb_key17_12_0_, app0_.ueb_secret as ueb_sec18_12_0_, app0_.ueb_topic_name as ueb_top19_12_0_ from fn_app app0_ where app0_.app_id=?
I need to debug portal
root@vm1-portal:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2962f5ecaeca widget-ms "sh -c 'java $JAVA..." 28 minutes ago Up 28 minutes 0.0.0.0:8082->8082/tcp ecomp-portal-widget-ms
f567af48a284 ep:latest "/configure-and-ru..." 28 minutes ago Up 28 minutes 0.0.0.0:8006->8005/tcp, 0.0.0.0:8010->8009/tcp, 0.0.0.0:8989->8080/tcp onap_portal
d4c28b3faf08 ecompdb:portal "docker-entrypoint..." 29 minutes ago Up 29 minutes ecompdb_portal
933111a734c4 mariadb "docker-entrypoint..." 29 minutes ago Created data_vol_portal
it is up
12-Aug-2017 13:52:54.556 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /opt/apache-tomcat-8.0.37/webapps/ECOMPPORTAL has finished in 27,155 ms
at org.openecomp.portalapp.portal.interceptor.SessionTimeoutInterceptor.preHandle(SessionTimeoutInterceptor.java:70)
at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:954)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
Update: login page is ok after a previous token expired.- however we are getting a 404 the rest call aai/v?/service-design-and-creation/services on the AAI container - will verify the schema version.
Failed to fetch services from A&AI: Response Code: 404
{
"requestError": {
"serviceException": {
"messageId": "SVC3001",
"text": "Resource not found for %1 using id %2 (msg=%3) (ec=%4)",
"variables": [
"GET",
"service-design-and-creation/services",
"Node Not Found:No Node of type service found at: service-design-and-creation/services",
"ERR.5.4.6114"
]
}
}
}
Team,
VID login in 20170812 1.1/master is OK (a public URL)
http://162.242.237.236:8080/vid/login.htm
However VID started experiencing a login 404 issue since at least a 28 July deployment (that looks like the issue in PORTAL-34 - but only in 1.0). I reverified the latest deploy and although the vid war starts up fine and a login attempt queries hibernate properly - the fusion redirect is not rendering properly and throws a 404 for the virtual url. This is on 1.0, I will switch back to 1.1 retest now that the AAI fix was merged on the 10th - portal looks to be OK - SDC license creation is proceeding)..
I would expect that no master changes affect the 1.0.0-release branch (no cherry picks since april) - all the heat env variables except github point to 1.0.
There was a fix for this 404 on 22 of July (merged later) that matches this issue - It does not make sense that we would need to backport this unless we are sharing docker images between 1.1 and 1.0
PORTAL-34 - Portal partners (Policy, VID) got 404 on landing page Closed
root@vm1-vid:~# tail -f /var/log/cloud-init-output.log
Cloning into 'vid'...
Already up-to-date.
Login Succeeded
1.0-STAGING-latest: Pulling from openecomp/vid
root@vm1-vid:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
439c8829638f nexus3.onap.org:10001/openecomp/vid:1.0-STAGING-latest "/tmp/vid/localize.sh" 5 seconds ago Up 4 seconds 0.0.0.0:8080->8080/tcp vid-server
5462e63c9f7d mariadb:10 "docker-entrypoint..." 6 seconds ago Up 5 seconds 3306/tcp vid-mariadb
root@vm1-vid:~# docker logs -f vid-server
12-Aug-2017 13:22:19.195 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/tomcat/webapps/vid.war
13:22:33,068 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [EELFError]
12-Aug-2017 13:22:44.097 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/tomcat/webapps/vid.war has finished in 24,901 ms
a curl on tomcat root is OK
root@vm1-vid:~# curl http://127.0.0.1:8080
<!DOCTYPE html><html lang="en"> <head><meta charset="UTF-8" /> <title>Apache Tomcat/8.0.45</title>
Normally you access vid via the demo user from the portal indirectly - a direct login attempt shows
http://162.242.237.55:8080/vid/login.htm
Hibernate: select app0_.app_id as app_id1_12_0_, app0_.app_name as app_name2_12_0_, app0_.app_password as app_pass3_12_0_, app0_.app_username as app_user4_12_0_, app0_.app_image_url as app_imag5_12_0_, app0_.app_description as app_desc6_12_0_, app0_.app_notes as app_note7_12_0_, app0_.app_url as app_url8_12_0_, app0_.app_alternate_url as app_alte9_12_0_, app0_.app_rest_endpoint as app_res10_12_0_, app0_.ml_app_name as ml_app_11_12_0_, app0_.ml_app_admin_id as ml_app_12_12_0_, app0_.mots_id as mots_id13_12_0_, app0_.open as open14_12_0_, app0_.enabled as enabled15_12_0_, app0_.thumbnail as thumbna16_12_0_, app0_.ueb_key as ueb_key17_12_0_, app0_.ueb_secret as ueb_sec18_12_0_, app0_.ueb_topic_name as ueb_top19_12_0_ from fn_app app0_ where app0_.app_id=?
I need to debug portal
root@vm1-portal:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2962f5ecaeca widget-ms "sh -c 'java $JAVA..." 28 minutes ago Up 28 minutes 0.0.0.0:8082->8082/tcp ecomp-portal-widget-ms
f567af48a284 ep:latest "/configure-and-ru..." 28 minutes ago Up 28 minutes 0.0.0.0:8006->8005/tcp, 0.0.0.0:8010->8009/tcp, 0.0.0.0:8989->8080/tcp onap_portal
d4c28b3faf08 ecompdb:portal "docker-entrypoint..." 29 minutes ago Up 29 minutes ecompdb_portal
933111a734c4 mariadb "docker-entrypoint..." 29 minutes ago Created data_vol_portal
it is up
12-Aug-2017 13:52:54.556 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /opt/apache-tomcat-8.0.37/webapps/ECOMPPORTAL has finished in 27,155 ms
but we are getting an NPE on login
2017-08-12T14:21:43.933Z||http-nio-8080-exec-3|||||org.openecomp.portalapp.portal.interceptor.SessionTimeoutInterceptor|||| java.lang.NullPointerException
at org.openecomp.portalapp.portal.interceptor.SessionTimeoutInterceptor.preHandle(SessionTimeoutInterceptor.java:70)
at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:954)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
Update: login page is ok after a previous token expired.- however we are getting a 404 the rest call aai/v?/service-design-and-creation/services on the AAI container - will verify the schema version.
Failed to fetch services from A&AI: Response Code: 404
/michael