[ https://issues.apache.org/jira/browse/CLOUDSTACK-10245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raf Smeets updated CLOUDSTACK-10245: ------------------------------------ Description: ResetPassword functionality for guestVm's in Nuage isolated networks is not working as password_server is not running on VirtualRouter. Unable to login with new password. Scenario to reproduce: # Execute ResetPassword on GuestVM # Try to login with new password fails as passwordserver is not running on port 8080 in VR. After some further debugging, found that this bug is introduced while fixing CLOUDSTACK-9749 by [https://github.com/apache/cloudstack/pull/2409] was: ResetPassword functionality for guestVm's in Nuage isolated networks is not working as password_server is not running on VirtualRouter. Unable to login with new password. Scenario to reproduce: # Execute ResetPassword on GuestVM # Try to login with new password fails as passwordserver is not running on port 8080 in VR. After some further debugging, found that this bug is introduced while fixing CLOUDSTACK-9749 by [https://github.com/apache/cloudstack/pull/2409] There is a difference in between native and nuage VR in isolated networks:systemvm boot cmdline for native: type=router while it is type=dhcpsrvr in Nuage. It seems neither self.config.is_vpc() nor self.config.is_router() are true while the VPC VR is of type DHCP server. Moving the code block to the if self.config.has_metadata(): block fixes the bug. > ResetPassword for guestVm in nuage isolated networks is not working, unable > to login with new password > ------------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-10245 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10245 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Affects Versions: 4.11.0.0, 4.12 > Reporter: Raf Smeets > Assignee: Frank Maximus > Priority: Blocker > > ResetPassword functionality for guestVm's in Nuage isolated networks is not > working as password_server is not running on VirtualRouter. Unable to login > with new password. > Scenario to reproduce: > # Execute ResetPassword on GuestVM > # Try to login with new password fails as passwordserver is not running on > port 8080 in VR. > After some further debugging, found that this bug is introduced while fixing > CLOUDSTACK-9749 by [https://github.com/apache/cloudstack/pull/2409] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)