-
Notifications
You must be signed in to change notification settings - Fork 414
Fix distributive upgrade from Mantl 1.0.3 -> 1.1 #1296
Conversation
7e471a7
to
068fad7
Compare
with_items: | ||
- asteris-mantl-rpm.repo | ||
- ciscocloud-rpm.repo | ||
|
||
# BASICS - we need every node in the cluster to have common software running to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just wondering if this is the best place for this. A fresh install failed for me b/c I hadn't update my local mantl.yml with this task from sample.yml. I'm not sure how widespread of an issue this will be since it won't affect new users but it might bite more of us who have existing Mantl configs. And, in general, keeping the sample.yml as simple as possible seems like a good thing. Do you think it might be cleaner to just put this in a tiny role that is included as a dependency in common?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm glad to get feedback on this, since I wasn't really sure where to put it. I don't have any kind of a preference. I think that we should be able to expect that folks will update their mantl.yml
with new stuff in sample.yml
every release (thinking about past releases when we have added/removed roles, etc.), but I'm also just generally unsure of where this belongs.
I like the idea of using Ansible role dependencies more throughout our project so we don't have to depend on, say, the ordering of tasks in sample.yml
. If we create a new role, maybe we can add it as a dependency for any role that uses our repos.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this belongs in the playbook. We should include roles and depend on them, sure, but this pins us to supporting this for longer than in a role. (Because it's encouraged to update your sample.yml
with customizations.)
Maybe this should be a "repos" role that common et al. depend on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, I think this will be a little cleaner. @siddharthist do you mind moving this to a "repos" role?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not at all, will do ASAP.
Successful upgrade from 1.0.3! Just had one question about the sample.yml. |
@ryane @BrianHicks Done, tested upgrade from 1.0.3 -> 1.1 on AWS. Travis will check fresh install. |
I'm a little confused, Travis is failing on a task (
|
9fe3d57
to
c15a32e
Compare
Well, after rebasing I found the problem, but Travis isn't testing. I'll rebase again, I suppose. |
3ebf803
to
3e5a8b3
Compare
is this ready for a manual test? it looks like the aws build failed due to a transient network error but the other two builds completed successfully. |
@ryane Yes, it's ready for manual testing. Just an upgrade from 1.0.3 -> master on another cloud would be perfect. |
cool, I'll kick of an upgrade on gce |
successful upgrade from 1.0.3 on GCE |
Waiting on mantl/mantl-packaging#67
Tested on AWS