-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: mixed disk drive layouts #653
Conversation
aab3b4e
to
0849408
Compare
0849408
to
b295a3c
Compare
This looks like a new feature, and a slight behavior change. Did we have any discussion on why do we need this? If so, is there any reference to the discussion and decision taken? |
seslib/deployment.py
Outdated
def __append_disks_to_node(self, node): | ||
for _i, _n in enumerate(self.settings.num_disks): | ||
for _ in range(_n): | ||
node.storage_disks.append(Disk(self.settings.disk_size[_i] |
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.
What happens disk_size length is less than num_disks
?
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 wasn't aware that the foo[bar] or buzz
syntax doesn't work with lists. AFAIK it works with dicts though. Fixed it.
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 it is ready to merge yet.
jenkins retest this please |
b295a3c
to
fed323a
Compare
Provision mixed disk drive layouts when specifying `--num-disks` and `--disk-size` multiple times. fixes: SUSE#652 Signed-off-by: Moritz Röhrich <[email protected]>
fed323a
to
85de9f8
Compare
Provision mixed disk drive layouts when specifying
--num-disks
and--disk-size
multiple times.fixes: #652
Signed-off-by: Moritz Röhrich [email protected]