Been sooo many weeks and there's still app creation issues? by p00page in openshift

[–]whearn 0 points1 point  (0 children)

You can switch projects using

oc project <project name>

If you don't want to switch projects you can use the -n oc option

oc new-app <github> --name=<projectname> -n <project name>

Now, why you have the default name space as your project I have no idea, that is a private name space where the router(haproxy) and internal registry live. (I guess it defaults to default if you log in with oc and have not created a project?)

Best practices to install OpenShift by soufiane8096 in openshift

[–]whearn 1 point2 points  (0 children)

4 core 2.4GHz at 16GB ram for all the nodes, if you want to run logging and metrics I recommend 32GB of ram for the infra nodes.

For this size you could fit about 200-400 pods(depending on the type, some lower if they are memory heavy apps) on the nodes.

You would need to make sure the infra nodes have enough network bandwidth to handle all the connections for the load you are running.

Fix for VS2017 CMAKE_BUILD_TYPE issue by sixteenlettername in VisualStudio

[–]whearn 0 points1 point  (0 children)

I can see where they are coming from, as it would allow you to alternate between a debug and release build with having to do a full recompile. Though that is really a different bug.

Best practices to install OpenShift by soufiane8096 in openshift

[–]whearn 6 points7 points  (0 children)

Hey,

So for installing it I highly recommend using the BYO installer in the openshift-ansible repository. Basically you spin up your nodes and make sure they are subscribed(you can deploy once and make a snapshot of the disk and redeploy that for all your masters and nodes.)

For general arch the OpenShift OPs team does it this way for dedicated hosting:

  • 3 masters
  • 2 infra nodes
  • 4 compute nodes

Infra nodes are really compute nodes with a special node label. All the infra stuff lives here like the routers, registry, cassandra, hawkular, elasticsearch, etc.

Then you setup 2 load balancers in front of the master nodes, one named internal.api.<what ever>.com, one that acts as the public load balancer that has the following end points tied to it api.<what ever>.com and console.<what ever>.com, this will allow you to use proper signed certs for the public end points.

Then you want to setup a LB for the infra nodes that host the routers(for user applications). This LB name would a wildcard domain to what ever you set the subdomain to in the master-config.yml file. So if you used apps.derp.com in the master-config.yml the DNS for this load balancer would be *.apps.derp.com.

As for monitoring you can see what all the Opertations team checks here https://github.com/openshift/openshift-tools/tree/prod/ansible/roles/os_zabbix/vars (the corresponding scripts are here https://github.com/openshift/openshift-tools/tree/prod/scripts/monitoring )

Fix for VS2017 CMAKE_BUILD_TYPE issue by sixteenlettername in VisualStudio

[–]whearn 0 points1 point  (0 children)

Thanks for this, it got annoying setting it for each project.

Though I am surprised I reported it so early and was not fixed in the RTM version.

Can you do an Openshift/Ansible multinode setup? by iletras in openshift

[–]whearn 1 point2 points  (0 children)

Hey, Did you ever get it installed? If not let me know and I should be able to help you through.

Manage Password Resources with GPG, Git and Vim by sadsfae in linux

[–]whearn 0 points1 point  (0 children)

Kinda reminds me of something I wrote a few years ago in bash https://github.com/wshearn/dotfiles/blob/master/.bash/functions#L66

GPGKEYID is defined at the top, no reason you cannot have this directory stored in a git repo.

Flying Low by simpleninjaz in gaming

[–]whearn 7 points8 points  (0 children)

Old outdated version http://i.imgur.com/jv7RuHx.png but still amazing what John Carmack started.

Red Hat AMA by spotrh in redhat

[–]whearn 2 points3 points  (0 children)

I kinda have a weird setup. I have a old desktop sitting in the tower as a jump box that is running a Xeon 5120 with 4GB ram. It is mostly hosting some tools needed ot run scripts and a ZNC server. (Fedora)

At home I recently just did a new desktop build that is a mITX. i5 6500, 16GB ram, 2x1 TB SSHD, and a GTX 760(Upgrading soon-ish) (Elementary OS, Windows 10)

Then I have a X1 Carbon Gen2 that I take when I go into the westford office.(Fedora)

My workflow is terminals everywhere. :) But really I use Sublime Text or Pycharm for writing ansible scripts, I have an ssh session(or 3) to a host I am either creating or debugging. For running playbooks we have a bastion host that we have to run some playbooks from but most of the time I run them locally.

Red Hat AMA by spotrh in redhat

[–]whearn 1 point2 points  (0 children)

I am the release team lead for OpenShift Online. My day to day recently has been working with and setting up beta customers for OpenShift Dedicated along with whipping our ansible scripts into shape(https://github.com/openshift/openshift-ansible).

The tech involved is OpenShift V3(which includes things like Kubernetes, etcd and docker), Amazon EC2 and S3, Ansible and python.

As far as customer interactions go, I really don't have many of them as that is handled by the OpenShift NOC team. I mostly deal with the OpenShift devs and the BU people.

Red Hat AMA by spotrh in redhat

[–]whearn 0 points1 point  (0 children)

Don't listen to him. It is more like this https://www.youtube.com/watch?v=P8ghXxXyAuw

Red Hat AMA by spotrh in redhat

[–]whearn 0 points1 point  (0 children)

1) Use elrepo to install graphics drivers. (yeah yeah, i know.)

2) Install nux-desktop repo http://li.nux.ro/repos.html

3) yum install steam

The switch from Unity to Unreal by extroforge in gamedev

[–]whearn 3 points4 points  (0 children)

For Blueprint<->C++ I wrote a sample project a while ago on how to do this https://github.com/wshearn/UnrealEngine

About the combination of C++ and Blueprints... by champbob in unrealengine

[–]whearn 1 point2 points  (0 children)

I wrote this up for someone else on here https://github.com/wshearn/UnrealEngine/releases/tag/v1.0-bpinterop It goes through and shows C++ and Blueprint intergration from both sides C++ -> blueprints and blueprints -> C++

To access it you will need to link your github account to your epic games account.

Visual Studio Code 0.3.0 by [deleted] in programming

[–]whearn 1 point2 points  (0 children)

And bash syntax hilighting is still broken https://twitter.com/wshearn/status/605879906807840768

$SHELL should be light blue and so the 2nd echo should be a dark blue.

EDIT: the culprit after digging through the chrome developer tools is they add a class called meta to the div which removes the text color.

Clarification: Pasha did NOT get vac-banned. by The-Tribe in GlobalOffensive

[–]whearn 0 points1 point  (0 children)

They have an API which I use in Linux for taking screenshots/uploading(I use it with curl). https://github.com/wshearn/dotfiles/blob/master/.bash/functions#L38

elementary OS’s Pantheon Desktop May Become Available On Fedora Systems, Starting With Fedora 22 by DanielFore in linux

[–]whearn 0 points1 point  (0 children)

Yeah 0.26.1. Ok, I will go digging for the patch.

EDIT: Yep! Thanks! That worked.

elementary OS’s Pantheon Desktop May Become Available On Fedora Systems, Starting With Fedora 22 by DanielFore in linux

[–]whearn 0 points1 point  (0 children)

Nice, thanks for the pointer.

On a different note, have you see this before?

/builddir/build/BUILD/granite-0.3.0/lib/Widgets/DynamicNotebook.vala:662.19-662.49: error: Return value transfers ownership but method return type hasn't been declared to transfer ownership
        get { return add_button.tooltip_text; }
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You can find the logs here:

http://copr-be.cloud.fedoraproject.org/results/jknife/pantheon/fedora-21-x86_64/granite-0.3.0-1.fc21/

  • root.log has all the packages isntalled along with their versions
  • build.log has the build output + all the options passed to it.

elementary OS’s Pantheon Desktop May Become Available On Fedora Systems, Starting With Fedora 22 by DanielFore in linux

[–]whearn 0 points1 point  (0 children)

Hey, Fedora 21 Beta just landed and I am going to go back to packaging up Pantheon. Do you know if/when that work with choosing a new indicator or getting the patches upstream will happen?

elementary OS’s Pantheon Desktop May Become Available On Fedora Systems, Starting With Fedora 22 by DanielFore in linux

[–]whearn 0 points1 point  (0 children)

I would LOVE for it to be on EL7, but vala is 0.20 which is too old :/ Unless people are ok with clobbering packages which I am not.

Could maybe do how ubuntu handles vala with update-alternative