2014-07-09 18:38:30 |
Mike McCracken |
bug |
|
|
added bug |
2014-07-09 18:38:41 |
Mike McCracken |
bug task added |
|
simplestreams |
|
2014-07-09 18:38:52 |
Mike McCracken |
simplestreams: status |
New |
Fix Committed |
|
2014-07-09 18:39:34 |
Mike McCracken |
branch linked |
|
lp:~mikemc/simplestreams/add-filters-glance |
|
2014-07-09 18:42:32 |
Launchpad Janitor |
simplestreams (Ubuntu): status |
New |
Confirmed |
|
2014-07-09 18:42:46 |
Adam Stokes |
tags |
|
cloud-installer |
|
2014-07-09 18:43:41 |
Adam Stokes |
simplestreams (Ubuntu): importance |
Undecided |
Critical |
|
2014-07-09 18:43:43 |
Adam Stokes |
simplestreams (Ubuntu): importance |
Critical |
High |
|
2014-07-11 21:17:23 |
Mike McCracken |
attachment added |
|
simplestreams-1339842.debdiff https://bugs.launchpad.net/simplestreams/+bug/1339842/+attachment/4150733/+files/simplestreams-1339842.debdiff |
|
2014-07-11 21:42:29 |
Adam Stokes |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2014-07-11 21:42:36 |
Adam Stokes |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2014-07-11 21:55:10 |
Mike McCracken |
description |
The GlanceMirror class has a hard-coded filter for items to be
downloaded.
Anyone using it directly or via the script in
tools/sstream-mirror-glance to load images into an openstack cloud
will end up with a large number of images, at least one for each of
the available release series, and only x86_64 or amd64.
It is likely that users will want to be able to limit the images they
download to just one release, and may want to be able to download
images for other architectures, such as arm*.
The uploaded package simply exposes the existing filter mechanism as a
config option, using the previous hardcoded values as defaults.
This config option is used (currently it is just ignored by the
published simplestreams code) in an charm that is released on the
charm store for trusty, 'glance-simplestreams-sync'. Users of
OpenStack on Trusty are likely to want the option to control image
downloads via that charm.
[Test Case]
In an openstack cloud, with proper openstack env vars (OS_USERNAME,
OS_PASSWORD, OS_REGION etc), run the sstream-mirror-glance tool to
download images locally:
from the source tree top directory,
PYTHONPATH=. tools/sstream-mirror-glance --max=1 -v -v -v --output-dir \
images/ --cloud-name test_cloud --content-id test_content \
--keyring /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg \
http://cloud-images.ubuntu.com/releases/ streams/v1/index.json
verify that it downloads many images. This may take a while. If you
like, you can just check that it will download an image for an old
series like raring or quantal.
Clean up after it by removing the images/ directory.
Then with the update applied, from the source tree top dir:
PYTHONPATH=. tools/sstream-mirror-glance --max=1 -v -v -v --output-dir \
images/ --cloud-name test_cloud --content-id test_content \
--keyring /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg \
--item-filter="release=trusty" --item-filter="arch=arm64" \
http://cloud-images.ubuntu.com/releases/ streams/v1/index.json
and verify that it downloads only one matching image, trusty on arm64.
[Regression Potential]
This has very limited regression potential, because anyone relying on
the existing behavior will still get it because the previous behavior
is retained via defaults. |
The GlanceMirror class has a hard-coded filter for items to be
downloaded.
Anyone using it directly or via the script in
tools/sstream-mirror-glance to load images into an openstack cloud
will end up with a large number of images, at least one for each of
the available release series, and only x86_64 or amd64.
It is likely that users will want to be able to limit the images they
download to just one release, and may want to be able to download
images for other architectures, such as arm*.
The attached diff simply exposes the existing filter mechanism as a
config option, using the previous hardcoded values as defaults.
This config option is used (currently it is just ignored by the
published simplestreams code) in an charm that is released on the
charm store for trusty, 'glance-simplestreams-sync'. Users of
OpenStack on Trusty are likely to want the option to control image
downloads via that charm.
[Test Case]
In an openstack cloud, with proper openstack env vars (OS_USERNAME,
OS_PASSWORD, OS_REGION etc), run the sstream-mirror-glance tool to
download images locally:
from the source tree top directory,
PYTHONPATH=. tools/sstream-mirror-glance --max=1 -v -v -v --output-dir \
images/ --cloud-name test_cloud --content-id test_content \
--keyring /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg \
http://cloud-images.ubuntu.com/releases/ streams/v1/index.json
verify that it downloads many images. This may take a while. If you
like, you can just check that it will download an image for an old
series like raring or quantal.
Clean up after it by removing the images/ directory.
Then with the update applied, from the source tree top dir:
PYTHONPATH=. tools/sstream-mirror-glance --max=1 -v -v -v --output-dir \
images/ --cloud-name test_cloud --content-id test_content \
--keyring /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg \
--item-filter="release=trusty" --item-filter="arch=arm64" \
http://cloud-images.ubuntu.com/releases/ streams/v1/index.json
and verify that it downloads only one matching image, trusty on arm64.
[Regression Potential]
This has very limited regression potential, because anyone relying on
the existing behavior will still get it because the previous behavior
is retained via defaults. |
|
2014-07-15 01:32:12 |
Paul Collins |
bug |
|
|
added subscriber The Canonical Sysadmins |
2014-07-16 15:44:18 |
Adam Stokes |
description |
The GlanceMirror class has a hard-coded filter for items to be
downloaded.
Anyone using it directly or via the script in
tools/sstream-mirror-glance to load images into an openstack cloud
will end up with a large number of images, at least one for each of
the available release series, and only x86_64 or amd64.
It is likely that users will want to be able to limit the images they
download to just one release, and may want to be able to download
images for other architectures, such as arm*.
The attached diff simply exposes the existing filter mechanism as a
config option, using the previous hardcoded values as defaults.
This config option is used (currently it is just ignored by the
published simplestreams code) in an charm that is released on the
charm store for trusty, 'glance-simplestreams-sync'. Users of
OpenStack on Trusty are likely to want the option to control image
downloads via that charm.
[Test Case]
In an openstack cloud, with proper openstack env vars (OS_USERNAME,
OS_PASSWORD, OS_REGION etc), run the sstream-mirror-glance tool to
download images locally:
from the source tree top directory,
PYTHONPATH=. tools/sstream-mirror-glance --max=1 -v -v -v --output-dir \
images/ --cloud-name test_cloud --content-id test_content \
--keyring /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg \
http://cloud-images.ubuntu.com/releases/ streams/v1/index.json
verify that it downloads many images. This may take a while. If you
like, you can just check that it will download an image for an old
series like raring or quantal.
Clean up after it by removing the images/ directory.
Then with the update applied, from the source tree top dir:
PYTHONPATH=. tools/sstream-mirror-glance --max=1 -v -v -v --output-dir \
images/ --cloud-name test_cloud --content-id test_content \
--keyring /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg \
--item-filter="release=trusty" --item-filter="arch=arm64" \
http://cloud-images.ubuntu.com/releases/ streams/v1/index.json
and verify that it downloads only one matching image, trusty on arm64.
[Regression Potential]
This has very limited regression potential, because anyone relying on
the existing behavior will still get it because the previous behavior
is retained via defaults. |
[Impact]
The GlanceMirror class has a hard-coded filter for items to be
downloaded.
Anyone using it directly or via the script in
tools/sstream-mirror-glance to load images into an openstack cloud
will end up with a large number of images, at least one for each of
the available release series, and only x86_64 or amd64.
It is likely that users will want to be able to limit the images they
download to just one release, and may want to be able to download
images for other architectures, such as arm*.
The attached diff simply exposes the existing filter mechanism as a
config option, using the previous hardcoded values as defaults.
This config option is used (currently it is just ignored by the
published simplestreams code) in an charm that is released on the
charm store for trusty, 'glance-simplestreams-sync'. Users of
OpenStack on Trusty are likely to want the option to control image
downloads via that charm.
[Test Case]
In an openstack cloud, with proper openstack env vars (OS_USERNAME,
OS_PASSWORD, OS_REGION etc), run the sstream-mirror-glance tool to
download images locally:
from the source tree top directory,
PYTHONPATH=. tools/sstream-mirror-glance --max=1 -v -v -v --output-dir \
images/ --cloud-name test_cloud --content-id test_content \
--keyring /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg \
http://cloud-images.ubuntu.com/releases/ streams/v1/index.json
verify that it downloads many images. This may take a while. If you
like, you can just check that it will download an image for an old
series like raring or quantal.
Clean up after it by removing the images/ directory.
Then with the update applied, from the source tree top dir:
PYTHONPATH=. tools/sstream-mirror-glance --max=1 -v -v -v --output-dir \
images/ --cloud-name test_cloud --content-id test_content \
--keyring /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg \
--item-filter="release=trusty" --item-filter="arch=arm64" \
http://cloud-images.ubuntu.com/releases/ streams/v1/index.json
and verify that it downloads only one matching image, trusty on arm64.
[Regression Potential]
This has very limited regression potential, because anyone relying on
the existing behavior will still get it because the previous behavior
is retained via defaults. |
|
2014-07-16 16:01:53 |
Adam Stokes |
attachment added |
|
simplestreams_0.1.0~bzr341-0ubuntu2.trusty.debdiff https://bugs.launchpad.net/ubuntu/+source/simplestreams/+bug/1339842/+attachment/4154134/+files/simplestreams_0.1.0%7Ebzr341-0ubuntu2.trusty.debdiff |
|
2014-07-16 16:02:08 |
Adam Stokes |
attachment removed |
simplestreams-1339842.debdiff https://bugs.launchpad.net/ubuntu/+source/simplestreams/+bug/1339842/+attachment/4150733/+files/simplestreams-1339842.debdiff |
|
|
2014-07-18 00:12:25 |
Colin Watson |
bug |
|
|
added subscriber SRU Verification |
2014-07-18 00:12:28 |
Colin Watson |
tags |
cloud-installer |
cloud-installer verification-needed |
|
2014-07-18 00:18:07 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty-proposed/simplestreams |
|
2014-07-18 00:45:29 |
Adam Stokes |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2014-07-19 23:07:26 |
Mathew Hodson |
simplestreams (Ubuntu): status |
Confirmed |
Fix Committed |
|
2014-07-22 23:02:16 |
Mike McCracken |
tags |
cloud-installer verification-needed |
cloud-installer verification-done |
|
2014-07-29 23:49:45 |
Launchpad Janitor |
simplestreams (Ubuntu): status |
Fix Committed |
Fix Released |
|
2014-07-29 23:49:50 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-06-25 14:52:10 |
Scott Moser |
simplestreams: status |
Fix Committed |
Fix Released |
|