Re: [React.js] Route returns 404 on page refresh

2019-05-13 Thread Jessica Forrester
Your backend file server that is actually serving up your JS files needs to
understand what paths are considered your "frontend" and always serve your
index.html when it gets requests against any of those paths. This is what
the OpenShift console itself does. In the 3.x openshift console it was in
the http handlers logic in our go binary. At one point I also prototyped
this just using changes to an httpd.conf for simple apache file servers.

On Mon, May 13, 2019 at 7:22 AM Pavel Maslov 
wrote:

> Anyone? I bet it's a common use-case (Angular, React.js frontend apps),
> can't be that nobody has had this issue...
>
>
> Regards,
> Pavel Maslov, MS
>
>
> On Thu, May 9, 2019 at 10:50 AM Pavel Maslov 
> wrote:
>
>> Hi all,
>>
>>
>> I have a React.js single-page app deployed to Openshift that uses its own
>> router (e.g. /home, /about, /photos, etc.). Everything works fine (user
>> navigating around my app) until the user refreshes the page. This in turn
>> fires a GET request to the server, which it of course cannot resolve (404).
>>
>> One solution I am using in "raw" k8s is for each endpoint I create a new
>> path (i.e. /home, /about, /photos) inside an Ingress object, which is
>> redirected to the web app Service [1].
>>
>> Is there any solution for Openshift's Router? Maybe, a custom Router
>> annotation that will redirect all requests to "/"?
>>
>> Thanks a lot in advance.
>>
>> [1]
>> https://github.com/maslick/barkoder/blob/master/deployment/k8s-barkoder-ingress.yaml
>>
>> Regards,
>> Pavel Maslov, MS
>>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Reducing toil in resource quota bumping

2018-08-30 Thread Jessica Forrester
On Thu, Aug 30, 2018 at 8:18 AM Andrew Feller  wrote:

> Has anyone found an effective way to minimize toil between developers and
> system administrators regarding project resource quotas *without
> resorting to letting people do whatever they want unrestrained*?
>
> There are only 2 ideas I can see to address this issue:
>
>1. Removing self-provisioning access, provisioning a single project
>per developer, and giving them admin access to it.
>
>
You can limit the number of self-provisioned projects they can have
https://docs.openshift.com/container-platform/3.10/admin_guide/managing_projects.html#limit-projects-per-user


>
>1. Create ClusterResourceQuota per developer restricting total
>resources allowed
>
> I don't know how ClusterResourceQuota handle a system administrator
> increasing a project's quotas for a user who is already met their total.
>

If either a cluster resource quota or a resource quota has been exceeded,
then you you've exceeded quota for that resource and can't make more.


>
> Any feedback is welcomed and appreciated!
> --
>
> [image: BandwidthMaroon.png]
>
> Andy Feller  •  Sr DevOps Engineer
>
> 900 Main Campus Drive, Suite 500, Raleigh, NC 27606
>
>
> e: afel...@bandwidth.com
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Deleteing from WebUI is not working - 3.7.2

2018-05-02 Thread Jessica Forrester
Yeah this typically means the garbage collector is not able to update the
resources to remove its finalizers. You should be seeing errors in the
master logs about it. I think there have been a number of root causes for
this in the past.

Adding David to CC, he is most familiar with the garbage collector.

On Wed, May 2, 2018, 6:14 AM Łukasz Strzelec <lukasz.strze...@gmail.com>
wrote:

> In addition I've noticed that delete object are using: finalizers.   And I
> believed that this is main issue. The deletionTimestamp is wrong. But I
> don't know why it is using wrong date and time.
>
>
> <https://docs.openshift.org/latest/admin_guide/custom_resource_definitions.html#finalizers>
> Finalizers
>
> Custom objects support *finalizers*, which allow controllers to implement
> conditions that must be completed before the object can be deleted.
>
> You can add a finalizer to a custom object like this:
>
> apiVersion: "stable.example.com/v1"kind: CronTabmetadata:
>   finalizers:
>   - finalizer.stable.example.com
>
> The first delete request on an object with finalizers sets a value for the
> metadata.deletionTimestamp field instead of deleting the object. This
> triggers controllers watching the object to execute any finalizers they
> handle.
>
> Each controller then removes the finalizer from the list and issues the
> delete request again. This request deletes the object only if the list of
> finalizers is empty, meaning all finalizers are done.
>
> 2018-05-02 10:39 GMT+02:00 Łukasz Strzelec <lukasz.strze...@gmail.com>:
>
>> Hi Jessica:)
>>
>> What I've observed is that each object, that I want to be deleted from
>> UI, has got timestamp with 2h earlier than current time. Looks like some
>> proccess is puting wrong hour into datestamp.
>> I also notice that time on master container is diffrent then on atomic
>> host from where it is running,  on Atomic host I have UTC settings, on
>> master container CEST. Do you thing that this might be a problem ?
>> I can start the pod with timezone settings mounted, but question is which
>> process and how to debug it is putting timestamps into objects ??
>> Thx in advance:).
>>
>> 2018-04-30 13:13 GMT+02:00 Jessica Forrester <jforr...@redhat.com>:
>>
>>> The console deletes objects with foreground propagation policy for
>>> garbage collection. After you delete something I would check that the
>>> resource has a deletionTimestamp set on it and then check if there is a
>>> section called finalizers. If there are any finalizers those would be
>>> blocking the resource from going away completely. If GC is failing
>>> somewhere then its finalizers are not getting removed.
>>>
>>> If this is what's happening then I recommend checking the logs for the
>>> master.
>>>
>>> On Mon, Apr 30, 2018, 3:55 AM Łukasz Strzelec <lukasz.strze...@gmail.com>
>>> wrote:
>>>
>>>> Dear all,
>>>>
>>>> I have strange issue with my cluster.  When I'm deleting builds, dc, bc
>>>> from WebUI, these object are not being deleted.  I see information in the
>>>> corner " object marked for deletion" but nothing happend.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *-bash-4.2$ oc versionoc v3.7.2+5eda3fa-5kubernetes
>>>> v1.7.6+a08f5eeb62features: Basic-Auth GSSAPI Kerberos SPNEGOServer
>>>> https://:443openshift v3.7.2+5eda3fa-5kubernetes
>>>> v1.7.6+a08f5eeb62*
>>>>
>>>>
>>>> When I'm doing the same operation from OC CLI tools, everything works
>>>> fine.
>>>> Can you help me to solve this mystery:) ? Where I should start
>>>> debugging this. I cannot find anything in logs.
>>>>
>>>>
>>>> Best regards
>>>> --
>>>> Ł.S.
>>>> ___
>>>> users mailing list
>>>> users@lists.openshift.redhat.com
>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>>
>>>
>>
>>
>> --
>> Ł.S.
>>
>
>
>
> --
> Ł.S.
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Deleteing from WebUI is not working - 3.7.2

2018-04-30 Thread Jessica Forrester
The console deletes objects with foreground propagation policy for garbage
collection. After you delete something I would check that the resource has
a deletionTimestamp set on it and then check if there is a section called
finalizers. If there are any finalizers those would be blocking the
resource from going away completely. If GC is failing somewhere then its
finalizers are not getting removed.

If this is what's happening then I recommend checking the logs for the
master.

On Mon, Apr 30, 2018, 3:55 AM Łukasz Strzelec 
wrote:

> Dear all,
>
> I have strange issue with my cluster.  When I'm deleting builds, dc, bc
> from WebUI, these object are not being deleted.  I see information in the
> corner " object marked for deletion" but nothing happend.
>
>
>
>
>
>
>
>
> *-bash-4.2$ oc versionoc v3.7.2+5eda3fa-5kubernetes
> v1.7.6+a08f5eeb62features: Basic-Auth GSSAPI Kerberos SPNEGOServer
> https://:443openshift v3.7.2+5eda3fa-5kubernetes
> v1.7.6+a08f5eeb62*
>
>
> When I'm doing the same operation from OC CLI tools, everything works fine.
> Can you help me to solve this mystery:) ? Where I should start debugging
> this. I cannot find anything in logs.
>
>
> Best regards
> --
> Ł.S.
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Where could I find api for service catalog?

2017-11-14 Thread Jessica Forrester
https://github.com/kubernetes-incubator/service-catalog/blob/master/docs/v1/api.md

Its aggregated through the master so the hostname is the same as the master
api.

On Tue, Nov 14, 2017 at 4:46 AM, Yu Wei  wrote:

> Hi,
>
> I setup openshift origin cluster with service-catalog enabled.
>
> Where could I find api for service catalog?
>
> I checked github and did not find detailed information.
>
>
> Thanks,
>
> Jared, (韦煜)
> Software developer
> Interested in open source software, big data, Linux
>
> ___
> dev mailing list
> d...@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Deploy latest from web UI

2017-11-02 Thread Jessica Forrester
Yep there was a bug that was fixed during the 3.6 timeframe.

On Nov 2, 2017 7:58 AM, "Daniel Kučera"  wrote:

> Ok, it works right in 3.6 so I guess it's a bug.
>
> OpenShift Master:v3.6.0+c4dd4cf
> Kubernetes Master:v1.6.1+5115d708d7
>
> 2017-11-02 12:27 GMT+01:00 Daniel Kučera :
> > Hi,
> >
> > I'm using S2I image builds into imagestream and I've disabled
> > "Automatically start new deployments when an image stream tag is
> > updated. " in DC of that image.
> >
> > Now when I build new version - deployment doesn't change - this is OK.
> > But when I click "Deploy" in DC, it deploys old version of image.
> > I need to run "oc rollout latest dc/app -n app" to deploy latest
> > version of built image.
> >
> > Is there some option in web UI to deploy latest image?
> >
> > OpenShift Master:v1.5.0+031cbe4
> > Kubernetes Master:v1.5.2+43a9be4
> >
> > Thanks.
> >
> > --
> >
> > S pozdravom / Best regards
> > Daniel Kucera.
>
>
>
> --
>
> S pozdravom / Best regards
> Daniel Kucera.
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Error creating: pods "mysql-79-" is forbidden: failed quota: resource-quota: must specify limits.cpu, limits.memory, requests.cpu, requests.memory

2017-06-29 Thread Jessica Forrester
On Thu, Jun 29, 2017 at 11:21 AM, Stéphane Klein <
cont...@stephane-klein.info> wrote:

>
>
> 2017-06-29 16:33 GMT+02:00 Jessica Forrester <jforr...@redhat.com>:
>
>> It means the pod template in your DC doesn't set requests and limits for
>> the pods.  If you are going to have a resourcequota restricting cpu and
>> memory then you either have to explicitly set requests/limits on all of
>> your pod templates OR
>>
>
> Yes, it's that, thanks.
>
>
>
>> you need to create a limit range that will provide defaults
>>
>
> Defaults ? How can I define defaults limit range ?
>

Limit ranges are a separate object from resourcequota.  Recommend just
reading the docs, there are examples:
https://docs.openshift.org/latest/dev_guide/compute_resources.html#dev-limit-ranges
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Error creating: pods "mysql-79-" is forbidden: failed quota: resource-quota: must specify limits.cpu, limits.memory, requests.cpu, requests.memory

2017-06-29 Thread Jessica Forrester
It means the pod template in your DC doesn't set requests and limits for
the pods.  If you are going to have a resourcequota restricting cpu and
memory then you either have to explicitly set requests/limits on all of
your pod templates OR you need to create a limit range that will provide
defaults.  If you are setting this up for other users, having a limit range
with reasonable defaults when you have a resource quota is recommended from
a user experience perspective.

On Thu, Jun 29, 2017 at 10:21 AM, Stéphane Klein <
cont...@stephane-klein.info> wrote:

> Hi,
>
> I have a project with this ResourceQuota:
>
> $ oc describe ResourceQuota resource-quota
> Name: resource-quota
> Namespace: zf-novalac-staging
> Resource Used Hard
>   
> limits.cpu 0 1
> limits.memory 0 2Gi
> requests.cpu 0 1
> requests.memory 0 2Gi
>
> I start one DC:
>
> $ oc scale dc mysql --replicas=1
>
> $ oc get events -w
> LASTSEEN FIRSTSEENCOUNT
>   NAME   KINDSUBOBJECT   TYPE  REASON
>  SOURCE   MESSAGE
> 2017-06-29 15:41:38 +0200 CEST   2017-06-29 15:31:03 +0200 CEST   5
>   mysql  DeploymentConfigNormal
>  ReplicationControllerScaled   {deploymentconfig-controller }   Scaled
> replication controller "mysql-79" from 0 to 1
> 2017-06-29 15:54:44 +0200 CEST   2017-06-29 15:34:44 +0200 CEST   63
>  mysql-79   ReplicationController   Warning   FailedCreate
>  {replication-controller }Error creating: pods
> "mysql-79-" is forbidden: failed quota: resource-quota: must specify
> limits.cpu,limits.memory,requests.cpu,requests.memory
>
> I don't understand this error « resource-quota: must specify
> limits.cpu,limits.memory,requests.cpu,requests.memory » because I have
> specified this parameters.
>
> Where did I go wrong?
>
> Best regards,
> Stéphane
> --
> Stéphane Klein 
> blog: http://stephane-klein.info
> cv : http://cv.stephane-klein.info
> Twitter: http://twitter.com/klein_stephane
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: 2 questions

2017-06-15 Thread Jessica Forrester
For routes, this is not a limitation of the GUI, it is an intentional
limitation of the platform.  You can't change your hostname because the
router needs a way to decide which route wins when multiple routes ask for
the same hostname.  Right now this is done based on age of the route
(oldest wins).  If you changed your hostname on an old route, you could
steal someone else's hostname they had previously been granted.  Hence the
requirement that you create a new route if you need a new hostname.  If
there are any plans to change how this is done the networking team would
need to chime in.  Note: the exception is that a cluster admin is allowed
to change the hostname on a route

For authenticating to git servers, have you seen this feature: https://blog.
openshift.com/wp-content/uploads/wn34-3-secret-editor.gif
Originally added as part of 3.4 https://blog.openshift.
com/whats-new-in-openshift-3-4-enhanced-usability/


On Wed, Jun 14, 2017 at 5:57 PM, Louis Santillan 
wrote:

> With regards to routes, the best thing to do is create a new route that
> matches the DNS name you want.
>
> ---
>
> LOUIS P. SANTILLAN
>
> SENIOR CONSULTANT, OPENSHIFT, MIDDLEWARE & DEVOPS
>
> Red Hat Consulting, NA US WEST 
>
> lpsan...@gmail.comM: 3236334854
> 
> TRIED. TESTED. TRUSTED. 
>
> On Wed, Jun 14, 2017 at 2:42 PM, Hetz Ben Hamo  wrote:
>
>> Hi,
>>
>> I was wondering regarding the GUI of openshift if the following features
>> are planned (or available):
>>
>> 1. Change the route DNS name after it has been already created (I think
>> it's available on the hosted openshift, but not on origin).
>> 2. A simpler way to authenticate to GIT based solution (Gitlabs, internal
>> Git server). A simpler I mean a way to click a checkbox to select
>> authentication method and type user,pass.
>>
>> Thanks
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Projects created with CLI or not visiable in UI console

2017-06-08 Thread Jessica Forrester
When you "oc login -u system:admin' from the CLI in the minishift env you
are using an existing context file that is not using username/password
authentication, its using client cert authentication.  What is the username
and password you are using to log into the console with?  Are you logging
in with username "system" and password of "admin" ?  If you refer to the
docs it explains that is not actually the system admin user when you do
that [1]

If that is the case then you need to actually grant your "system" user the
cluster admin role. For more info on creating a cluster admin user see [2]

[1]
https://docs.openshift.org/latest/minishift/using/interacting-with-openshift.html#log-into-cluster
[2]
https://docs.openshift.com/container-platform/3.3/admin_solutions/user_role_mgmt.html#creating-a-cluster-administrator





On Thu, Jun 8, 2017 at 1:07 PM, Marcin Zajączkowski <msz...@wp.pl> wrote:

> Dnia Czwartek, 8 Czerwca 2017 19:04 Jessica Forrester <jforr...@redhat.com>
> napisał(a)
>
> If you are using the same user this can't happen.  Is there a chance you
> were running as the system admin when you were using the CLI?
>
>
> Yes system:admin both from CLI and UI. It's Minishift and I haven't
> changed anything with users there.
>
> Marcin
>
>
>
>
> On Thu, Jun 8, 2017 at 12:28 PM, Marcin Zajączkowski <msz...@wp.pl> wrote:
>
>> Hi,
>>
>> Projects created with CLI are not visible in the UI console. Is it
>> possible to add them there?
>>
>> OpeShift 1.5.1, Minishift 1.1.0.
>>
>> Marcin
>>
>> --
>> http://blog.solidsoft.info/ - Working code is not enough
>>
>>
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>
>
> --
>
> http://blog.solidsoft.info/ - Working code is not enough
>
>
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: cannot see Logs or use Terminal in latest

2017-02-22 Thread Jessica Forrester
With a 500 I would expect to see something in the logs for the master.
Anything there?

On Wed, Feb 22, 2017 at 2:02 PM, John Mazzitelli  wrote:

> Same thing for both Logs and Terminal - getting a error code of 500 when
> the websocket tries to connect.
>
> I have no idea why - this used to always work - until I started using the
> latest code.
>
> - Original Message -
> > Good call:
> >
> > (unknown) WebSocket connection to
> > 'wss://192.168.1.15:8443/api/v1/namespaces/openshift-infra/
> pods/heapster-dln…xterm+%2Fbin%2Fsh_token=CpQs_
> rRQetCoiXwAamUgface2Op20B7bEO7p4mov_rw'
> > failed: Error during WebSocket handshake: Unexpected response code: 500
> >
> > - Original Message -
> > > Can you open the network tab in the dev tools of your browser and look
> for
> > > the websocket connections. I recommend using Chrome since it does a
> better
> > > job of displaying websocket information.
> > >
> > > Any time both logs and terminal are not working, its usually a symptom
> of
> > > websockets failing to open.
> > >
> > > On Wed, Feb 22, 2017 at 11:10 AM, John Mazzitelli < m...@redhat.com >
> > > wrote:
> > >
> > >
> > > OK, I'm almost back to where I was when I had things working.
> > >
> > > I was using an older version and starting with "oc cluster up", I am
> now
> > > using the latest builds and starting with "openshift start".
> > >
> > > But if I go to any pod's Logs tab in the UI console, I see this:
> > >
> > > "Logs are not available. The logs are no longer available or could not
> be
> > > loaded."
> > >
> > > If I try to use the Terminal (in the UI terminal tab) I see this:
> > >
> > > "Could not connect to the container. Do you have sufficient
> privileges?"
> > >
> > > I am logged into the UI console as a user that is given cluster-admin
> role
> > > -
> > > so I assume I should be able to see everything.
> > >
> > > I used to be able to see these in the older versions I was using (when
> I
> > > was
> > > using oc cluster up). But now I can't.
> > >
> > > Am I missing a role or some permission?
> > >
> > > Versions:
> > >
> > > oc v1.5.0-alpha.3+2d20080-23
> > > kubernetes v1.5.2+43a9be4
> > > openshift v1.5.0-alpha.3+2d20080-23
> > >
> > > ___
> > > users mailing list
> > > users@lists.openshift.redhat.com
> > > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> > >
> > >
> > > ___
> > > users mailing list
> > > users@lists.openshift.redhat.com
> > > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> > >
> >
> > ___
> > users mailing list
> > users@lists.openshift.redhat.com
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> >
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: cannot see Logs or use Terminal in latest

2017-02-22 Thread Jessica Forrester
Can you open the network tab in the dev tools of your browser and look for
the websocket connections.  I recommend using Chrome since it does a better
job of displaying websocket information.

Any time both logs and terminal are not working, its usually a symptom of
websockets failing to open.

On Wed, Feb 22, 2017 at 11:10 AM, John Mazzitelli  wrote:

> OK, I'm almost back to where I was when I had things working.
>
> I was using an older version and starting with "oc cluster up", I am now
> using the latest builds and starting with "openshift start".
>
> But if I go to any pod's Logs tab in the UI console, I see this:
>
>"Logs are not available. The logs are no longer available or could not
> be loaded."
>
> If I try to use the Terminal (in the UI terminal tab) I see this:
>
>"Could not connect to the container. Do you have sufficient privileges?"
>
> I am logged into the UI console as a user that is given cluster-admin role
> - so I assume I should be able to see everything.
>
> I used to be able to see these in the older versions I was using (when I
> was using oc cluster up). But now I can't.
>
> Am I missing a role or some permission?
>
> Versions:
>
> oc v1.5.0-alpha.3+2d20080-23
> kubernetes v1.5.2+43a9be4
> openshift v1.5.0-alpha.3+2d20080-23
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: instant app templates no longer visible on web console

2017-02-15 Thread Jessica Forrester
Did you check underneath "Uncategorized" ?  We no longer treat instant apps
as a special category, all the categorization changed in 3.4.  If you liked
having a concept of instant apps as a category you are able to customize
the categories
https://docs.openshift.org/latest/install_config/web_console_customization.html#configuring-catalog-categories

On Wed, Feb 15, 2017 at 10:10 AM, Evong Nham Chung  wrote:

> I've had this happen to me when I first boot up an environment
> particularly if I'm in a poor network situation. It takes a few minutes to
> show up, I never bothered looking into the reason behind the delay.
>
> Has time resolved the issue?
>
>
> On Feb 15, 2017 10:07 AM, "Ben Parees"  wrote:
>
>
>
> On Tue, Feb 14, 2017 at 8:31 PM, Viet Nguyen  wrote:
>
>> Hello,
>> Prior to OSE3.4 I was able to create "instant app" templates (oc create
>> -f  -n openshift) and select them on the web console to
>> create new app.  In OSE 3.4 they are no longer available on the web
>> console.  I can still create new app with 'oc new-app --template=> template>".  Has anything changed since that I'm not aware of?
>>
>
> ​and you're definitely creating them in the openshift namespace still?  ​
>
> Jessica/Sam, any theories?
>
>
>
>
>>
>> thanks,
>> Viet
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>
>
>
> --
> Ben Parees | OpenShift
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Template with Secret and Parameter

2017-01-30 Thread Jessica Forrester
CC'ing correct user list address

On Mon, Jan 30, 2017 at 9:47 AM, Jessica Forrester <jforr...@redhat.com>
wrote:

>
>
> On Mon, Jan 30, 2017 at 9:11 AM, Aleksandar Lazic <al...@me2digital.eu>
> wrote:
>
>> Hi.
>>
>>   On Mon, 30 Jan 2017 10:04:35 +0100 Lionel Orellana <
>> lione...@gmail.com> wrote 
>>  > Put another way, how can I create a secret from user input?
>>
>> You will need to base64 encode the given string.
>>
>
> Not when using stringData for the input, this gets converted to the base64
> encoded value on the server before being stored.  However, stringData was
> not added until version 1.3 of origin, so if you are using a an older
> origin server then you will have to use the data field instead and base 64
> encode the input.
>
>
>
>> echo -n 'pass'|base64
>> This value is then the SVN_PASSWORD
>>
>> what's the ouput of?
>>
>> oc process -f ... -p ...
>>
>> BR aleks---
>> Mit freundlichen Grüßen
>> Aleksandar Lazic - ME2Digital e. U.
>> https://me2digital.online/
>> UID-Nr.: ATU71765716
>> IBAN: AT27 1420 0200 1096 9086
>> Firmenbuch: 462678 i
>>
>>
>>  > On 30 January 2017 at 18:45, Lionel Orellana <lione...@gmail.com>
>> 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:
>>  > {"kind": "Template","apiVersion": "v1",...},
>>  > "objects": [
>>  > ... {"kind": "Secret","apiVersion":
>> "v1","metadata": {"name": "svn-pwd",
>> "creationTimestamp": null},"stringData": {
>>   "password": "${SVN_PASSWORD}"}}],
>> "parameters": [{  "name": "SVN_PASSWORD",  "value": "",
>> "description": "Will be stored as a secret",  "required": true}  ]}
>>  >
>>  > The secret is getting created but it's not resolving the parameter
>> value (i.e. the value is literally ${SVN_PASSWORD}).
>>
>
> You can see some examples of us using Secrets in templates in our examples
> folder, like:
>
> https://github.com/openshift/origin/blob/master/examples/
> db-templates/mariadb-ephemeral-template.json
>
> Offhand I don't see anything wrong with how you have the parameter being
> used in the Secret.  Ben?
>
>
>
>>  > Is there a way to resolve the template parameter in the secret
>> definition?
>>  > Thanks
>>  >
>>  >
>>  >  ___
>>  > users mailing list
>>  > users@lists.openshift.redhat.com
>>  > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>  >
>>
>>
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Link to other files in yaml configuration

2017-01-09 Thread Jessica Forrester
Any reason you can't do this using a Template with the certs as parameters?

On Mon, Jan 9, 2017 at 2:55 PM, Jordan Liggitt  wrote:

> Not in API object definitions, no.
>
> On Mon, Jan 9, 2017 at 2:52 PM, Philippe Lafoucrière <
> philippe.lafoucri...@tech-angels.com> wrote:
>
>> Hi,
>>
>> Does anyone know if I can use external files in a yaml file?
>> I'd like to keep out the certificate files (crt, CA and key) from my
>> DeploymentConfig yaml file.
>>
>> Thanks!
>> Philippe
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Openshift console redirect

2016-11-10 Thread Jessica Forrester
Nothing that is part of the master configuration, there is an RFE here
https://trello.com/c/qxRMizmK

If you are running with HAProxy in front of your masters you can configure
that to do the redirect
http://stackoverflow.com/questions/13227544/haproxy-redirecting-http-to-https-ssl

On Thu, Nov 10, 2016 at 2:14 PM, Robson Ramos Barreto <
robson.rbarr...@gmail.com> wrote:

> Hello Guys
>
> We are running openshift console on port 443 [1] successful.
>
> Is there any way to redirect openshift console from port 80 to 443 ?
>
> Just for the user doesn't  get the message error: "Application is not
> available" when they access the openshift console url on http port.
>
> Thank you
>
> [1] https://blog.openshift.com/run-openshift-console-port-443/
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Networking tab

2016-11-09 Thread Jessica Forrester
Its just a header, its not a supposed to be a link.

On Wed, Nov 9, 2016 at 9:05 AM, Robson Ramos Barreto <
robson.rbarr...@gmail.com> wrote:

> Sure
>
> How could I figure out why this sub-section header from Applications menu
> is unavailable to click/access ?
>
> Thank you
>
>
> On Wed, Nov 9, 2016 at 11:56 AM, Jessica Forrester <jforr...@redhat.com>
> wrote:
>
>> Networking is just a sub-section header under the Applications menu,
>> Networking contains the Routes and Services menu items.
>>
>> On Wed, Nov 9, 2016 at 8:44 AM, Robson Ramos Barreto <
>> robson.rbarr...@gmail.com> wrote:
>>
>>> Hello Guys,
>>>
>>> I have finished the upgrade from 3.2 to 3.3 successful and I don't
>>> understand the networking tab at applications menu why it is unavailable to
>>> click.
>>>
>>> From metrics pod tab I can see metrics to both Memory, CPU and Network
>>> normally.
>>>
>>> I have verified the upgrade and everything seems be working
>>>
>>> Thank you
>>>
>>>
>>>
>>> ___
>>> users mailing list
>>> users@lists.openshift.redhat.com
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>
>>>
>>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Networking tab

2016-11-09 Thread Jessica Forrester
Networking is just a sub-section header under the Applications menu,
Networking contains the Routes and Services menu items.

On Wed, Nov 9, 2016 at 8:44 AM, Robson Ramos Barreto <
robson.rbarr...@gmail.com> wrote:

> Hello Guys,
>
> I have finished the upgrade from 3.2 to 3.3 successful and I don't
> understand the networking tab at applications menu why it is unavailable to
> click.
>
> From metrics pod tab I can see metrics to both Memory, CPU and Network
> normally.
>
> I have verified the upgrade and everything seems be working
>
> Thank you
>
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Metric are visible in tab but not on the left side

2016-10-24 Thread Jessica Forrester
Do you see any errors in your network tab with it trying to make requests
to hawkular?  If it's working in the tab it should work on the overview,
unless you have set the flag to disable overview metrics through an
extension:   window.OPENSHIFT_CONSTANTS.DISABLE_OVERVIEW_METRICS = true

On Sun, Oct 23, 2016 at 3:21 AM, Miloslav Vlach 
wrote:

> Hi,
>
> I can see the metrics on the left side aside the pod information.
>
> but the metrics are available in the pod detail on the tab metrics.
>
>
>
> Knows somebody why it is not displayed ? In this example there are metrics
> started half hour before now, but this didn’t works even if the duration of
> metrics was more and more longer.
>
> Thanks Mila
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Spurious warning when updating route without spec.host

2016-08-31 Thread Jessica Forrester
Can you check the About page in the console (under the ? menu), or run `oc
version` to get the openshift master version

On Wed, Aug 31, 2016 at 8:36 AM, Pieter Nagel  wrote:

>
> On Wed, Aug 31, 2016 at 2:30 PM, Jordan Liggitt 
> wrote:
>
>> What version are you using? A similar bug (https://github.com/openshift/
>> origin/issues/9417) was fixed in 1.3.0-alpha3 in
>> https://github.com/openshift/origin/pull/9425
>> 
>>
>
> The OpenShift Origin all-in-one VM, sorry. I've been juggling between that
> and the Online Preview and confused the two.
>
>
> --
> Pieter Nagel
> Lautus Solutions (Pty) Ltd
> Building 27, The Woodlands, 20 Woodlands Drive, Woodmead, Gauteng
> 0832587540
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Unable to access metrics tab

2016-08-18 Thread Jessica Forrester
Do you have multiple masters? If so did you update the master config on all
of them? Do you have any sort of proxy in front doing caching? There is a
dynamic config.js file that should never get cached.

On Aug 18, 2016 12:27 PM, "Guilherme Macedo"  wrote:

> Hi
>
> I enabled cluster metrics according to the documentation. However the
> metrics tab it's not appearing to all users. Some users have access to it,
> others don't.
> Does anyone have an idea about what it might be?
>
> # openshift version
> openshift v1.2.0
> kubernetes v1.2.0-36-g4a3f9c5
> etcd 2.2.5
>
> Thanks in advance.
>
> Guilherme Macedo
> guilhe...@gmacedo.com
> www.gmacedo.com
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: no items in "browse catalog" page

2016-08-15 Thread Jessica Forrester
So if you are just running a local dev cluster to try things out, I
recommend using 'oc cluster up' instead, it will set up a lot for you,
including all the example image streams and templates.

If you want to add them in an existing cluster see step 10 here
https://github.com/openshift/origin/blob/master/CONTRIBUTING.adoc#develop-on-virtual-machine-using-vagrant

Where the files it is referring to are in the origin repo under examples.

On Mon, Aug 15, 2016 at 7:09 PM, Ravi Kapoor 
wrote:

>
> I am a newbie, so excuse my ignorance. I have tried for 2 days now to get
> "browse catalog" page to show me catalog. I do not see any errors nor
> images.
> Due to this I am not able to follow any tutorials.
> thanks for helping
>
>
> This is what my page looks like (text copy in case image attachments are
> not allowed)
> 
> No images or templates.
>
> No images or templates are loaded for this project or the shared openshift
> namespace. An image or template is required to add content.
>
> To add an image stream or template from a file, use the editor in the
> Import YAML / JSON tab, or run the following command:
>
> oc create -f  -n test
> Back to overview
> 
>
> Here is a screenshot
>
> [image: Inline image 1]
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Known-good iconClass listing?

2016-08-11 Thread Jessica Forrester
If you don't set your own, it will fallback to the generic template icon.
In the new navigation the "application" icon is "fa fa-cubes"

You can use anything in fontawesome http://fontawesome.io/icons/
Anything in patternfly https://www.patternfly.org/styles/icons/#_
Or anything you see here:
https://github.com/openshift/origin-web-console/blob/master/app/styles/_openshift-logos-icon.less#L31

Keep in mind that we do lock to a particular version of patternfly and
fontawesome every release so if you arent seeing your icon of choice it may
not be in the releases we are using, see
https://github.com/openshift/origin-web-console/blob/master/bower.json
for the versions

On Thu, Aug 11, 2016 at 10:26 AM, N. Harrison Ripps  wrote:

> Hey there--
> I am working on creating a template and was curious about the iconClass
> setting. I can grep for it in the origin codebase and I see several
> different icon names, but:
>
> 1) Is there an official list of valid iconClass values?
> 2) Is there a generic "Application" icon?
>
> Thanks,
> Harrison
>
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users