This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoMethodError: undefined method `merge' for nil:NilClass | |
/builddir/build/BUILDROOT/tfm-rubygem-katello-3.5.0-.201704070229git35de7e81.nightly.el7.noarch/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.5.0/app/models/katello/concerns/content_facet_host_extensions.rb:47:in `block in <module:ContentFacetHostExtensions>' | |
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/concern.rb:120:in `class_eval' | |
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/concern.rb:120:in `append_features' | |
/builddir/build/BUILDROOT/tfm-rubygem-katello-3.5.0-.201704070229git35de7e81.nightly.el7.noarch/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.5.0/lib/katello/engine.rb:231:in `include' | |
/builddir/build/BUILDROOT/tfm-rubygem-katello-3.5.0-.201704070229git35de7e81.nightly.el7.noarch/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.5.0/lib/katello/engine.rb:231:in `block in <class:Engine>' | |
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[dockerrepo] | |
name=Docker Repository | |
baseurl=https://yum.dockerproject.org/repo/main/fedora/$releasever/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://yum.dockerproject.org/gpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
total: 1 | |
bugs: | |
- bugzilla: 1373903 | |
assigned_to: [email protected] | |
redmines: | |
- url: http://projects.theforeman.org/issues/16834 | |
assigned_to: Blah | |
- url: http://projects.theforeman.org/issues/16835 | |
assigned_to: Ha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ignored Cherry Picks | |
===================== | |
Missing Cherry Picks | |
==================== | |
Cherry Picks for repository: unknown | |
---------------------------------------------- | |
Pick All: git cherry-pick -x 6d0140778b68808b31c1c4a186f3e9b034163494 d536005604e5cf3171e8374b1fd3c1d09cdb3863 430407ae32a2246ea6a743165dfe41c157be2f0d 960d5e1e620e83610f1fbb207c0f21232be48675 14d9ca66c984319de023fdc2d8b20a0eeaab84f0 4767937236946fbae1c8511c6edd7c8da47f5d4d b9b2c34dcf6fa14be927c3d120267af7e1fe178c 3c11b38f76680f9363971b490cbc6cf2838a7aab cad1c72d4f9c6cecf852b967c9ebff1cc9a0b17e 45b8161d35880c89ceabd812a5470e88d039e707 7a9226d3f5e2596cdb7a254043e9a649e4e52cdc b30a5b5d635048141f500403e7ca297fd33e1137 53d0f22f8b7f6b9f19e810a4662702b5fd836dc4 a17666643b54512bb5f993b116d018f79354526d ad08281a610d5667c89c2c2d9d95da38c66d08ca |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
def upload_package_profile | |
puts `rm /var/lib/rhsm/packages/packages.json` | |
puts `katello-package-upload` | |
end | |
100.times do | |
threads = [] | |
threads << Thread.new { 45.times { upload_package_profile } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, find the pulp_id for the repository having issues | |
foreman-rake console | |
> Katello::Repository.find(REPO_ID).pulp_id | |
Copy the value returned above, it should look like something crazy, e.g. Sat6-CI-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_7_Server_RPMs_x86_64_7Server | |
Now we alter mongo: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
Dir.chdir("#{ARGV[0]}") do | |
if File.exist?("PULP_MANIFEST") | |
`rm -rf PULP_MANIFEST` | |
end | |
files = Dir.glob("**/*") | |
lines = files.collect do |file| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Listen 50500 https | |
<VirtualHost *:50500> | |
ProxyPass / https://192.168.121.42/ | |
<Location /> | |
ProxyPassReverse https://192.168.121.42/ | |
</Location> | |
SSLEngine on | |
SSLCertificateFile /etc/pki/tls/certs/localhost.crt | |
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key | |
ProxyPreserveHost on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
Dir.chdir("#{ARGV[0]}") do | |
if File.exist?("PULP_MANIFEST") | |
`rm -rf PULP_MANIFEST` | |
end | |
files = Dir.glob("**/*") | |
lines = files.collect do |file| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div ng-repeat="type in types"> | |
<div bst-alert="{{type}}" ng-repeat="alert in alerts[type] track by $index" close="closeAlert(type, $index)"> | |
<span ng-bind-html="alert"></span> | |
</div> | |
</div> |