[Labs-l] Are you ready for the migration?

Petr Bena benapetr at gmail.com
Tue Feb 11 21:55:38 UTC 2014


ok how do I fix that pip.req missing module? The readme say:

## Installation

``` shell
sudo python setup.py install
```

this will install all the dependencies and you should be good to go.

However, it doesn't seem that default images do have enough of
packages to run this right away, perhaps some more packages needs to
be installed before?

On Tue, Feb 11, 2014 at 10:53 PM, Diederik van Liere
<dvanliere at wikimedia.org> wrote:
>
>
>
> On Tue, Feb 11, 2014 at 4:47 PM, Petr Bena <benapetr at gmail.com> wrote:
>>
>> This error can be fixed by running:
>>
>> apt-get install python-setuptools
>>
>> Can you please describe what that tool does, why does it need to be
>> run as root and if it change / break anything in system or if it does
>> only read-only checks?
>
> The tool itself does not need root, but the setuptools and easy_install are
> extremely common python packages and those need to be installed using root
> or you can use virtualenv but it's beyond the scope of this thread to
> explain that. you can google virtualenv if you can't / don't want to install
> packages under root.
>
> It does not make any change to your system. it just makes some checks like
> how recent was the last puppet run, are you running your own puppetmaster or
> not, are you using the shared project space or not. the checks are mentioned
> in README.md as well.
>
>>
>>
>> On Tue, Feb 11, 2014 at 10:43 PM, Petr Bena <benapetr at gmail.com> wrote:
>> > petrb at bots-labs:/tmp/migration-assistant$ sudo python setup.py install
>> > Traceback (most recent call last):
>> >   File "setup.py", line 4, in <module>
>> >     from setuptools import setup
>> > ImportError: No module named setuptools
>> >
>> > On Tue, Feb 11, 2014 at 10:39 PM, Diederik van Liere
>> > <dvanliere at wikimedia.org> wrote:
>> >> Hi!
>> >>
>> >> Are you a maintainer of one or more Labs instances? Please continue
>> >> reading!
>> >>
>> >> You might have heard about our efforts to move the Labs infrastructure
>> >> from
>> >> our Tampa datacenter to our new datacenter in Ashburn. One thing that
>> >> *you*
>> >> could do, is to make sure that all your instances are ready to migrate.
>> >>
>> >> How? Glad you ask!
>> >>
>> >> On your dev machine, run git clone
>> >> https://gerrit.wikimedia.org/r/labs/migration-assistant and make sure
>> >> that
>> >> you have Python installed. Next, read the README.m for detailed
>> >> instructions.
>> >>
>> >> If everything goes well, you will get feedback per instance whether we
>> >> think
>> >> it's ready to migrate or not. If you can think of more checks to run
>> >> then
>> >> please feel free to submit a patch. If you have questions about this
>> >> tool
>> >> please email me or find me on IRC, look for drdee.
>> >>
>> >> Best,
>> >> Diederik
>> >>
>> >> _______________________________________________
>> >> Labs-l mailing list
>> >> Labs-l at lists.wikimedia.org
>> >> https://lists.wikimedia.org/mailman/listinfo/labs-l
>> >>
>>
>> _______________________________________________
>> Labs-l mailing list
>> Labs-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
>
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>



More information about the Labs-l mailing list