Skip to content

Instantly share code, notes, and snippets.

View johnpmitsch's full-sized avatar

John Mitsch johnpmitsch

View GitHub Profile
@johnpmitsch
johnpmitsch / gist:3d125cca16e74df40538
Created June 4, 2015 20:54
katello-devel-installer
[root@katello-centos7-devel vagrant]# katello-devel-installer
Could not update: Execution of '/bin/yum -d 0 -e 0 -y install mongodb-Repository epel-testing is listed more than once in the configuration
/Stage[main]/Mongodb::Client::Install/Package[mongodb_client]/ensure: change from absent to Repository epel-testing is listed more than once in the configuration
Could not update: Execution of '/bin/yum -d 0 -e 0 -y install mongodb-server-Repository epel-testing is listed more than once in the configuration
/Stage[main]/Mongodb::Server::Install/Package[mongodb_server]/ensure: change from absent to Repository epel-testing is listed more than once in the configuration
Execution of '/bin/yum -d 0 -e 0 -y install qpid-tools' returned 1: Error: Package: python-qpid-qmf-0.30-5.el7.x86_64 (katello-pulp)
Package: qpid-qmf-0.30-5.el7.x86_64 (katello-pulp)
Package: python-qpid-qmf-0.30-5.el7.x86_64 (katello-pulp)
Package: qpid-qmf-0.30-5.el7.x86_64 (katello-pulp)
Package: qpid-qmf-0.30-5.el7.x86_64 (katello-pulp
--> Processing Dependency: libqpidclient.so.10()(64bit) for package: ruby193-rubygem-qpid_messaging-0.30.0-1.el7.x86_64
--> Processing Conflict: katello-devel-installer-2.3.0-1.201504232122git2d784c2.el7.noarch conflicts katello-installer
--> Processing Conflict: katello-devel-installer-2.3.0-1.201504232122git2d784c2.el7.noarch conflicts katello-installer
--> Processing Conflict: katello-installer-2.3.0-1.201504232122git2d784c2.el7.noarch conflicts katello-devel-installer
--> Finished Dependency Resolution
Error: Package: python-qpid-qmf-0.30-5.el7.x86_64 (katello-pulp)
Requires: libqpidtypes.so.2()(64bit)
Available: qpid-cpp-client-0.30-7.proton.0.9.el7.x86_64 (katello-pulp)
libqpidtypes.so.2()(64bit)
Installed: qpid-cpp-client-0.30-12.el7.x86_64 (@epel)
2015-06-05 12:31:15 [Client] warning Exception received from broker: not-found: Queue not found: katello_event_queue (/builddir/build/BUILD/qpid-cpp-0.30/
src/qpid/broker/QueueRegistry.cpp:127) [caused by 2 \x08:\x01]
2015-06-05T12:31:15 [app] [E] uninitialized constant Actions::Candlepin::CandlepinListeningService::TransportFailure
2015-06-05T12:31:15 [app] [E] uninitialized constant Actions::Candlepin::CandlepinListeningService::TransportFailure (NameError)
@johnpmitsch
johnpmitsch / gist:85f4a44ea29211ea8fe9
Last active August 29, 2015 14:22
katello:reindex
2015-06-05T12:42:25 [sql] [D] Katello::Hypervisor Load (0.2ms) SELECT "katello_systems".* FROM "katello_systems" WHERE "katello_systems"."type" IN ('Katello::Hypervisor')
Re-indexing Katello::Package
2015-06-05T12:42:25 [katello/pulp_rest] [E] RestClient.post "https://katello-devel.example.com/pulp/api/v2/content/units/rpm/search/", "{\"criteria\":{\"limit\":100,\"skip\":0,\"fields\":[\"name\",\"version\",\"release\",\"arch\",\"suffix\",\"epoch\",\"download_url\",\"checksum\",\"checksumtype\",\"license\",\"group\",\"children\",\"vendor\",\"filename\",\"relativepath\",\"description\",\"size\",\"buildhost\",\"_id\",\"_content_type_id\",\"_href\",\"_storage_path\",\"_type\",\"_last_updated\"]},\"include_repos\":true}", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"OAuth oauth_body_hash=\"2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D\", oauth_consumer_key=\"b488EyiYEQno5CbvQ482FJhnGhu9ir7U\", oauth_nonce=\"iak0E56Apv21qLpowTx8mTlsQl2LgFC5lawSSnDBZ4\", oauth_signature=\"PKp
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- kafo (LoadError)
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/sbin/katello-devel-installer:4:in `<main>'
root@katello-devel foreman{develop}]$ sudo katello-devel-installer
Could not update: Execution of '/bin/yum -d 0 -e 0 -y install mongodb-Repository epel-testing is listed more than once in the configuration
/Stage[main]/Mongodb::Client::Install/Package[mongodb_client]/ensure: change from absent to Repository epel-testing is listed more than once in the configuration
Could not update: Execution of '/bin/yum -d 0 -e 0 -y install mongodb-server-Repository epel-testing is listed more than once in the configuration
/Stage[main]/Mongodb::Server::Install/Package[mongodb_server]/ensure: change from absent to Repository epel-testing is listed more than once in the configuration
Installing Done [100%] [..............................................................]
[ INFO 2015-06-05 14:29:44 main] Computing checksum on file /etc/foreman-proxy/settings.yml
[ INFO 2015-06-05 14:29:44 main] /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[settings]/File[/etc/foreman-proxy/settings.yml]: Filebucketed /etc/foreman-proxy/settings.yml to puppet with sum 39e0512f8b0d7f50668c0e3e9fa5c1ba
[ WARN 2015-06-05 14:29:44 main] /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[settings]/File[/etc/foreman-proxy/settings.yml]/content: content changed '{md5}39e0512f8b0d7f50668c0e3e9fa5c1ba' to '{md5}173fc93fadb97c0cf2509cdf1e77dfda'
[ WARN 2015-06-05 14:29:44 main] /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[settings]/File[/etc/foreman-proxy/settings.yml]/group: group changed 'root' to 'foreman-proxy'
[ WARN 2015-06-05 14:29:44 main] /Stage[main]/Foreman_proxy::Config/Foreman_proxy::Settings_file[settings]/File[/etc/foreman-proxy/settings.yml]/mode: mode changed '0644' to '0640'
[ INFO 2015-06-05 14:29:44 main] RESOURCE File[/etc/forem
{
"query": {
"match_all": {
}
},
"filter": {
"and": [
{
"terms": {
Vagrant up centos7-devel
==> centos7-devel: /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]: Failed to call refresh: Command exceeded timeout
==> centos7-devel: Error: /Stage[main]/Pulp::Config/Exec[migrate_pulp: 623/731, 85%, 0.5/s, elapsed: 00:13:08, ETA: 00:03:17
==> centos7-devel: /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]: Command exceeded timeout
==> centos7-devel:
==> centos7-devel: Notice: /Stage[main]/Pulp::Config/Exec[selinux_pul: 628/731, 85%, 0.2/s, elapsed: 00:13:17, ETA: 00:08:07
rails s in foreman dir
@johnpmitsch
johnpmitsch / gist:0973075bb390ca817623
Created June 9, 2015 15:42
<nes/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/rule.factory.js
angular.module('Bastion.content-views').factory('Rule',
['BastionResource', function (BastionResource) {
return BastionResource('/katello/api/v2/content_view_filters/:filterId/rules/:ruleId',
{ruleId: '@id', filterId: '@content_view_filter_id'},
{
update: {method: 'PUT'},
autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}}
}
);