cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swill <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-9378: Fix for #1497
Date Thu, 12 May 2016 03:59:39 GMT
Github user swill commented on the pull request:
    Sorry for the delay getting to this.  I think this probably works in all cases, but I
suspect it will not clean up correctly always.  Because this was working sometimes and failing
sometimes, I believe that means that the cleanup of `account` does not always clean up the
snapshots (otherwise it would have never worked).
    I think the code should be like this to make sure it cleans up everything up and does
not fail.
    cls._cleanup = [
    Does this make sense to you guys?  This way it will remove the snapshots first and then
it will clean up everything else.  I could be wrong, but since the current code ever worked,
I think this guarantees that the cleanup of everything will happen and the `account` won't
error when it tries to clean up.  I guess if the account keeps a reference to the snapshot
after it is deleted, that could cause the account deletion to fail.  Feedback please...

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message