Sceptre: Update with change sets for multiple stacks fails unless all cause updates

Created on 7 Jun 2019  路  8Comments  路  Source: Sceptre/sceptre

update -c xxx fails if there are multiple stacks resolved, and not all have updates (i.e. generates valid change sets). This is due to not all change sets statuses being READY, so it bails with exit(1).

Party covered in #520, but this is a bug, not a broader improvement.

I've done some initial hacking on this issue and will try to push a PR soon.

bug

All 8 comments

I _think_ https://github.com/cloudreach/sceptre/commit/987e22092a1efcfef8da0494e99a1b9ed083cd04 should fix this which is now in the 2.1.4 if you have time @henrist could you checkout and test?

This is why it fails:

https://github.com/cloudreach/sceptre/blob/9df6a65f435f83bc8c99be266581d613bd7c6994/sceptre/cli/update.py#L60-L63

The code requires all items in the plan to have updates

As far as I know, this is still an issue in 2.3.0. Any idea when it will be fixed?

@henrist any chance of creating that pull request with the hacking you did on this issue? Might be able to help on solving this issue so it can be merged into upstream.

This now might work when https://github.com/Sceptre/sceptre/commit/20b824a47c0b2330b29ef12e1c5643dddcb759e9 was merged to master (not formally released yet)

I'll devote some time during the weekend to check (both the changes mentioned and if needed push som partial changes in a PR).

The PR is out - see #917

Thanks I鈥檒l have a look soon I take it master doesn鈥檛 work?

Thanks I鈥檒l have a look soon I take it master doesn鈥檛 work?

Yep, correct. The code i refered to in https://github.com/Sceptre/sceptre/issues/723#issuecomment-504398213 still caused the bailout.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gbegher picture gbegher  路  3Comments

fabiodouek picture fabiodouek  路  5Comments

n2taylor picture n2taylor  路  7Comments

ivanilves picture ivanilves  路  4Comments

tahoward picture tahoward  路  4Comments