[
https://issues.apache.org/jira/browse/CLOUDSTACK-8957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980049#comment-14980049
]
ASF subversion and git services commented on CLOUDSTACK-8957:
-------------------------------------------------------------
Commit eabf11c99d4bda086133dc33050ec383ebb65e01 in cloudstack's branch
refs/heads/master from [~remibergsma]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=eabf11c ]
Merge pull request #998 from ekholabs/fix/vr_passwd_server-CLOUDSTACK-8957
CLOUDSTACK-8957 - VR password server feature is brokenThis PR implements the
update of the password as it use to be done with the bash file, but using the
Python code for it.
A new integration test was added in order to cover the fix. The test can be
found at component/test_password_server.py and does the following:
* Creates an Account
* Creates a Service Offering
* Creates a Network Offering
* Creates a Network
* Creates two Virtual Machines
* Creates two FW rules
* Creates two PF rules
* SSH into each VM and checks the default routes (by pinging 8.8.8.8)
* SSH to the host and executes a command in the router to check the
password-[gateway] file
- The file is under /var/cache/cloud/passwords-[gateway]
The [gateway] is replaced by the gateway from each virtual machine NIC.
* pr/998:
CLOUDSTACK-8957 - Add integration test that cheks if the password file is
present and not empty
CLOUDSTACK-8957 - Implement password server in configure.py
Signed-off-by: Remi Bergsma <[email protected]>
> VR password server broken
> -------------------------
>
> Key: CLOUDSTACK-8957
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8957
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Virtual Router
> Affects Versions: 4.6.0
> Environment: ACS 4.6.0 snapshot, CentOS6 HVs and mgmt
> Reporter: Nux
> Assignee: Wilder Rodrigues
> Priority: Blocker
>
> Hello,
> When deploying instances from password enabled templates, the instances do
> not get the generated passwords.
> The VR logs show something like this:
> 'Oct 15 17:12:27 r-4-VM passwd_server_ip.py: serve_password: requested
> password not found for 10.1.1.33'
> In /var/cache/cloud the "passwords-10.1.1.1" is empty, but "passwords" is
> not, I can see the passwords there.
> Symlinking "passwords-10.1.1.1" to "passwords" and restarting the
> passwd_server_ip script gets the feature working again, though I am not sure
> how correct this approach is.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)