Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1600428

Summary: Vmware Compute profile unable to save the enabling CD-Rom checkbox
Product: Red Hat Satellite Reporter: Sanket Jagtap <sjagtap>
Component: Compute Resources - VMWareAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: chrobert, mhulan
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-01 19:40:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sanket Jagtap 2018-07-12 08:35:19 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create a VMware Compute resource
2. Create a Compute Profile for the same
3. Check/Enable attaching CD-rom, and submit

Actual results:
No error on submit, but on revisiting the Compute profile , the checkbox is not checked

Expected results:
It should keep changes persistent

Additional info:

Comment 2 Sanket Jagtap 2018-07-12 08:40:20 UTC
Build: Satellite 6.3.0 snap 11

This is not a regression and also affects 6.3 builds

Comment 3 Chris Roberts 2018-08-01 15:36:22 UTC
Shows its being added correctly via the api and the db:

2018-08-01T11:34:09 [I|app|320b8]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"U+drJ4etnUQ/0kpZWeclkJZTBO9LTbKRJi/mlQcS3H2ObRq2knonIB+aW841SZIcUJhfeIpCKfGmV8X7kdCEqg==", "compute_attribute"=>{"vm_attrs"=>{"cpus"=>"1", "corespersocket"=>"1", "memory_mb"=>"2048", "firmware"=>"bios", "cluster"=>"Satellite_Engineering", "resource_pool"=>"Resources", "path"=>"/Datacenters/RH_Engineering/vm/Satellite-Engineering", "guest_id"=>"rhel7_64Guest", "hardware_version"=>"Default", "memoryHotAddEnabled"=>"0", "cpuHotAddEnabled"=>"0", "add_cdrom"=>"1", "annotation"=>"", "scsi_controllers"=>"{\"scsiControllers\":[{\"type\":\"VirtualLsiLogicController\",\"key\":1000}],\"volumes\":[{\"thin\":true,\"name\":\"Hard disk\",\"mode\":\"persistent\",\"controllerKey\":1000,\"size\":10485760,\"sizeGb\":10,\"storagePod\":\"Synology-Cluster\"}]}", "interfaces_attributes"=>{"0"=>{"type"=>"VirtualVmxnet3", "network"=>"network-106"}}}}, "commit"=>"Submit", "compute_profile_id"=>"1-1-Small", "id"=>"1"}



foreman=# select * from compute_attributes;
 id | compute_profile_id | compute_resource_id |           name            |                                  vm_attrs                                  |         created_at         |         updated_at         
----+--------------------+---------------------+---------------------------+----------------------------------------------------------------------------+----------------------------+----------------------------
  1 |                  1 |                   1 | 1 CPUs and 2048 MB memory | --- !ruby/hash:ActiveSupport::HashWithIndifferentAccess                   +| 2018-08-01 15:33:02.396174 | 2018-08-01 15:34:09.415333
    |                    |                     |                           | cpus: '1'                                                                 +|                            | 
    |                    |                     |                           | corespersocket: '1'                                                       +|                            | 
    |                    |                     |                           | memory_mb: '2048'                                                         +|                            | 
    |                    |                     |                           | firmware: bios                                                            +|                            | 
    |                    |                     |                           | cluster: Satellite_Engineering                                            +|                            | 
    |                    |                     |                           | resource_pool: Resources                                                  +|                            | 
    |                    |                     |                           | path: "/Datacenters/RH_Engineering/vm/Satellite-Engineering"              +|                            | 
    |                    |                     |                           | guest_id: rhel7_64Guest                                                   +|                            | 
    |                    |                     |                           | hardware_version: Default                                                 +|                            | 
    |                    |                     |                           | memoryHotAddEnabled: '0'                                                  +|                            | 
    |                    |                     |                           | cpuHotAddEnabled: '0'                                                     +|                            | 
    |                    |                     |                           | add_cdrom: '1'                                                            +|                            | 
    |                    |                     |                           | annotation: ''                                                            +|                            | 
    |                    |                     |                           | scsi_controllers:                                                         +|                            | 
    |                    |                     |                           | - !ruby/hash:ActiveSupport::HashWithIndifferentAccess                     +|                            | 
    |                    |                     |                           |   type: VirtualLsiLogicController                                         +|                            | 
    |                    |                     |                           |   key: 1000                                                               +|                            | 
    |                    |                     |                           | interfaces_attributes: !ruby/hash:ActiveSupport::HashWithIndifferentAccess+|                            | 
    |                    |                     |                           |   '0': !ruby/hash:ActiveSupport::HashWithIndifferentAccess                +|                            | 
    |                    |                     |                           |     type: VirtualVmxnet3                                                  +|                            | 
    |                    |                     |                           |     network: network-106                                                  +|                            | 
    |                    |                     |                           | volumes_attributes: !ruby/hash:ActiveSupport::HashWithIndifferentAccess   +|                            | 
    |                    |                     |                           |   '0': !ruby/hash:ActiveSupport::HashWithIndifferentAccess                +|                            | 
    |                    |                     |                           |     thin: true                                                            +|                            | 
    |                    |                     |                           |     name: Hard disk                                                       +|                            | 
    |                    |                     |                           |     mode: persistent                                                      +|                            | 
    |                    |                     |                           |     controller_key: 1000                                                  +|                            | 
    |                    |                     |                           |     size: 10485760                                                        +|                            | 
    |                    |                     |                           |     size_gb: 10                                                           +|                            | 
    |                    |                     |                           |     storage_pod: Synology-Cluster                                         +|                            | 
    |                    |                     |                           |                                                                            |                            |

Comment 4 Chris Roberts 2018-08-01 19:40:45 UTC

*** This bug has been marked as a duplicate of bug 1566543 ***