Astute cannot rsync puppet manifests

Bug #1395008 reported by Stanislaw Bogatkin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Vladimir Kuklin
5.1.x
Fix Released
Critical
Vladimir Kuklin

Bug Description

{

    "build_id": "2014-11-21_11-33-18",
    "ostf_sha": "8be702d5cafcb78ac1d93e5fc27d9272cce4773e",
    "build_number": "547",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "e4c59607c852f1b3761ef06c9c348994c98a7269",
    "production": "docker",
    "fuelmain_sha": "b346cc255b6258c8bc188410504c448ab1c08634",
    "astute_sha": "46d23177f9c0e53fb7a4729f394d9841b1bae338",
    "feature_groups": [
        "mirantis"
    ],
    "release": "6.0",
    "release_versions": {
        "2014.2-6.0": {
            "VERSION": {
                "build_id": "2014-11-21_11-33-18",
                "ostf_sha": "8be702d5cafcb78ac1d93e5fc27d9272cce4773e",
                "build_number": "547",
                "api": "1.0",
                "nailgun_sha": "e4c59607c852f1b3761ef06c9c348994c98a7269",
                "production": "docker",
                "fuelmain_sha": "b346cc255b6258c8bc188410504c448ab1c08634",
                "astute_sha": "46d23177f9c0e53fb7a4729f394d9841b1bae338",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "6.0",
                "fuellib_sha": "5eeead120d5bc97d8456935b6c34656c90d5fee8"
            }
        }
    },
    "fuellib_sha": "5eeead120d5bc97d8456935b6c34656c90d5fee8"

}

Ubuntu, simple

1. Create cluster, try to deploy

Expect: all deployed okay
Actual: astute cannot deploy anything because puppet modules cannot be synced from master node:

Deployment has failed. Method deploy. 2e49613f-65cf-476c-acce-19ed6974a314: MCollective call failed in agent 'puppetsync', method 'rsync', failed nodes:
ID: 3 - Reason: Fail to upload folder using command rsync -c -r --delete rsync://10.108.0.2:/puppet/modules/ /etc/puppet/modules/.
Exit code: 23, stderr: rsync: change_dir "modules" (in puppet) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1536) [Receiver=3.0.9]

Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :
Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

It's happened due to
https://review.openstack.org/#/c/135295/3

Now we transfer host /etc/puppet to rsync /puppet and symlinks point to wrong dir in container:
[root@cc2502e4370d /]# ls -lah /puppet/
total 24K
drwxr-xr-x. 3 root root 4.0K Nov 21 12:40 .
drwxr-xr-x 22 root root 4.0K Nov 21 12:53 ..
drwxr-xr-x. 4 root root 4.0K Nov 21 12:40 2014.2-6.0
-rw-r--r--. 1 root root 4.1K Jan 6 2014 auth.conf
-rw-r--r--. 1 root root 0 Nov 21 12:40 hiera.yaml
lrwxrwxrwx. 1 root root 33 Nov 21 12:40 manifests -> /etc/puppet/2014.2-6.0/manifests/
lrwxrwxrwx. 1 root root 31 Nov 21 12:40 modules -> /etc/puppet/2014.2-6.0/modules/
-rw-r--r--. 1 root root 853 Jan 6 2014 puppet.conf

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/136365

Changed in fuel:
assignee: nobody → Vladimir Kuklin (vkuklin)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/136366

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/136366
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=444339cae21c369c1d95e96c1059d4099077138e
Submitter: Jenkins
Branch: stable/5.1

commit 444339cae21c369c1d95e96c1059d4099077138e
Author: Vladimir Kuklin <email address hidden>
Date: Fri Nov 21 14:32:35 2014 +0000

    Revert "Create dedicated puppet volume for rsync container"

    Closes-bug: #1395008
    This reverts commit bfe13c7aa589b57cb584e85c08ec39ad0b39ec7b.

    Change-Id: I50626db01e3b1ca122e677aad1f0d419af798834

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/136365
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=2bfa9431a4839efae9c75d6b133df24c0f11c868
Submitter: Jenkins
Branch: master

commit 2bfa9431a4839efae9c75d6b133df24c0f11c868
Author: Vladimir Kuklin <email address hidden>
Date: Fri Nov 21 14:32:35 2014 +0000

    Revert "Create dedicated puppet volume for rsync container"

    Closes-bug: #1395008
    This reverts commit bfe13c7aa589b57cb584e85c08ec39ad0b39ec7b.

    Change-Id: I50626db01e3b1ca122e677aad1f0d419af798834

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/136393

Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

Proposed commit fixes symlinks for /etc/puppet/{modules,manifests} to /etc/puppet/2014.2-6.0/{modules,manifests} to be relative instead of absolute.

Changed in fuel:
status: Fix Committed → In Progress
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/136393
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=9096a076563e471da5f993d82ce3adc2660aaa0b
Submitter: Jenkins
Branch: master

commit 9096a076563e471da5f993d82ce3adc2660aaa0b
Author: Matthew Mosesohn <email address hidden>
Date: Fri Nov 21 18:24:28 2014 +0400

    Switch Puppet symlinks to be relative

    This change allows rsync container to mount host
    directory /etc/puppet to another path, such as
    /puppet, without issues with absolute pathing.

    Change-Id: I5484392ec15bb33bcb3d0f44b68e4c3a103e7625
    Partial-Bug: #1395008

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on {

    "build_id": "2014-12-03_01-07-36",
    "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346",
    "build_number": "48",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d",
    "production": "docker",
    "fuelmain_sha": "7626c5aeedcde77ad22fc081c25768944697d404",
    "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce",
    "feature_groups": [
        "mirantis"
    ],
    "release": "5.1.1",
    "release_versions": {
        "2014.1.3-5.1.1": {
            "VERSION": {
                "build_id": "2014-12-03_01-07-36",
                "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346",
                "build_number": "48",
                "api": "1.0",
                "nailgun_sha": "500e36d08a45dbb389bf2bd97673d9bff48ee84d",
                "production": "docker",
                "fuelmain_sha": "7626c5aeedcde77ad22fc081c25768944697d404",
                "astute_sha": "ef8aa0fd0e3ce20709612906f1f0551b5682a6ce",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "5.1.1",
                "fuellib_sha": "a3043477337b4a0a8fd166dc83d6cd5d504f5da8"
            }
        }
    },
    "fuellib_sha": "a3043477337b4a0a8fd166dc83d6cd5d504f5da8"

}

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #49

"build_id": "2014-12-09_22-41-06", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "49", "auth_required": true, "api": "1.0", "nailgun_sha": "22bd43b89a17843f9199f92d61fc86cb0f8772f1", "production": "docker", "fuelmain_sha": "3aab16667f47dd8384904e27f70f7a87ba15f4ee", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-12-09_22-41-06", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "49", "api": "1.0", "nailgun_sha": "22bd43b89a17843f9199f92d61fc86cb0f8772f1", "production": "docker", "fuelmain_sha": "3aab16667f47dd8384904e27f70f7a87ba15f4ee", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "2c99931072d951301d395ebd5bf45c8d401301bb"}}}, "fuellib_sha": "2c99931072d951301d395ebd5bf45c8d401301bb"

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.