Skip to content

Functionbeat 7.9.0 deploy failure on GCP #20830

@aschifman

Description

@aschifman

Deploying functionbeat 7.9.0 fails after the following command:

./functionbeat -v -e -d "*" deploy storage

Error output:

Function: storage, could not deploy, error: error while creating function (code: 3):
Build failed: src/storage/storage.go:11:2: cannot find package "github.com/elastic/beats/v7/libbeat/beat" in any of:
        /usr/local/go/src/github.com/elastic/beats/v7/libbeat/beat (from $GOROOT)
        /workspace/src/github.com/elastic/beats/v7/libbeat/beat (from $GOPATH)"

Many additional lines similar to above and finishes with...

Fail to deploy 1 function(s)"

For confirmed bugs, please report:

  • Version: functionbeat-7.9.0-linux-x86_64
  • Operating System: CentOS-6-1
  • Discuss Forum URL: spoke with Noémi Ványi through slack #beats
  • Steps to Reproduce: I can see same results with MacOS laptop and GCP provisioned CentOS VM. Previous 7.8.1 version using the same credentials file and functionbeat.yml file succeeded with following output:
2020-08-27T14:43:11.850Z        DEBUG   [gcp.executor]  executor/executor.go:68 All operations successful
2020-08-27T14:43:11.850Z        DEBUG   [gcp]   gcp/cli_manager.go:50   Successfully created function 'storage'
2020-08-27T14:43:11.850Z        DEBUG   [gcp]   gcp/cli_manager.go:51   Deploy finish for function 'storage'
Function: storage, deploy successful
2020-08-27T14:43:11.850Z        DEBUG   [cli-handler]   cmd/cli_handler.go:64   Deploy execution ended"  

Metadata

Metadata

Assignees

Labels

FunctionbeatTeam:Services(Deprecated) Label for the former Integrations-Services team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions