cloudstack-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978674#comment-14978674
] 

ASF GitHub Bot commented on CLOUDSTACK-8957:
--------------------------------------------

GitHub user wilderrodrigues opened a pull request:

    https://github.com/apache/cloudstack/pull/998

    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/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.

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

    $ git pull https://github.com/ekholabs/cloudstack fix/vr_passwd_server-CLOUDSTACK-8957

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

    https://github.com/apache/cloudstack/pull/998.patch

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 <wrodrigues@schubergphilis.com>
Date:   2015-10-27T12:31:31Z

    CLOUDSTACK-8957 - Implement password server in configure.py

commit 92ccd45db5dd0aa175d7702e2723af4d01528b8b
Author: Wilder Rodrigues <wrodrigues@schubergphilis.com>
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 <wrodrigues@schubergphilis.com>
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: 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)

Mime
View raw message