Closed ivandavidov closed 6 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/159993979
The labels on this github issue will be updated when the story is started.
We believe this has been fixed by https://github.com/cloudfoundry/bosh-cli/commit/5f5f3d55c0c5160517cfa408dddfefefc9239994 as part of this story: https://www.pivotaltracker.com/story/show/159641167. Try using the latest CLI (currently 5.1.2) which contains the fix and re-open this if it's still an issue.
Best, @belinda-liu & @luan, CF BOSH
The latest released version of the BOSH CLI is from 17-Aug-2018
(you can check here) and the commit you refer to seems to be from approximately 20-Aug-2018
. I am not that good at math but to me it seems there is no way the fix could have been applied in the 17-Aug
version of the BOSH CLI tool. Besides, in our team we already tried the 5.1.2
version and the issue is there.
You seem pretty good math, to me. Sorry for the confusion; the fix has not yet been included in a release. We'll keep this issue open until the release if you want to use it to track. Shouldn't be too long.
Hey @ivandavidov, we just released another version of bosh-cli yesterday, v5.2.x which should resolve these issues. Please re-open this issue if it continues to be a problem.
Hello,
I believe there is a bug in the BOSH CLI tool version 5.0.1-2432e5e9-2018-07-18T21:41:06Z and in the newer versions as well.
Here is what we do:
Navigate to the folder where we have our BOSH release that we are trying to create.
cd /home/apama/cloudfoundry/repos/cf-apama/cf-Apama
Note that
/home/apama/cloudfoundry
is symlink to another folder:/home/apama/cloudfoundry
=>/FS/fslocal/cloudfoundry
Execute the following command:
bosh2 create-release --name cf-apama --force
The expected output is to successfully generate new release. However, what we get as output is this failure:
The full
strace
output for this failure can be found here. The above mentioned error message can be found here. Please have in mind that the gist page contains 2 files and the upper one contains the error.We observed that there is no problem to generate new release when we navigate to the release folder but without using symlinks:
Navigate to the folder where we have our BOSH release that we are trying to create.
cd /FS/fslocal/cloudfoundry/repos/cf-apama/cf-Apama
This time the folder path contains no symlinks.
Execute the same command as before:
bosh2 create-release --name cf-apama --force
In this particular use case we see the following output:
The full
strace
output of the successful execution can be found here.We confirmed that the release generation fails even for very simple releases, e.g. @mariash's learn-bosh-release if there is symlink involved somewhere in the path to the release folder.
The BOSH CLI versions that we tested were
5.0.1
and the latest released5.1.2
. They both fail when we try to generate release with symlink in the path to the release folder. The issue is not observed with BOSH CLI version2.0.28
.Could you please confirm whether or not this is a bug or expected behavior? In the latter case, is this behavior documented somewhere? Thank you!
Regards, Ivan Davidov