Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-709

[OSP] The provider with application credential/token authentication type is always on staging status

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 2.5.1
    • 2.5.0
    • None
    • None
    • False
    • None
    • False

      The OpenStack provider created on UI using one of the following authentication types is always on staging status:

      • Application credential ID
      • Application credential name
      • Token with user ID
      • Token with user name

      The error in the inventory pod log is:

      {"level":"info","ts":"2023-09-13 07:20:14.613","logger":"collector|openstack","msg":"Failed.","provider":"openshift-mtv/openstack-test","phase":"load","error":"no region name found within the client options","stacktrace":"\ngithub.com/konveyor/forklift-controller/pkg/lib/error.New()\n\t/remote-source/app/pkg/lib/error/wrap.go:13\ngithub.com/konveyor/forklift-controller/pkg/lib/client/openstack.(*Client).GetClientRegion()\n\t/remote-source/app/pkg/lib/client/openstack/client.go:1315\ngithub.com/konveyor/forklift-controller/pkg/controller/provider/container/openstack.(*RegionAdapter).List()\n\t/remote-source/app/pkg/controller/provider/container/openstack/model.go:79\ngithub.com/konveyor/forklift-controller/pkg/controller/provider/container/openstack.(*Collector).create()\n\t/remote-source/app/pkg/controller/provider/container/openstack/collector.go:228\ngithub.com/konveyor/forklift-controller/pkg/controller/provider/container/openstack.(*Collector).load()\n\t/remote-source/app/pkg/controller/provider/container/openstack/collector.go:213\ngithub.com/konveyor/forklift-controller/pkg/controller/provider/container/openstack.(*Collector).run()\n\t/remote-source/app/pkg/controller/provider/container/openstack/collector.go:159\ngithub.com/konveyor/forklift-controller/pkg/controller/provider/container/openstack.(*Collector).Start.func1()\n\t/remote-source/app/pkg/controller/provider/container/openstack/collector.go:132\nruntime.goexit()\n\t/usr/lib/golang/src/runtime/asm_amd64.s:1594"}

       

      Versions:

      MTV 2.5.0 iib:567390

      CNV 4.13.4

      Steps to reproduce:

      Create an OpenStack provider on UI using one of the above authentication types.

      Actual results:

      The provider is always on staging status with the above error.

      Expected results:

      The provider should be on Ready status.

              yzamir@redhat.com Yaacov Zamir
              rhn-support-qiyuan Qin Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: