Skip to content

Ansible scripts needed for Benchmark Machines  #868

Closed

Description

@mhdawson

We need numpy, requests, eventlet installed on the benchmark marching to let us run DC-EIS.

I've given @uttampower an ansible introduction and he is going to start working on scripts for the benchmarking machines. The first thing they will add to the configuration is these there modules.

In the mean time I've manually added them by running

apt-get update
apt-get install python-pip
apt-get install python2.7-dev

pip install numpy
pip install requests (reports as already satisfied)
pip install eventlet

Activity

  1. rvagg commented on Sep 8, 2017

    @rvagg
    Member

    I'm OK with pip if we must have it, but often the popular packages are available via apt anyway, in this instance python-numpy, python-requests and python-eventlet all seem to be available in both 2.7 and 3 form.

  2. gibfahn commented on Sep 8, 2017

    @gibfahn
    Member

    I'm OK with pip if we must have it, but often the popular packages are available via apt anyway, in this instance python-numpy, python-requests and python-eventlet all seem to be available in both 2.7 and 3 form.

    We're hopefully moving to tap2junit at some point, and I don't think that'll be available on apt (and yum etc.).

  3. changed the title [-]Add pip [/-] [+]Add pip modules to benchmark machines[/+] on Sep 8, 2017
  4. mhdawson commented on Sep 8, 2017

    @mhdawson
    MemberAuthor

    @rvagg

    so they can be installed with apt-get ie

    apt-get install python-numpy
    apt-get install python-request
    apt-get install python-eventlet

    ?

    I had used pip as I believe it was already going to be available due to the need for tap2junit but when we work on the ansible scripts we can install the apt packages instead if they are available.

  5. rvagg commented on Sep 8, 2017

    @rvagg
    Member

    Ah, well if we're using pip already then I guess it comes down to updating. apt-get is often run manually by myself and maybe others on our test machines but that's all for updating. If there's a pip update process it's unlikely to ever be run. Is that a problem? I don't know! I feel like this is one for the python folks among us to answer.
    Sorry for the non-answer, my preference is still for apt-get install (apt-get install python-numpy python-request python-eventlet -y) but it's no big deal if we do it with pip I guess.

  6. gibfahn commented on Sep 8, 2017

    @gibfahn
    Member

    I'd prefer using apt where available too FWIW.

    It would make sense to periodically rerun our ansible scripts (once we have them set up) to update everything.

  7. changed the title [-]Add pip modules to benchmark machines[/-] [+]Ansible scripts needed for Benchmark Machines [/+] on Nov 28, 2017
  8. mhdawson commented on Nov 28, 2017

    @mhdawson
    MemberAuthor

    @uttampower have you had a chance to start working on this yet ?

  9. maclover7 commented on Feb 13, 2018

    @maclover7
    Contributor

    Related issues: #821, #955

  10. mhdawson commented on Feb 27, 2018

    @mhdawson
    MemberAuthor

    Related issue #1147

  11. added a commit that references this issue on May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions