-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cf-push command failed #741
Comments
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/112499223. |
Hi @vimal11592 , Can you provide more details? How much available space do you have in your temp folder? Cheers, |
Hi Dies, I ran the command df -h .Here is the output : Filesystem Size Used Avail Use% Mounted on Manifest file content is :applications:
I ran cf push app_name command so many times.This happen every time.And as Thanks, On 27 January 2016 at 16:23, Dies Koper notifications@github.com wrote:
|
The problem looks like the CLI failing to create a temporary file with the contents of the app to be uploaded. Your Can you describe the steps you've used to get onto the machine that you ran |
Hi kris, Below are the following steps that i followed :-
I followed all the steps on the same machine where cf is depployed. Thanks, On 29 January 2016 at 02:03, Kris Hicks notifications@github.com wrote:
|
You're trying to push to a bosh-lite running within a Vagrant VM, which may be problematic. The typical use case for bosh-lite is to have it running on a VM directly on the host machine, say from your Windows/Linux/Mac, not from within another VM. I'd try the above steps again, but without There is a bug in the CLI that I can see, which is that we're not properly handling the error that occurs if we cannot create the tempfile. This problem exists in the current version of the code, as well. If we handle that error better you'll not get a panic, and instead we'll be able to see the real error. |
Hi, Thanks for the reply. Thanks, On 30 January 2016 at 03:14, Kris Hicks notifications@github.com wrote:
|
I would do the push from your Linux box, not from the Vagrant VM. Do all the same steps, but without |
I follwed all the steps again and tried to set the target from my linux box Error : rle0249@rle0249-Latitude-3450:~$ cf api https:-api.bosh-lite.com Thanks, On 31 January 2016 at 15:49, Kris Hicks notifications@github.com wrote:
|
Your api command has a broken target. You want https://api.bosh-lite.com, not https:-api.bosh-lite.com. You'll also need to run bin/add-route if you haven't already from within the bosh-lite directory. |
@vimal11592 We've published a new edge release that contains a proper handling of the error returned by trying to create a temporary file. Please download it from https://github.com/cloudfoundry/cli#downloads and try again. |
Thank you . i will start using it. Thanks, On 3 February 2016 at 03:29, Kris Hicks notifications@github.com wrote:
|
@vimal11592, Do you have an update? |
Hi Kris, I have tried with cf version 15 also but till not able to solve the issue. Please here is the process which i have followed .Please it would be great Platform Detail :-
After following all the above steps I tried to set cf target from my rle0249@rle0249-Latitude-3450:~/catalyst/D4D$ cf api Setting api endpoint to https://api.bosh-lite.com... When i tried to setup the target from the vagrant machine I am bale to set My questions are
Can you please help me out with the issues.And thanks for replying . Thank You So Much!!!! Thanks, On 9 February 2016 at 09:42, Kris Hicks notifications@github.com wrote:
cf push RLCatalyst Updating app RLCatalyst in org RelevanceLab / space RLCatalyst as admin... Uploading RLCatalyst...
|
i had a similar issue, Just use sudo before cf . So the command to push application would be "sudo cf push [App-name] |
Thanks faizi. It helped me .Now I am able to push app in cf. Thanks, On 15 February 2016 at 18:21, faizi1407 notifications@github.com wrote:
|
Good that this solved for you, now i am facing a challenge in Log aggregator as bosh status shows VM's failing. |
You shouldn't be performing any steps from within the vagrant VM. There is no need to You should be able to do the following after installing Vagrant, Virtualbox, and spiff on your host Ubuntu machine (not inside a VM):
Prior to shutting down your computer you should |
Hi Kris, Thanks !!! It really helped me ,Now I am able to set the target and push application Thanks, On 15 February 2016 at 21:49, Kris Hicks notifications@github.com wrote:
|
Glad to hear it. |
Command
cf push rlcatalyst
The text was updated successfully, but these errors were encountered: