improve heat autoscaling test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Wishlist
|
Alexander Nagovitsyn |
Bug Description
current heat autoscaling test in OSTF has couple of shortcomings:
- CPU load and release commands are (AWKward) bash one-liners passed via SSH, very much dependent on image/shell/SSH implementation, prone to bugs
- the command being used is only good for loading a single vCPU core
I propose to stabilize it somewhat by placing an only 'sh' dependent script on instances during boot and launching it via SSH with appropriate switches, my own simplest and Cirros/TestVM tested examples here
https:/
https:/
Another small advantage is that such test stack template also exercises SoftwareConfig resource and get_file template function to some extent.
Test can also be improved to use WaitConditions and nested stacks.
Changed in fuel: | |
assignee: | nobody → Anastasia Kuznetsova (akuznetsova) |
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: heat |
tags: | added: area-qa |
Changed in fuel: | |
assignee: | Anastasia Kuznetsova (akuznetsova) → Alexander Nagovitsyn (gluk12189) |
tags: |
added: area-ostf removed: area-qa ostf |
now we use other metrics for scale instance. The test has been rewritten
No changes are required.