Bluemix dashboard: Unable to update route (BXNUI0030E) - ibm-cloud

This error seems like a Bluemix internal error to me.
I try to add another route using the new Bluemix dashboard to one of my liberty apps and the error message I get is:
BXNUI0030E: The 'xxxxxx.au-syd.mybluemix.net' route wasn't mapped to
the 'xxxxx-arya' app because a problem occurred contacting Cloud
Foundry. Try again later. If you see this message again, go to the
Bluemix status page to check whether a service or component has an
issue. If the problem continues, click the Account and Support icon in
the top menu bar, click Get help, and search for help or get support.

The error message is not clear to identify cause of the problem. The message just tells Cloud Foundry command behind Web interface failed to create map-route, but it didn't tell what exactly happen. Please run below commands to know what happened during creating map-route and fix the problem;
Login into the space by cfcli;
cf login -a api.au-syd.bluemix.net -u -p -o -s
List all routes in the space and make sure the app or the map-route are there;
cf routes
Create map-route by command;
cf map-route APPNAME au-syd.mybluemix.net --hostname NEW-HOSTNAME
Check error message and fix the problem
*) Most common problem is duplicate map-route name if the hostname used in in other spaces. Please contact Bluemix Support with your new hostname if you cannot find the hostname in your organizations.

Related

"Project is not fully initialized with the default service accounts." Error in brand new account on first project?

i just signed up for Google Could Engine and started the most basic container engine quickstart on a brand new project:
https://cloud.google.com/container-engine/docs/quickstart
a few steps in it has me run this command
gcloud container clusters create example-cluster
which errors out:
$ gcloud container clusters create example-cluster
ERROR: (gcloud.container.clusters.create) ResponseError: code=503, message=Project hello-world-161713 is not fully initialized with the default service accounts. Please try again later.
so far, "trying again later" has not helped: it's been doing this every time for the past few hours.
as usual, Google has no obvious way of getting help in any timely manner, and Googling the error turns up nothing useful.
kind of a long shot but i found a link sending me over here on one of their pages (great support guys) so figured i'd give it a shot. thanks in advance.
The Container Engine API needs to be enabled, and unfortunately that error message is not correct (trying again later won't help).
If you visit the Google Container Engine page in the wb console https://console.cloud.google.com/kubernetes/list it should enable Google Container Engine. Make sure you select the project you're using with the quickstart. You can create your cluster from that page too if you'd prefer.
You can also enable the Container Engine API manually here: https://console.cloud.google.com/apis/api/container.googleapis.com/overview

Create new openshift application

When I try to create a new openshift application in Eclipse, they show me this error:
The authenticity of host 'droptest-daasenv.rhcloud.com' can't be established . RSA key fingerprint is cf:ee:....:a7.
When I click next, they show this msg:
Could not clone the repository. Authentication failed.
Please make sure that you added your private key to the ssh preferences.
ssh://56a4d5fb7628e14ac3000081#droptest-daasenv.rhcloud.com/~/git/droptest.git/: Session.connect: java.io.IOException: End of IO Stream Read
Can you guys tell me what should I do?
I assume you already have a RH cloud account.
In this case you just need to configure yout SSH keys for OpenShift online:
http://tools.jboss.org/documentation/howto/openshift_configssh.html
A second option is: take a look at this page, where I put a 4-minutes (mute) video to show how to use JBossTools to connect to OpenShift Online:
http://www.asegno.com/jboss-dev/

deploying a liberty war file to bluemix liberty gives error 400

After creating a WAR file using maven successfully, I tried uploading the WAR file to Liberty on Bluemix. I used the following command:
cf push wallet -p ./wallet-service/target/wallet-service-1.1-SNAPSHOT.war
Creating app wallet in org irazabal#us.ibm.com / space jax-rs as irazabal#us.ibm.com...
Got following response:
"OK
Creating route wallet.mybluemix.net...
FAILED
Server error, status code: 400, error code: 210003, message: The host is taken: wallet"
What does that mean and more importantly, how do you fix it?
The above error message means the hostname wallet is taken. You are assigned a hostname on a shared domain of mybluemix.net. You can fix this issue by choosing a unique name. You can keep the name of the app to be wallet but choose a unique hostname with the following command.
cf push wallet -n somethingunique -p ./wallet-service/target/wallet-service-1.1-SNAPSHOT.war
The -n argument allows to give a hostname to the app.
Additionally, you can point your own domain to Bluemix and use that with your app.

Google Code Attached issue

I have been trying to use the library provided here, but I always get an error.
The command I am running:
GCUpload.exe -u:myUserName -p:myPassword -n:myProjectName -s:Test -f:myFile
but I get the error of:
That's an error. Your client does not have the permission to get URL /files from this server.
(Client IP address: <My IP address>)
Please sign in to upload a file.
I can log in to google code with the user and the project exists. What am I doing wrong and how can I solve this issue? Thanks.
EDIT: Maybe some credentials must be provided, but I'm not sure what is needed. I've tried this command without success:
net use \\code.google.com\projectname /user:username password
The error is:
The network path was not found.
The problem was that I have run the command with my google user's password, but there is a separate Google Code password which can be found here, but you have to be logged in to see it.

Trouble adding a new service

I have followed the instructions at https://github.com/cloudfoundry/oss-docs/tree/master/vcap/adding_a_system_service and copied the echo service and created my new service. (That document is somewhat out-of-date in that "excluded components" no longer exists.
In any case, my service shows up as running with a gateway and a node when I look at 'vcap status' on the server. However, when I look at 'vmc services' from the client my service is not in the list. Where is this list maintained and why is my service not on the list?
Various services, including blob, filesystem, mongodb, etc, are shown on the 'vcm services' list even though they have never been included in my config. Where is this maintained and why are other services on this list?
The cloud_controller.log file shows a "Create service request:" for echo every minute. This service is not in my config file (it was once but it was removed and I repeated the deployment). What is prompting this request for a service that was not defined in the config?
The _gateway.log for my service shows the following:
INFO -- Sending info to cloud controller: ...api.vcap.me/services/v1/offerings
INFO -- Fetching handles from cloud controller .../offerings/.../handles
ERROR -- Failed registering with cloud controller, status=400
DEBUG -- [GaaS-Provisioner] Connected to node mbus..
ERROR -- Failed fetching handles, status=404
Why does my gateway fail to register with the cloud controller? I have found some reports that suggest that the problem is with domain name mapping. I have verified that the server can find itself:
$curl api.vcap.me
Welcome to VMware's Cloud Application Platform
What can I do to register my service?
You can also try asking your question on the vcap_dev google group.
https://groups.google.com/a/cloudfoundry.org/forum/?fromgroups#!forum/vcap-dev
They are focused in answering and discussing OSS subjects for Cloud Foundry!
If you follow the document correctly things should work just fine. I understand that the mechanism for maintaining the excluded list of components has changed and can be a point of confusion when following the steps mentioned in the article (just ignore that step totally).
ERROR -- Failed registering with cloud controller, status=400
Well this is a point of worry. I recently followed the article step by step and was able to add a new service.
Is the echo service showing up in vmc services?
Have you copied the the yml files for node and gateway at ./cloudfoundry/.deployments/devbox/config?
Are the tokens for your gateway unique? and matching in the two files? ./cloudfoundry/.deployments/devbox/config/cloud_controller.yml and ./cloudfoundry/.deployments/devbox/config/**_gateway.yml**
I would recommend that you first concentrate on getting the echo service to be listed in the vmc services output. Once done with this you should replicate the steps (with absolute care to modify things like the token) to get your custom service working.
Cheers,
Ankit
You should follow this guide
It work to me.
regards.