[ 
https://issues.apache.org/jira/browse/BIGTOP-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14177830#comment-14177830
 ] 

jay vyas edited comment on BIGTOP-1417 at 10/21/14 2:02 AM:
------------------------------------------------------------

!! ** SUCCESS ** !!

[~evans_ye] [~rvs] finally some progress on this front :) we are on the verge 
of a reproducible docker container for bigtop.  !!!!!!!!! 

I found that {{selinux-enabled}} is in my docker options was breaking 
provisioning.... you can see it in 

{noformat}
[root@localhost docker-puppet]# service docker status
Redirecting to /bin/systemctl status  docker.service
docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; static)
   Active: active (running) since Mon 2014-10-20 21:48:29 EDT; 1min 25s ago
     Docs: http://docs.docker.com
 Main PID: 4396 (docker)
   CGroup: /system.slice/docker.service
           └─4396 /usr/bin/docker -d -H fd:// --selinux-enabled
{noformat}

[~evans_ye] - I think that is what was causing the problem......... 

Now the puppet provisioner runs just fine, after i removed that..............  

**LESSON LEARNED : If you want to ssh into your docker containers, make check 
if  --selinux-enabled is turned on !**

+1 to the patch.  Shall i commit ????????????? 


was (Author: jayunit100):
!! ** SUCCESS ** !!

[~evans_ye] [~rvs] finally some progress on this front :) we are on the verge 
of a reproducible docker container for bigtop.  !!!!!!!!! 

I found that {{selinux-enabled}} is in my docker options was breaking 
provisioning.... you can see it in 

{noformat}
[root@localhost docker-puppet]# service docker status
Redirecting to /bin/systemctl status  docker.service
docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; static)
   Active: active (running) since Mon 2014-10-20 21:48:29 EDT; 1min 25s ago
     Docs: http://docs.docker.com
 Main PID: 4396 (docker)
   CGroup: /system.slice/docker.service
           └─4396 /usr/bin/docker -d -H fd:// --selinux-enabled
{noformat}

[~evans_ye] - I think that is what was causing the problem......... 

Now the puppet provisioner runs just fine, after i removed that..............  

LESSON LEARNED : If you want to ssh into your docker containers, make check if  
--selinux-enabled is turned on !

+1 to the patch.  Shall i commit ????????????? 

> Dockerize the puppetized vagrant deployer
> -----------------------------------------
>
>                 Key: BIGTOP-1417
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1417
>             Project: Bigtop
>          Issue Type: New Feature
>          Components: deployment
>    Affects Versions: 0.7.0
>            Reporter: Evans Ye
>            Priority: Minor
>             Fix For: 0.9.0
>
>         Attachments: BIGTOP-1417.1.patch, BIGTOP-1417.2.patch, 
> BIGTOP-1417.3.patch, BIGTOP-1417.4.patch, BIGTOP-1417.5.patch, 
> BIGTOP-1417.6.patch, BIGTOP-1417.pdf
>
>
> This is one of the bigtop's dockerize task which mainly focus on deploying 
> bigtop hadoop cluster using 
> [bigtop-puppet|https://github.com/apache/bigtop/tree/master/bigtop-deploy/puppet]
>  on top of docker containers.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to