Raf Smeets created CLOUDSTACK-10245:
---------------------------------------
Summary: ResetPassword for guestVm in 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
ResetPassword functionality for guestVm's in 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]
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)