Skip to content
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

fix: Change ftp server to file server #102

Merged
merged 3 commits into from
Feb 23, 2023
Merged

Conversation

jacobemery
Copy link
Collaborator

@jacobemery jacobemery commented Feb 22, 2023

Related to Issue #96

The name 'FTP server' is confusing since the KVM host is now capable of hosting and serving necessary files via http only. Update the docs and variables to represent this change.

Also, enable using either ftp or http to serve config files for the bastion. FTP is still the only option for booting the KVM hosts, as that is the only option for the HMC to network boot from. And HTTP will still be installed and used on the bastion as it is required. But with these changes, someone using a pre-existing KVM host and NAT-based networking can use only HTTP if they'd like. And someone using an FTP server for booting of the KVM host(s) can use that same FTP server to boot the bastion.

The name 'FTP server' is confusing since the KVM host is now capable of hosting and serving necessary files via http only.

Update the docs and variables to represent this change. Also enable using either ftp or http to serve config files for the bastion.

FTP is still the only option for booting the KVM hosts, and HTTP will still be installed and used on the bastion as it is required.

But with these changes, someone using a pre-existing KVM host can use only HTTP. And someone using an FTP server for the booting of the KVM host can use that same FTP server to boot the bastion.

Signed-off-by: Jacob Emery <jacob.emery@ibm.com>
@jacobemery
Copy link
Collaborator Author

Received feedback from users that this was confusing to them, decided to tackle it today. Tested a highly-available deployment (3 LPARs, macvtap) with env.file_server.protocol as 'ftp' and entire test run as 'http'.

@smolin-de smolin-de requested review from smolin-de and removed request for smolin-de February 22, 2023 05:59
Copy link
Contributor

@smolin-de smolin-de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This statement:
"KVM host is now capable of hosting and serving necessary files via http"
is WRONG !
A guest on a KVM host does not have a network connection to the
KVM host via macvtap !

Signed-off-by: Jacob Emery <jacob.emery@ibm.com>
@jacobemery jacobemery changed the title fix: change ftp server to file server fix: Change ftp server to file server Feb 22, 2023
@jacobemery
Copy link
Collaborator Author

jacobemery commented Feb 23, 2023

A guest on a KVM host does not have a network connection to the KVM host via macvtap !

Ah, you are correct, my apologies! I've updated the description. Looks like none of the code has to change, but that was a lapse in my understanding, thanks!

Everything else look ok @smolin-de ?

Copy link
Contributor

@smolin-de smolin-de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@jacobemery jacobemery merged commit 0e5c111 into IBM:main Feb 23, 2023
@AmadeusPodvratnik
Copy link
Collaborator

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

jacobemery added a commit that referenced this pull request Dec 20, 2023
Related to Issue #96 

The name 'FTP server' is confusing since the KVM host is now capable of
hosting and serving necessary files via http only. Update the docs and
variables to represent this change.

Also, enable using either ftp or http to serve config files for the
bastion. FTP is still the only option for booting the KVM hosts, as that
is the only option for the HMC to network boot from. And HTTP will still
be installed and used on the bastion as it is required. But with these
changes, someone using a pre-existing KVM host and NAT-based networking
can use only HTTP if they'd like. And someone using an FTP server for
booting of the KVM host(s) can use that same FTP server to boot the
bastion.

---------

Signed-off-by: Jacob Emery <jacob.emery@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants