[MIR] juju-core, juju-mongodb, gccgo, golang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dh-golang (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
gccgo-5 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
golang-check.v1 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-github-bmizerany-assert (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-github-bmizerany-pat (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-go-dbus (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-go.crypto (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-gocheck (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
golang-golang-x-net-dev (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-goyaml (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
golang-juju-loggo (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-pretty (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-race-detector-runtime (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-text (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
golang-x-text (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
juju-core (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
juju-mongodb (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
>> golang <<
Availability
------------
In universe, limited to amd64, i386 and armhf archs.
Rationale
---------
golang is the primary focus of Go toolchain development; scale testing of juju with gccgo and golang gc built binaries revealed that the gccgo built binaries consume a significant amount of memory compared to golang gc built versions.
As juju is focussed on building scale out service deployments, choosing the toolchain that produces the most scalable binaries on the architectures that most users are going to be using would make sense.
Security
--------
Can't find any interesting security history.
QA
--
OK; the toolchain does have a test suite but its not run by default (yet).
Dependencies
------------
All build-deps are in main; some non-core packages depend on package in universe (kate, vim addons) - recommend that these are left in universe.
golang-go.tools can be demoted to a suggested to limit scope of main inclusion.
Standards compliance
-------
OK
Maintenance
-----------
>> gccgo-go <<
Availability
------------
In universe, available on all required architectures (x86, armhf, arm64, ppc64el).
Rationale
---------
'go' build tool built using gccgo, avoiding the need to promote two golang toolchains to Ubuntu main.
Security
--------
Searching for golang CVE's turned up nothing (this package is a rename of the golang 1.2 source package).
Quality assurance
-----------------
Package installs cleanly, go tool installed using alternatives at higher priority that golang-go version in universe.
Dependencies
------------
gccgo is in universe, all other dependencies in main.
Standards compliance
-------
OK
Maintenance
-----------
Some bugs expected upfront but should stabilize before release. Probably picked up by ubuntu-server if foundations team don't want to.
Background information
-------
This package is a re-cut of the golang upstream codebase with selected cherry-picks from upstream VCS for gccgo support, along with a patch to support building using gccgo + Make.
The only code actually used is in src/cmd/go.
>> juju-mongodb <<
Availability
------------
In universe, available on all required architectures (x86, armhf, arm64, ppc64el).
Rationale
---------
MongoDB is a dependency for operating a Juju deployed Ubuntu environment.
Security
--------
MongoDB has had some CVE's in the past, related to the use of the V8 and Spidermonkey Javascript engine in the Mongo Shell; however juju-mongodb builds without support for Javascript scripting, avoiding the historic CVE's (which where fixed upstream anyway).
Quality assurance
-----------------
Package installs cleanly, package build process runs upstream smoke tests (minus jstests due to disabling javascript support). Tests pass on all architectures.
Dependencies
------------
All in main already
Standards compliance
-------
OK (well is scons but we won't hold that against it)
Maintenance
-----------
Upstream MongoDB run stable releases with point updates; its intended that a MRE is applied for this package so point releases can be pushed as SRU's.
Its also possible that we might need to bump a major version (2.4.x -> 2.6.x); as this package is specific to Juju, we can constrain the impact and regression testing to Juju only.
Background information
-------
Why a separate package? it was agreed at the last vUDS that having a separate package allows us to limit a) use of v8 (disabled) which was a security concern and b) allows us to potentially update at a later date if need be only impacting juju itself.
>> juju-core <<
Availability
------------
In universe.
Rationale
---------
Juju is the recommended service orchestration tool for Ubuntu; as such it really needs to be a core part of Ubuntu.
Security
--------
No security history, but it was agreed that a security review would be undertaken as part of the MIR process.
Quality assurance
-----------------
No tests are run as part of the package build process; however upstream do run these tests for all target series (12.04 -> 14.04) prior to release so the overall quality of the codebase it pretty good.
The package has some basic DEP-8 tests that bootstrap a local Juju environment to ensure everything hangs together OK.
Dependencies
------------
juju-mongodb (see above)
gccgo + gccgo-go
Currently all required go dependencies are snapshotted at specific upstream commits and bundled with Juju.
Standards compliance
-------
OK
Maintenance
-----------
Upstream Juju team intend to manage stable point releases against the version shipped in 14.04. Ubuntu Server team will own the package in distro.
Background information
-------
Some decisions still need to be made, mainly around toolchain. Specifically the aim is to support a single Go toolchain in Ubuntu main for all architectures; golang-go does not support arm64 or ppc64el yet, whereas the gccgo implementation does.
Required changes to support gccgo have been upstreamed into the Juju codebase.
Its also worth noting that the package and binaries in Ubuntu are used for:
client tool (juju)
juju agent (jujud) - but only for local provider and where --upload-tools is used
Upstream released jujud binaries are/will be distributed officially via simplestreams using a documented build process (details TBC). The juju client will use these tools on public clouds and potentially in private cloud deployments where tools are synced into the cloud using the juju client tool (juju sync-tools).
Related branches
- Ubuntu branches: Pending requested
-
Diff: 108 lines (+35/-6)3 files modifieddebian/changelog (+13/-0)
debian/control (+7/-0)
debian/rules (+15/-6)
CVE References
description: | updated |
Changed in juju-core (Ubuntu): | |
status: | New → Incomplete |
Changed in juju-mongodb (Ubuntu): | |
importance: | Undecided → High |
Changed in juju-core (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
Changed in juju-mongodb (Ubuntu): | |
status: | Confirmed → New |
Changed in gccgo-go (Ubuntu): | |
importance: | Undecided → High |
summary: |
- [MIR] juju-core, juju-mongodb + [MIR] juju-core, juju-mongodb, gccgo-go |
description: | updated |
description: | updated |
Changed in juju-core (Ubuntu): | |
status: | Incomplete → New |
description: | updated |
summary: |
- [MIR] juju-core, juju-mongodb, gccgo-go + [MIR] juju-core, juju-mongodb, gccgo-go, gccgo-* |
summary: |
- [MIR] juju-core, juju-mongodb, gccgo-go, gccgo-* + [MIR] juju-core, juju-mongodb, gccgo-go, gccgo-4.9, golang |
description: | updated |
description: | updated |
Changed in golang (Ubuntu): | |
status: | Incomplete → New |
Changed in juju-core (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
Changed in juju-core (Ubuntu): | |
assignee: | Seth Arnold (seth-arnold) → nobody |
affects: | gcc-defaults (Ubuntu) → gccgo-5 (Ubuntu) |
Changed in gccgo-5 (Ubuntu): | |
status: | New → Confirmed |
Changed in golang-go.crypto (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
no longer affects: | golang-go.net-dev (Ubuntu) |
no longer affects: | gccgo-go (Ubuntu) |
The juju-core aspect of this issue, and the driver to put a juju-mongodb in main, overlaps with bug 1243762.