Wildfly with path-based routing

2016-04-16 Thread Lionel Orellana
Hi All, I asked this in stackoverflow so apologies for "doubling up" but I'm not sure where are people more active. I have Wildfly 10 running on Openshift Origin 3 in AWS with an ela

Re: Wildfly with path-based routing

2016-04-16 Thread Lionel Orellana
7 April 2016 at 01:31, Clayton Coleman wrote: > > > On Apr 16, 2016, at 4:42 AM, Lionel Orellana wrote: > > > Hi All, > > I asked this in stackoverflow > <http://stackoverflow.com/questions/36661656/wildfly-on-openshift-3-with-path-base-routing-and-accessible-console>

oc cluster up - dns issue?

2016-07-26 Thread Lionel Orellana
Hi I'm trying the new cluster up command. It seems to run Ok and I can deploy an app (Jenkins, from the template) that also seems to start fine. But I can't hit it. When I go to the url shown in the route chrome says "site can't be reached". If I login to the host I can curl the aplication on the

Re: oc cluster up - dns issue?

2016-07-26 Thread Lionel Orellana
Forgot to mention Openshift v1.3.0-alpha.2 Docker 1.11.2 Ubuntu 15.10 On Wed, 27 Jul 2016 at 3:17 PM, Lionel Orellana wrote: > Hi > > I'm trying the new cluster up command. It seems to run Ok and I can deploy > an app (Jenkins, from the template) that also seems to start fi

Re: oc cluster up - dns issue?

2016-07-26 Thread Lionel Orellana
Further info $ oc get endpoints --namespace=default --selector=router NAME ENDPOINTS AGE router 1h Router has no endpoints? On Wed, 27 Jul 2016 at 3:22 PM, Lionel Orellana wrote: > Forgot to mention > > Openshift v1.3.0-alpha.2 > Docker 1.11.2 > Ubuntu 15.10 > > On

Re: oc cluster up - dns issue?

2016-07-27 Thread Lionel Orellana
On 27 July 2016 at 16:08, Lionel Orellana wrote: > Further info > > $ oc get endpoints --namespace=default --selector=router > > NAME ENDPOINTS AGE > router 1h > > Router has no endpoints? > > > > On Wed, 27 Jul 2016 at 3:22 PM, Lionel Orellana > wrote:

Re: oc cluster up - dns issue?

2016-07-27 Thread Lionel Orellana
get pods -n default)? > > > > On Jul 27, 2016, at 7:12 AM, Lionel Orellana wrote: > > My iptables has these rules. Is this normal? > > Chain KUBE-SERVICES (1 references) > target prot opt source destination > REJECT tcp -- 0.0.0.0/0172.30

Re: oc cluster up - dns issue?

2016-07-27 Thread Lionel Orellana
Even running cluster up as root the router can't bind to ports 80 and 443. On Wed, 27 Jul 2016 at 9:52 PM, Lionel Orellana wrote: > Don't think so. > > $ sudo netstat -tulpn > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Fore

Re: oc cluster up - dns issue?

2016-07-29 Thread Lionel Orellana
gt; running from containers with host networking? The router runs with > --net=host, so it's possible this is a docker 1.11 bug (although I haven't > heard anyone report that yet). > > On Wed, Jul 27, 2016 at 7:12 PM, Lionel Orellana > wrote: > >> Even running cluste

No external access inside container

2016-08-01 Thread Lionel Orellana
Hello I ran a cluster with oc cluster up and deployed Jenkins from the provided template. I can acces Jenkins and login. But I need to setup our company proxy so Jenkins can access external sites (eg. Github.com). >From within the container (oc rsh jenkins-5-xg14g) curl fails to connect to github

Re: No external access inside container

2016-08-03 Thread Lionel Orellana
arees wrote: > On Mon, Aug 1, 2016 at 11:07 PM, Lionel Orellana > wrote: > >> Hello >> >> I ran a cluster with oc cluster up and deployed Jenkins from the provided >> template. I can acces Jenkins and login. But I need to setup our company >> proxy so Jenkins

cluster up - reuse registry address

2016-08-07 Thread Lionel Orellana
Hi I'm facing a similar problem to this: https://github.com/openshift/origin/issues/7879 Basically I need to configure the NO_PROXY variable of the Docker deamon to include the registry address. Problem is with cluster up I can't control the ip address that will be assigned to the registry. Or at

Re: cluster up - reuse registry address

2016-08-07 Thread Lionel Orellana
; > $ oadm registry -o yaml > registry.yaml > $ vi registry.yaml > # Set the registry service `spec.clusterIP` field to a valid service > IP (must be within the service CIDR, typically 172.30.0.0/16) > $ oc create -f registry.yaml > > > On Sun, Aug 7,

Re: cluster up - reuse registry address

2016-08-08 Thread Lionel Orellana
ter up --host-data-dir=blah --host-config-dir=blah >> --use-existing-config >> >> On Aug 7, 2016, at 9:17 PM, Lionel Orellana wrote: >> >> Thanks Clayton. >> >> Would be nice to have a way of setting the address when using cluster up >> though. >>

Re: cluster up - reuse registry address

2016-08-08 Thread Lionel Orellana
I guess what I need is a way to configure the proxy as per https://docs.openshift.org/latest/install_config/http_proxies.html#configuring-hosts-for-proxies On Tue, 9 Aug 2016 at 10:05 AM, Lionel Orellana wrote: > It's been difficult to get a functional poc going with oc cluster up &g

Re: cluster up - reuse registry address

2016-08-09 Thread Lionel Orellana
7.0.3,172.17.0.4 This might be causing some of my problems. The fact that I can't set more than one ip address in no_proxy. On 9 August 2016 at 11:18, Lionel Orellana wrote: > I guess what I need is a way to configure the proxy as per > https://docs.openshift.org/latest/install_confi

Re: cluster up - reuse registry address

2016-08-09 Thread Lionel Orellana
t 10:31 PM, Lionel Orellana wrote: > Setting the log level to 4 I found the following > > Starting OpenShift using container 'origin' > > I0809 22:21:26.415373 20151 run.go:143] Creating container named "origin" > > config: > > image: ope

Re: cluster up - reuse registry address

2016-08-11 Thread Lionel Orellana
Yes. On 10 August 2016 at 18:04, Cesar Wong wrote: > Lionel, > > So is it working for you now? > > On Aug 9, 2016, at 11:10 PM, Lionel Orellana wrote: > > Digging through the go libraries used for parsing the command options I > found that setting the no_proxy variable

s2i maven proxy

2016-08-12 Thread Lionel Orellana
Hi, I'm trying to run the Wildfly 10 template from the console. I found how to set the proxy variables for git and it is pulling down the repo fine. But maven can't connect to central. Unknown host repo1.maven.org: unknown error I've tried different environment variables with no luck strate

Re: s2i maven proxy

2016-08-12 Thread Lionel Orellana
Got it. name: MAVEN_OPTS value: '-DproxyHost=http:// <http://172.30.192.51:3128/> -DproxyPort=' On 13 August 2016 at 08:08, Lionel Orellana wrote: > Hi, > > I'm trying to run the Wildfly 10 template from the console. > > I found how to set the proxy vari

Registry login with service account

2016-08-21 Thread Lionel Orellana
Hi I'm trying to use a service account to push images to the openshift registry. I am able to login and push with a regular user token obtained from oc whoami -t. But that token expires after a while so I need a more permanent solution. I created a service account and added the following roles:

Re: Registry login with service account

2016-08-21 Thread Lionel Orellana
ing a role to user that doesn't exist. On Mon, 22 Aug 2016 at 2:24 PM, Lionel Orellana wrote: > Hi > > I'm trying to use a service account to push images to the openshift > registry. > > I am able to login and push with a regular user token obtained from oc > whoam

Re: Origin v1.3.0 released

2016-09-16 Thread Lionel Orellana
Thanks Clayton. Congrats to all on the new release! Just a few hours earlier I was installing 1.3.0rc1 using ansible. Good chance now for me to learn how upgrades work. I'm trying to upgrade to 1.3 using openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_3/upgrade.yml. I set the opens

Can't run containers after advanced installation

2016-09-16 Thread Lionel Orellana
Hi All I installed Origin v1.3.0-rc1 (unaware of the imminent 1.3 release) using the ansible method. Everything seemed to have installed Ok. But whenever I try to build or run anything I get this type of error: Error syncing pod, skipping: failed to "StartContainer" for "POD" with RunContainerErr

Re: Can't run containers after advanced installation

2016-09-19 Thread Lionel Orellana
On 16 September 2016 at 17:57, Lionel Orellana wrote: > Hi All > > I installed Origin v1.3.0-rc1 (unaware of the imminent 1.3 release) using > the ansible method. > Everything seemed to have installed Ok. But whenever I try to build or run > anything I get this type of error

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 &g

Modifying existing advanced installation

2016-09-20 Thread Lionel Orellana
Hello I want to configure LDAP authentication on my existing cluster. Instead of manually modifying the master config file, can I add the new settings to my Ansible inventory and rerun the config playbook? Does it know to only apply the new configuration? Generally speaking, is this the best way

Jenkins plugin - binary build

2016-09-26 Thread Lionel Orellana
Hi Is it possible to trigger a binary build in Jenkins using the openshiftBuild step? I'm basically trying to run something like oc start-build --from-dir= but there's no option to pass from-dir in the openshiftBuild step. Are there plans to support this? Thanks Lionel.

Re: Jenkins plugin - binary build

2016-09-27 Thread Lionel Orellana
POST call the > source to build as a tar, zip, or tar.gz > > On Sep 27, 2016, at 6:35 AM, Ben Parees wrote: > > > > On Sep 27, 2016 2:10 AM, "Lionel Orellana" wrote: > > > > Hi > > > > Is it possible to trigger a binary build in Jenkins using >

Re: Jenkins plugin - binary build

2016-09-27 Thread Lionel Orellana
Adding the edit cluster role seems to work. oadm policy add-cluster-role-to-user edit system:serviceaccount:jenkins:jenkins But is feels I'm giving it too much access. I tried with role system:build-controller but that wasn't enough. On 28 September 2016 at 14:00, Lionel Orell

Binary build - numeric overflow in sparse archive member

2016-09-27 Thread Lionel Orellana
Hi Running start-build with --from-dir option is resulting in the following output. Uploading directory "transaction-authority-lite" as binary input for the build ... build "transaction-auth-lite-3" started Receiving source from STDIN as archive ... Extracting... tar: CoreUtils.java.svn-base:

Re: Jenkins plugin - binary build

2016-09-28 Thread Lionel Orellana
need to > explicitly log in. > > On Sep 28, 2016, at 1:40 AM, Lionel Orellana wrote: > > Adding the edit cluster role seems to work. > > oadm policy add-cluster-role-to-user edit system:serviceaccount:jenkins: > jenkins > > But is feels I'm giving it too much acce

Re: Modifying existing advanced installation

2016-09-28 Thread Lionel Orellana
Thanks Jason. Good to know I'm on the right track. On 23 September 2016 at 03:52, Jason DeTiberus wrote: > > > On Tue, Sep 20, 2016 at 4:07 AM, Lionel Orellana > wrote: > >> Hello >> >> I want to configure LDAP authentication on my existing cluster. &

Re: Jenkins plugin - binary build

2016-10-03 Thread Lionel Orellana
No, I started with the image provided by the jenkins guys. On 30 September 2016 at 01:22, Ben Parees wrote: > > > On Thu, Sep 29, 2016 at 12:05 AM, Lionel Orellana > wrote: > >> Ah I am running Jenkins inside a pod and invoking oc from there. Thanks >> for the tip

Failed to remove orphaned pod - device or resource busy

2016-10-03 Thread Lionel Orellana
Hi All, I had a v1.3 cluster with a master and a node going. Both servers were rebooted over the weekend and all hell broke loose. The registry, the router and all apps I had running have stopped working. I see quite a few of these errors in the logs: Oct 04 17:14:07 poc-docker02.aipo.gov.au or

Re: Failed to remove orphaned pod - device or resource busy

2016-10-03 Thread Lionel Orellana
All the "device or resource busy" errors seem related to tmpfs mounts for secret volumes. On 4 October 2016 at 17:32, Lionel Orellana wrote: > Hi All, > > I had a v1.3 cluster with a master and a node going. Both servers were > rebooted over the weekend and all hel

Re: Failed to remove orphaned pod - device or resource busy

2016-10-04 Thread Lionel Orellana
lumes/ kubernetes.io~secret/router-token-5qacw -bash-4.2$ Restarting the docker daemon doesn't get rid of them. I'm well and truly stuck. On 4 October 2016 at 17:40, Lionel Orellana wrote: > All the "device or resource busy" errors seem related to tmpfs mounts for > secr

Re: Failed to remove orphaned pod - device or resource busy

2016-10-04 Thread Lionel Orellana
docker run hello-world works. On Tue., 4 Oct. 2016 at 8:06 pm, Michail Kargakis wrote: > Can you run docker containers directly via the docker command? > > On Tue, Oct 4, 2016 at 10:18 AM, Lionel Orellana > wrote: > > The deployment of the router hangs in Pending statu

Re: Jenkins plugin - binary build

2016-10-04 Thread Lionel Orellana
I wanted to use Jenkins v2 which you didn't have an image for. I see that there is one now. I'll have to consider if it's worth switching over. On 4 October 2016 at 09:54, Ben Parees wrote: > > > On Mon, Oct 3, 2016 at 6:28 PM, Lionel Orellana > wrote: > &

docker build-arg

2016-10-05 Thread Lionel Orellana
Hi All, Is there a way to specify a build-arg to a docker build. I have a Dockerfile with an ARG statement and I would like to run something equivalent to $docker build --build-arg ARG1=value ./build-dir My docker buildconfig is setup and I can trigger new builds without the arg as $oc start-b

Re: Jenkins plugin - binary build

2016-10-05 Thread Lionel Orellana
The Jenkins v2 image is not yet available in docker hub is it? On 5 October 2016 at 16:24, Lionel Orellana wrote: > I wanted to use Jenkins v2 which you didn't have an image for. I see that > there is one now. I'll have to consider if it's worth switching over. > >

Re: Jenkins plugin - binary build

2016-10-05 Thread Lionel Orellana
59 AM, "Lionel Orellana" wrote: > >> The Jenkins v2 image is not yet available in docker hub is it? >> > > ​it wasn't, but it is now: openshift/jenkins-2-centos7​ > > > >> >> On 5 October 2016 at 16:24, Lionel Orellana wrote: >> >

Re: Jenkins plugin - binary build

2016-10-05 Thread Lionel Orellana
Ok thanks Ben. On 6 October 2016 at 13:01, Ben Parees wrote: > > > On Wed, Oct 5, 2016 at 6:48 PM, Lionel Orellana > wrote: > >> Can you tag the Jenkins images with the Jenkins version you are using or >> some other convention? I don't like using latest and get

Node fails to start after system reboot

2016-10-09 Thread Lionel Orellana
Hi, I'm getting this error on my nodes after the host has rebooted. Oct 10 09:22:13 poc-docker02.aipo.gov.au systemd[1]: Job origin-node.service/start failed with result 'dependency'. Oct 10 09:22:23 poc-docker02.aipo.gov.au systemd[1]: Dependency failed for origin-node.service. -- Subject: Unit

Re: Node fails to start after system reboot

2016-10-09 Thread Lionel Orellana
r ps -a CONTAINER IDIMAGE COMMAND CREATED STATUS PORTS NAMES # On 10 October 2016 at 09:44, Lionel Orellana wrote: > Hi, > > I'm getting this error on my nodes after the host has rebooted. > > Oct 10 09:22:13

Re: Node fails to start after system reboot

2016-10-09 Thread Lionel Orellana
ocker Root Dir: /var/lib/docker WARNING: bridge-nf-call-iptables is disabled WARNING: bridge-nf-call-ip6tables is disabled Registries: docker.io (secure) On 10 October 2016 at 10:36, Lionel Orellana wrote: > I deleted all containers with > > docker rm -v $(docker ps -q -f sta

External Oracle service

2016-10-10 Thread Lionel Orellana
Hello I've seen some articles on how to define an external service for mysql ( https://docs.openshift.com/container-platform/3.3/dev_guide/integrating_external_services.html ). Does the same method apply to an external Oracle database? I don't understand where the variable *EXTERNAL_MYSQL_SERVIC

Re: Node fails to start after system reboot

2016-10-10 Thread Lionel Orellana
Apparently we had run out of disk space on the node. I couldn't recover from that even after clearing space and deleting /var/lib/docker. Had to throw away the node and start again. Wonder if there was a better way of handling this. On 10 October 2016 at 12:12, Lionel Orellana

Re: External Oracle service

2016-10-10 Thread Lionel Orellana
the value of *EXTERNAL_MYSQL_SERVICE_SERVICE_HOST *injected. On 11 October 2016 at 16:43, Lionel Orellana wrote: > Hello > > I've seen some articles on how to define an external service for mysql ( > https://docs.openshift.com/container-platform/3.3/dev_ > guide/integrating_ex

Red Hat images doco

2016-10-12 Thread Lionel Orellana
Hi Is there any doco on Red Hat's JBoss images? With Wildfly I can go to github to see how the image is built. Looking at the Dockerfile is very useful too to understand what's going on. Red Hat's registry ( registry .access.redhat.com) doesn't give any useful info. Is there a correlation between

Re: Red Hat images doco

2016-10-12 Thread Lionel Orellana
Never mind me. It's all in the customer portal. On 12 October 2016 at 21:57, Lionel Orellana wrote: > Hi > > Is there any doco on Red Hat's JBoss images? With Wildfly I can go to > github to see how the image is built. Looking at the Dockerfile is very > useful too to u

Re: Promoting deploymentconfigs etc. from dev->testing->production

2016-10-12 Thread Lionel Orellana
May I ask in relation to this, how do you define an "environment" at the moment? My first instinct was to create a project for one app and configure different service/deployments referencing different image tags (e.g. dev, test, etc). Given that all services within a project are automatically injec

Re: Promoting deploymentconfigs etc. from dev->testing->production

2016-10-12 Thread Lionel Orellana
ees wrote: > > > On Wed, Oct 12, 2016 at 10:04 PM, Lionel Orellana > wrote: > >> May I ask in relation to this, how do you define an "environment" at the >> moment? My first instinct was to create a project for one app and configure >> different service/d

jboss-eap64-openshift quickstart maven proxy

2016-10-13 Thread Lionel Orellana
Hi I'm trying to run the jboss-eap64-openshift quickstart but the build is failing to download from maven central. [ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.bom.eap:jboss-javaee-6.0-with-tools:pom:6.4.0.GA from/to central ( https://repo1.maven.org/maven2): Connectio

Re: Does NFS PVC wipe existing data before attaching?

2016-10-13 Thread Lionel Orellana
In my limited experimentation I had problems with NFS PVs getting wiped out even though the policy was set to Retain. In fact I ended up in this situation where if I created a file in the NFS volume it was deleted in front of my eyes in a few seconds. Obviously I did something very wrong with the P

Re: jboss-eap64-openshift quickstart maven proxy

2016-10-13 Thread Lionel Orellana
ld_defaults_overrides.html > > Cheers, > > Jim > > -- > Jim Minter > Principal Software Engineer, Red Hat UK > > > On 13/10/16 08:27, Lionel Orellana wrote: > >> Hi >> >> I'm trying to run the jboss-eap64-openshift quickstart but the build

Re: jboss-eap64-openshift quickstart maven proxy

2016-10-13 Thread Lionel Orellana
;> [1] https://access.redhat.com/documentation/en/red-hat-xpaas/0/s >>> ingle/red-hat-xpaas-eap-image/#environment_variables_3 >>> [2] https://docs.openshift.com/container-platform/3.3/install_co >>> nfig/build_defaults_overrides.html >>> >>> Cheers,

RHEL image

2016-10-18 Thread Lionel Orellana
Hi Is there an officially supported image of RHEL? I see all the xPaaS images in the customer portal but nothing about a plain RHEL image like there is for Centos. Thanks Lionel. ___ users mailing list users@lists.openshift.redhat.com http://lists.open

Re: RHEL image

2016-10-18 Thread Lionel Orellana
t 5:49 PM, Lionel Orellana > wrote: > >> Hi >> >> Is there an officially supported image of RHEL? I see all the xPaaS >> images in the customer portal but nothing about a plain RHEL image like >> there is for Centos. >> > > Yes, there is: https://acces

Re: RHEL image

2016-10-18 Thread Lionel Orellana
Also, how do I see what tags are available for those images in the redhat registry? On 19 October 2016 at 12:15, Lionel Orellana wrote: > Thanks Jonathan. Should have tried that. > > At the risk of asking another silly question, is there a way to easily > know what version of RH

Re: RHEL image

2016-10-18 Thread Lionel Orellana
I suppose I can do this but what version of EAP (and RHEL) does each tag map to? https://registry.access.redhat.com/v1/repositories/jboss-eap-6/eap64-openshift/tags On 19 October 2016 at 14:19, Lionel Orellana wrote: > Also, how do I see what tags are available for those images in the red

Re: RHEL image

2016-10-19 Thread Lionel Orellana
Oct 18, 2016 at 11:27 PM, Lionel Orellana > wrote: > >> I suppose I can do this but what version of EAP (and RHEL) does each tag >> map to? >> >> https://registry.access.redhat.com/v1/repositories/jboss- >> eap-6/eap64-openshift/tags >> >> On 19 Octob

Re: RHEL image

2016-10-20 Thread Lionel Orellana
What's the difference between *rhel7* and *rhel7/rhel* ? On 20 October 2016 at 15:31, Lionel Orellana wrote: > Thanks Daniel. > > That and a handy version.txt file in the EAP images will do. > > sudo docker run -it jboss-eap-6/eap64-openshift:1.4-13 cat > /opt/ea

prune images error - 503

2016-10-25 Thread Lionel Orellana
Hi. I'm trying to run oadm prune images --keep-tag-revisions=3 --keep-younger-than=24h --confirm but after a while I get error: error communicating with registry: unexpected status code 503 I am able to prune builds and deployments. prune images without --confirm also returns Ok. I've been bu

Re: prune images error - 503

2016-10-25 Thread Lionel Orellana
on pruning images this command reaches out to registry to actually > remove them from there. Apparently, it has has problems reaching out > to your registry. There are two flags you might want to check out > --certificate-authority - which points to a CA when self-signed cert is > used > --reg

Re: prune images error - 503

2016-10-25 Thread Lionel Orellana
It might be trying to go through the proxy. >From the master this works. curl -v --noproxy 172.19.38.253 http://172.19.38.253:5000/healthz On 26 October 2016 at 09:04, Lionel Orellana wrote: > Hi Maciej > > Here's what I got from the prune logs. > > I1026 08:54:32.2009

JBoss EAP xPAAS - Oracle JDK

2016-11-02 Thread Lionel Orellana
Hi, Are there any plans to include other JDK's in the JBoss EAP xPAAS images? We run all our apps with Oracle JDK at the moment. Changing JDK's is not something we want to do as part of a migration to Openshift. I can extend your image and add Oracle's jdk but this is something others probably hav

Container PermGen expcetion kills entire node

2016-11-06 Thread Lionel Orellana
Hi, A Jenkins job running on Openshift generated a PermGen expcetion. I ran the job a couple more times to see if it would pass. I then realised that my two nodes had completely crashed. (i.e. I can't even login to the hosts, they have to be forcibly rebooted). Leaving aside the reason for the P

Re: Container PermGen expcetion kills entire node

2016-11-06 Thread Lionel Orellana
I don't. openshift v1.3.0 docker v1.10.3 On 7 November 2016 at 09:57, Clayton Coleman wrote: > Do you have resource limits defined on your Jenkins jobs containers? > What version of OpenShift and Docker? > > > On Nov 6, 2016, at 2:23 PM, Lionel Orellana wrote: > >

JBoss cluster

2016-11-17 Thread Lionel Orellana
Hi, I'm trying to run Jboss cluster using the eap64-basic-s2i v1.3.2 template on Origin 1.3. The application built and deployed fined. The second one started fine but I can't tell if it joined the existing cluster. I was expecting to see an output along the lines of "number of members in the clus

Re: JBoss cluster

2016-11-17 Thread Lionel Orellana
e proper rights allocated to your service account. More > information here: > https://access.redhat.com/documentation/en/red-hat-xpaas/0/single/red-hat-xpaas-eap-image/#clustering > > Best Regards, > > Frédéric > > > On Thu, Nov 17, 2016 at 11:58 AM, Lionel Orellana &g

Re: JBoss cluster

2016-11-17 Thread Lionel Orellana
But I can't tell if the second replica joined the cluster created by the first. I'm expecting to see "Number of cluster members: x" in the logs but it's not showing in any of the two instances. On 17 November 2016 at 22:55, Lionel Orellana wrote: > Thanks Frederi

Re: JBoss cluster

2016-11-17 Thread Lionel Orellana
I deployed a distributable war and got the output I was looking for. All good with the world. Thanks. On 18 November 2016 at 08:29, Lionel Orellana wrote: > But I can't tell if the second replica joined the cluster created by the > first. > > I'm expecting to see "N

PV manual reclamation and recyling

2016-11-17 Thread Lionel Orellana
Hi, Couple of questions regarding Persistent Volumes, in particular NFS ones. 1) If I have a PV configured with the Retain policy it is not clear to me how this PV can be reused after the bound PVC is deleted. Deleting the PVC makes the PV status "Released". How do I make it "Available" again wit

Re: PV manual reclamation and recyling

2016-11-17 Thread Lionel Orellana
Thanks Mark On 18 November 2016 at 15:09, Mark Turansky wrote: > > > On Thu, Nov 17, 2016 at 10:41 PM, Lionel Orellana > wrote: > >> Hi, >> >> Couple of questions regarding Persistent Volumes, in particular NFS ones. >> >> 1) If I have a PV configu

Re: PV manual reclamation and recyling

2016-11-17 Thread Lionel Orellana
disappeared. Simply by restarting the host VM! On 18 November 2016 at 16:19, Lionel Orellana wrote: > Thanks Mark > > On 18 November 2016 at 15:09, Mark Turansky wrote: > >> >> >> On Thu, Nov 17, 2016 at 10:41 PM, Lionel Orellana >> wrote: >> >>> H

Re: PV manual reclamation and recyling

2016-11-17 Thread Lionel Orellana
e bus Despite the fact that the error says that it couldn't remove it, what exactly is it trying to do here? Is it possible that this process previously deleted the data in the evs folder? On 18 November 2016 at 16:45, Lionel Orellana wrote: > What about NFS volumes added directly in

Re: PV manual reclamation and recyling

2016-11-17 Thread Lionel Orellana
Files in other dirs in the same NFS server don't get deleted (e.g. /poc_runtime/test/) There is something in my Openshift node deleting files in /poc_runtime/evs as soon as I put them there! On 18 November 2016 at 18:04, Lionel Orellana wrote: > > In fact, whatever is deleting

Re: PV manual reclamation and recyling

2016-11-18 Thread Lionel Orellana
version oc v1.3.0 kubernetes v1.3.0+52492b4 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://poc-docker01.aipo.gov.au:8443 openshift v1.3.0 kubernetes v1.3.0+52492b4 On 18 November 2016 at 18:18, Lionel Orellana wrote: > Files in other dirs in the same NFS server don't get dele

Re: JBoss cluster

2016-11-18 Thread Lionel Orellana
gt; pointed out, since we're calling curl without --no-proxy, it can't access > the API server. The actual kube-ping code, on the other hand, can access it > because it bypasses the proxy. > > M. > > > On 18. 11. 2016 02:32, Lionel Orellana wrote: > > I deployed a dis

Re: PV manual reclamation and recyling

2016-11-18 Thread Lionel Orellana
//docs.openshift.com/container-platform/3.3/install_config/upgrading/index.html > > Mark > > On Fri, Nov 18, 2016 at 3:13 AM, Lionel Orellana > wrote: > > > This sounds very very familiar: > https://github.com/kubernetes/kubernetes/issues/30637 > > Particularly comme

Re: PV manual reclamation and recyling

2016-11-18 Thread Lionel Orellana
r 2016 at 07:26, Alex Wauck wrote: > OpenShift is a distribution of Kubernetes, so I don't think you can > upgrade Kubernetes without upgrading OpenShift. > > On Fri, Nov 18, 2016 at 1:52 PM, Lionel Orellana > wrote: > >> So the fix is on Kubernetes 1.3.6. The upgrad

Re: PV manual reclamation and recyling

2016-11-24 Thread Lionel Orellana
This is a pretty bad issue in Kubernetes. We are talking about deleting data from NFS volumes. Lucky for me I'm just doing a POC. Is this not considered bad enough to warrant a patch release for Origin 1.3.x? Cheers Lionel. On 19 November 2016 at 07:38, Lionel Orellana wrote: >

Re: PV manual reclamation and recyling

2016-11-29 Thread Lionel Orellana
Thanks Clayton. Keep us posted. On Wed., 30 Nov. 2016 at 2:48 am, Clayton Coleman wrote: > It's likely, don't have an eta yet while the scope of the pick is assessed. > > On Thu, Nov 24, 2016 at 5:52 PM, Lionel Orellana > wrote: > > This is a pretty bad issue in Kube

Jenkins Windows Slave

2016-12-07 Thread Lionel Orellana
Hi Is it possible to add an existing windows machine as a slave to a Jenkins master running on Openshift? I exposed the jnlp service with a route in Openshift and tried to use the tunnel option with 1) a Java Web Start slave, 2) running the slave client jar directly and 3) a Swarm slave. None of

Origin 1.4

2017-01-18 Thread Lionel Orellana
Hi Is v1.4 officially out now? I only see rc1 in the github releases page. But RedHat's OCP is already showing 3.4: https://www.openshift.com/container-platform/features.html Cheers Lionel. ___ users mailing list users@lists.openshift.redhat.com http:/

Re: Origin 1.4

2017-01-19 Thread Lionel Orellana
This version requires Docker 1.12. I can't find Docker 1.12 in the rhel-7-server-extras-rpms repository. It's only there as docker-latest. -bash-4.2$ sudo yum list available docker-latest Available Packages docker-latest.x86_64 1.12.3-10.el7 rhel-7-server-extras-rpms -bash-4.2$ sudo yum list av

Re: docker build-arg

2017-01-26 Thread Lionel Orellana
This is giving me more grief so finally filed a RFE: https://github.com/openshift/origin/issues/12686 Cheers. On 6 October 2016 at 00:02, Clayton Coleman wrote: > Currently not supported, please file a bug > > On Oct 5, 2016, at 3:18 AM, Lionel Orellana wrote: > > Hi All, >

Adding secrets to Docker builds

2017-01-28 Thread Lionel Orellana
Hi I have a Docker BuildConfig with an inline Dockerfile as the source.I'm trying to add a secret to this build. The secret is called svn-pwd and already exists in the project. It has a single key called 'password'. In the inline Dockerfile I'm trying to find the mounted secret. It is supposed to

Re: Adding secrets to Docker builds

2017-01-28 Thread Lionel Orellana
I think I got it. The secret is mounted on the builder pod not on the actual container I'm trying to build. This works ADD password /tmp RUN cat /tmp/password On 28 January 2017 at 20:28, Lionel Orellana wrote: > Hi > > I have a Docker BuildConfig with an inline Doc

Re: Adding secrets to Docker builds

2017-01-28 Thread Lionel Orellana
Is it possible to mount volumes other than secrets to builder pods? On 28 January 2017 at 21:17, Lionel Orellana wrote: > I think I got it. > > The secret is mounted on the builder pod not on the actual container I'm > trying to build. > > This works > > ADD

Template with Secret and Parameter

2017-01-29 Thread Lionel Orellana
Hello I'm trying to create a secret as part of a template but the value of the secret should come from a parameter. Something like this: { "kind": "Template", "apiVersion": "v1", ... }, "objects": [ ... { "kind": "Secret", "apiVersion": "v1",

Re: Template with Secret and Parameter

2017-01-30 Thread Lionel Orellana
Put another way, how can I create a secret from user input? On 30 January 2017 at 18:45, Lionel Orellana wrote: > Hello > > I'm trying to create a secret as part of a template but the value of the > secret should come from a parameter. Something like this: > > {

Re: Template with Secret and Parameter

2017-01-30 Thread Lionel Orellana
On Mon, Jan 30, 2017 at 9:47 AM, Jessica Forrester > wrote: > >> >> >> On Mon, Jan 30, 2017 at 9:11 AM, Aleksandar Lazic >> wrote: >> >>> Hi. >>> >>> On Mon, 30 Jan 2017 10:04:35 +0100 Lionel Orellana < >>> lione...@g

Kubernetes Jenkins slaves in parallel

2017-02-02 Thread Lionel Orellana
Hi I have a pipeline with a podTemaplate definition from the Kubernetes plugin to create slaves on Openshift. Something like this. podTemplate(name: 'jenkins-slave', label: 'kube-node', instanceCap: 4, containers: [ containerTemplate( name: 'maven', image: "${registry}:5000/jenkins/slave-maven"

Re: jboss-eap64-openshift quickstart maven proxy

2017-02-02 Thread Lionel Orellana
Hi, This goes back a few months. I'm wondering if the issue Ben mentioned has been fixed in 1.4? Basically have maven images respect standard proxy env variables. Thanks. On 14 October 2016 at 11:00, Ben Parees wrote: > > > On Thu, Oct 13, 2016 at 6:14 PM, Lionel Ore

Re: Kubernetes Jenkins slaves in parallel

2017-02-05 Thread Lionel Orellana
ainer('maven1') { sleep(30) } } }, "Integration": { container('maven2') { sleep(30) } } } ) } } However this won't work with splitTests where the number of parallel br

Adding Registry address to Docker's NO_PROXY list

2017-02-10 Thread Lionel Orellana
Hi After an ansible installation I always have to manually add Openshift's registry address to the docker NO_PROXY list in /etc/sysconfig/docker. If I don't builds fail with error: build error: Failed to push image: Get https://172.23.199.122:5000/v1/_ping: Service Unavailable I have this in my

Re: Adding Registry address to Docker's NO_PROXY list

2017-02-10 Thread Lionel Orellana
Seems like it's a known issue: https://github.com/openshift/openshift-ansible/issues/1919 On 11 February 2017 at 13:53, Lionel Orellana wrote: > Hi > > After an ansible installation I always have to manually add Openshift's > registry address to the docker NO_PROXY list in

  1   2   >