ubuntu_lxc failed with failed to download image index on B/D/E PowerPC

Bug #1839835 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin

Bug Description

Test failed with container download:
FAIL: lxc-tests: lxc-test-apparmor-mount (2s)
---
/usr/sbin/deluser: The user `lxcunpriv' does not exist.
Setting up the GPG keyring
Downloading the image index
ERROR: Failed to download http://images.linuxcontainers.org//meta/1.0/index-user
lxc-create: tmp.moDP5526M1: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: tmp.moDP5526M1: tools/lxc_create.c: main: 327 Failed to create container tmp.moDP5526M1
lxc-destroy: tmp.moDP5526M1: tools/lxc_destroy.c: main: 259 Container is not defined
umount: /sys/kernel/security/apparmor/features/mount: not mounted.
sed: can't read /run/lxc/nics: No such file or directory
---
PASS: lxc-tests: lxc-test-attach (1s)
FAIL: lxc-tests: lxc-test-autostart (0s)
---
Setting up the GPG keyring
Downloading the image index
ERROR: Failed to download http://images.linuxcontainers.org//meta/1.0/index-system
lxc-create: lxc-test-auto: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: lxc-test-auto: tools/lxc_create.c: main: 327 Failed to create container lxc-test-auto
FAIL
---
PASS: lxc-tests: lxc-test-basic (0s)
PASS: lxc-tests: lxc-test-cgpath (1s)
PASS: lxc-tests: lxc-test-checkpoint-restore (0s)
PASS: lxc-tests: lxc-test-cloneconfig (3s)
PASS: lxc-tests: lxc-test-clonetest (0s)
PASS: lxc-tests: lxc-test-concurrent (1s)
PASS: lxc-tests: lxc-test-config-jump-table (0s)
PASS: lxc-tests: lxc-test-console (1s)
PASS: lxc-tests: lxc-test-console-log (9s)
PASS: lxc-tests: lxc-test-containertests (3s)
PASS: lxc-tests: lxc-test-createtest (1s)
PASS: lxc-tests: lxc-test-criu-check-feature (0s)
PASS: lxc-tests: lxc-test-destroytest (0s)
PASS: lxc-tests: lxc-test-device-add-remove (1s)
PASS: lxc-tests: lxc-test-get_item (0s)
PASS: lxc-tests: lxc-test-getkeys (0s)
PASS: lxc-tests: lxc-test-list (0s)
PASS: lxc-tests: lxc-test-locktests (3s)
PASS: lxc-tests: lxc-test-lxc-attach (2s)
PASS: lxc-tests: lxc-test-lxcpath (0s)
FAIL: lxc-tests: lxc-test-no-new-privs (0s)
---
+ DONE=0
+ trap cleanup EXIT SIGHUP SIGINT SIGTERM
+ mkdir -p /etc/lxc/
+ cat
+ ARCH=i386
+ type dpkg
++ dpkg --print-architecture
+ ARCH=ppc64el
+ lxc-create -t download -n c1 -- -d ubuntu -r xenial -a ppc64el
Setting up the GPG keyring
Downloading the image index
ERROR: Failed to download http://images.linuxcontainers.org//meta/1.0/index-system
lxc-create: c1: lxccontainer.c: create_run_template: 1617 Failed to create container from template
lxc-create: c1: tools/lxc_create.c: main: 327 Failed to create container c1

Need to check if this is a firewall issue for the vlan which PowerPC locates.

Po-Hsu Lin (cypressyew)
tags: added: sru-20190722 ubuntu-lxc
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue could be see on the following:
* E-5.2 modoc / baltar
* D-5.0 modoc / baltar
* B-5.0 modoc / baltar
* B-4.15 modoc / baltar

Didn't see this on X-4.4, I think it's because we're using different test for older releases.

tags: added: 4.15 5.0 bionic disco eoan
tags: added: sru-20190812
summary: - ubuntu_lxc failed with failed to download container on D PowerPC
+ ubuntu_lxc failed with failed to download container on B/D/E PowerPC
summary: - ubuntu_lxc failed with failed to download container on B/D/E PowerPC
+ ubuntu_lxc failed with failed to download image index on B/D/E PowerPC
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

A direct wget to http://images.linuxcontainers.org//meta/1.0/index-user works well on P8 node.

There was a RT ticket to add exception for this to our firewall
https://portal.admin.canonical.com/113132

So this will need to be further investigated.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Can be found on B-hwe-edge P8/P9

tags: added: sru-20190902
Changed in ubuntu-kernel-tests:
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Issue resolved with exception added to our firewall rule.

Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: Confirmed → Won't Fix
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.