Error: 'cause: Cloud director endpoint is not reachable' when trying to deploy VMware Cloud Director Encryption Management
search cancel

Error: 'cause: Cloud director endpoint is not reachable' when trying to deploy VMware Cloud Director Encryption Management

book

Article ID: 376273

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When you are trying to deploy the Encryption Management component via the VMware Cloud Director Provider portal, the creation of the virtual machine fails, and VMware Cloud Director UI returns the following the error:

operation completed with error 1 vcd-ext/cmd/instance/agent.(*waitOperationToCompleteActivity).Run vcd-ext/cmd/instance/agent/activity.go:490 vcd-ext/cmd/instance.ActivityList.Execute.func1 vcd-ext/cmd/instance/activity.go:78 vcd-ext/cmd/instance.ActivityList.Execute vcd-ext/cmd/instance/activity.go:95 vcd-ext/cmd/instance/agent.(*RealizeContext).ExecuteOperation vcd-ext/cmd/instance/agent/common.go:32 vcd-ext/cmd/instance/agent.(*RealizeContext).createInstance vcd-ext/cmd/instance/agent/create.go:46 vcd-ext/cmd/instance/agent.(*RealizeContext).Realize vcd-ext/cmd/instance/agent/realize.go:103 vcd-ext/cmd/instance/create.(*Options).Run vcd-ext/cmd/instance/create/cmd.go:129 vcd-ext/cmd/instance/create.NewCreateCommand.func2 vcd-ext/cmd/instance/create/cmd.go:36 github.com/spf13/cobra.(*Command).execute github.com/spf13/[email protected]/command.go:872 github.com/spf13/cobra.(*Command).ExecuteC github.com/spf13/[email protected]/command.go:990 github.com/spf13/cobra.(*Command).Execute github.com/spf13/[email protected]/command.go:918 vcd-ext/cmd/cli.Run vcd-ext/cmd/cli/cli.go:60 main.main /opt/src/vcd-ext/main.go:13 cause: Cloud director endpoint is not reachable: <cloud director public address>:443 vcd-ext/vcd.NewClient vcd-ext/vcd/client.go:94 vcd-ext/cmd.(*VcdClientOptions).createVcdClient vcd-ext/cmd/vcd.go:80 vcd-ext/cmd.(*VcdClientOptions).CreateVcdClient vcd-ext/cmd/vcd.go:67 vcd-ext/cmd/instance/create.(*Options).Run vcd-ext/cmd/instance/create/cmd.go:122 vcd-ext/cmd/instance/create.NewCreateCommand.func2 vcd-ext/cmd/instance/create/cmd.go:36 github.com/spf13/cobra.(*Command).execute github.com/spf13/[email protected]/command.go:872 github.com/spf13/cobra.(*Command).ExecuteC github.com/spf13/[email protected]/command.go:990 github.com/spf13/cobra.(*Command).Execute github.com/spf13/[email protected]/command.go:918 vcd-ext/cmd/cli.Run vcd-ext/cmd/cli/cli.go:60 main.main /opt/src/vcd-ext/main.go:13

Environment

VMware Cloud Director 10.5.1
VMware Cloud Director Encryption Management 1.2.0

Cause

The organization VDC network that you are using for the Solution Add-On Landing Zone has no access to the public service provider endpoints of the VMware Cloud Director API.

Resolution

Verify that each organization VDC network that you use for the Solution Add-On Landing Zone has access to the public service provider endpoints of the VMware Cloud Director API. This means you need to verify that the DNS of the public address or the FQDN of the cloud director endpoints should be specified under the VDC network.
For example: If the network used for configuration of Solution Add-On Landing Zone is a direct network, the external network should have thew DNS of the public address specified in the properties. Whereas, if the network used for configuration is a routed OrgVDC network, then the OrgVDC network should have thew DNS of the public address specified in the properties.

For more details about networks and prerequisites please go through the VMware documentation: Configure Your Solution Add-On Landing Zone in VMware Cloud Director