-
Notifications
You must be signed in to change notification settings - Fork 7
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
unable to create-release (can gen manifest, d/l binaries & create blobs fine) #12
Comments
could you please go to Splunk-firehose-nozzle repo and follow the instructions in readme to deploy nozzle as a PCF app ? |
Hi chenziliang I will give that a try and report back. Thx |
update: followed deploying the nozzle into cf (https://github.com/cloudfoundry-community/splunk-firehose-nozzle) and it seemed to work ok. I do still require to deploy splunk via bosh, so will continue looking into why it failed when creating the release. As always, any pointers greatly appreciated! Here's an output showing the nozzle being deployed into CF (#2), as suggested. Thx output 2 of 2 instances running App started requested state: started
#0 running 2017-09-01 06:07:43 PM 0.0% 564K of 512M 1.3M of 1G |
update 2: updated the ./scripts/build-release to the following, which then seemed to allow the release to be created. Just doing some further testing on the deployment. Happy to receive feedback, as to why putting the my ./scripts/build-release.sh set -e if [ "$0" != "./scripts/build-release.sh" ]; then function usage(){
Ex: if [ "$1" == "-h" ] || [ "$1" == "--help" ] || [ "$1" == "help" ]; then if [ "$#" -gt 0 ]; then echo "Building splunk-firehose-nozzle-release ${version}" echo "Cleaning up blobs" echo "Downloading binaries" mkdir -p tmp export go_pkg_path=./tmp/go-linux-amd64.tar.gz export splunk_pkg_path=./tmp/splunk-linux-x86_64.tgz export common_pkg_path=./packages/common/splunk-linux-x86_64.tgz if [ -a "${go_pkg_path}" ]; then if [ -a "${splunk_pkg_path}" ]; then if [ -a "${common_pkg_path}" ]; then echo "Adding blobs" echo "Creating release" eval ${create_cmd}` releases check on director Name Version Commit Hash (*) Currently deployed 1 releases Succeeded Thx |
May I ask why in your case, deployed via bosh is requied? |
hi chenziliang sure - the current build process for the clustered splunk estate I work with (index clusters, search head clusters etc) is all via ansible code. As a move to BOSH is currently underway, I want to be able to deploy a clustered splunk env using bosh only (possibly with terraform). I am also in engagement with splunk (vendor) as this is still fairly new (via bosh) afaik. thx |
Hi
following the guide but it fails on
creating the release
<- I am using bosh v2. binaries/files are where they are supposed to be (afaik).bosh version: version 2.0.29-1f8ec43-2017-07-14T16:10:31Z
go version: go version go1.9 darwin/amd64
spiff version: spiff version 1.0.7
virtualbox version: 5.1.22r115126
OS: mac osx El Capitan 10.11.6
Error:
user@machine:~/deployments/vbox/splunk-firehose-nozzle-release$ ./scripts/build-release.sh
Building splunk-firehose-nozzle-release
Cleaning up blobs
Downloading binaries
Go package already exist, skipping download
Splunk package already exist, skipping download
Adding blobs
Added blob 'golang'
Succeeded
Added blob 'golang'
Succeeded
Added blob 'splunk'
Succeeded
Added blob 'splunk'
Succeeded
Creating release
Building a release from directory '/Users/USER/deployments/vbox/splunk-firehose-nozzle-release':
Collecting package files:
Missing files for pattern 'common/**/*'
Collecting package files:
Missing files for pattern 'golang/go-linux-amd64.tar.gz'
Collecting package files:
Missing files for pattern 'splunk/splunk-linux-x86_64.tgz'
Exit code 1
Any pointers appreciated.
Thx
The text was updated successfully, but these errors were encountered: