Re: s2i-base ancestry

2016-09-19 Thread Ben Parees
On Sun, Sep 18, 2016 at 5:12 AM, Dale Bewley wrote: > > > - On Aug 28, 2016, at 9:28 PM, Ben Parees wrote: > > https://github.com/sclorg/rhscl-dockerfiles/tree/master/rhel7.s2i-base is > the future, so you should go off that, which as you noted generates > registry.access.redhat.com/rhscl/s2

Deleting a pod sometimes deletes the docker container and sometimes it doesn't

2016-09-19 Thread v
Hello, we have an issue with docker/openshfit. With Openshift 1.1.4 and Docker 1.8.2 we can delete a pod via "oc delete po" and the docker container is only stopped but not deleted. That means the container is still visible via "docker ps -a", /var/lib/docker/containers/[hash] still persits, "d

Re: CI/CD Pipeline & DSL

2016-09-19 Thread Charles Moulliard
Hi, I'm confused about this section of the doc : https://github.com/openshift /jenkins-plugin#jenkins-pipeline-formerly-workflow-plugin - Is Groovy DSL syntax still supported with Openshift Jenkins Pipeline ? Additional questions : - Is it the list of the jenkins plugins that we package with th

Why can't we delete a project with oc delete project

2016-09-19 Thread Charles Moulliard
Hi, When I use these openshift oc client commands in a bash shell script, then I get this error ## Log on with the dev user, create the vertx project Error from server: project "vertx-demo" already exists ## Add policies Error from server: User "vertx-dev" cannot get policybindings in project "ve

Re: CI/CD Pipeline & DSL

2016-09-19 Thread Ben Parees
On Mon, Sep 19, 2016 at 1:28 PM, Charles Moulliard wrote: > Hi, > > I'm confused about this section of the doc : https://github.com/openshift > /jenkins-plugin#jenkins-pipeline-formerly-workflow-plugin > > - Is Groovy DSL syntax still supported with Openshift Jenkins Pipeline ? > When using the

Re: Why can't we delete a project with oc delete project

2016-09-19 Thread Jordan Liggitt
The project already exists (so you get the "already exists" error), and the dev user must not have permissions in it. You'll need to delete it with a more highly privileged user like system:admin On Sep 19, 2016, at 7:37 AM, Charles Moulliard wrote: Hi, When I use these openshift oc client com

Version of the artifacts supported / OpenShift Release

2016-09-19 Thread Charles Moulliard
Hi, Is it defined somewhere for each OpenShift Artifacts (Template, DeploymentConfig, Buildconfig, ...), the version of the "syntax" supported according to the OpenShift Server (1.2, 1.3, ...) where it will be executed ? Syntax = Json or YAML Structure supported Example: The DeploymentConfig Temp

Trigger automatic deploy after pushing in openshift docker registry

2016-09-19 Thread Den Cowboy
Hi, At the moment we are pushing our images with tag 'latest' to the OpenShift Docker Registry. For example inside the test project. This will create and image-stream to that image + we start our container/service/pod with oc new-app my-image:latest. When we create a new image we build it ag

Re: Why can't we delete a project with oc delete project

2016-09-19 Thread Charles Moulliard
Thx fo the trick Jordan. My problem is solved. On Mon, Sep 19, 2016 at 2:36 PM, Jordan Liggitt wrote: > The project already exists (so you get the "already exists" error), and > the dev user must not have permissions in it. > > You'll need to delete it with a more highly privileged user like > s

Re: Deleting a pod sometimes deletes the docker container and sometimes it doesn't

2016-09-19 Thread Andy Goldstein
When you delete a pod, its containers should **always** be deleted. If they are not, this is a bug. Could you please elaborate what use case(s) you have for keeping the containers around? Thanks, Andy On Mon, Sep 19, 2016 at 5:09 AM, v wrote: > Hello, > > we have an issue with docker/openshfit

Re: Trigger automatic deploy after pushing in openshift docker registry

2016-09-19 Thread Clayton Coleman
Generally you would push to a tag (could be latest, could be "stable", could be "dev") and then when you accepted that image you could tag it in with "oc tag mystream:stable mystream:v1.3" to record which one was that version. Alternatively, every time you start a new release chain you could start

Re: Version of the artifacts supported / OpenShift Release

2016-09-19 Thread Clayton Coleman
That is generally the swagger docs (1.2 currently) listed here: https://github.com/openshift/origin/tree/master/api/swagger-spec On Mon, Sep 19, 2016 at 8:37 AM, Charles Moulliard wrote: > Hi, > > Is it defined somewhere for each OpenShift Artifacts (Template, > DeploymentConfig, Buildconfig, ..

Re: Kibana Visualization Sharing

2016-09-19 Thread Jeff Cantrill
This is a known issue captured https://trello.com/c/RLJbg6KX/385-share-kibana-user-dashboard and the referenced BZ. Bottom line is to achieve multi-tenancy using the Kibana version provided by the EFK stack, each user essentially has a 'profile' where there dashboards and visualizations are stored

Re: Version of the artifacts supported / OpenShift Release

2016-09-19 Thread Charles Moulliard
The Swagger GUI is available at this address : https://openshift-server:8443/swaggerapi https://www.dropbox.com/s/e0jeow7zoj70oyy/Screenshot%202016-09-19%2019.30.14.png?dl=0 On Mon, Sep 19, 2016 at 7:13 PM, Charles Moulliard wrote: > Is swagger packaged with OpenShift Origin to list the operati

Re: Version of the artifacts supported / OpenShift Release

2016-09-19 Thread Charles Moulliard
Is swagger packaged with OpenShift Origin to list the operations, ... ? On Mon, Sep 19, 2016 at 6:45 PM, Clayton Coleman wrote: > That is generally the swagger docs (1.2 currently) listed here: > https://github.com/openshift/origin/tree/master/api/swagger-spec > > On Mon, Sep 19, 2016 at 8:37 AM

Pod does not have Scale up/down buttons

2016-09-19 Thread Ravi Kapoor
I created following job definition. It successfully creates a service, pod and a route. I am able to access the website. It shows 1 Pod running, however, there are no scale up/down buttons in the UI. How can I scale this application up? ___ users mailing

Re: Pod does not have Scale up/down buttons

2016-09-19 Thread Ravi Kapoor
Once more, now with JSON { "kind": "List", "apiVersion": "v1beta3", "metadata": {}, "items": [ { "apiVersion": "v1", "kind": "Pod", "metadata": { "labels": { "name": "node-test" },

scenarios of entire app in a cluster unavailable

2016-09-19 Thread Srinivas Naga Kotaru (skotaru)
Trying to understand on which scenarios all the instances of an application running from cluster unavailable? OS upgrade failure?? Openshift upgrade bugs/failures/downtime? Router failures ?? Keepalive containers failed?? Floating IP shared by keepalive container had issues?? VXLAN bug or upgrade

Re: Can't run containers after advanced installation

2016-09-19 Thread Lionel Orellana
Adding -b=lbr0 --mtu=1450 to the docker daemon options in /etc/systemd/system/docker.service.d/startup.conf seems to fix it. The host already had docker installed so perhaps the installation didn't bother passing or somehow setting those options from /run/openshift-sdn/docker-network. On 16 Sep

how to set no_proxy for s2i registry push?

2016-09-19 Thread Lionel Orellana
Hi I'm getting this error when building the wildfly:10 builder sample on a containerised v1.3.0. ushing image 172.19.38.253:5000/bimorl/wildfly:latest ... Registry server Address: Registry server User Name: serviceaccount Registry server Email: serviceacco...@example.org Registry server Password

Re: how to set no_proxy for s2i registry push?

2016-09-19 Thread Lionel Orellana
Adding the registry's address to NO_PROXY in /etc/sysconfig/docker works. However it doesn't feel like something I should be changing by hand. Is this something I missed in the ansible configuration when installing? On 20 September 2016 at 14:09, Lionel Orellana wrote: > Hi > > I'm getting this

Re: CI/CD Pipeline & DSL

2016-09-19 Thread Charles Moulliard
On Mon, Sep 19, 2016 at 1:39 PM, Ben Parees wrote: > > > On Mon, Sep 19, 2016 at 1:28 PM, Charles Moulliard > wrote: > >> Hi, >> >> I'm confused about this section of the doc : https://github.com/openshift >> /jenkins-plugin#jenkins-pipeline-formerly-workflow-plugin >> >> - Is Groovy DSL syntax

Re: Version of the artifacts supported / OpenShift Release

2016-09-19 Thread Charles Moulliard
Using the Swagger API is certainly interesting but not enough if by example I would like to create a yaml or json file (BuildConfig, DeploymentConfig, ...) A developer could use this doc ( https://docs.openshift.org/latest/rest_api/openshift_v1.html#v1-buildconfig, https://docs.openshift.org/lates