Project

General

Profile

Actions

Idea #13823

closed

Package Arvados for Ubuntu Bionic Beaver 18.04 LTS

Added by Joshua Randall over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
0.5
Release relationship:
Auto

Description

It would be helpful to have arvados apt packages for ubuntu bionic, the "new" LTS release.

One motivating reason is that none of the currently supported Debian/Ubuntu releases have a slurm package with functionality new enough to support the priority ranges Arvados uses when large number of containers are run (see issue 13489).

Bionic has slurm 17.11.2 which would alleviate this issue.


Subtasks 1 (0 open1 closed)

Task #14549: ReviewResolvedPeter Amstutz02/28/2019Actions

Related issues

Related to Arvados - Bug #13435: a-c-r and python SDK ruamel.yaml versioningResolvedPeter Amstutz05/07/2018Actions
Related to Arvados - Idea #14483: Update ruaml version for a-c-rResolvedPeter AmstutzActions
Actions #1

Updated by Tom Morris over 5 years ago

  • Tracker changed from Bug to Idea
  • Subject changed from package arvados for ubuntu bionic to Package Arvados for Ubuntu Bionic Beaver 18.04 LTS
  • Target version set to To Be Groomed
Actions #2

Updated by Tom Clegg over 5 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Tom Clegg over 5 years ago

Some work in progress on 13823-bionic.

easy_install3 has disappeared, and we're supposed to use "pip3 install" instead. This will be easy to migrate if it turns out "pip install" and "pip3 install" work for all older releases, too. Testing that.

Actions #4

Updated by Tom Clegg over 5 years ago

With the pip3 change I can build bionic packages, but the python packages have dependency problems.

"Depends: python-ws4py (< 0.4) but 0.4.2+dfsg1-2 is to be installed"

(python-arvados-python-client depends on ws4py<0.4 because tests failed with 0.4.1 -- but ubuntu:bionic ships 0.4.2)

SDK tests seem to pass with ws4py 0.4.2.

Actions #5

Updated by Tom Clegg over 5 years ago

Same problem with ruamel.yaml: bionic ships 0.15.34-1 but sdk/python requires <0.15.

python-arvados-python-client : Depends: python-ruamel.yaml (< 0.15) but 0.15.34-1 is to be installed

d015f8bd07c4890b3084306a6cdd67aeda7f81f0 introduced the <0.15 part; #13435 suggests we copied it from cwltool, which has since changed to <0.16 in 7f8a62c7b4f63480fb187fc7def4c6e3695e669c.

Actions #6

Updated by Tom Clegg over 5 years ago

13823-bionic @ f8f3944e6ba1f470eedf48aa609a50c780fe4b6d

...successfully produces packages for all distros on my dev box. Haven't tried test-packages.

Incidental changes (see commit comments for more details):
  • switch from cure-fpm to fpm
  • upgrade ws4py and ruamel.yaml python deps
Actions #7

Updated by Tom Clegg over 5 years ago

  • Related to Bug #13435: a-c-r and python SDK ruamel.yaml versioning added
Actions #8

Updated by Tom Clegg over 5 years ago

  • Category deleted (Deployment)
  • Target version deleted (To Be Groomed)
Actions #9

Updated by Tom Morris over 5 years ago

  • Assigned To set to Tom Clegg
  • Target version set to 2018-08-15 Sprint

Apparently this got urgently pulled onto the current sprint.

Actions #10

Updated by Tom Morris over 5 years ago

  • Target version changed from 2018-08-15 Sprint to Arvados Future Sprints
Actions #11

Updated by Ward Vandewege over 5 years ago

I reviewed and made some more improvements on this branch, latest at bc97d806fa1fb15e49cefe819f00089ebc33d376

  • fixed package testing for bionic
  • merged latest master

From my perspective this is now ready for merging. Then:

Actions #12

Updated by Ward Vandewege over 5 years ago

This was merged, and the necessary CI changes have been made. Packages have been published to the bionic-dev repo, and will be going forward.

Next step is a functional test.

Actions #13

Updated by Ward Vandewege over 5 years ago

  • Release set to 14
Actions #14

Updated by Tom Morris over 5 years ago

This was tagged for the upcoming release, but I can't tell if it's done or not. Merged, but needs to be tested still?

Actions #15

Updated by Tom Morris over 5 years ago

  • Related to Idea #14483: Update ruaml version for a-c-r added
Actions #16

Updated by Tom Morris over 5 years ago

  • Target version changed from Arvados Future Sprints to 2018-11-28 Sprint
Actions #17

Updated by Ward Vandewege over 5 years ago

Tom Morris wrote:

This was tagged for the upcoming release, but I can't tell if it's done or not. Merged, but needs to be tested still?

Everything is done in this ticket, but there is a known issue with a cwltool/ruamel version incompatibility with bionic, which is being handled in #14483. Once that is merged, this should work, and we can test our 18.04 packaging.

Actions #18

Updated by Ward Vandewege over 5 years ago

Well, the ruamel issue is resolved, but there's one more dependency issue, now with python-avro:


root@1aa90ea77c25:/etc/apt/sources.list.d# apt-get install python-schema-salad
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python-schema-salad : Depends: python-avro (< 1.8.2) but 1.8.2+dfsg-1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@1aa90ea77c25:/etc/apt/sources.list.d# apt-cache policy python-avro
python-avro:
  Installed: (none)
  Candidate: 1.8.2+dfsg-1
  Version table:
     1.8.2+dfsg-1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
     1.8.1-2 500
        500 http://apt.arvados.org bionic-dev/main amd64 Packages
Actions #19

Updated by Tom Clegg over 5 years ago

  • Assigned To changed from Tom Clegg to Ward Vandewege
I think the next step is one of
  • update schema-salad so it works with avro≥1.8.2
  • update schema-salad to use the avro-cwl fork in python2 (avro-cwl is at 1.8.4, but it's used by schema-salad only when in python3)
  • update a-c-r packaging to use virtualenv for python deps
Actions #20

Updated by Ward Vandewege over 5 years ago

  • Target version changed from 2018-11-28 Sprint to 2018-12-12 Sprint
Actions #21

Updated by Ward Vandewege over 5 years ago

  • Release changed from 14 to 15
Actions #22

Updated by Tom Morris over 5 years ago

  • Target version changed from 2018-12-12 Sprint to 2018-12-21 Sprint
Actions #23

Updated by Tom Morris about 5 years ago

  • Target version changed from 2018-12-21 Sprint to 2019-01-16 Sprint
Actions #24

Updated by Tom Morris about 5 years ago

  • Target version changed from 2019-01-16 Sprint to 2019-01-30 Sprint
Actions #25

Updated by Ward Vandewege about 5 years ago

  • Target version changed from 2019-01-30 Sprint to 2019-02-13 Sprint
Actions #26

Updated by Ward Vandewege about 5 years ago

  • Story points set to 0.5
Actions #27

Updated by Ward Vandewege about 5 years ago

  • Target version changed from 2019-02-13 Sprint to 2019-02-27 Sprint
Actions #28

Updated by Tom Morris about 5 years ago

  • Target version changed from 2019-02-27 Sprint to 2019-03-13 Sprint
Actions #29

Updated by Ward Vandewege about 5 years ago

  • Status changed from In Progress to Resolved

Packages have been available for a while, and I've confirmed that they work in our Arvados on Kubernetes environment.

Actions

Also available in: Atom PDF