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
# 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 |
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
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 |
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
{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 |
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
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/ |
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
class CryptoFile | |
attr_accessor :file_contents, :retrieve_key | |
attr_reader :id | |
def initialize(params={}) | |
params.each do |attr, value| | |
self.public_send("#{attr}=", value) | |
end if params | |
if @id == nil |
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
class FilesController < ApplicationController | |
def create | |
file = CryptoFile.new | |
file.file_contents = params[:file_contents] | |
file.retrieve_key = (0..3).map {rand(10).to_s}.join | |
if Redis.current.set(file.id, file.to_json) | |
result = 1 | |
else |
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
source 'https://rubygems.org' | |
gem 'rails', '~> 3.2.16' | |
gem 'rack', '~> 1.4.5' | |
gem 'redis' | |
gem 'redis-objects' | |
gem 'therubyracer' | |
gem 'haml' | |
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
class motd ($message = 'This is the default message') { | |
file { '/etc/motd': | |
content => "$message \n", | |
} | |
} |
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
if [ -z "$PROMPT_COMMAND" ]; then | |
case $TERM in | |
xterm*|vte*) | |
if [ -e /etc/sysconfig/bash-prompt-xterm ]; then | |
PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm | |
elif [ "${VTE_VERSION:-0}" -ge 3405 ]; then | |
PROMPT_COMMAND="__vte_prompt_command" | |
else | |
PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"' | |
fi |
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
[root@satellite ~]# foreman-rake bootdisk:generate:generic | |
Size of boot image is 4 sectors -> No emulation | |
Total translation table size: 2048 | |
Total rockridge attributes bytes: 0 | |
Total directory bytes: 0 | |
Path table size(bytes): 10 | |
Max brk space used 0 | |
339 extents written (0 MB) | |
rake aborted! | |
No such file or directory - bootdisk_https://satellite.ejacobs.local.iso |