I can no longer access OpenShift Online Starter console - openshift

Around last 1-2 weeks, I got e-mail notice from OpenShift Online that my starter account would be suspended due to inactivity.
I thought I've been using the cluster recently. But anyhow I tried deploying a new app.
After that, I got this another mail informing that:
"Your access to OpenShift Online Starter was removed for account ****** due to a prolonged period of inactivity.
Whenever you are ready to use OpenShift, you can subscribe at http://manage.openshift.com/ to get access to an OpenShift Online cluster again."
I tried re-subscribing, and saw "Starter: Canada (Central)" again on my "Active Subscriptions" page.
However, when I tried to click "Open Web Console", I got message: "An authentication error occurred. Sign up for OpenShift Online"
Can anyone suggest? Thanks.
Best regards,
Chakrit W.

If you have no project, or there are no deployed pods, then the account will be retired. You can re-create your account if it happens. If you are having issues with login still, then you can use the contact form at:
https://help.openshift.com/forms/community-contact.html
to report any issue. I would suggest just keep re-trying in case it is a transient issue.
You can also find out whether there are any current issues with the clusters at:
https://status.starter.openshift.com/

Related

Deploying a .NET application to Google Cloud Platform worked on initial deploy, now getting 502 Error: Server Error

To give some background, I'm an (unpaid) intern, and I'm unrelated to dealing with this kind of stuff. My employers wanted to update some pictures, and they did locally but didn't know how to upload the new version to the server.
I used the publish settings that were saved in Visual Studio from when the previous intern deployed the server (he was specialized in web site stuff) and it worked on deploy ... then I refreshed the page and I'm getting 502 server error.
Steps I have taken:
Connect to the VM and restart it - didn't solve it. it's using Microsoft server 2016.
Open the VM trough RDP, check if there are errors. There were 3 services not running, and I start them manually. One still isn't running, Downloaded Maps Manager. Ok... I google it and it's not a necessary service so I disable it. Now there are no errors and all services are running but I still am getting this error.
I tried pinging the IP of the server, and the URL itself and it works.
I believe it might be something to do with the load balancer, but I had one HTML class and nothing dealing with actually publishing stuff. If you could point me in the right direction I would appreciate it. The only reason why I'm trying to fix this myself is that I didn't make some kind of backup, and I feel so stupid having taken the site down.
Edit: I've gone to "load balancing" and it says service unhealthy. I tried going to the IPs there and it brings me to the same 502 server error page. From what I've gathered this is a configuration error, it's impossible they messed something with the site itself, right? It did work that first time, and if I run it from Visual Studio it works on the local machine ...

Openshift Login Plugin Jenkins - Invalid Request

I tried to setup-up a custom jenkins image, based on the redhat jenkins image. The redhat jenkins image, has the Openshift Login Plugin, installed already.
After, the image started up properly, I tried to login, with my Openshift credentials, but it didn't work.
I just saw the the following error message:
"error":"invalid_request","error_description":"The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.","state":"xxxxxxxxxxxxxxxxxxx"
and there was another message in the OS terminal of the running pod.
I read about several other issues from the Openshift Login Plugin, but also an update to Version 1.0.12 didn't fix my problems.
My Problem was, that I didn't knew, that each Openshift Service Account has a redirect reference - specially configured for one deployment.
I already used the Service Account, I used for the above mentioned Jenkins, for another Jenkins Deployment, because of this Openshift added the redirect reference, configured for this "older" deployment.
In our Openshift Setup (3.11), you aren't able to find the redirection configuration within the Service Account settings that you can find under Resources --> Membership --> Service Accounts. Instead you have to look and edit the YAML File of the Service Account, that you can find under Resources --> Other Resources --> Service Account.
serviceaccounts.openshift.io/oauth-redirectreference.jenkins
Since this is quite tricky to find out, I hope that I could possibly save somebody a few hours of searching.

Sending OneSignal notification crashes server

So I came across a strange issue: as soon as I hit send Web Push notification in One Signal dashboard, the Mysql server dies - memory usage goes to 100% and the cpu goes nuts. Soon after it crashes and Mysql resumes normal operation.
I must mention that this happens even if images used in the notification are not hosted on the same server. Even if nobody actually clicks the notifications for the first 5minutes, it still crashes.
Our list has about 11.000 subscribers.
What could be the issue? I just dont know what to try anymore. Tried upping the max_connections and other my.cnf settings according to mysqltuner.pl. No luck.
This is happening on a Magento 1.9 store, with the following specs: 24gb RAM, 240gb SSD, 12-core 2ghz, CentOS7, running Apache with REDIS, php5.5.
UPDATE: Fixed by revising the OneSignal settings and the way notifications are sent + enabled skip-name-resolve in my.cnf.
I have alerted this issue to onesignal several times but each time they suggest to go for good hosting service.
I think the problem is with the onesignal wp plugin. I have a dedicated cloud server from vultr but still site goes down right after new push notification.
You will have no problem if you send push notification directly from onesignal dashboard.
Because all my request goes to deaf ears, now I do not use onesignal.

"Route not admitted by a router" on Openshift Online v3

I have an application deployed on Openshift Online v3 starter plan which (used to) run well until yesterday. Yesterday I had to publish a new version of my application. Apparently, the platform encountered some problems redeploying it, I had to cancel some processes which seemed locked or continually restarting.
Finally I managed to have my pod running with the new version, the logs look fine.
The issue now is that my app is no longer exposed. When hitting the URL which was assigned to me, I got the infamous "not available" OO page:
Application is not available
The application is currently not serving requests at this endpoint. It may not have been started or is still starting.
Possible reasons you are seeing this page:
The host doesn't exist. Make sure the hostname was typed correctly and that a route matching this hostname exists.
The host exists, but doesn't have a matching path. Check if the URL path was typed correctly and that the route was created using the desired path.
Route and path matches, but all pods are down. Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.
I checked these 3 suggestions, and got sure that my host existed, that the path was correct, and that my pods where up. So, not understanding what the real issue was, I dropped the existing route and created a new one.
It's been 2 hours now, and the route UI keeps displaying this message:
The route is not accepting traffic yet because it has not been admitted by a router.
My understanding is that the router which should admit my route is not part of my project, it is managed by Openshift Online, am I right ?
So what could I do now to unlock my new route ?
Thanks for your suggestions
There it is ! My application is reachable again at last : It took 2 days for the router to setup my route. No action required from my part.
But the starter platform is still experiencing difficulties, so I will avoid any redeployment until the status turns green again.

Openshift: App deleted after one month of inactivity

I have a free openshift account and I created an app in July. After a month of inactivity i tried to use the app and:
-The web browser cannot resolve the url
-If I log in openshift I cannot see the app (the account is the same)
I'm not interested in finding the code because I have it on my pc, but I spent a lot of time in filling the database, is there anyway to restore it? After that, can someone explain me why my app has been deleted?
The OpenShift Online (Next Gen) environment is only in developer preview mode at this time. The FAQ on the main page at:
https://www.openshift.com/devpreview/
where you would have passed through when signing up states:
HOW LONG WILL I HAVE ACCESS TO THE ENVIRONMENT?
You will have access to the OpenShift Online (Next Gen) Developer Preview environment for 30 days, at which point your account will expire.
WHAT HAPPENS WHEN MY ACCOUNT EXPIRES?
Your account, applications, and data will be permanently deleted to free up resources for other users when your account expires. This means that you will no longer be able to log in to the web console, authenticate using the OpenShift CLI tools, or access your applications and related data.
CAN I CREATE A NEW ACCOUNT AFTER MY ACCOUNT EXPIRES?
If you're interested in trying the OpenShift Online (Next Gen) Developer Preview again, just complete the registration form after your account expires and we will provision a fresh set of resources for you as soon as they become available.