My app (rails a ruby-1.9) is currently serving a 503.
All the rhc commands don't work. I cannot even do rhc ssh <my-app>.
I tried to restart the app from the web, it gives me this:
Unable to perform action on app object. Another operation is already running.
Unhandled exception reference #78227deaed799856c3c386744c8be9c4: Unable to perform action on app object. Another operation is already running.
Related
CodeceptJS v3.0.5
Using test root "/Users/bhupendrarautela/extram"
login --
✖ "before all" hook: codeceptjs.beforeSuite for "test something" in 17ms
Error: Can't connect to WebDriver.
Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running on
that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file
as the service might had problems to start the driver.
Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
-- FAILURES:
1) login
"before all" hook: codeceptjs.beforeSuite for "test something":
Can't connect to WebDriver.
Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running on
that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file
as the service might had problems to start the driver.
Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running
on that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file as the service might had problems to start the driver.
FAIL | 0 passed, 1 failed // 19ms
Run with --verbose flag to see complete NodeJS stacktrace
Please help me with how to make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible.
try to terminate a running ATP instance using the following API from oci java sdk.
TerminateDbSystemRequest terminateDbSystemRequest =
TerminateDbSystemRequest.builder().dbSystemId(dbSystemId).build();
databaseClient.terminateDbSystem(terminateDbSystemRequest);
an exception caught
Exception in thread "main" com.oracle.bmc.model.BmcException: (404, NotAuthorizedOrNotFound, false) Authorization failed or requested resource not found.
I can stop and start the atp instance successfully, just wondering which class should be used to terminate the atp instance.
That is the right code to perform the action you are trying to perform using the OCI Java SDK, but it looks like you are hitting one of the two below issues:
dbSystemId is not a valid DB System identifier. One way to confirm if you have the correct dbSystemId value is to confirm if you are able to stop and start the DB System using the same value.
dbSystemId is a valid DB System identifier, but the credentials you are using to terminate the DB System do not have the proper permissions to do so. One way to confirm if this is a permissions issue is to see if, using the same account whose credentials you are using from the Java SDK, you are able to terminate the DB System from the OCI web portal
On GCE platform I have a Managed Instance Group for which a template is assigned.
The template has a startup script (bash) that pulls the latest code from a git repo and installs a few requirements.
Occasionally the startup script fails to update the code or fails to update the requirements.
In this case I would like to abort the startup.
What would be the correct way to go about this?
How do I signal the error?
Can I get the machine to restart or are there other options?
I am having issues with setting up Open shift and getting the following error after connecting to my server domain:
Command:
User$ rhc setup --server=app-domain.rhcloud.com
Result:
The server has rejected your connection attempt with an older SSL protocol.
Pass --ssl-version=sslv3 on the command line to connect to this server.
I am not sure what this is telling me to do. I tried using the instruction literally and it does not recognize the command.
Any ideas?
You should not pass rhc setup the --server flag unless you are running your own OpenShift Origin or OpenShift Enterprise broker. For OpenShift Online, just run the rhc setup command with no other options and it will setup fine. If that command messed up your express.conf file (which it should not have) you just need to delete your ~/.openshift/express.conf file then run rhc setup again without any flags. Basically you tried to point rhc to your gear as an OpenShift Online broker, which will not work.
I ended up answering this on another forum post:
The only way that this worked for me was to actually create a SSH key locally with ssh-keygen -p without rhc setup and "not" giving it a password. I then went back to OpenShift clicked add a key and pasted the contents of my rsa file.
There is obviously some kind of bug with authentication on Openshift or the installation is not right.
It would be good to find out what is going on and why does it work if I do it, this way.
is possible to recover the credentials generated during installation? In particular jboss bpm suite' s console and dashboard.
It happens that the creation last longer and i need to refresh the page for this reason i can't get the green frame with all details.
If you have rhc command-line installed, then you can simply do
rhc ssh --app <app_name> --command 'env'
Get to your application console page (through the openshift web ui), grab the ssh connection link (Remote Access) and use it to get a terminal connection open in your application space.
Then type "env" and you should see a bunch of environnement variables, your credentials should be stored in one of them.