Merge lp://qastaging/~blake-rouse/maas/fix-1378366 into lp://qastaging/~maas-committers/maas/trunk

Proposed by Blake Rouse
Status: Merged
Approved by: Blake Rouse
Approved revision: no longer in the source branch.
Merged at revision: 3204
Proposed branch: lp://qastaging/~blake-rouse/maas/fix-1378366
Merge into: lp://qastaging/~maas-committers/maas/trunk
Diff against target: 161 lines (+71/-9)
4 files modified
contrib/preseeds_v2/curtin_userdata_windows (+2/-0)
src/maasserver/templates/maasserver/cluster_listing_row.html (+23/-9)
src/maasserver/views/clusters.py (+2/-0)
src/maasserver/views/tests/test_clusters.py (+44/-0)
To merge this branch: bzr merge lp://qastaging/~blake-rouse/maas/fix-1378366
Reviewer Review Type Date Requested Status
Raphaël Badin (community) Approve
Review via email: mp+237494@code.qastaging.launchpad.net

Commit message

Show no images available on the WebUI, if the region has not images for the cluster to import.

To post a comment you must log in.
Revision history for this message
Christian Reis (kiko) :
Revision history for this message
Blake Rouse (blake-rouse) :
Revision history for this message
Raphaël Badin (rvb) wrote :

Looks good but:

a) there is a test missing for when the code hits '{% elif not region_has_images %}' in the cluster_listing_row.html template. This should be fixed before this branch lands.

b) as Kiko suggested, the test in the template could be improved by defining a list (["Disconnected", "Out-of-sync"]) in the context and using it. But I wouldn't hold this branch for this.

review: Approve
Revision history for this message
MAAS Lander (maas-lander) wrote :
Download full text (18.7 KiB)

The attempt to merge lp:~blake-rouse/maas/fix-1378366 into lp:maas failed. Below is the output from the failed tests.

Ign http://security.ubuntu.com trusty-security InRelease
Ign http://nova.clouds.archive.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security Release.gpg
Hit http://security.ubuntu.com trusty-security Release
Ign http://nova.clouds.archive.ubuntu.com trusty-updates InRelease
Hit http://nova.clouds.archive.ubuntu.com trusty Release.gpg
Get:1 http://nova.clouds.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://nova.clouds.archive.ubuntu.com trusty Release
Get:2 http://nova.clouds.archive.ubuntu.com trusty-updates Release [59.7 kB]
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://nova.clouds.archive.ubuntu.com trusty/main Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://nova.clouds.archive.ubuntu.com trusty/universe Sources
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://nova.clouds.archive.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://nova.clouds.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://nova.clouds.archive.ubuntu.com trusty/main Translation-en
Hit http://nova.clouds.archive.ubuntu.com trusty/universe Translation-en
Ign http://nova.clouds.archive.ubuntu.com trusty/main Translation-en_US
Ign http://nova.clouds.archive.ubuntu.com trusty/universe Translation-en_US
Get:3 http://nova.clouds.archive.ubuntu.com trusty-updates/main Sources [126 kB]
Get:4 http://nova.clouds.archive.ubuntu.com trusty-updates/universe Sources [86.7 kB]
Get:5 http://nova.clouds.archive.ubuntu.com trusty-updates/main amd64 Packages [338 kB]
Get:6 http://nova.clouds.archive.ubuntu.com trusty-updates/universe amd64 Packages [210 kB]
Hit http://nova.clouds.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://nova.clouds.archive.ubuntu.com trusty-updates/universe Translation-en
Fetched 821 kB in 3s (259 kB/s)
Reading package lists...
sudo DEBIAN_FRONTEND=noninteractive apt-get -y \
     --no-install-recommends install apache2 authbind bind9 bind9utils build-essential bzr-builddeb curl daemontools debhelper dh-apport distro-info dnsutils firefox freeipmi-tools gjs ipython isc-dhcp-common libjs-raphael libjs-yui3-full libjs-yui3-min libpq-dev make pep8 postgresql pyflakes python-amqplib python-bzrlib python-celery python-convoy python-crochet python-cssselect python-curtin python-dev python-distro-info python-django python-django-piston python-django-south python-djorm-ext-pgarray python-docutils python-extras python-fixtures python-flake8 python-formencode python-hivex python-httplib2 python-jinja2 python-jsonschema python-lockfile python-lxml python-mimeparse python-mock python-netaddr python-netifaces python-nose python-oauth python-oops python-oops-amqp python-oops-datedir-repo python-oops-twisted python-oops-wsgi python-openssl python-paramiko python-pexpect python-pip python-pocket-lint python-psyco...

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.