Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Node: create tuned-profiles-openshift-node #6024

Merged
merged 2 commits into from Jan 7, 2015

Conversation

sdodson
Copy link
Member

@sdodson sdodson commented Dec 16, 2014

Bug 889539 - [RFE] create tuned profile for openshift-enterprise nodes
This adds an optional subpackage named 'tuned-profiles-openshift-node' which
contains a tuned profile suitable for OpenShift Node hosts. When installed this
RPM will enable the profile starting tuned if it's not currently running.

@sdodson
Copy link
Member Author

sdodson commented Dec 17, 2014

[test] to verify the package builds properly via jenkins, it built fine by hand

@sdodson
Copy link
Member Author

sdodson commented Dec 17, 2014

@maxamillion mind reviewing this PR?

@openshift-bot
Copy link

@openshift-bot
Copy link

Origin Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests/3232/)

@@ -282,6 +287,29 @@ fi
%attr(0755,-,-) /etc/cron.monthly/openshift-origin-cron-monthly
%attr(0755,-,-) /etc/cron.daily/openshift-origin-stale-lockfiles

################## start tuned-profiles-openshift-node ###############
%package -n tuned-profiles-openshift-node
Copy link
Member

Choose a reason for hiding this comment

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

I'm curious what the motivation of making this a subpackage instead of it's own package was?

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted it associated with the node directory tree and it seemed odd to create a spec file in a subdirectory of a directory that already had a spec file. Tito may have some hangups with it as well.

The other option I can see is moving tune-profiles into the root of the repo. If we were to create profiles for other roles that would probably make the most sense. However, I foresee no need for additional profiles at this time.

Copy link
Member

Choose a reason for hiding this comment

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

My biggest worry with it being a subpackage is that this is technically a rubygem package and it should (which it doesn't currently because it needs updating) have Source0 as a .gem file and not a .tar.gz[0] where as the tuned-profiles don't have any real association with the rubygems.

I'm open to suggestion though, but it seems odd at face value.

@tdawson - any thoughts?

[0] - https://fedoraproject.org/wiki/Packaging:Ruby

@sdodson sdodson force-pushed the tuned-profile branch 2 times, most recently from 0073ff8 to 9a96406 Compare January 5, 2015 15:17
Bug 889539 - [RFE] create tuned profile for openshift-enterprise nodes
This adds an optional subpackage named 'tuned-profiles-openshift-node' which
contains a tuned profile suitable for OpenShift Node hosts. When installed this
RPM will enable the profile starting tuned if it's not currently running.
@sdodson
Copy link
Member Author

sdodson commented Jan 5, 2015

[test] i'd like to see jenkins build the rpm

@sdodson
Copy link
Member Author

sdodson commented Jan 5, 2015

@maxamillion How do I get jenkins to build a new package? It says it's skipping it because it's not tagged. I've created a tag for it on my forked branch but I cannot push tags to origin-server.

From https://ci.openshift.redhat.com/jenkins/job/test_pull_requests/3228/consoleFull ->

'Skipping 'tuned-profiles-openshift-node' in '/data/src/github.com/openshift/origin-server/tune-profiles/openshift-node' since it is not tagged.'

@maxamillion
Copy link
Member

Needs a tito tag in the directory within the repository that you want to turn into a rpm... which I'm now realizing we don't have public documentation for.

@maxamillion
Copy link
Member

Correction, I see tito commits in the changelog ... let me dig in, something doesn't look right.

@maxamillion
Copy link
Member

Alright, so yes and no on the tito thing. Tito should have created a git tag, can you run a git tag | grep tuned-profiles-openshift-node from your branch and find out if you have that tag? Also verify it's been pushed to your remote branch.

@sdodson
Copy link
Member Author

sdodson commented Jan 5, 2015

You're right, looks like I failed to push the tag to my fork, sorry about that.

[test] again

@openshift-bot
Copy link

Evaluated for origin up to 63105e4

@sdodson
Copy link
Member Author

sdodson commented Jan 6, 2015

@maxamillion Looks like it's built successfully now, you ok with merging this as it is now?

@maxamillion
Copy link
Member

[merge] 👍

@openshift-bot
Copy link

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/merge_pull_requests/6251/) (Image: devenv_5379)

@maxamillion
Copy link
Member

[merge] the failure looked like jenkins just puked

@openshift-bot
Copy link

Evaluated for online up to 63105e4

openshift-bot pushed a commit that referenced this pull request Jan 7, 2015
@openshift-bot openshift-bot merged commit 637c69b into openshift:master Jan 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants