apache / cloudstack

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

on destroy ssvm mac address doesn't get removed #8103

Open DaanHoogland opened 11 months ago

DaanHoogland commented 11 months ago
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
id name state private_mac_address private_ip_address
1 v-1-VM Running 1e:00:47:00:00:24 10.0.42.36
2 s-2-VM Running 1e:00:85:00:00:25 10.0.42.37
249 v-249-VM Destroyed
250 s-250-VM Destroyed "1e:00:c2:00:00:05"
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
weizhouapache commented 11 months ago

@DaanHoogland I checked my envs, the mac address of ssvm and vrs are still there, but not for cpvms I think, it is not a problem to keep or clean up mac address if the system vms have been destroyed.

DaanHoogland commented 11 months ago

not sure if they can be re-used this way, just noticed it and entered the issue to keep track. This would only become an issue in very large environments I suppose?

rohityadavcloud commented 10 months ago

isn't that for auditing purpose @DaanHoogland or is it okay to reuse old mac addresses?

DaanHoogland commented 10 months ago

isn't that for auditing purpose @DaanHoogland or is it okay to reuse old mac addresses?

I think auditing a destroyed system VM would not amount to much. If it were user VMs maybe, but we regard the systemVMs as secure, don't we?

Also, I think it is only for SSVM and not VR , but need to check that.