cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Enabling the Project toggle doesn't list the admin created networks

Open kiranchavala opened this issue 1 year ago • 1 comments

ISSUE TYPE

BUG

Component Name: UI

Storage

CLOUDSTACK VERSION

Cloudstack version 4.18, 4.19

SUMMARY

Enabling the Project toggle doesn't list the admin created networks

Steps to reproduce the issue

  1. Create a project
  2. Change to project view
  3. Create a isolated network let say ( project network)
  4. Change to admin default view
  5. Create a isolated network let say (admin network )
  6. Toggle the project view > Only the project related network is shown
net1 net2

Expected Behaviour

The admin network and project network both should be shown

Example if we look at vm’s tab when the project tab is turned all the vms (including the admin created ones) are displayed .

projectvm

kiranchavala avatar Aug 29 '24 11:08 kiranchavala

@kiranchavala did you check that the API perform consisten functionality (as you labelled this as UI)

@wido @rohityadavcloud this sounds like a revisit of the listall=true projects=-1 issue that has been discussed in the past, or did we miss this functionality (listNetworks)?

DaanHoogland avatar Aug 29 '24 12:08 DaanHoogland

@kiranchavala did you check that the API perform consisten functionality (as you labelled this as UI)

@wido @rohityadavcloud this sounds like a revisit of the listall=true projects=-1 issue that has been discussed in the past, or did we miss this functionality (listNetworks)?

Seems like it indeed! listall does not list everything, that's still misleading imho.

wido avatar Aug 29 '24 19:08 wido

@kiranchavala did you check that the API perform consisten functionality (as you labelled this as UI)

@wido @rohityadavcloud this sounds like a revisit of the listall=true projects=-1 issue that has been discussed in the past, or did we miss this functionality (listNetworks)?

yes the API also list only 1 output

(cmk) > list networks filter=name  lisall=true projectid=-1
{
  "count": 1,
  "network": [
    {
      "name": "test2"
    }
  ]
}

kiranchavala avatar Aug 30 '24 06:08 kiranchavala

thanks @kiranchavala , if we solve this in the API it should automatically work correctly in the UI.

DaanHoogland avatar Sep 04 '24 17:09 DaanHoogland

updated the milestone to 4.20.2

weizhouapache avatar Aug 29 '25 08:08 weizhouapache