integration tests don't work on openstack default flavors
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:/
+----+-
| 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
- Bogdana Vereha (community): Approve
- Free Ekanayaka (community): Approve
- 🤖 Landscape Builder: Approve (test results)
-
Diff: 154 lines (+21/-16)5 files modifieddev/ubuntu-deps (+1/-1)
tests/basic/test_leader.py (+4/-2)
tests/basic/test_service.py (+8/-8)
tests/helpers.py (+5/-5)
tests/layers.py (+3/-0)
Changed in landscape-charm: | |
assignee: | nobody → David Britton (davidpbritton) |
Changed in landscape-charm: | |
status: | New → In Progress |
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 |
Changed in landscape-charm: | |
status: | Fix Committed → Fix Released |
assignee: | David Britton (davidpbritton) → nobody |
Disk Usages after a plain install of our bundle.
UnitId: haproxy/0 disk/by- label/cloudimg- rootfs 20G 1.3G 18G 7% /
/dev/
UnitId: landscape-server/0 disk/by- label/cloudimg- rootfs 20G 2.1G 17G 12% /
/dev/
UnitId: postgresql/0 disk/by- label/cloudimg- rootfs 20G 2.8G 17G 15% /
/dev/
UnitId: rabbitmq-server/0 disk/by- label/cloudimg- rootfs 20G 1.5G 18G 8% /
/dev/