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

unixPB: fix up jckservices playbook #2263

Merged
merged 12 commits into from
Jul 22, 2021
Merged

unixPB: fix up jckservices playbook #2263

merged 12 commits into from
Jul 22, 2021

Conversation

gdams
Copy link
Member

@gdams gdams commented Jul 7, 2021

Checklist
  • commit message has one of the standard prefixes
  • FAQ.md updated if appropriate
  • other documentation is changed or added (if applicable)
  • playbook changes run through VPC or QPC (if you have access)
  • for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

Coverts the old playbook into a role-based playbook to match the other unix playbooks. This also allows us to use the vendor secrets without code duplication.

Switches ftpd to vsfptd (as ftpd doesn't work anymore)

Copy link
Member

@sxa sxa left a comment

Choose a reason for hiding this comment

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

This is a lot more difficult to review than it could be given that things have been moved around so much. I'm not sure there is much reason to move this into the main playbook directly since it's a very specific separate service. Also, can the description of the PR be updated to indicate the "real" functional changes that are occurring in here please as it's currently empty.

It looks like all the firewall stuff has been lost too.

@karianna karianna added this to the July 2021 milestone Jul 7, 2021
@karianna
Copy link
Contributor

karianna commented Jul 7, 2021

Likely a separate concern, but I see in https://github.com/adoptium/infrastructure/pull/2263/files that GH does some extra analysis at the end on linting, do you also see that @gdams ?

@sxa
Copy link
Member

sxa commented Jul 7, 2021

Likely a separate concern, but I see in https://github.com/adoptium/infrastructure/pull/2263/files that GH does some extra analysis at the end on linting, do you also see that @gdams ?

Is that the Beta "Unchanged files with check annotations"? That's been around for a while now I think and I've (so far) been ignoring them, but I guess if we want to start trying to clear them up we should create an issue for it (Cant you think of anyone that might be around and able to work on something like that over the next few weeks @karianna? ) :-)

@karianna
Copy link
Contributor

karianna commented Jul 7, 2021

Likely a separate concern, but I see in https://github.com/adoptium/infrastructure/pull/2263/files that GH does some extra analysis at the end on linting, do you also see that @gdams ?

Is that the Beta "Unchanged files with check annotations"? That's been around for a while now I think and I've (so far) been ignoring them, but I guess if we want to start trying to clear them up we should create an issue for it (Cant you think of anyone that might be around and able to work on something like that over the next few weeks @karianna? ) :-)

It is and great call - I'll set that up.

@gdams
Copy link
Member Author

gdams commented Jul 8, 2021

@sxa the main reason for moving the playbook into the main Unix directory was because it's already setup with the role for fetching vendor files. Moving this into the other directory would mean a huge amount of code duplication. I also prefer the role-based setup as it's far simpler to maintain. I'll add the firewall rules back

@sxa
Copy link
Member

sxa commented Jul 14, 2021

Why the change from ftpd to vsftpd?

@sxa
Copy link
Member

sxa commented Jul 14, 2021

I also prefer the role-based setup as it's far simpler to maintain.

I think that's debatable for such a small piece of code as the jckservices setup (and the way this has done does pollute the "UNIX" playbook directory with stuff that most other users of our playbooks will never have a need to use) but we really should be proposing and discussing any such changes before putting such alterations into production (I presume this new version is the one that has been deployed?) or at the very least explaining the changes in the PR descriptions and not just via a PR title like this one.

@gdams
Copy link
Member Author

gdams commented Jul 14, 2021

Why the change from ftpd to vsftpd?

As far as I can tell, ftpd no longer works on ubuntu. We had similar problems internally.

Note that Ubuntu even recommends vsftpd now https://ubuntu.com/server/docs/service-ftp

Copy link
Member

@sxa sxa left a comment

Choose a reason for hiding this comment

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

There may be some functional issues with passive FTP based on using jckservices.adoptium.net as the pasv_address as it might end up with an internal address if it's not resolved over DNS, but as long as that is not a concern on the live system I'm ok with this going in, particuarly as it matches the current production system.

@gdams gdams merged commit bcd280a into adoptium:master Jul 22, 2021
@gdams gdams deleted the jckservices branch July 22, 2021 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ansible ghActions GitHub Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants