Questions tagged [vmc]

vmc is Cloud Foundry's command-line interface.

67 questions
7
votes
5 answers

Can't use rhc after installation , for openshift

I'm running into a weird issue after installing rhc and vmc. None of the below seems to be working. For Openshift: https://openshift.redhat.com/app/getting_started For Cloudfoundry: http://docs.cloudfoundry.com/tools/vmc/installing-vmc.html I'm…
sbose
  • 1,791
  • 5
  • 24
  • 46
3
votes
2 answers

Resources for getting started with MCML?

Can anyone suggest some references or other resources that are useful in learning MCML? I have a small pet project I have been working on for a while using C# and .Net 3.5. I have reached a point where I want to be able to send output from it to…
Ben
3
votes
1 answer

vmc tunnel not working on api.cloudfoundry.com with Ruby 2.0

I am trying to tunnel the mysql service on api.cloudfoundry.com but facing the error below. I have installed Ruby 2.0 installed gem versions : * LOCAL GEMS * addressable (2.3.3, 2.2.8),async_sinatra (0.5.0),bigdecimal (1.2.0),caldecott…
Altaf
  • 31
  • 2
3
votes
1 answer

Error installing vmc, vmc requires multi_json (~> 1.4.0, runtime)

I am trying to install cloud foundry tool:vmc on my mac(10.8.2). In the terminal, I inputed this command, but get back the error: ERROR: Error installing vmc: vmc requires multi_json (~> 1.4.0, runtime)* Then I check the version of…
websterww
  • 33
  • 5
2
votes
1 answer

How can I get the output of Cloudfoudry CLI vmc/cf by "grep"

I have used the following command vmc info |grep target I can get the target info exactly. But when I type: vmc apps |grep running There is no output. If I try to redirect the stdout to file like: vmc apps &> tmplog I was confused to see that…
wbright
  • 21
  • 2
2
votes
2 answers

binding a rabbitmq service

With vmc I pushed my java application into cloudfoundry and I created a rabbitmq service bound to this application, I have tested two or three applications like that and all works so good, but from few days I had a problem to bind a rabbitmq service…
Riahi
  • 37
  • 1
  • 1
  • 2
2
votes
1 answer

Issue inserting data into a mysql table using cloudfoundry's vmc utility

I am having issues with user privileges in mysql and cloudfoundry. I was able to insert data into a table and I am trying to insert data into another table and running into the following issue: mysql> source…
balteo
  • 23,602
  • 63
  • 219
  • 412
2
votes
1 answer

Problems uploading logstash 1.1.15 - monolithic jar as a Cloud foundry app.

When I run vmc update logstash. I get errors. Uploading Application: Checking for available resources: OK Processing resources: OK Packing application: OK Uploading (55M): OK HTTP exception: RestClient::RequestTimeout:Request Timeout Has…
1
vote
1 answer

Cloud Foundry unable to deploy grails app [UnknownHostException]

I recently tried to deploy a Grails project on cloud foundry and I got the following error while executing "grails cf-push" Environment set to production..... Error Error executing script_ CfPush:…
mateusz.s
  • 31
  • 1
  • 5
1
vote
1 answer

NoMethodError: undefined method `prompts' for nil:NilClass

After I configured MCF encountered the following error when I execute the following command: sunmatoMacBook-Pro-2:~ sunshiguo$ cf target target: http://api.telemetry.cloudfoundry.me sunmatoMacBook-Pro-2:~ sunshiguo$ cf…
shiguosun
  • 21
  • 1
  • 3
1
vote
1 answer

vmc apps capturing output

I need to capture the output of the vmc apps or vmc apps --full command so that the captured information can be analyzed and be used in our system. If we execute the command we get something like this: foo stopped 1 x 512M java7 …
pveentjer
  • 10,545
  • 3
  • 23
  • 40
1
vote
2 answers

How can I update vmc so that it uses cfoundry 0.5.0 instead of 0.4.21?

I am trying to connect to a mysql service on cloudfoundry. I installed vmc v 0.4.7 (which is currently the latest). I have deployed my grails application and created a mysql service through it also. Now I want to access the mysql service. I tried to…
Arturo
  • 1,039
  • 1
  • 10
  • 21
1
vote
1 answer

Unable to run vmc do to gem version dependency confusion

I just need to know what commands to run to install/uninstall the right gems such that vmc will work. I keep attepmting to meet the dependency requirments of the gem by install cfoundry by get the below error when i run vmc: Howards-iMac:~ Howard$…
chapandscholar
  • 137
  • 1
  • 8
1
vote
1 answer

I can't install 'tunnel-vmc-plugin' to enable tunnelling

I deployed a Rails app on Cloud Foundry, and every time I run vmc tunnel, I keep getting the following error: Please install 'tunnel-vmc-plugin' to enable tunnelling. Pardon the extra step; it can't be a direct dependency because it requires native…
loreanK
  • 11
  • 1
1
vote
1 answer

Unknown command 'rails-console' in vmc

vmc works well except "rails-console" command is unknown. my vmc version is 0.4.7 and os is mac 10.7.5. But it seems this command should be supported. Do you know why rails-console doesn't work for my environment?
ramon.liu
  • 186
  • 3
  • 5
1
2 3 4 5