"Advanced stack actions" OSTF test fails on 10.0 + MOS packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
MOS Heat | ||
Mitaka |
Invalid
|
High
|
MOS Heat |
Bug Description
Detailed bug description:
ISO: fuel-10.
OSTF test: "Advanced stack actions: suspend, resume and check"
Test run status:
Actual value - SHUTOFF,
Target component: Heat
Test scenario:
1. Create test flavor.
2. Create a stack.
3. Wait until the stack status will change to 'CREATE_COMPLETE'.
4. Call stack suspend action.
5. Wait until the stack status will change to 'SUSPEND_COMPLETE'.
6. Check that stack resources are in 'SUSPEND_COMPLETE' status.
7. Check that server owned by stack is in 'SUSPENDED' status.
8. Call stack resume action.
9. Wait until the stack status will change to 'RESUME_COMPLETE'.
10. Check that stack resources are in 'RESUME_COMPLETE' status.
11. Check that instance owned by stack is in 'ACTIVE' status.
12. Call stack check action.
13. Wait until the stack status will change to 'CHECK_COMPLETE'.
14. Check that stack resources are in 'CHECK_COMPLETE' status.
[x] 15. Check that instance owned by stack is in 'ACTIVE' status. # failing here
16. Delete the stack and wait for the stack to be deleted.
Total max duration: 900 s.
Actual time: 159.3 - so it is not caused by timeout
There are no errors in heat logs:
root@node-3:~# fgrep -v INFO /var/log/
0
root@node-3:~#
I don't see information in logs about checks for ACTIVE state:
[root@nailgun ~]# fgrep fuel_health.
0
[root@nailgun ~]#
For CHECK_COMPLETE (as an example) there are some rows:
[root@nailgun ~]# fgrep fuel_health.
2
[root@nailgun ~]# fgrep fuel_health.
fuel_health.
fuel_health.
[root@nailgun ~]#
I also see logs for 16th step (16. Delete the stack and wait for the stack to be deleted.):
fuel_health.
fuel_health.
fuel_health.
fuel_health.
fuel_health.
As I understand in case of failure on step #15 step #16 shouldn't be executed at all, so probably there are some issues with OSTF test code.
heat engine log: http://
heat api log: http://
There are only parts of logs - only for test time.
Other heat logs contain 200 OK only.
Test log is attached to this bug.
Steps to reproduce:
Deploy 1 controller + 1 compute environment on fresh 10.0 ISO with MOS packages. Run OSTF test (Advanced stack actions: suspend, resume and check).
Expected results:
Test passes.
Actual result:
Test failed.
Description of the environment:
Operation system: Ubuntu 16.04
Changed in fuel: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
milestone: | none → 10.0 |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → MOS Heat (mos-heat) |
We cant't reproduse this bug on latest 10.0 (fuel-10. 0-community- 589-2016- 08-26_11- 14-00.iso)