Comments (12)
@ZPascal this looks like a wrong network configuration in the BOSH manifest. You can check the docs here to correct it.
from bosh-cli.
The compilation is happening down here
from bosh-cli.
@ZPascal Could you try removing those lines and check if the VirtualBox CPI gets any further? There is no point in removing those lines if the VirtualBox CPI does not work, given that there are no other CPI's that want to support windows.
from bosh-cli.
@rkoster Do you mean the corresponding lines inside the bosh CLI? I'll organize a Windows machine and try it out.
from bosh-cli.
Yes the corresponding lines inside the bosh cli.
from bosh-cli.
@rkoster I've removed the code lines and tested it again on the Windows machine. Now, I've faced another issue, but not directly related anymore to the Bosh CLI. Do you have ever seen that issue or should I start to debug it?
from bosh-cli.
@ZPascal can this issue be closed?
from bosh-cli.
@rkoster No, I have not fixed the issue/ tested the solution yet. As a follow-up, I'll definitely open a PR inside this repository to adjust the used version of the utils implementation.
from bosh-cli.
FYI @rkoster & @beyhan To give you an update on that topic. I've executed the bosh create-env "<src>/bosh.yml" --state .\state.json ... -v internal_cidr=192.168.56.0/24 ...
command and the BOSH part works as expected, but now we are back on VBox CPI release and now I've faced an issue related to command execution and used environment. (screenshot) I think you know, that the release is a bit shaky and does not officially support Windows.
I'll further work as a side topic on it, but how should we continue with this topic? Should I open the corresponding PR to adapt the Bosh CLI or should we roll it out, if everything works as expected (my preferred solution)?
from bosh-cli.
The bosh create-env
is probably starting to compile the VirtualBox CPI in the local (Windows) machine. We would need the normal non-debug log to take a step back and understand at which steps this fails.
from bosh-cli.
Hi @bgandon, for me it looks like BOSH wants to compile the Golang CPI part with classical Bash syntax. Do you have any idea, where I can find the corresponding part inside the source code?
C:\Users\ZPascal\Workspace\vbox>C:\Users\ZPascal\Workspace\bosh-cli\out\bosh create-env "C:\Users\ZPascal\Workspace\bosh-deployment\bosh.yml" --state .\state.json -o "C:\Users\ZPascal\Workspace\bosh-deployment\virtualbox\cpi.yml" -o "C:\Users\ZPascal\Workspace\bosh-deployment\virtualbox\outbound-network.yml" -o "C:\Users\ZPascal\Workspace\bosh-deployment\bosh-lite.yml" -o "C:\Users\ZPascal\Workspace\bosh-deployment\bosh-lite-runc.yml" -o "C:\Users\ZPascal\Workspace\bosh-deployment\uaa.yml" -o "C:\Users\ZPascal\Workspace\bosh-deployment\credhub.yml" -o "C:\Users\ZPascal\Workspace\bosh-deployment\jumpbox-user.yml" --vars-store .\creds.yml -v director_name=bosh-lite -v internal_ip=192.168.56.6 -v internal_gw=192.168.56.1 -v internal_cidr=192.168.56.0/24 -v outbound_network_name=NatNetwork
Deployment manifest: 'C:\Users\ZPascal\Workspace\bosh-deployment\bosh.yml'
Deployment state: '.\state.json'
Started validating
Downloading release 'bosh'... Finished (00:00:38)
Validating release 'bosh'... Finished (00:00:01)
Downloading release 'bpm'... Finished (00:00:16)
Validating release 'bpm'... Finished (00:00:00)
Downloading release 'bosh-virtualbox-cpi'... Finished (00:00:46)
Validating release 'bosh-virtualbox-cpi'... Finished (00:00:05)
Downloading release 'garden-runc'... Finished (00:01:17)
Validating release 'garden-runc'... Finished (00:00:01)
Downloading release 'bosh-warden-cpi'... Finished (00:00:33)
Validating release 'bosh-warden-cpi'... Finished (00:00:00)
Downloading release 'os-conf'... Finished (00:00:01)
Validating release 'os-conf'... Finished (00:00:01)
Downloading release 'uaa'... Finished (00:01:20)
Validating release 'uaa'... Finished (00:00:00)
Downloading release 'credhub'... Finished (00:00:56)
Validating release 'credhub'... Finished (00:00:00)
Validating cpi release... Finished (00:00:00)
Validating deployment manifest... Finished (00:00:00)
Downloading stemcell... Finished (00:02:16)
Validating stemcell... Finished (00:00:01)
Finished validating (00:08:22)
Started installing CPI
Compiling package 'golang-1-linux/79f531850e62e3801f1dfa4acd11c421aebe653cd4316f6e49061818071bb617'... Failed (00:00:00)
Failed installing CPI (00:00:00)
Installing CPI:
Compiling job package dependencies for installation:
Compiling job package dependencies:
Compiling package:
Starting command bash -x packaging:
exec: "bash": executable file not found in %!P(MISSING)ATH%!(NOVERB)
Exit code 1
from bosh-cli.
@jpalermo Thank you for pointing me to the right code lines. I'll check the possible options.
from bosh-cli.
Related Issues (20)
- [Question] About release v6.4.8 HOT 5
- Running deploy with a certain variable value panics HOT 3
- BOSH CLI on Windows platform is holding file lock on ssh-known-hosts file prevent ssh child process to read it HOT 4
- Release binaries for arm64 HOT 2
- Set the the ACL when uploading to S3 HOT 3
- Allow importing bosh-cli v6.4.2 as a dependency HOT 2
- TLS handshake failure occurs when downloading bosh-release HOT 2
- bosh upload-release (from source) ignores local changes HOT 2
- Specifying instances by index ambiguous HOT 3
- Updating package via bosh `vendor-package --prefix` does not honor prefix on dependent packages HOT 3
- Adding `--preview` parameter to bosh deploy command before commencing deployment HOT 5
- Creating releases with blobs are broken on Windows HOT 3
- Replace --force flag with --dev-release? HOT 7
- delete_stemcell is causing bosh CLI to fail when stemcell already does not exist HOT 2
- Is a internal ca certificate can be used for HOT 2
- Default interpolated x509 certificates have invalid 3 digits USA country code
- CLI crashes on trying to select multiple columns to print HOT 4
- bosh-cli didn't read the trailing zero '0' of stemcell version in manifest HOT 1
- About the latest release HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bosh-cli.