Git Product home page Git Product logo

adb-atomic-developer-bundle's People

Contributors

bexelbie avatar cctrieloff avatar concaf avatar coolbrg avatar dharmit avatar dustymabe avatar gbraad avatar goern avatar hferentschik avatar humaton avatar jasonbrooks avatar kadel avatar kbsingh avatar lalatendumohanty avatar langdon avatar langdondw avatar mscherer avatar navidshaikh avatar nurav avatar optak avatar opuk avatar praveenkumar avatar preeticp avatar rimolive avatar shawnlower avatar strzibny avatar thatdocslady avatar tkdchen avatar voxik avatar vrutkovs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adb-atomic-developer-bundle's Issues

Docker service is failing to start with latest build of the vagrant box

Read #68 (comment)
Scratch build: https://cbs.centos.org/koji/taskinfo?taskID=18983

CC @navidshaikh

sudo systemctl status docker
docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled)
  Drop-In: /usr/lib/systemd/system/docker.service.d
           └─flannel.conf
   Active: failed (Result: exit-code) since Wed 2015-08-19 11:31:22 EDT; 5min ago
     Docs: http://docs.docker.com
  Process: 814 ExecStart=/usr/bin/docker -d $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY (code=exited, status=1/FAILURE)
 Main PID: 814 (code=exited, status=1/FAILURE)
   CGroup: /system.slice/docker.service

Aug 19 11:31:22 localhost.localdomain docker[814]: time="2015-08-19T11:31:22.503471246-04:00" level=info msg="Listening for HTTP on unix (/var/run/docker.sock)"
Aug 19 11:31:22 localhost.localdomain docker[814]: time="2015-08-19T11:31:22.544865763-04:00" level=fatal msg="Error starting daemon: error initializing graphdriver: Unknown option dm.fs"
Aug 19 11:31:22 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Aug 19 11:31:22 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
Aug 19 11:31:22 localhost.localdomain systemd[1]: Unit docker.service entered failed state.

Provide pointers to language & platform specific analysis & visualisation tools?

This isn't an urgent question, but rather a more general question regarding documentation scope (once we have a clear documentation story...). One of the challenges with open source programming can be in finding recommendations for good tools to pair up with your chosen programming language. Folks that opt for an all-inclusive IDE can get a reasonable selection, but there often isn't a good starting place for finding independent analysis programs, or looking into platform specific tools like strace et al for *nix, or sysinternals for Windows.

For Python, for example, there's http://www.vrplumber.com/programming/runsnakerun/ for visualising profiler results and memory usage (wxPython based) and https://jiffyclub.github.io/snakeviz/ for a different view of profiler results (browser based), as well as pylint for structural code checking, and mypy for more advanced static analysis (based on type inference).

For Fedora/RHEL/CentOS generally, there are the components that go into making up the RHEL Developer Toolset (https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/3-Beta/html-single/User_Guide/index.html#tabl-Red_Hat_Developer_Toolset-About), while for JBoss (and the JVM in general) there are those that go into JBoss Developer Studio (https://www.jboss.org/products/devstudio/overview/).

For JavaScript and PHP, projects like Facebook's Nuclide IDE provide a good way for new developers to gain from the experience of Facebook's web and mobile development teams.

Possibly rename to BCL?

A question that occasionally comes up with the current ADB name is the possible confusion with the Android Developer Bundle.

I thought of BCL in terms of "the upstream for the RHEL CDK", and then realised there was a nice backronym for that: Build Containers Locally

(It should really be BCJ, but I can't think of a neat backronym for that)

Do the recommended storage setupfor Docker in the vagrant box

Issue by LalatenduMohanty
Thursday Jul 30, 2015 at 11:49 GMT
Originally opened as LalatenduMohanty/centos7-container-app-vagrant-box#53


In newer builds of atomicapp vagrant box we are seeing below issue. This issue will be used to see if the issue is with the Vagrant box.

vagrant@localhost ~]$ docker --version
Docker version 1.6.2, build ba1f6c3/1.6.2

vagrant@localhost ~]$ sudo docker pull centos/httpd
latest: Pulling from docker.io/centos/httpd
6941bfcbbfca: Pull complete
6941bfcbbfca: Download complete
41459f052977: Download complete
fd44297e2ddb: Error downloading dependent layers
06d0d6cc01fc: Download complete
1634f53d8d34: Download complete
f5d7d1d76e27: Download complete
72d3df4bba94: Download complete
4617321b355e: Download complete
9f74023d48fc: Download complete
d3d3700d1c33: Download complete
dabbf6687da0: Download complete
9c9ec0c21871: Download complete
9c9ec0c21871: Error pulling image (latest) from docker.io/centos/httpd, Driver devicemapper failed to create image rootfs fd44297e2ddb050ec4fa9752b7a4e3a8439061991886e2091e7c1f007c906d75: Error running DeviceCreFATA[0109] Error pulling image (latest) from docker.io/centos/httpd, Driver devicemapper failed to create image rootfs fd44297e2ddb050ec4fa9752b7a4e3a8439061991886e2091e7c1f007c906d75: Error running DeviceCreate (createSnapDevice) dm_task_run failed 

Pods are not created with present setup of kubernetes-1.0.0 in atomicapp/dev

With latest atomicapp/dev box, I am unable to create the pods

[vagrant@localhost ~]$ rpm -q docker kubernetes
docker-1.7.1-108.el7.centos.x86_64
kubernetes-1.0.0-0.8.gitb2dafda.el7.x86_64

[vagrant@localhost ~]$ kubectl get nodes
NAME        LABELS                             STATUS
127.0.0.1   kubernetes.io/hostname=127.0.0.1   Ready

[vagrant@localhost ~]$ kubectl get rc
CONTROLLER   CONTAINER(S)   IMAGE(S)   SELECTOR   REPLICAS

[vagrant@localhost ~]$ kubectl get pods
NAME      READY     STATUS    RESTARTS   AGE

[vagrant@localhost ~]$ kubectl run nginx --image=nginx
CONTROLLER   CONTAINER(S)   IMAGE(S)   SELECTOR    REPLICAS
nginx        nginx          nginx      run=nginx   1

[vagrant@localhost ~]$ kubectl get pods
NAME      READY     STATUS    RESTARTS   AGE

[vagrant@localhost ~]$ # waited for few mins, no activity

[vagrant@localhost ~]$ kubectl get pods
NAME      READY     STATUS    RESTARTS   AGE

[vagrant@localhost ~]$ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

[vagrant@localhost ~]$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE

[vagrant@localhost ~]$ systemctl status kube-apiserver
kube-apiserver.service - Kubernetes API Server
   Loaded: loaded (/etc/systemd/system/kube-apiserver.service; enabled)
   Active: active (running) since Fri 2015-08-21 05:05:34 EDT; 39min ago
     Docs: https://github.com/GoogleCloudPlatform/kubernetes
 Main PID: 16063 (kube-apiserver)
   CGroup: /system.slice/kube-apiserver.service
           └─16063 /usr/bin/kube-apiserver --logtostderr=true --v=0 --etcd_servers=http://127.0.0.1:2379 --address=127.0.0.1 --allow_privileged=false --service-cluster-ip-range=10.254.0.0/16 --admission_contr...

All the required services for getting the pod up are running. There is no activity happening, for eg: no image is pulled, neither there is an in entry for pod in kubectl get pod command.

Streamline testing for accessibility, "mobile friendliness", etc

If developers are able to easily deploy a demonstration version of their application/site to a public container based hosting service (e.g. Google Container Engine, the next generation of OpenShift Online), then there are a wide range of public quality assessment services they can take advantage of.

For accessibility testing, the W3C provide some suggested services at http://www.w3.org/wiki/Accessibility_testing#Semi-automated_accessibility_checkers, in particular http://achecker.ca/checker/index.php for WCAG 2.0 compliance checking, and http://juicystudio.com/services/csstest.php for checking perceptibility and scalability of CSS colour choices and font sizes.

Google provides a "mobile friendliness" assessment as part of their webmaster services: https://www.google.com/webmasters/tools/mobile-friendly/ (along with associated documentation: https://developers.google.com/webmasters/mobile-sites/get-started/)

TAW (http://www.tawdis.net/ingles.html?lang=en) offers checkers for WCAG 1.0, WCAG 2.0 and mobile friendliness

(As with #8, the starting point for this would likely just be through documentation, with automated assistance following at a later date)

expose ports available from within VM to the host

user story

As a developer
I run the CDK and
I 'atomic run projectatomic/helloapache',
so that I can access it with my browser running on my laptop

rational

As a developer using windows for development, I want to test my new containers on the CDK. Doing this tests will involve looking at the web interface. Most native way: open the browser on the host and have a look at... ja?! where?

Build a secondary bleeding-dev box that tracks upstream versions closer

Issue by kbsingh
Tuesday May 12, 2015 at 10:25 GMT
Originally opened as LalatenduMohanty/centos7-container-app-vagrant-box#17


It might be a good option to create a second vagrant box that tracks all the upstream versions for the core components we care about here : atomic, kuberneties and docker ( maybe from the virt7-sig ? )

This would be in addition to the default dev box that continues to track downstream versions of these components ( to match the default CentOS-7/x86_64 user experience ).

Include newer version of atomic command

Issue by vpavlin
Friday Jul 17, 2015 at 11:40 GMT
Originally opened as LalatenduMohanty/centos7-container-app-vagrant-box#43


In projectatomic/atomic@c97e5d3 there was an addition of $OPTx feature which lets you to modify labels when running atomic install|run|uninstall|stop commands. We merge the patch for Atomic App using this feate and thus we need to get a newer version of atomic into the dev box.

i.e. newer than commit c97e5d3255b85c715fbbb8e17945beffeefc2332

Increase the space available for the initial docker-pool

Issue by bexelbie
Tuesday Jul 28, 2015 at 13:05 GMT
Originally opened as LalatenduMohanty/centos7-container-app-vagrant-box#52


Currently, we are using a disk size of 10GB and we allocate the majority of the space as the output below shows.

$ sudo lvs
  LV          VG         Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  LogVol00    VolGroup00 -wi-ao----   7.97g                                                    
  LogVol01    VolGroup00 -wi-ao----   1.50g                                                    
  docker-pool VolGroup00 twi-aot--- 256.00m             89.06  0.21  

As a consequence, the docker-pool starts out very small. We should consider either increasing the size of the disk or resizing LogVol00 down and leaving more space for docker.

Virtual Box image needs guest additions

Issue by kbsingh
Tuesday May 12, 2015 at 11:34 GMT
Originally opened as LalatenduMohanty/centos7-container-app-vagrant-box#19


We might need to get guest additions added to the vbox image, lots of features in vagrant rely on those. eg:
default: No guest additions were detected on the base box for this VM! Guest
default: additions are required for forwarded ports, shared folders, host only
default: networking, and more. If SSH fails on this machine, please install
default: the guest additions and repackage the box to continue.

K8s setup broken after updating to 1.0.0-0.8.gitb2dafda.el7

K8s setup is broken after updating to latest k8ns bits of CentOS7 i.e. kubernetes 0:1.0.0-0.8.gitb2dafda.el7

[vagrant@localhost ~]$ kubectl get nodes
error: Failed to negotiate an api version. Server supports: map[v1beta1:{} v1beta2:{} v1beta3:{}]. Client supports: [v1].

The latest build of the atomicapp vagrant box is used [1] for reproducing this issue.
[1] https://cbs.centos.org/koji/taskinfo?taskID=16911 or you can use https://atlas.hashicorp.com/atomicapp/boxes/dev-testing

Steps to reproduce:

  • vagrant init atomicapp/dev-testing
  • vagrant up
  • vagrant ssh
  • sudo kubectl get nodes
  • sudo yum update -y
  • sudo kubectl get nodes
[root@xx xxx]#  vagrant ssh

[vagrant@localhost ~]$ kubectl get nodes
NAME        LABELS                             STATUS
127.0.0.1   kubernetes.io/hostname=127.0.0.1   Ready

[vagrant@localhost ~]$  sudo yum update -y

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dependency Installed:
  python-sqlalchemy.x86_64 0:0.9.8-1.el7                                                                                                                                                                           
Updated:
  atomic.x86_64 0:1.0-108.el7.centos                    docker.x86_64 0:1.7.1-108.el7.centos                docker-python.x86_64 0:1.4.0-108.el7.centos              docker-registry.x86_64 0:0.9.1-7.el7          
  docker-selinux.x86_64 0:1.7.1-108.el7.centos          etcd.x86_64 0:2.0.13-2.el7                          flannel.x86_64 0:0.2.0-10.el7                            kubernetes.x86_64 0:1.0.0-0.8.gitb2dafda.el7  
  kubernetes-master.x86_64 0:1.0.0-0.8.gitb2dafda.el7   kubernetes-node.x86_64 0:1.0.0-0.8.gitb2dafda.el7   python-websocket-client.noarch 0:0.14.1-108.el7.centos   tzdata.noarch 0:2015f-1.el7                   

[vagrant@localhost ~]$ kubectl get nodes
error: Failed to negotiate an api version. Server supports: map[v1beta1:{} v1beta2:{} v1beta3:{}]. Client supports: [v1].

Restarting the service does not help

[vagrant@localhost ~]$ sudo systemctl restart kube-apiserver.service 

[vagrant@localhost ~]$ kubectl get nodes
error: couldn't read version from server: Get http://localhost:8080/api: dial tcp 127.0.0.1:8080: connection refused

After yum update, I rebooted the machine and got below error

[vagrant@localhost ~]$ kubectl get nodes
error: couldn't read version from server: Get http://localhost:8080/api: dial tcp 127.0.0.1:8080: connection refused

Looks like port 8080 is not available in the vagrant box

[vagrant@localhost ~]$ telnet localhost 8080
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

flannel package in box

Since we are using a single box as k8s master and node, we do not need flannel package in the box.
flannel to be used for overlay network provisioning connection between containers pinned on different k8s nodes.
Thoughts?

Expose Docker Daemon Port

Issue by bexelbie
Monday Jul 27, 2015 at 09:39 GMT
Originally opened as LalatenduMohanty/centos7-container-app-vagrant-box#49


The Docker Daemon port needs to be exposed and TLS certificates made available to the host so that the box can be used as a docker provider on non-linux hosts and so that external tools, such as eclipse can work with the docker daemon in the box.

I believe that by default, we should use port forwarding and create a port on localhost that is forwarded to the docker daemon. We should document using a private_network IP to accomplish the same task. We should also generate a tls certificate pair and place the appropriate component on the host for future use.

A small program or plugin can be to set up environment variables for host consumers.

Opinions/ideas welcome.

Repo required for python-sqlalchemy is missing in vagrant image build command

While building vagrant box image at koji, python-sqlalchemy package is pulled as dependency for the enlisted packages to be installed in the image.
Repos specified in the koji image build command does not contain python-sqlalchemy package, causing the image to fail, unless added a repo having the package in question.

Fill in an initial README

I'd like to start adding components for working with Fedora and CentOS as well as with RHEL, but would appreciate at least a few clues towards getting started, rather than reverse engineering what I need to add from what's currently there for RHEL :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.