ioggstream

Untitled

Jun 8th, 2017
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. ## description
  2.  
  3. removing one server and updating the stack causes re-creation of all servers (possibly related to https://bugs.launchpad.net/heat/+bug/1671592 and https://review.openstack.org/#/c/452947/2/heat/engine/resources/stack_resource.py )
  4.  
  5. ## my stack
  6.  
  7. $ nova list
  8. host-0.example.com 192.168.0.5
  9. host-1.example.com 192.168.0.6
  10.  
  11. hosts are
  12.  
  13. - in a OS::Heat::ResourceGroup
  14. - in a ServerGroup with an anti-affinity policy
  15.  
  16. ## reproduce
  17.  
  18. Delete one node
  19. $ nova delete host-0.example.com
  20. $ nova list
  21. host-1.example.com
  22.  
  23. Stack check correctly detects the missing node (see paste)
  24. $ heat action-check mystack
  25.  
  26. Run stack-update to recover the missing node
  27. $ heat stack-update -x mystack
  28.  
  29.  
  30. ## I expect
  31.  
  32. The stack to be recovered to the original state
  33.  
  34. ## Instead
  35.  
  36. Two more nodes are created, one with a conflicting name (the previously existing one).
  37.  
  38. $ nova list
  39. host-1.example.com 192.168.0.6
  40. host-0.example.com 192.168.0.11
  41. host-1.example.com 192.168.0.12
  42.  
  43.  
  44. ## Pastes
  45. 2017-06-08 07:59:10Z [shift.openshift_infra_nodes.1]: CHECK_COMPLETE Stack CHECK completed successfully. 'CHECK' not fully supported (see resources) # SoftwareConfig & co
  46. 2017-06-08 07:59:10Z [shift.openshift_infra_nodes.1]: CHECK_COMPLETE state changed
  47. 2017-06-08 07:59:10Z [shift.openshift_infra_nodes.0]: CHECK_FAILED ['NotFound: resources[0].resources.root_volume: Volume 96187160-3c71-47de-98c9-2e3693e90003 could not be found. (HTTP 404) (Request-ID: req-696f3b71-1a4e-4984-a7cb-9d29b31157ad)']. 'CHECK' not fully supported (see resources)
  48. 2017-06-08 07:59:10Z [shift.openshift_infra_nodes]: CHECK_FAILED Resource CHECK failed: ["['NotFound: resources[0].resources.root_volume: Volume 96187160-3c71-47de-98c9-2e3693e90003 could not be found. (HTTP 404) (Request-ID: req-696f3b71-1a4e-4984-a7cb-9d29b31157ad)']. 'CHECK' not fully supported (see resources)"]. 'C
  49. 2017-06-08 07:59:11Z [shift.openshift_infra_nodes]: CHECK_FAILED ["['NotFound: resources.openshift_infra_nodes.resources[0].resources.root_volume: Volume 96187160-3c71-47de-98c9-2e3693e90003 could not be found. (HTTP 404) (Request-ID: req-696f3b71-1a4e-4984-a7cb-9d29b31157ad)']. 'CHECK' not fully supported (see resourc
  50. 2017-06-08 07:59:19Z [shift]: CHECK_FAILED Resource CHECK failed: ['["[\'NotFound: resources.openshift_infra_nodes.resources[0].resources.root_volume: Volume 96187160-3c71-47de-98c9-2e3693e90003 could not be found. (HTTP 404) (Request-ID: req-696f3b71-1a4e-4984-a7cb-9d29b31157ad)\']. \'CHECK\' not
Advertisement
Add Comment
Please, Sign In to add comment