Skip to content

Instantly share code, notes, and snippets.

Avatar

Erik Jacobs thoraxe

View GitHub Profile
View reproducer.sh
I0825 18:19:25.864727 1 deployer.go:197] Deploying from default/docker-registry-1 to default/docker-registry-2 (replicas: 0)
F0825 18:19:25.901880 1 deployer.go:64] couldn't assign source annotation to deployment default/docker-registry-2: replicationControllers "docker-registry-2" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
View gist:21bae726166158988650
Aug 28 10:17:09 ose3-master.example.com openshift-node[10028]: I0828 10:17:09.932826 10028 proxier.go:306] Adding new service "default/docker-registry:5000-tcp" at 172.30.214.246:5000/TCP
Aug 28 10:17:09 ose3-master.example.com openshift-node[10028]: I0828 10:17:09.932955 10028 proxier.go:247] Proxying for service "default/docker-registry:5000-tcp" on TCP port 41495
Aug 28 10:17:10 ose3-master.example.com openshift-node[10028]: I0828 10:17:10.319469 10028 roundrobin.go:280] LoadBalancerRR: Removing endpoints for default/docker-registry:5000-tcp
Aug 28 10:17:10 ose3-master.example.com openshift-node[10028]: I0828 10:17:10.439669 10028 manager.go:1384] Need to restart pod infra container for "docker-registry-1-deploy_default" because it is not found
Aug 28 10:17:13 ose3-master.example.com openshift-node[10028]: I0828 10:17:13.307358 10028 manager.go:1384] Need to restart pod infra container for "docker-registry-1-lla82_default" because it is not found
Aug 28 10:17:23 ose3-master.example.com openshift-
View gist:e84bd46f745ddef0666f
function exec_it() { |
if [ $verbose == 1 ] |⇉ then |
"$0" |⇉
else |⇉ "$0" &> /dev/null |⇉
fi |
}
View foo.sh
function exec_it() {
if [ $verbose == 1 ]
then
echo "$@"
eval "$@"
echo
else
eval "$@" &> /dev/null
fi
}
View puppet.conf
[agent]
pluginsync = true
report = true
ignoreschedules = true
daemon = false
ca_server = <%= @host.puppet_ca_server %>
certname = <%= @host.certname %>
environment = <%= @host.environment %>
server = <%= @host.puppetmaster %>
View production.log
Processing by Katello::ContentViewDefinitionsController#publish_setup as HTML
Parameters: {"id"=>"1"}
Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/layouts/tupane_layout.html.haml (0.3ms)
Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/content_view_definitions/_publish.html.haml (7.3ms)
Completed 200 OK in 25ms (Views: 8.1ms | ActiveRecord: 3.0ms)
Processing by Katello::ContentViewDefinitionsController#default_label as */*
Parameters: {"name"=>"Initial RHEL", "_"=>"1395079130654"}
Rendered text template (0.0ms)
Completed 200 OK in 19ms (Views: 1.4ms | ActiveRecord: 3.1ms)
Processing by Katello::ContentViewDefinitionsController#publish as */*
View delayed_job.log
# Logfile created on 2014-03-17 09:38:50 -0400 by logger.rb/31641
2014-03-17T09:38:50-0400: [Worker(delayed_job host:satellite.ejacobs.local pid:4422)] Starting job worker
2014-03-17T09:55:02-0400: [Worker(delayed_job host:satellite.ejacobs.local pid:4422)] Katello::Repository#after_sync completed after 41.3006
2014-03-17T09:55:02-0400: [Worker(delayed_job host:satellite.ejacobs.local pid:4422)] 1 jobs processed at 0.0242 j/s, 0 failed ...
2014-03-17T09:59:04-0400: [Worker(delayed_job host:satellite.ejacobs.local pid:4422)] Katello::Repository#after_sync completed after 35.2738
2014-03-17T09:59:04-0400: [Worker(delayed_job host:satellite.ejacobs.local pid:4422)] 1 jobs processed at 0.0283 j/s, 0 failed ...
2014-03-17T10:11:50-0400: [Worker(delayed_job host:satellite.ejacobs.local pid:4422)] Katello::Repository#after_sync completed after 103.4247
2014-03-17T10:11:50-0400: [Worker(delayed_job host:satellite.ejacobs.local pid:4422)] 1 jobs processed at 0.0097 j/s, 0 failed ...
2014-03-17T10:20:25-0400: [Worker(d
View production.log
Processing by Katello::Api::V2::ProductsController#index as JSON
Parameters: {"enabled"=>"true", "organization_id"=>"ACME_Corporation", "page"=>"1", "paged"=>"true", "search"=>"", "sort_by"=>"name", "sort_order"=>"ASC", "api_version"=>"v2"}
[ERROR 2014-03-20 12:22:13 pulp_rest #22514] RestClient.get "https://satellite.ejacobs.local/pulp/api/v2/repositories/ACME_Corporation-mmccune-test-demo1//history/sync/", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"OAuth oauth_consumer_key=\"katello\", oauth_nonce=\"VGzffnSfNRLI4sm15vEvl5XdTJJe1EiPYuve1GxJCXA\", oauth_signature=\"7aMtLWkZ5p98olYDXk5xe6gMN6U%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1395332533\", oauth_version=\"1.0\"", "accept"=>"application/json", "content_type"=>"application/json", "pulp-user"=>"admin"
| \n# => 404 NotFound | application/json 334 bytes
|
[ERROR 2014-03-20 12:22:14 pulp_rest #22514] RestClient.get "https://satellite.ejacobs.local/pulp/api/v2/repositories/ACME_Co
View pulp.log
{localhost:5671}:
transport=SSL
host=localhost
port=5671
cacert=/etc/pki/katello/certs/katello-ca.crt
clientcert=/etc/pki/katello/qpid_client_striped.crt
2014-03-21 15:37:55,315 pulp.server.agent.direct.services:INFO: Task reply handler, started.
2014-03-21 15:37:55,315 pulp.server.agent.direct.services:INFO: AMQP reply handler started
2014-03-21 15:37:55,315 pulp.server.webservices.application:INFO: *************************************************************
2014-03-21 15:37:55,315 pulp.server.webservices.application:INFO: The Pulp server has been successfully initialized
View production.log
Processing by Katello::Api::V1::CandlepinProxiesController#get as JSON
Parameters: {"api_version"=>"v1", "id"=>"a1fd75a2-e1af-4575-85a5-56429919a55a", "candlepin_proxy"=>{}}
NoMethodError: undefined method `key?' for #<JSON::Ext::Generator::State:0x0000000c57fd58>
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/core_ext/object/try.rb:36:in `try'
/opt/rh/ruby193/root/usr/share/gems/gems/activemodel-3.2.8/lib/active_model/serializers/json.rb:91:in `as_json'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/models/katello/system.rb:175:in `as_json'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/json/encoding.rb:47:in `block in encode'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/json/encoding.rb:77:in `check_for_circular_references'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/json/encoding.rb:46:in `encode'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/