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

Katello 3.5.1 cherry picks #7173

Merged
merged 30 commits into from Feb 2, 2018
Merged

Katello 3.5.1 cherry picks #7173

merged 30 commits into from Feb 2, 2018

Conversation

akofink
Copy link
Member

@akofink akofink commented Jan 25, 2018

No description provided.

Jonathon Turel and others added 5 commits January 25, 2018 11:45
also, i reogrdganized how repository glue tests are run
so that the entire set does not have to be re-recorded just to
add a new test.  Now you can use the 'new_episodes' recording
option'

(cherry picked from commit d068817)
This commit addresses a bug where the docker tag name was not gettign
autocompleted when requested from the UI. The Table referenced in the
autocomplete did not point DockerMetaTag and instead pointed to
DockerTag breaking this.

(cherry picked from commit e77c2e6)
For some reason ProxyAPI::Pulp and ProxyAPI::PulpNode are not
available to katello/SmartProxyExtensions, which causes a
ResourceNotFound error when refreshing the proxy.
Fix seems to be as simple as requiring proxy_api/pulp.

(cherry picked from commit a89c0bb)
end
end

#rubocop:disable Style/MixinUsage https://github.com/bbatsov/rubocop/issues/4885

Choose a reason for hiding this comment

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

Unnecessary disabling of Style/MixinUsage.

@Katello Katello deleted a comment from theforeman-bot Jan 25, 2018
dLobatog and others added 5 commits January 25, 2018 15:24
We refer to pools as subscriptions, so the
subscription_id search should really be searching
pools.

To test this attach a sub to an activation key,
go to that sub's details and click on the number
next to "Activation Keys" in the Associations
box.

(cherry picked from commit 8c10553)
The product repository links were incorrectly changed after the
switch to nutupane.  This commit fixes the generation of the links.

http://projects.theforeman.org/issues/21788
(cherry picked from commit 1bca4e4)
The "guests of <hypervisor>" link was broken because
we changed the subscription API to no longer return hosts.
This commit will grab the "requires_host" value from
candlepin and adds that to a new field on the pools table,
"hypervisor_id". This can then be referenced by UI, which
will display the associated hypervisor.

To test you will need to register a VDC subscription and a
hypervisor running virt-who w/ guests.

(cherry picked from commit c0d72eb)
@ehelms
Copy link
Member

ehelms commented Jan 26, 2018

[test rails-5]

1 similar comment
@ehelms
Copy link
Member

ehelms commented Jan 26, 2018

[test rails-5]

@ehelms
Copy link
Member

ehelms commented Jan 26, 2018

@akofink Ok, I think this ran for real now

@akofink
Copy link
Member Author

akofink commented Jan 29, 2018

I had to re-record a VCR cassette.

parthaa and others added 5 commits January 29, 2018 13:11
This commit tries to speed up the publishing of content views via Errata
filters by using Katello Database instead of requesting that
information from pulp especially while planning.

(cherry picked from commit 6c54a7f)
Currently the Content View and Lifecycle Environment are fields of a
Content Facet. These fields have a NOT-NULL constraint, so they are
validated on every host. This means that if I'm trying to create a
CentOS, or Debian host, it will ask for a Content View and Lifecycle -
which I may not want for hosts that don't use subscription-manager.

In fact for the CentOS case, it's harmful: having a Content View for a
CentOS host changes the @mediapath variable (the parameter sent to --url
in the kickstart) to point to Pulp, which means you're pointing to
Red Hat and installing Red Hat instead of CentOS (unless you've synced
CentOS).

(cherry picked from commit 405a1bc)
The Remote Execution User needs just view_hosts (side by side to
execute_job_invocation) permission and there is no reason at all
to use edit_hosts permission for this purposes in Katello.

This way, the `Remote Execution User` role will work correctly
for Katello use-cases as well, which was not the case, when using
`edit_hosts` permission.

(cherry picked from commit f7340d4)
This stop sending static and session Tracer types to RemoteEx.
If a Trace is static, then the machine needs restarting.

(cherry picked from commit fb68d6a)
@akofink
Copy link
Member Author

akofink commented Jan 29, 2018

s/FactoryBot/FactoryGirl/ in 6c54a7f

@akofink
Copy link
Member Author

akofink commented Jan 29, 2018

@ehelms rails-5 build passed

@ehelms
Copy link
Member

ehelms commented Jan 31, 2018

[test default]

1 similar comment
@ehelms
Copy link
Member

ehelms commented Jan 31, 2018

[test default]

@ehelms
Copy link
Member

ehelms commented Jan 31, 2018

@akofink The default test is running properly now and throwing a real rubocop error. Up to you how you want to handle it.

@akofink
Copy link
Member Author

akofink commented Jan 31, 2018

I disabled the MethodLength cop for that method.

@akofink
Copy link
Member Author

akofink commented Jan 31, 2018

[test default]

@Katello Katello deleted a comment from theforeman-bot Jan 31, 2018
@Katello Katello deleted a comment from theforeman-bot Jan 31, 2018
@Katello Katello deleted a comment from theforeman-bot Jan 31, 2018
@Katello Katello deleted a comment from theforeman-bot Jan 31, 2018
@Katello Katello deleted a comment from theforeman-bot Jan 31, 2018
@Katello Katello deleted a comment from theforeman-bot Jan 31, 2018
@ehelms
Copy link
Member

ehelms commented Feb 1, 2018

[test default]

2 similar comments
@ehelms
Copy link
Member

ehelms commented Feb 1, 2018

[test default]

@ehelms
Copy link
Member

ehelms commented Feb 1, 2018

[test default]

@ehelms ehelms merged commit 170f3cd into Katello:KATELLO-3.5 Feb 2, 2018
@akofink akofink deleted the 351 branch February 2, 2018 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet