cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8957) VR password server broken
Date Wed, 28 Oct 2015 16:16:27 GMT


ASF GitHub Bot commented on CLOUDSTACK-8957:

GitHub user wilderrodrigues opened a pull request:

    CLOUDSTACK-8957 - VR password server feature is broken

    This 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/
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
    * SSH to the host and executes a command in the router to check the password-[gateway]
      - The file is under /var/cache/cloud/passwords-[gateway]
    The [gateway] is replaced by the gateway from each virtual machine NIC.

You can merge this pull request into a Git repository by running:

    $ git pull fix/vr_passwd_server-CLOUDSTACK-8957

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #998
commit ea132cc4789e3c2161a0618ac02e7a68a8d67aed
Author: Wilder Rodrigues <>
Date:   2015-10-27T12:31:31Z

    CLOUDSTACK-8957 - Implement password server in

commit 92ccd45db5dd0aa175d7702e2723af4d01528b8b
Author: Wilder Rodrigues <>
Date:   2015-10-28T07:43:26Z

    CLOUDSTACK-8957 - Make some improvements in the way the process is checked
      - Fix import of CsProcess module

commit ac3e352125261fc34527a56028998b644371e2d7
Author: Wilder Rodrigues <>
Date:   2015-10-28T15:31:04Z

    CLOUDSTACK-8957 - Add integration test that cheks if the password file is present and
not empty


> VR password server broken
> -------------------------
>                 Key: CLOUDSTACK-8957
>                 URL:
>             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 serve_password: requested password not found
> In /var/cache/cloud the "passwords-" is empty, but "passwords" is not, I can
see the passwords there.
> Symlinking "passwords-" 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

View raw message