lscalese / iris-mirroring-samples

Samples for create a mirror with IRIS
MIT License
0 stars 0 forks source link

AddVirtualAddress Failed - could not assign IP to interface, error: Need root privileges to run this script #1

Open lscalese opened 2 years ago

lscalese commented 2 years ago

A root privilege issue occurs with the IRIS image iris:2021.2.0.617.0 :

mirror-demo-master | 02/06/22-09:50:00:545 (749) 0 [Utility.Event] Manager initialized for DEMO
mirror-demo-master | 02/06/22-09:50:00:545 (749) 0 [Utility.Event] No other mirror members configured, becoming primary mirror server
mirror-demo-master | 02/06/22-09:50:03:018 (647) 0 [Database.MountedRW] Mounted database /usr/irissys/mgr/myappdata/ (SFN 5) read-write.
mirror-demo-master | 02/06/22-09:50:03:188 (749) 2 [Utility.Event] AddVirtualAddress failed, cannot become primary: AddVirtualAddress Failed - could not assign

A repository to reproduce the problem is available here and a WRC is open.

lscalese commented 2 years ago

After a check with the WRC team, the problem is due to a change in 2021.2.0.617.0.
Iris is not installed with root user, but with irisowner.
This is an unexpected behavior and It will be fix in further image version.
So, we keep iris:2021.1.0.215.0 and will update when it will be fixed.