-
Notifications
You must be signed in to change notification settings - Fork 69
feat(storage): Add auto-installation support for iSCSI #2231
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
Conversation
30b10cb to
3e94ccc
Compare
|
FYI, the problem with returning the wrong type for the CurrentStep property and ruby-dbus correctly failing but not telling you which property is the problem: being addressed in mvidner/ruby-dbus#147 |
ec8d68e to
919bc77
Compare
cd53c1b to
1b78ce6
Compare
ancorgs
left a comment
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.
Added some inline comments for minor things.
Other than that, I have mixed feelings about the commit titled "Add iSCSI Adapter". It somehow looks like making the code less object oriented and encapsulated.
Just to clarify, "mixed feelings" doesn't mean I think it is wrong. I would go on and merge as it is (after processing the inline comments), because I think it has advantages and the drawbacks may only be my personal impression.
Having said that, let me elaborate.
Before that commit there is a mixin WithIscsiAuth that is in charge of building the authentication hash from the whole struct (ie. to know what are the fields that are relevant for authentication). After the commit, the mixin is gone and that filtering of relevant fields is repeated in a couple of places.
On the other hand, before the commit the classes Initiator and Manager act as some kind of model for the business logic, encapsulating the data and its manipulation. After that, all manipulation is extracted to Adapter, which is a good step regarding single responsibility but also feels like a class that simply holds a bunch of methods in a similar way than YaST modules used to do things.
Yes, the credentials hash is built in 3 different places:
Yes, currently both |
- The method #SetConfig is not implemented yet.
1b78ce6 to
1682935
Compare
ancorgs
left a comment
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.
LGTM
Prepare to release Agama 14: * #1994 * #2041 * #2103 * #2178 * #2189 * #2200 * #2205 * #2209 * #2212 * #2213 * #2214 * #2215 * #2216 * #2217 * #2219 * #2220 * #2224 * #2225 * #2226 * #2227 * #2228 * #2230 * #2231 * #2232 * #2233 * #2235 * #2237 * #2239 * #2241 * #2242 * #2244 * #2245 * #2246 * #2247 * #2248 * #2249 * #2250 * #2251 * #2252 * #2253 * #2254 * #2255 * #2256 * #2257 * #2259 * #2260 * #2262 * #2265 * #2266 * #2268 * #2269 * #2271 * #2272 * #2273 * #2275 * #2276 * #2278 * #2281
https://build.opensuse.org/request/show/1272126 by user IGonzalezSosa + anag_factory - Version 14 - Fixed detection of iBFT (bsc#1239046). - Removed offload_card from iSCSI (bsc#1231385). - bsc#1238038 - copy NVMe configuration files from inst-sys to target (gh#agama-project/agama#2257). - Allow to specify extra kernel parameters for bootloader (jsc#PED-10810) - Add auto-installation support for iSCSI (gh#agama-project/agama#2231). - Write the registration URL to the installed system (bsc#1239316). - Make the extension version attribute optional, search the version automatically if it is missing (related to jsc#AGM-100) - Allow to specify bootloader timeout in profile (jsc#PED-10810) - Copy the hostname to the installed system if it exists (gh#agama-project/agama#2226). - Properly map AutoYaST scripts "source" to "content" - Always display the patterns
Add auto-installation support for configuring iSCSI.
Main changes:
#SetConfigmethod.Out of scope:
#GetConfig).