SHARE
TWEET

Untitled

a guest Jan 12th, 2017 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ==> /var/log/httpd/foreman-ssl_access_ssl.log <==
  2. 172.21.249.135 - - [12/Jan/2017:04:03:01 -0700] "GET /templates/provisioning_templates/35-Kickstart%20default%20PXEGrub2/edit HTTP/1.1" 200 3273 "https://foreman.farming.homelinux.org/templates/provisioning_templates?page=2" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"
  3.  
  4. ==> /var/log/foreman/production.log <==
  5. 2017-01-12 04:03:01 dce44c8c [app] [I] Started GET "/templates/provisioning_templates/35-Kickstart%20default%20PXEGrub2/edit" for 172.21.249.135 at 2017-01-12 04:03:01 -0700
  6. 2017-01-12 04:03:01 dce44c8c [app] [I] Processing by ProvisioningTemplatesController#edit as */*
  7. 2017-01-12 04:03:01 dce44c8c [app] [I]   Parameters: {"id"=>"35-Kickstart default PXEGrub2"}
  8. 2017-01-12 04:03:01 dce44c8c [sql] [D]   ActiveRecord::SessionStore::Session Load (0.8ms)  SELECT  "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1  ORDER BY "sessions"."id" ASC LIMIT 1  [["session_id", "dce44c8cc64fbbf7aee0db31b3b2f956"]]
  9. 2017-01-12 04:03:01 dce44c8c [sql] [D]   User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1  [["id", 3]]
  10. 2017-01-12 04:03:01 dce44c8c [app] [D] Setting current user thread-local variable to admin
  11. 2017-01-12 04:03:01 dce44c8c [sql] [D]   AuthSource Load (0.2ms)  SELECT  "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1  [["id", 1]]
  12. 2017-01-12 04:03:01 dce44c8c [sql] [D]    (0.4ms)  SELECT COUNT(*) FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate')
  13. 2017-01-12 04:03:01 dce44c8c [sql] [D]   ProvisioningTemplate Load (0.2ms)  SELECT  "templates".* FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') AND "templates"."id" = $1  ORDER BY templates.name LIMIT 1  [["id", 35]]
  14. 2017-01-12 04:03:01 dce44c8c [app] [I]   Rendered provisioning_templates/_custom_tab_headers.html.erb (0.2ms)
  15. 2017-01-12 04:03:01 dce44c8c [app] [I]   Rendered provisioning_templates/_alerts.html.erb (0.9ms)
  16. 2017-01-12 04:03:01 dce44c8c [sql] [D]   TemplateKind Load (0.2ms)  SELECT  "template_kinds".* FROM "template_kinds" WHERE "template_kinds"."id" = $1 LIMIT 1  [["id", 3]]
  17. 2017-01-12 04:03:01 dce44c8c [sql] [D]   Host::Managed Load (0.5ms)  SELECT  "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."managed" = $1  ORDER BY "hosts"."name" ASC LIMIT 100  [["managed", "t"]]
  18. 2017-01-12 04:03:01 dce44c8c [app] [I]   Rendered editor/_toolbar.html.erb (3.1ms)
  19. 2017-01-12 04:03:01 dce44c8c [sql] [D]    (0.4ms)  SELECT COUNT(*) FROM "audits" WHERE "audits"."auditable_id" = $1 AND "audits"."action" = $2 AND "audits"."auditable_type" = 'Template'  [["auditable_id", 35], ["action", "update"]]
  20. 2017-01-12 04:03:01 dce44c8c [sql] [D]   Audited::Adapters::ActiveRecord::Audit Load (0.3ms)  SELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = $1 AND "audits"."action" = $2 AND "audits"."auditable_type" = 'Template'  ORDER BY version DESC  [["auditable_id", 35], ["action", "update"]]
  21. 2017-01-12 04:03:01 dce44c8c [sql] [D]   TemplateKind Load (0.2ms)  SELECT "template_kinds".* FROM "template_kinds"
  22. 2017-01-12 04:03:01 dce44c8c [sql] [D]   Operatingsystem Load (0.5ms)  SELECT "operatingsystems".* FROM "operatingsystems" INNER JOIN "operatingsystems_provisioning_templates" ON "operatingsystems"."id" = "operatingsystems_provisioning_templates"."operatingsystem_id" WHERE "operatingsystems_provisioning_templates"."provisioning_template_id" = $1  ORDER BY "operatingsystems"."title" ASC  [["provisioning_template_id", 35]]
  23. 2017-01-12 04:03:01 dce44c8c [sql] [D]   Permission Load (0.2ms)  SELECT "permissions".* FROM "permissions" WHERE "permissions"."name" = $1  [["name", "view_operatingsystems"]]
  24. 2017-01-12 04:03:01 dce44c8c [sql] [D]   Operatingsystem Load (0.3ms)  SELECT "operatingsystems".* FROM "operatingsystems"  ORDER BY "operatingsystems"."title" ASC
  25. 2017-01-12 04:03:01 dce44c8c [sql] [D]   TemplateCombination Load (0.2ms)  SELECT "template_combinations".* FROM "template_combinations" WHERE "template_combinations"."provisioning_template_id" = $1  [["provisioning_template_id", 35]]
  26. 2017-01-12 04:03:01 dce44c8c [sql] [D]   Hostgroup Load (0.3ms)  SELECT "hostgroups".* FROM "hostgroups"  ORDER BY hostgroups.title
  27. 2017-01-12 04:03:01 dce44c8c [sql] [D]   Environment Load (0.2ms)  SELECT "environments".* FROM "environments"  ORDER BY environments.name
  28. 2017-01-12 04:03:01 dce44c8c [app] [I]   Rendered provisioning_templates/_combination.html.erb (4.8ms)
  29. 2017-01-12 04:03:01 dce44c8c [app] [I]   Rendered provisioning_templates/_combinations.html.erb (7.3ms)
  30. 2017-01-12 04:03:01 dce44c8c [app] [I]   Rendered provisioning_templates/_custom_tabs.html.erb (17.9ms)
  31. 2017-01-12 04:03:01 dce44c8c [app] [I]   Rendered taxonomies/_loc_org_tabs.html.erb (0.1ms)
  32. 2017-01-12 04:03:01 dce44c8c [app] [I]   Rendered templates/_form.html.erb (34.3ms)
  33. 2017-01-12 04:03:01 dce44c8c [app] [I]   Rendered provisioning_templates/edit.html.erb (34.9ms)
  34. 2017-01-12 04:03:01 dce44c8c [app] [I] Completed 200 OK in 55ms (Views: 32.4ms | ActiveRecord: 5.5ms)
  35. 2017-01-12 04:03:01 dce44c8c [sql] [D]    (0.1ms)  BEGIN
  36. 2017-01-12 04:03:01 dce44c8c [sql] [D]   SQL (0.3ms)  UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3  [["data", "BAh7DUkiEW9yaWdpbmFsX3VyaQY6BkVGIgYvSSIJdXNlcgY7AEZpCEkiD2V4\ncGlyZXNfYXQGOwBGbCsHdXB3WEkiC2xvY2FsZQY7AEYiB2VuSSIQX2NzcmZf\ndG9rZW4GOwBGSSIxRVlJTnBmL0ZuczRkbnI5YjNEZG1nWXBaVE4vbTZsWHRw\naUo1d1M2OUVubz0GOwBGSSIlcmVkaXJlY3RfdG9fdXJsX29wZXJhdGluZ3N5\nc3RlbXMGOwBUIjtodHRwczovL2ZvcmVtYW4uZmFybWluZy5ob21lbGludXgu\nb3JnL29wZXJhdGluZ3N5c3RlbXNJIgpmbGFzaAY7AFR7B0kiDGRpc2NhcmQG\nOwBUWwZJIgtub3RpY2UGOwBGSSIMZmxhc2hlcwY7AFR7BkkiC25vdGljZQY7\nAEZJIjVTdWNjZXNzZnVsbHkgdXBkYXRlZCBLaWNrc3RhcnQgZGVmYXVsdCBQ\nWEVMaW51eC4GOwBUSSIrcmVkaXJlY3RfdG9fdXJsX3Byb3Zpc2lvbmluZ190\nZW1wbGF0ZXMGOwBUIlJodHRwczovL2ZvcmVtYW4uZmFybWluZy5ob21lbGlu\ndXgub3JnL3RlbXBsYXRlcy9wcm92aXNpb25pbmdfdGVtcGxhdGVzP3BhZ2U9\nMg==\n"], ["updated_at", "2017-01-12 11:03:01.730921"], ["id", 315]]
  37. 2017-01-12 04:03:01 dce44c8c [sql] [D]    (1.7ms)  COMMIT
  38. ==> /var/log/httpd/foreman-ssl_access_ssl.log <==
  39. 172.21.249.135 - - [12/Jan/2017:04:03:30 -0700] "POST /templates/provisioning_templates/35-Kickstart%20default%20PXEGrub2/preview HTTP/1.1" 404 49 "https://foreman.farming.homelinux.org/templates/provisioning_templates?page=2" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"
  40.  
  41. ==> /var/log/foreman/production.log <==
  42. 2017-01-12 04:03:30 dce44c8c [app] [I] Started POST "/templates/provisioning_templates/35-Kickstart%20default%20PXEGrub2/preview" for 172.21.249.135 at 2017-01-12 04:03:30 -0700
  43. 2017-01-12 04:03:30 dce44c8c [app] [I] Processing by ProvisioningTemplatesController#preview as */*
  44. 2017-01-12 04:03:30 dce44c8c [app] [I]   Parameters: {"template"=>"<%#\nkind: PXEGrub2\nname: Kickstart default PXEGrub2\noses:\n- CentOS\n- Fedora\n- RedHat\n-%>\n# This file was deployed via '<%= template_name %>' template\n\nset default=0\nset timeout=<%= @host.params['loader_timeout'] || 10 %>\n\nmenuentry '<%= template_name %>' {\n  <% if @host.operatingsystem.name.match(/.*atomic.*/i) -%>\n  linuxefi <%= @kernel %> ks=<%= foreman_url('provision') %> repo=<%= @host.operatingsystem.medium_uri(@host) %> ks.device=bootif network ks.sendmac <%= pxe_kernel_options %>\n  <% elsif @host.operatingsystem.name == 'Fedora' and @host.operatingsystem.major.to_i > 16 -%>\n  linuxefi <%= @kernel %> ks=<%= foreman_url('provision') %> ks.device=bootif network ks.sendmac <%= pxe_kernel_options %>\n  <% elsif @host.operatingsystem.name != 'Fedora' and @host.operatingsystem.major.to_i >= 7 -%>\n  linuxefi <%= @kernel %> ks=<%= foreman_url('provision') %> network ks.sendmac <%= pxe_kernel_options %>\n  <% else -%>\n  linuxefi <%= @kernel %> ks=<%= foreman_url('provision') %> ksdevice=bootif network kssendmac <%= pxe_kernel_options %>\n  <% end -%>\n  initrdefi <%= @initrd %>\n}\n", "id"=>"35-Kickstart default PXEGrub2"}
  45. 2017-01-12 04:03:30 dce44c8c [sql] [D]   ActiveRecord::SessionStore::Session Load (0.2ms)  SELECT  "sessions".* FROM "sessions" WHERE "sessions"."session_id" = $1  ORDER BY "sessions"."id" ASC LIMIT 1  [["session_id", "dce44c8cc64fbbf7aee0db31b3b2f956"]]
  46. 2017-01-12 04:03:30 dce44c8c [sql] [D]   User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1  [["id", 3]]
  47. 2017-01-12 04:03:30 dce44c8c [app] [D] Setting current user thread-local variable to admin
  48. 2017-01-12 04:03:30 dce44c8c [sql] [D]   AuthSource Load (0.3ms)  SELECT  "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = $1 LIMIT 1  [["id", 1]]
  49. 2017-01-12 04:03:30 dce44c8c [sql] [D]    (0.4ms)  SELECT COUNT(*) FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate')
  50. 2017-01-12 04:03:30 dce44c8c [sql] [D]   ProvisioningTemplate Load (0.2ms)  SELECT  "templates".* FROM "templates" WHERE "templates"."type" IN ('ProvisioningTemplate') AND "templates"."id" = $1  ORDER BY templates.name LIMIT 1  [["id", 35]]
  51. 2017-01-12 04:03:30 dce44c8c [sql] [D]   Host::Managed Load (0.5ms)  SELECT  "hosts".* FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."managed" = $1  ORDER BY "hosts"."name" ASC LIMIT 1  [["managed", "t"]]
  52. 2017-01-12 04:03:30 dce44c8c [app] [I]   Rendered text template (0.0ms)
  53. 2017-01-12 04:03:30 dce44c8c [app] [I] Completed 404 Not Found in 13ms (Views: 0.6ms | ActiveRecord: 1.8ms)
  54. 2017-01-12 04:03:30 dce44c8c [sql] [D]    (0.1ms)  BEGIN
  55. 2017-01-12 04:03:30 dce44c8c [sql] [D]   SQL (0.3ms)  UPDATE "sessions" SET "data" = $1, "updated_at" = $2 WHERE "sessions"."id" = $3  [["data", "BAh7DUkiEW9yaWdpbmFsX3VyaQY6BkVGIgYvSSIJdXNlcgY7AEZpCEkiD2V4\ncGlyZXNfYXQGOwBGbCsHknB3WEkiC2xvY2FsZQY7AEYiB2VuSSIQX2NzcmZf\ndG9rZW4GOwBGSSIxRVlJTnBmL0ZuczRkbnI5YjNEZG1nWXBaVE4vbTZsWHRw\naUo1d1M2OUVubz0GOwBGSSIlcmVkaXJlY3RfdG9fdXJsX29wZXJhdGluZ3N5\nc3RlbXMGOwBUIjtodHRwczovL2ZvcmVtYW4uZmFybWluZy5ob21lbGludXgu\nb3JnL29wZXJhdGluZ3N5c3RlbXNJIgpmbGFzaAY7AFR7B0kiDGRpc2NhcmQG\nOwBUWwZJIgtub3RpY2UGOwBGSSIMZmxhc2hlcwY7AFR7BkkiC25vdGljZQY7\nAEZJIjVTdWNjZXNzZnVsbHkgdXBkYXRlZCBLaWNrc3RhcnQgZGVmYXVsdCBQ\nWEVMaW51eC4GOwBUSSIrcmVkaXJlY3RfdG9fdXJsX3Byb3Zpc2lvbmluZ190\nZW1wbGF0ZXMGOwBUIlJodHRwczovL2ZvcmVtYW4uZmFybWluZy5ob21lbGlu\ndXgub3JnL3RlbXBsYXRlcy9wcm92aXNpb25pbmdfdGVtcGxhdGVzP3BhZ2U9\nMg==\n"], ["updated_at", "2017-01-12 11:03:30.520057"], ["id", 315]]
  56. 2017-01-12 04:03:30 dce44c8c [sql] [D]    (1.6ms)  COMMIT
RAW Paste Data
Top