apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.1k stars 1.11k forks source link

Network->Security groups not shown after wizard #9853

Open rp- opened 4 weeks ago

rp- commented 4 weeks ago
ISSUE TYPE
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.19.1.2
CONFIGURATION

basic network, with security group offering

OS / ENVIRONMENT

almalinux9, kvm

SUMMARY

After a fresh install and doing the setup wizard, the Network->Security groups UI item will not be shown until you restart the cloudstack-management service and relog.

STEPS TO REPRODUCE
Do a fresh CloudStack install
Run through the wizard with basic zone + security groups
EXPECTED RESULTS
Security group entry without restarting the cloudstack-management service.
ACTUAL RESULTS
Security groups item is missing, and maybe other too?(Guest VLAN)
DaanHoogland commented 3 weeks ago

@rp- , is this really a bug? it seems not unreasonable to expect a reboot after such a fundamental change to the (default) system configuration. Maybe it is more appropriate to have a message indicating an MS restart is needed?

weizhouapache commented 3 weeks ago

@rp- , is this really a bug? it seems not unreasonable to expect a reboot after such a fundamental change to the (default) system configuration. Maybe it is more appropriate to have a message indicating an MS restart is needed?

a logout-login should work.

rp- commented 3 weeks ago

@rp- , is this really a bug? it seems not unreasonable to expect a reboot after such a fundamental change to the (default) system configuration. Maybe it is more appropriate to have a message indicating an MS restart is needed?

a logout-login should work.

I thought I did that...

But would a auto-logout not be good then?

DaanHoogland commented 3 weeks ago

@rp- , is this really a bug? it seems not unreasonable to expect a reboot after such a fundamental change to the (default) system configuration. Maybe it is more appropriate to have a message indicating an MS restart is needed?

a logout-login should work.

I thought I did that...

But would a auto-logout not good then?

sounds reasonable. with message?

weizhouapache commented 3 weeks ago

@rp- , is this really a bug? it seems not unreasonable to expect a reboot after such a fundamental change to the (default) system configuration. Maybe it is more appropriate to have a message indicating an MS restart is needed?

a logout-login should work.

I thought I did that...

But would a auto-logout not be good then?

the reason is, the zones information is cached in browser (store.getters.zones). It is not automatically updated when create a new zone (yes, it should be updated). when logout and then login, zones info will be reloaded I think.