dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Server-side Pagination: Cluster Management: Create RKE2 Harvester: Selectors do not list available options

Open yonasberhe23 opened this issue 1 year ago • 9 comments

Setup

  • Rancher version: v2.9.0-rc3
  • Rancher UI Extensions:
  • Browser type & version:

Describe the bug Selectors on the Harvester creation form do not list available options.

To Reproduce Harvester Machine Config

  1. Turn Vai on
  2. go to Cluster Management
  3. click Create > RKE2 Harvester
  4. under Machine Pools > click Namespace drop-down > notice it says 'no options'
  5. under User Data > click User Data Template drop-down > notice it says 'no options'
  6. under Network Data Template drop-down > notice it says 'no options'
  7. under VGPUs > click drop-down > notice it says 'Sorry no matching option'
  8. under Networks > Cannot read properties of undefined (reading "id")

Result Selectors on the Harvester creation form do not list available options.

Expected Result Selectors on the Harvester creation form should list available options.

Screenshots With Vai ON Greenshot 2024-07-26 12 44 16 Greenshot 2024-07-26 12 44 59 Greenshot 2024-07-26 12 45 02 Greenshot 2024-07-26 12 46 35 Greenshot 2024-07-26 12 44 19

With Vai OFF Greenshot 2024-07-26 12 39 00 Greenshot 2024-07-26 13 20 35 Greenshot 2024-07-25 15 56 11 Greenshot 2024-07-26 13 20 45

Additional context will also need to take a look at Harvester cluster in edit mode as there information missing from the UI in an existing cluster Greenshot 2024-07-26 12 47 06

yonasberhe23 avatar Jul 26 '24 20:07 yonasberhe23

@yonasberhe23 Can you confirm the version of the target harvester cluster?

richard-cox avatar Jul 28 '24 07:07 richard-cox

@yonasberhe23 Can you confirm the version of the target harvester cluster?

@noahgildersleeve can you provide this info, please?

yonasberhe23 avatar Jul 30 '24 16:07 yonasberhe23

@yonasberhe23 did you hear back from @noahgildersleeve at all on this? I'll hold on filing a back port to 2.10.x until we get more info.

gaktive avatar Nov 01 '24 18:11 gaktive

Manual validation required.

yonasberhe23 avatar May 30 '25 16:05 yonasberhe23

@IsaSih is working on sharing an environment details for this validation.

izaac avatar Jun 20 '25 16:06 izaac

Should this be working with harvester v1.5.1-rc1?

I have Rancher version: v2.12-45db8e5baaff593ffbd40e6a8c8a40b59faabb7c-head Rancher UI version: master 5edb3fc

I still see the user-data and network-data failing to list the available objects.

izaac avatar Jun 26 '25 19:06 izaac

I tested this in Harvester v1.5.1-rc4 with Rancher v2.12.0-alpha16 and ui-extensions v1.5.0. It seemed to be working fine when I checked. I couldn't check the vGPU entry since that isn't enabled on the cluster I was testing. Do you need that checked as well?

This was tested in a 2 node virtualized KVM/libvirt environment using a PXE install with ipxe-examples.

Image

Image Image Image Image

noahgildersleeve avatar Jun 27 '25 02:06 noahgildersleeve

@noahgildersleeve just to confirm, user-data --> user data template has options? if so i think that's all the values tested in the latest version and we can close

richard-cox avatar Jun 27 '25 07:06 richard-cox

@noahgildersleeve I can't tell from the screenshots there's a section hidden under more options of the machine pools where as @richard-cox mentioned there's the user data template and network template dropdowns. vgpu's would be ideal but I'm not sure if that's critical if the other data is showing.

Note: you might need to add the network and user data manually in the Harvester end.

izaac avatar Jun 27 '25 15:06 izaac

@noahgildersleeve will you be able to check what @richard-cox called out?

izaac avatar Jul 03 '25 03:07 izaac

I'll check with @IsaSih if it's possible to get our harvester server to the latest RC to retest and reopen if we reproduce.

izaac avatar Jul 08 '25 15:07 izaac

Rancher version: v2.12.0-alpha17 Rancher UI version: v2.12.0-alpha11 Harvester: v1.6-9d264654-head

This issue is still reproducible.

Harvester

Image Image

Rancher

Image Image

izaac avatar Jul 09 '25 19:07 izaac

Possible dupe: https://github.com/harvester/harvester/issues/8601

izaac avatar Jul 09 '25 19:07 izaac

Tested with below env, network and user data dropdowns still not available.

Rancher version: v2.12-91d638bca620f8a1c9af8a4f27a66eaaea0e533a-head
Rancher UI version: master 88a9d18
Harvester: v1.6.0-rc2

ConfigMap request URL : https://100.92.70.36/k8s/clusters/c-xlw2w/v1/configmaps?pagesize=100000&filter=metadata.label[%22harvesterhci.io/cloud-init-template%22]=user,metadata.label[%22harvesterhci.io/cloud-init-template%22]=network&exclude=metadata.managedFields

https://github.com/user-attachments/assets/6d5fc5af-da53-4f3a-8e4b-e85412f59705

cc @richard-cox , @houhoucoop

a110605 avatar Jul 22 '25 07:07 a110605

Rancher version: v2.12-1c40beb39f9125b9bc6864f5fd1f81352158a587-head -alpha2 Rancher UI version: master 650c768 Harvester version: v1.6.3-rc3

I am able to see the data in the create cluster dropdowns now.

Image

I've added multiple in one and 1 in the other, And then empy and with data again, Rancher displayed the expected data in all cases.

izaac avatar Jul 23 '25 19:07 izaac