integration tests don't work on openstack default flavors

Bug #1539798 reported by David Britton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Charm
Fix Released
Medium
Unassigned

Bug Description

When running the integration tests aginast and openstack provider, the m1.tiny instance is chosen. This happens because we specify 'mem=128' in our integration tests for postgresql and landscape-server.

https://pastebin.canonical.com/148781/

+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+

1) Our bundle by default uses 2G for these constraints (in the charm store), I think we should go with that, for consistency sake.

2) I have heard there was some fear that the local provider would not work with larger mem requirements, but AFAIK, the local provider does not consider constraints, since... LXC

Related branches

David Britton (dpb)
Changed in landscape-charm:
assignee: nobody → David Britton (davidpbritton)
David Britton (dpb)
Changed in landscape-charm:
status: New → In Progress
Revision history for this message
David Britton (dpb) wrote :

Disk Usages after a plain install of our bundle.

  UnitId: haproxy/0
    /dev/disk/by-label/cloudimg-rootfs 20G 1.3G 18G 7% /

  UnitId: landscape-server/0
    /dev/disk/by-label/cloudimg-rootfs 20G 2.1G 17G 12% /

  UnitId: postgresql/0
    /dev/disk/by-label/cloudimg-rootfs 20G 2.8G 17G 15% /

  UnitId: rabbitmq-server/0
    /dev/disk/by-label/cloudimg-rootfs 20G 1.5G 18G 8% /

David Britton (dpb)
summary: - landscape-scaleable not deployable on default openstack flavors
+ integration tests don't work on openstack default flavors
description: updated
Changed in landscape-charm:
status: In Progress → Fix Committed
David Britton (dpb)
Changed in landscape-charm:
status: Fix Committed → Fix Released
assignee: David Britton (davidpbritton) → nobody
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.