Varun,Any idea on this? We are looking forward to your reply. Thanks. Guangrong
原始邮件 发件人:付光荣10144542 收件人:GUDISENA,VARUNESHWAR 抄送人:KOYA, RAMPRASAD田世伟10223543彭聪聪6128000043'[email protected]' 日期:2017-09-11 15:02:00 主题:Re:RE: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? Hi Vavun, When I try to start the dockers using docker-compose, errors below rose: ERROR: for dockercompose_dmaap_1 Cannot start service dmaap: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"rootfs_linux.go:54: mounting \\\\\\\"/var/tmp/MsgRtrApi.properties\\\\\\\" to rootfs \\\\\\\"/var/lib/docker/devicemapper/mnt/89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d/rootfs\\\\\\\" at \\\\\\\"/var/lib/docker/devicemapper/mnt/89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d/rootfs/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties\\\\\\\" caused \\\\\\\"not a directory\\\\\\\"\\\"\"\n" ERROR: for dmaap Cannot start service dmaap: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"rootfs_linux.go:54: mounting \\\\\\\"/var/tmp/MsgRtrApi.properties\\\\\\\" to rootfs \\\\\\\"/var/lib/docker/devicemapper/mnt/89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d/rootfs\\\\\\\" at \\\\\\\"/var/lib/docker/devicemapper/mnt/89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d/rootfs/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties\\\\\\\" caused \\\\\\\"not a directory\\\\\\\"\\\"\"\n" ERROR: Encountered errors while bringing up the project. Also, I've tried to start the dockers one by one. Still I got errors when I attempted to start kafka: [root@localhost docker-compose]# docker run --name dockercompose_kafka_1 -P dockercompose_kafka /usr/bin/start-kafka.sh: line 7: docker: command not found /usr/bin/start-kafka.sh: line 17: paste: command not found waiting for kafka to be ready [2017-09-11 07:04:14,746] FATAL (kafka.Kafka$) java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:592) at java.lang.Integer.parseInt(Integer.java:615) at scala.collection.immutable.StringLike$class.toInt(StringLike.scala:231) at scala.collection.immutable.StringOps.toInt(StringOps.scala:31) at kafka.utils.VerifiableProperties.getIntInRange(VerifiableProperties.scala:73) at kafka.utils.VerifiableProperties.getInt(VerifiableProperties.scala:56) at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:84) at kafka.server.KafkaConfig.<init>(KafkaConfig.scala:31) at kafka.Kafka$.main(Kafka.scala:35) at kafka.Kafka.main(Kafka.scala) I've followed your instruction to copy the MsgRtrApi.properties file into /var/temp/MsgRtrApi.properties/ on the host (not in the docker image) and modified the ip addresses accordingly. Could you please tell me how to fix this? Thanks. Guangrong Sender: <[email protected]> To: fuguangrong10144542 CC: <[email protected]>tianshiwei10223543pengcongcong6128000043 <[email protected]> Date: 2017/09/11 11:50 Subject: RE: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? I added one more API doc for DMaaP Message Router, which gives detailed api information. https://wiki.onap.org/display/DW/DMaaP+API Are you able to set up DMaaP Message Router? From: GUDISENA, VARUNESHWAR Sent: Thursday, September 07, 2017 10:12 AM To: [email protected] Cc: KOYA, RAMPRASAD <[email protected]> [email protected] [email protected] [email protected] Subject: RE: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? Additional change for Ubuntu: Add ‘ sync’ at the end of line 9 in ‘Dockerfile’ file. It is located at dmaap-framework/dmaap/src/main/resources/docker-compose/Dockerfile Currently it is RUN chmod a+x /tmp/download-kafka.sh After adding it will be : RUN chmod a+x /tmp/download-kafka.sh sync Let me know if you have any issues. From: [email protected] [mailto:[email protected]] Sent: Tuesday, September 05, 2017 6:57 PM To: GUDISENA, VARUNESHWAR <[email protected]> Cc: KOYA, RAMPRASAD <[email protected]> [email protected] [email protected] [email protected] Subject: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? Hi Varun, I'm so glad that you responded. Yes, we are using ubuntu 16.04. Could you please show me the changes in the script when using ubuntu? Thanks. Guangrong Sender: <[email protected]> To: fuguangrong10144542 <[email protected]> CC: tianshiwei10223543pengcongcong6128000043 <[email protected]> Date: 2017/09/06 06:54 Subject: RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? Guanrong, We had some issues with DMaaP repos and currently we are in process of releasing DMaaP Docker image. There was an issue working with DMaaP Message Router docker image in Jenkins. I am currently working with helpdesk to resolve it. In the meantime, you can get DMaaP docker image from github. Everything in github is same as in Gerrit repo except maven group id. Below are the links: Introduction: https://github.com/att/dmaap-framework https://wiki.onap.org/pages/viewpage.action?pageId=3247130 https://github.com/att/dmaap-framework/wiki Steps to run docker image: https://github.com/att/dmaap-framework/wiki/Steps-to-run-the-docker-image Testing the service: https://github.com/att/dmaap-framework/wiki/Message-Router-API-Call-unit-tests Additional changes required for docker image. 1) Copy MsgRtrApi.properties to the location /var/tmp/MsgRtrApi.properties, and change properties config.zk.servers, kafka.metadata.broker.list to point to respective docker ip address. 2) There is one more additional change in the script, if you are running on Ubuntu. For Centos, no change in script is required. Are you using Ubuntu? Varuneshwar Gudisena Sr. Software Engineer (Contractor) AT&T Services, Inc. 211 S Akard St, Dallas ,TX 75202 Ph: 617-834-4157 From: [email protected] [mailto:[email protected]] Sent: Tuesday, September 05, 2017 5:36 PM To: KOYA, RAMPRASAD <[email protected]> GUDISENA, VARUNESHWAR <[email protected]> Cc: [email protected] [email protected] [email protected] Subject: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? Hi, Could anybody from the DMaaP team help to answer the question? Thanks. Guangrong 原始邮件 发件人:付光荣10144542 收件人:[email protected][email protected] 抄送人:田世伟10223543彭聪聪[email protected] 日期:2017-09-05 18:46:59 主题:[dmaap]Where to Get Runnable DMaaP Docker(s)? Greetings guys, I'm writing to ask where we can get a runnable DMaaP docker. I remember that at the first DMaaP weekly meeting two weeks ago, you said that you were going to upload the DMaaP docker to the ONAP repo. Is it there now? I see a couple of DMaaP dockers with different names and tags in the repo (https://nexus3.onap.orghttps://nexus3.onap.org). If you have pushed the docker, could you please tell me which one I should fetch for the sake of testing of the conectivity, availability and functionalities? Best Regards, Guangrong
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
