I downloaded kafka file manually and used your Dockerfile. Kakfa container is not starting. Do you want to join for a quick call. If yes, send me zoom invitation.
From: [email protected] [mailto:[email protected]] On Behalf Of GUDISENA, VARUNESHWAR Sent: Wednesday, September 13, 2017 6:45 PM To: [email protected] Cc: [email protected]; [email protected]; [email protected]; KOYA, RAMPRASAD <[email protected]> Subject: Re: [onap-discuss] 答复:Re:RE: 答复:Re:RE: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? ***Security Advisory: This Message Originated Outside of AT&T *** Reference http://cso.att.com/EmailSecurity/IDSP.html for more information. Working on it now. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] Sent: Wednesday, September 13, 2017 5:36 PM To: [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; KOYA, RAMPRASAD <[email protected]<mailto:[email protected]>>; GUDISENA, VARUNESHWAR <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: 答复:Re:RE: 答复:Re:RE: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? Greetings Varun, Is there any progress on this? Regards, Guangrong 原始邮件 发件人:付光荣10144542 收件人:[email protected]; 抄送人:田世伟10223543;彭聪聪6128000043;KOYA, RAMPRASAD;[email protected];付光荣10144542; 日期:2017-09-13 15:16:28 主题:Re:RE: 答复:Re:RE: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? Hi Varun, Attached is the Dockerfile we used to build the kafka docker. Please download kafka_2.9.2-0.8.1.1.tgz manually into the docker-compose directory and copy the Dockerfile into this directory as well. I'm not sure whether it is the problem of the kafka binary package we downloaded from the apache website. I've tried to download it again. The same error occurred over and over when I try to start it. If the docker you build using the Dockerfile attached works, I believe there must be something wrong in the MsgRtrApis.properties file. If so, I suggest you send the configuration file back to me in order that I could compare with that which is on my local machine. Thanks in advance. Guangrong Sender: FuGuangRong10144542 To: <[email protected]<mailto:[email protected]>>; CC: tianshiwei10223543;peng//cong/cong6128000043; <[email protected]<mailto:[email protected]>>; <[email protected]<mailto:[email protected]>>; Date: 2017/09/13 08:10 Subject: Re:RE: 答复:Re:RE: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? Varun, I set up a call just now. It'll start from 9:30 am, Sep. 13 (CST). The invitation has been sent to your mailbox, please check it for more details for the call. Thanks. Guangrong Sender: <[email protected]<mailto:[email protected]>>; To: FuGuangRong10144542; CC: tianshiwei10223543;peng//cong/cong6128000043; <[email protected]<mailto:[email protected]>>; <[email protected]<mailto:[email protected]>>; Date: 2017/09/13 00:39 Subject: RE: 答复:Re:RE: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? Guangrong, Lets have a call to set up DMaaP Message Router. On 09/12, I am available after 10 am CT. On 09/13, I am available after 9:30 am CT. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] Sent: Tuesday, September 12, 2017 11:25 AM To: [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; KOYA, RAMPRASAD <[email protected]<mailto:[email protected]>>; GUDISENA, VARUNESHWAR <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: 答复:Re:RE: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? Dear Varun, We've been stuck for two days. Have you looked into the problem? Your help is appreciated. Regards, Guangrong 原始邮件 发件人:付光荣10144542 收件人:vg411h; 抄送人:田世伟10223543;彭聪聪6128000043;rk541m;onap-discuss;付光荣10144542; 日期:2017-09-12 06:42:01 主题:答复:Re:RE: Re:RE: 答复:[dmaap]Where to Get Runnable DMaaP Docker(s)? 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<file:///\\%22rootfs_linux.go:54>: mounting \\\\\\\"/var/tmp/MsgRtrApi.properties\\\\\\\<file:///\\%22\var\tmp\MsgRtrApi.properties\>" to rootfs \\\\\\\"/var/lib/docker/devicemapper/mnt/89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d/rootfs\\\\\\\<file:///\\%22\var\lib\docker\devicemapper\mnt\89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d\rootfs\>" at \\\\\\\"/var/lib/docker/devicemapper/mnt/89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d/rootfs/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties\\\\\\\<file:///\\%22\var\lib\docker\devicemapper\mnt\89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d\rootfs\appl\dmaapMR1\bundleconfig\etc\appprops\MsgRtrApi.properties\>" caused \\\\\\\"not<file:///\\%22not> 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<file:///\\%22rootfs_linux.go:54>: mounting \\\\\\\"/var/tmp/MsgRtrApi.properties\\\\\\\<file:///\\%22\var\tmp\MsgRtrApi.properties\>" to rootfs \\\\\\\"/var/lib/docker/devicemapper/mnt/89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d/rootfs\\\\\\\<file:///\\%22\var\lib\docker\devicemapper\mnt\89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d\rootfs\>" at \\\\\\\"/var/lib/docker/devicemapper/mnt/89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d/rootfs/appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties\\\\\\\<file:///\\%22\var\lib\docker\devicemapper\mnt\89e9d62582d3f1b8bfec01c1b79a129a2fd68de5c6f01c7ff9a596659795fb9d\rootfs\appl\dmaapMR1\bundleconfig\etc\appprops\MsgRtrApi.properties\>" caused \\\\\\\"not<file:///\\%22not> 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]<mailto:[email protected]>>; To: fuguangrong10144542; CC: <[email protected]<mailto:[email protected]>>;tianshiwei10223543;pengcongcong6128000043; <[email protected]<mailto:[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<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_DMaaP-2BAPI&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=Yh5GppLg9ogQGldMLZe6RpmovRUIAPFGX-QBnd2per0&s=V7MzeOxCwMrKhnuFWNSjLUDcQswk_ySgxy4HXkMAzt0&e=> Are you able to set up DMaaP Message Router? From: GUDISENA, VARUNESHWAR Sent: Thursday, September 07, 2017 10:12 AM To: [email protected]<mailto:[email protected]> Cc: KOYA, RAMPRASAD <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_att_dmaap-2Dframework&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=Yh5GppLg9ogQGldMLZe6RpmovRUIAPFGX-QBnd2per0&s=A5-SmkRo_aXJYFTMhJNo2R-EVNU3vPwviWVUUat4elk&e=>/dmaap<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_att_dmaap-2Dframework_tree_master_dmaap&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=Yh5GppLg9ogQGldMLZe6RpmovRUIAPFGX-QBnd2per0&s=zzy6sw-xyNYSnBKr6GNm0p5LNAqC41gzspwWyURI9Js&e=>/src<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_att_dmaap-2Dframework_tree_master_dmaap_src&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=Yh5GppLg9ogQGldMLZe6RpmovRUIAPFGX-QBnd2per0&s=R_pmtvssWY3pq5IJL9sSYHwnhBv8cDLfdfdp-CRnPIg&e=>/main<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_att_dmaap-2Dframework_tree_master_dmaap_src_main&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=Yh5GppLg9ogQGldMLZe6RpmovRUIAPFGX-QBnd2per0&s=1UXF8tUKc6_De7xDijDCGC5rKfj1My-_JI1YySaM52E&e=>/resources<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_att_dmaap-2Dframework_tree_master_dmaap_src_main_resources&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=Yh5GppLg9ogQGldMLZe6RpmovRUIAPFGX-QBnd2per0&s=RPoOgXy5NYPl-D0WgXTVRogDOvzICSbYPNlxHoCCuI4&e=>/docker-compose<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_att_dmaap-2Dframework_tree_master_dmaap_src_main_resources_docker-2Dcompose&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=Yh5GppLg9ogQGldMLZe6RpmovRUIAPFGX-QBnd2per0&s=lAN4AV3h7RLwj_HDWRdYxqY64gPSOI5ORz2VVvgdCY8&e=>/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]> [mailto:[email protected]] Sent: Tuesday, September 05, 2017 6:57 PM To: GUDISENA, VARUNESHWAR <[email protected]<mailto:[email protected]>> Cc: KOYA, RAMPRASAD <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[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]<mailto:[email protected]>>; To: fuguangrong10144542; <[email protected]<mailto:[email protected]>>; CC: tianshiwei10223543;pengcongcong6128000043; <[email protected]<mailto:[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://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_att_dmaap-2Dframework&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=xXNkwGQOGXZKdLwm0RE47R96nZLETSALMJlwCqbd9wA&s=OrQalh7mviGi8Kega8CRULpCKw2Px4QaOtOVoGQyfmE&e=> https://wiki.onap.org/pages/viewpage.action?pageId=3247130<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_pages_viewpage.action-3FpageId-3D3247130&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=xXNkwGQOGXZKdLwm0RE47R96nZLETSALMJlwCqbd9wA&s=BRpZX3LnaaZj_2sbB9bl75uc6v2la0vbjBuPeyjrHh8&e=> https://github.com/att/dmaap-framework/wiki<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_att_dmaap-2Dframework_wiki&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=xXNkwGQOGXZKdLwm0RE47R96nZLETSALMJlwCqbd9wA&s=HGkR8Qfk4JJhzgmF0AjnNuxorSRGCCILnjZBU6aybUI&e=> Steps to run docker image: https://github.com/att/dmaap-framework/wiki/Steps-to-run-the-docker-image<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_att_dmaap-2Dframework_wiki_Steps-2Dto-2Drun-2Dthe-2Ddocker-2Dimage&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=xXNkwGQOGXZKdLwm0RE47R96nZLETSALMJlwCqbd9wA&s=zkDFkuOCG6jzj5R1jvJ9r5GU6tDumC26czKIOFzR8yg&e=> Testing the service: https://github.com/att/dmaap-framework/wiki/Message-Router-API-Call-unit-tests<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_att_dmaap-2Dframework_wiki_Message-2DRouter-2DAPI-2DCall-2Dunit-2Dtests&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=xXNkwGQOGXZKdLwm0RE47R96nZLETSALMJlwCqbd9wA&s=f0yrimt082XcF3y1c5GPWn8d0amEut-HlpsklFLIKdY&e=> 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]> [mailto:[email protected]] Sent: Tuesday, September 05, 2017 5:36 PM To: KOYA, RAMPRASAD <[email protected]<mailto:[email protected]>>; GUDISENA, VARUNESHWAR <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[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;彭聪聪6128000043;[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<https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus3.onap.orghttps-3A__nexus3.onap.org&d=DwQGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=S2qOaens2S1X5nqU95xJeA&m=4KRVN6OxgBz6YFBpho1iXE5r2M9GhvQb_tksW55qZiU&s=cQ0JaRve8OriBEV8wqTm4g0sYcSCEQzuQbhsnbr0pI4&e=>). 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
