-
Notifications
You must be signed in to change notification settings - Fork 44
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
BZ #1247684 Puppet Errors with cinder Dell SC multibackend #554
Conversation
@@ -1,4 +1,4 @@ | |||
define quickstack::dell_sc_iscsi::volume ( | |||
define quickstack::dellsc::volume ( |
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.
Why are we dropping iscsi?
I think we just need to have consistent name. dell_sc_iscsi does make sense to me. We use that for documentation for kilo.
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.
It is just a directory name. We will use dellfc for fiber channel
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.
we expect that in longer term we will have both eql and sc under dell. Thus, I want correct naming conversion to handle it. Leave particular to you.
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.
perhaps then this should be changed to be:
(directory structure) manifests/dell/sc_iscsi/volume.pp
resulting in a define with the name:
quickstack::dell::sc_iscsi::volume
Would that be clearer and allow you to fold the eql code into the quickstack::dell namespace as desired?
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.
fine with me
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.
Updated the patch with new dir structure
5ed971b
to
536c278
Compare
@rajinir these changes look reasonable to me. As I have no way to properly test them, do they resolve the issues you saw previously? |
These changes are good to go. But got an error further |
Repeating what I said in BZ in case you see this first: Ok, got it. In quickstack::cinder_volume_types, on line 39, it has: If I change that to: (which matches other types) then the error goes away for me. |
Also, could you update the commit message on your next push? We have a format that makes it easier for me to generate a list of changes between releases:
Thanks! |
https://bugzilla.redhat.com/show_bug.cgi?id=1247684 The directory structure of dellsc::volume did not match the name of the define, causing puppet to be unable to find the requested define. And there was typo in evaluating the last index when defining types.
Puppet run finished with success. Tested that it generates the cinder.conf file correctly |
Excellent, then unless @arkadykanevsky has any other concerns, I think this is ready to merge |
+1 |
BZ #1247684 Puppet Errors with cinder Dell SC multibackend
https://bugzilla.redhat.com/show_bug.cgi?id=1247684
The directory structure of dellsc::volume did not match the name of the define,
causing puppet to be unable to find the requested define.
And there was typo in evaluating the last index when defining types.