Skip to content

Commit 8885e01

Browse files
Merge pull request openshift#8097 from vr4manta/SPLAT-1468
SPLAT-1468: Added log message for import vsphere ova progress during CAPI install.
2 parents 624ef6a + 53d87cd commit 8885e01

File tree

1 file changed

+2
-1
lines changed
  • pkg/infrastructure/vsphere/clusterapi

1 file changed

+2
-1
lines changed

pkg/infrastructure/vsphere/clusterapi/import.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"path"
1010

1111
"github.com/pkg/errors"
12+
"github.com/sirupsen/logrus"
1213
"github.com/vmware/govmomi/govc/importx"
1314
"github.com/vmware/govmomi/nfc"
1415
"github.com/vmware/govmomi/object"
@@ -23,7 +24,7 @@ import (
2324

2425
func importRhcosOva(ctx context.Context, session *session.Session, folder *object.Folder, cachedImage, clusterID, tagID, diskProvisioningType string, failureDomain vsphere.FailureDomain) error {
2526
name := fmt.Sprintf("%s-rhcos-%s-%s", clusterID, failureDomain.Region, failureDomain.Zone)
26-
27+
logrus.Infof("Importing OVA %v into failure domain %v.", name, failureDomain.Name)
2728
archive := &importx.ArchiveFlag{Archive: &importx.TapeArchive{Path: cachedImage}}
2829

2930
ovfDescriptor, err := archive.ReadOvf("*.ovf")

0 commit comments

Comments
 (0)