5 answers
- 10-1
please look into question sdc-FE docker container is not starting up while creating jetty modules
Add your comment... - 10-1
hi,
the FE and BE dockers were never tested inside a corporate network.
this is something that we will need to work on.
but from your description, i think the issue is inside the VM you are using.
i suggest you start any docker and try to ping from inside it to test that you have connectivity from the docker to the outside.
Add your comment... - 10-1
Adding http environment variables are no use. If it fails at creating_jetty_modules then sdc-FE container will crash but sdc-BE may still work. after docker entry point container performs few Chef runs and it failing. Perhaps somehow we need to pass environment variables to java/jetty?
Add your comment... - 10-1
Is your BE container running? To begin with, check `docker logs <fe-container>` and `docker logs <be-container>`.
Add your comment... - 10-1
I just deleted my stack, but from my memory I would say it is under /data/logs/FE/<date-of-logfile>, likewise is BE (replace FE by BE in the path).
Add your comment...
As part of SDC, SDC-FE is not coming up. All other containers are up & running. I also see a connection refused error.
Could you please let me know where to find log files for FE, so that I can take a look at them and understand what is missing ?
Thanks. I used docker logs <container ID> and here's what I found :
This one is similar to sdc-FE docker container is not starting up while creating jetty modules but I'm not sure.
Could someone help me resolve this Keystore issue?
https://raw.githubusercontent.com/eclipse/jetty.project/master/jetty-server/src/test/config/etc/keystore?id=master to ${jetty.base}/etc/keystore java.net.UnknownHostException: raw.githubusercontent.com
This looks pretty much like an DNS error: The container does not know how to resolve raw.githubusercontent.com into an IP address. This can have a couple of reason. You may start with
and see whether the ping is able to do the translation. I would guess not. Do the same on the VM running the sdc-FE container
You may post your /etc/resolv.conf from the sdc-FE container as well as from the SDC VM. Also check that the DNS server configuration allows recursive - that might help if you do not have other DNS servers configured.
It does look like a firewall issue. I belies the link you mentioned describes a similar issue. Try to resolve this by running the containers with appropriate environment variables (https_proxy, HTTPS_PROXY).
Josef Reisinger Vitaly Emporopulo - I tried all possible combination in specifying https proxy. Unfortunately I'm behind corporate proxy and I cannot have a direct connection. Could you let me know why the container crashes ? If we can let the container running, I can generate Keystore files using start.jar --create-files option. But right now, as soon I start FE container, it crashes.
Unfortunately I don't have an environment to simulate your issue right now, bu I would probably do the following:
Did you try the workaround suggested in sdc-FE docker container is not starting up while creating jetty modules?
I must say that I too experience a lot of problems because of the corporate proxy/firewall.
Vitaly Emporopulo - Even if I run FE image with /bin/bash entry point, container is crashing. I tried following.
docker run -ti --name "viswa" --entrypoint "/bin/bash" nexus3.onap.org:10001/openecomp/sdc-frontend:1.0-STAGING-latest
Notice -ti to run in the interactive mode.
Vitaly Emporopulo - Thanks for suggesting ti mode. However if I commit the image and re-use it, the entry point is always set to /bin/bash.
Could you please let me know how to re-use this image correctly ?
BR,
Viswa
Try to use the same trick - run the modified image with
This is really a workaround to get you started. It looks like support for proxies should be added to the docker images beyond the environment variables. I see Jetty uses a standard Java connection, so an image must allow passing proxy configuration as described in Java Networking and Proxies. I will raise an issue to get this fixed.
Viswanath KSP where you successful?