-
Couldn't load subscription status.
- Fork 1k
Add 'keep_configuration' networking config option to internal v1 networking config #6097
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
Add 'keep_configuration' networking config option to internal v1 networking config #6097
Conversation
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 to the approach here!
It looks like the key being used by netplan is deprecated, and there's an old PR to update it in netplan.
I'm tempted to call this KeepConfiguration in v1.
02c8b8d to
adc8b8b
Compare
ae03d70 to
94d007a
Compare
e243d81 to
f7aac83
Compare
|
@TheRealFalcon this is ready for re-review. git history is a mess but will cleanup once reviewing is done. |
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 left a few minor inline comments (and one somewhat major question), but it generally looks good to 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.
@TheRealFalcon made ur changes!
6b3953d to
857d727
Compare
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! You mentioned possibly restructuring the commits, so let me know when and how you wanna merge.
|
aaaaaand this change is no longer necessary (for the time being) due to similar functionality existing in initramfs-tools on noble+ (ubuntu 24.04 and forward). Closing! :P |
|
Continued in #6307 |
|
WE BACK |
|
Clearly the commits need squashed. @TheRealFalcon do you reckon it would be best to squash into one commit via the PR desc? or is it worth doing a couple commits (like one for the schema change and then one for the oracle impl)? |
|
@a-dubs , maybe one for the change, one for Oracle. But I have no problem squashing into 1 either. |
Sweet! Will do then. Also, @TheRealFalcon should I be adding/updating some docs somewhere for this change? |
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 was wondering whether we need to document iSCSI keep_configuration behavior in doc/rtd/refefence/datasources/oracle.rst. But I think that is an implementation detail that's not worth publicizing.
8a65570 to
f837fcf
Compare
This is necessary for Oracle Baremetal instances on IPv6-only networks which rely on the iscsi connection. Without this, after shutting down the instance, the instance is not recoverable. This setting will be automatically set for all iscsi instances via the Oracle Datasource based on metadata/config files left behind by initramfs during boot on ISCSI instances. PR: canonical#6097
f837fcf to
d253a84
Compare
|
@TheRealFalcon okay I have split the changes into to two commits and added the PR # reference to the footers of the commit messages! @blackboxsw I made the easy change to the rtd you requested. So this should all be good to go hopefully. |
|
@uhryniuk , were you interested in testing this behavior on Oracle? |
|
@TheRealFalcon Yeah, if you don't mind were going to fire off a bit more testing but by EOW or hopefully earlier we should be ready to roll. I'll let you know when it's completed! |
This is necessary for Oracle Baremetal instances on IPv6-only networks which rely on the iscsi connection. Without this, after shutting down the instance, the instance is not recoverable. This setting will be automatically set for all iscsi instances via the Oracle Datasource based on metadata/config files left behind by initramfs during boot on ISCSI instances. PR: canonical#6097
d253a84 to
8057b7a
Compare
|
@TheRealFalcon We finished up our testing, we're good to go. @a-dubs just pushed some more changes to fix the failing keep_configuration OCI integration test. The PR CI seems to have failed after the new commit though, but it appears unrelated. |
|
@a-dubs , can you push a rebase? It should fix the test error. |
This config option is only implemented for the Netplan renderer. It is used to designate the connection as 'critical to the system', meaning that special care will be taken not to release the assigned IP when the daemon is restarted. PR: 6097
This is necessary for Oracle Baremetal instances on IPv6-only networks which rely on the iscsi connection. Without this, after shutting down the instance, the instance is not recoverable. This setting will be automatically set for all iscsi instances via the Oracle Datasource based on metadata/config files left behind by initramfs during boot on ISCSI instances. PR: canonical#6097
8057b7a to
757dcfe
Compare
|
@TheRealFalcon done! |
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!
This is necessary for Oracle Baremetal instances on IPv6-only networks which rely on the iscsi connection. Without this, after shutting down the instance, the instance is not recoverable. This setting will be automatically set for all iscsi instances via the Oracle Datasource based on metadata/config files left behind by initramfs during boot on ISCSI instances. PR: canonical#6097

Proposed Commit Message
N/A
Additional Context
Test Steps
Merge type