Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-20098

Discovery Provisioning fails as when we try to submit the host from customize host button

XMLWordPrintable

    • Important
    • Automated
    • None

      Description of problem: Discovery Provisioning fails when we try to submit the host from the customize host button

      Version-Release number of selected component (if applicable): 6.14.o snap 16

      How reproducible: 100%

      Steps to Reproduce:
      1. Setup Discovery provisioning and have discovered hosts
      2. Click on provision -> click on customize host -> Dont select the hostgroup
      3. When the host page appears select the hostgroup and make sure the data is populated .
      4. click on submit and the page is stuck there stopping it from moving forward

      Actual results: Blank page

      Expected results: Discovery provisioning should work with the host submission.

      Additional info:

      Parameters: {"utf8"=>"✓", "authenticity_token"=>"7H9fk79ScznM/lXbCQZ7r+ocCFYWEyuRxEclQ9KmtW6C3S7t1PZwlaG4eAM+rQEt+lD0KOclS3dH1iJIxnpeMQ==", "host"=>{"name"=>"mac566f6df501f4", "hostgroup_id"=>"1", "content_facet_attributes"=>

      {"content_source_id"=>"1", "lifecycle_environment_id"=>"9", "content_view_id"=>"10", "kickstart_repository_id"=>"7"}

      , "openscap_proxy_id"=>"", "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "mac"=>"56:6f:6d:f5:01:f4", "identifier"=>"ens3", "name"=>"mac566f6df501f4", "domain_id"=>"2", "subnet_id"=>"1", "ip"=>"10.1.5.66", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"0", "tag"=>"", "attached_to"=>"", "id"=>"5"}}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "build"=>"1", "medium_id"=>"", "ptable_id"=>"142", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "model_id"=>"1", "comment"=>"", "overwrite"=>"false"}, "media_selector"=>"synced_content", "id"=>"5"}
      2023-09-14T04:37:59 [I|app|1941975c] Rendered common/404.html.erb within layouts/application (Duration: 7.2ms | Allocations: 6561)
      2023-09-14T04:37:59 [I|app|1941975c] Rendered layouts/base.html.erb (Duration: 10.7ms | Allocations: 18713)
      2023-09-14T04:37:59 [I|app|1941975c] Rendered layout layouts/application.html.erb (Duration: 25.5ms | Allocations: 37858)
      2023-09-14T04:37:59 [I|app|1941975c] Completed 404 Not Found in 39ms (Views: 26.1ms | ActiveRecord: 2.4ms | Allocations: 41788)
      2023-09-14T04:38:02 [I|app|67a5c918] Started GET "/javascripts/foreman_virt_who_configure/locale/en/foreman_virt_who_configure.js?_=1694680632194" for 10.74.18.98 at 2023-09-14 04:38:02 -0400
      2023-09-14T04:38:02 [F|app|67a5c918]
      67a5c918 | ActionController::RoutingError (No route matches [GET] "/javascripts/foreman_virt_who_configure/locale/en/foreman_virt_who_configure.js"):
      67a5c918 |
      67a5c918 | lib/foreman/middleware/logging_context_request.rb:11:in `call'
      67a5c918 | katello (4.9.0.16) lib/katello/prevent_json_parsing.rb:12:in `call'

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Adarsh Dubey Adarsh Dubey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: