Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1348

vagrant-puppet provisioning is too slow on installing packages

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.8.0
    • Component/s: deployment
    • Labels:
      None

      Description

      On my testing environment it tooks almost 50mins to provision a 3 node hadoop cluster using vagrant-puppet, and sometimes yum install might also failed due to timeout.
      There's a great vagrant plugin called vagrant-cachier which will help to cache packages at local and reduce the network traffic when multiple VMs are going to install same packages. With vagrant-cachier enabled the provisioning process slightly reduced from 50mins to 20mins.

        Activity

        Hide
        jayunit100 jay vyas added a comment -

        Commited ! Thanks for all this vagrant awesomeness. vagrant cachier saves alot of time — makes testing easier — this patch just improved my overall quality of life by about 1%

        Also I appreciate that you made it defensive so that people w/o the cachier plugin can still function properly – BY THE WAY – vagrant plugins are being updated quite often, and i noticed for plugins to work - you often need the latest.

        I suggest anyone using these features gets the latest vagrant version. Im using 1.6.3 on my mac.

        Show
        jayunit100 jay vyas added a comment - Commited ! Thanks for all this vagrant awesomeness. vagrant cachier saves alot of time — makes testing easier — this patch just improved my overall quality of life by about 1% Also I appreciate that you made it defensive so that people w/o the cachier plugin can still function properly – BY THE WAY – vagrant plugins are being updated quite often, and i noticed for plugins to work - you often need the latest. I suggest anyone using these features gets the latest vagrant version . Im using 1.6.3 on my mac.
        Hide
        rvs Roman Shaposhnik added a comment -

        +1. jay vyas can you help commit this?

        Show
        rvs Roman Shaposhnik added a comment - +1. jay vyas can you help commit this?
        Hide
        jayunit100 jay vyas added a comment -

        +1 Thanks evans - this patch worked for me. One note : I think users will need to be upgraded to vagrant 1.6.3 to ensure the best experience - plugins that we are relying on (hostmanager + cachier) were broken in 1.6.2 .

        Show
        jayunit100 jay vyas added a comment - +1 Thanks evans - this patch worked for me. One note : I think users will need to be upgraded to vagrant 1.6.3 to ensure the best experience - plugins that we are relying on (hostmanager + cachier) were broken in 1.6.2 .
        Hide
        jayunit100 jay vyas added a comment -

        vagrant-cachier is an awesome plugin. I really like this idea (testing now)

        Show
        jayunit100 jay vyas added a comment - vagrant-cachier is an awesome plugin. I really like this idea (testing now)

          People

          • Assignee:
            Unassigned
            Reporter:
            evans_ye Evans Ye
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development