Bug 1607408
Summary: | VM getting provisioned with the wrong storage. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Suraj Patil <supatil> | ||||
Component: | Compute Resources - VMWare | Assignee: | Ondřej Ezr <oezr> | ||||
Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.3.0 | CC: | chrobert, egolov, ehelms, inecas, mhulan, mlinden, mmccune, pcreech, sghai, sjagtap, sshtein, xiguo | ||||
Target Milestone: | 6.6.0 | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | tfm-rubygem-fog-vsphere-3.1.1-1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-10-22 19:47:34 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: | |||||||
Attachments: |
|
Description
Suraj Patil
2018-07-23 13:13:34 UTC
Created redmine issue https://projects.theforeman.org/issues/25013 from this bug Upstream bug assigned to chrobert Upstream bug assigned to oezr Build: Satellite snap20 Parameters: {"utf8"=>"✓", "authenticity_token"=>"X4P5P2J/FVcdnokiv6bsCC0pCmzTz6JreHKOVII9wA2zhFLF5VbTxoCg7GTdLaD8MKHaZyDzkA99T6TtLpIKoA==", "host"=>{"name"=>"carla-dinham", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"2", "compute_resource_id"=>"3", "content_facet_attributes"=>{"lifecycle_environment_id"=>"2", "content_view_id"=>"2", "content_source_id"=>"1", "kickstart_repository_id"=>"19"}, "ansible_role_ids"=>[""], "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"carla-dinham", "domain_id"=>"1", "subnet_id"=>"2", "ip"=>"10.8.", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"type"=>"VirtualVmxnet3", "network"=>"network-152"}}}, "compute_attributes"=>{"cpus"=>"1", "corespersocket"=>"1", "memory_mb"=>"2048", "firmware"=>"bios", "cluster"=>"Satellite_Engineering", "resource_pool"=>"Resources", "path"=>"/Datacenters/RH_Engineering/vm", "guest_id"=>"otherGuest", "hardware_version"=>"Default", "memoryHotAddEnabled"=>"0", "cpuHotAddEnabled"=>"0", "add_cdrom"=>"0", "start"=>"1", "annotation"=>"", "scsi_controllers"=>"{\"scsiControllers\":[{\"type\":\"VirtualLsiLogicController\",\"key\":1000}],\"volumes\":[{\"thin\":true,\"name\":\"Hard disk\",\"mode\":\"persistent\",\"controllerKey\":1000,\"size\":10485760,\"sizeGb\":10,\"storagePod\":\"iSCSI-Cluster\",\"datastore\":null},{\"thin\":false,\"name\":\"Hard disk\",\"mode\":\"persistent\",\"controllerKey\":1000,\"size\":1048576,\"sizeGb\":1,\"datastore\":null,\"storagePod\":\"TestStorageCluster\",\"eagerZero\":false,\"eagerzero\":false}]}"}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "provision_method"=>"build", "build"=>"1", "medium_id"=>"", "ptable_id"=>"98", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "comment"=>"", "overwrite"=>"false"}, "media_selector"=>"synced_content"} 2019-03-22T04:16:57 [I|app|d10d84da] Current user set to admin (admin) 2019-03-22T04:16:57 [I|app|d10d84da] Adding Compute instance for carla-dinham* I see in production logs, both the volumes are being sent, but still on Vmware end , only the 1st cluster is used for creating the 2 volumes. This can also be observed when we edit the host from satellite. Hi, This is Xin, CSM for IKEA in Sweden and good to know the product team here. I got an escalation from the customer directly and they are checking the status for this bug. Since it is very critical for their deployment and it is the only showstopper here for quite a long time. Could you please provide an update for it? We need to communicate to the customer as soon as possible. Thanks for help. PS: related to case 02311449. Cheers, Xin This has beens fixed and the ability of provisioning on multiple DRS-enabled storage clusters is now possible in fog-vsphere 3.1.1 version, which is enabled for packaging in upstream for Foreman v 1.23. Build: Satellite 6.6 snap 11 1) Create a VM 2) Used two different datastore cluster for two volumes(harddisk) Provisioning was successful Logs: 2019-07-18T09:58:11 [I|app|3db6b219] Parameters: {"utf8"=>"✓", "authenticity_token"=>"l5fULpTRobvO82obO009AEua31dgeJXyJjoQjArR2swUGrTChqUukxA0e9X//PQx0kHIm2nvlEH84nMWkId0ng==", "host"=>{"name"=>"tim-mozee", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"2", "compute_resource_id"=>"2", "content_facet_attributes"=>{"lifecycle_environment_id"=>"4", "content_view_id"=>"10", "content_source_id"=>"1", "kickstart_repository_id"=>"20"}, "openscap_proxy_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"tim-mozee", "domain_id"=>"1", "subnet_id"=>"1", "ip"=>"0.0.215.224", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"type"=>"VirtualE1000", "network"=>"dvportgroup-647"}}}, "compute_attributes"=>{"cpus"=>"1", "corespersocket"=>"1", "memory_mb"=>"4048", "firmware"=>"automatic", "cluster"=>"Satellite_Engineering", "resource_pool"=>"Resources", "path"=>"/Datacenters/RH_Engineering/vm", "guest_id"=>"otherGuest", "hardware_version"=>"Default", "memoryHotAddEnabled"=>"0", "cpuHotAddEnabled"=>"0", "add_cdrom"=>"0", "start"=>"1", "annotation"=>"", "scsi_controllers"=>"{\"scsiControllers\":[{\"type\":\"VirtualLsiLogicController\",\"key\":1000}],\"volumes\":[{\"thin\":false,\"name\":\"Hard disk\",\"mode\":\"persistent\",\"controllerKey\":1000,\"size\":10485760,\"sizeGb\":10,\"storagePod\":\"TestDatastoreCluster\",\"datastore\":null},{\"sizeGb\":5,\"datastore\":null,\"storagePod\":\"iSCSI-Cluster\",\"thin\":false,\"eagerZero\":false,\"name\":\"Hard disk\",\"mode\":\"persistent\",\"controllerKey\":1000}]}"}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "provision_method"=>"build", "build"=>"1", "medium_id"=>"", "ptable_id"=>"97", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "model_id"=>"", "comment"=>"", "overwrite"=>"false"}, "media_selector"=>"synced_content"} 2019-07-18T09:58:41 [I|app|9e9f08c5] Parameters: {"utf8"=>"✓", "authenticity_token"=>"kdIX/CVbgBwq0U5SUZCtaL4C72aaAU7lUYSWm5GTg0kSX3cQNy8PNPQWX5yVIWRZJ9n4qpOWT1aLXPUBC8UtGw==", "host"=>{"name"=>"tim-mozee", "organization_id"=>"1", "location_id"=>"2", "hostgroup_id"=>"2", "compute_resource_id"=>"2", "content_facet_attributes"=>{"lifecycle_environment_id"=>"4", "content_view_id"=>"10", "content_source_id"=>"1", "kickstart_repository_id"=>"20"}, "openscap_proxy_id"=>"1", "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"tim-mozee", "domain_id"=>"1", "subnet_id"=>"1", "ip"=>"0.0.215.46", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"type"=>"VirtualVmxnet3", "network"=>"dvportgroup-680"}}}, "compute_attributes"=>{"cpus"=>"1", "corespersocket"=>"1", "memory_mb"=>"4048", "firmware"=>"bios", "cluster"=>"Satellite_Engineering", "resource_pool"=>"Resources", "path"=>"/Datacenters/RH_Engineering/vm", "guest_id"=>"otherGuest", "hardware_version"=>"Default", "memoryHotAddEnabled"=>"0", "cpuHotAddEnabled"=>"0", "add_cdrom"=>"0", "start"=>"1", "annotation"=>"", "scsi_controllers"=>"{\"scsiControllers\":[{\"type\":\"VirtualLsiLogicController\",\"key\":1000}],\"volumes\":[{\"thin\":false,\"name\":\"Hard disk\",\"mode\":\"persistent\",\"controllerKey\":1000,\"size\":10485760,\"sizeGb\":10,\"storagePod\":\"TestDatastoreCluster\",\"datastore\":null},{\"thin\":false,\"name\":\"Hard disk\",\"mode\":\"persistent\",\"controllerKey\":1000,\"size\":5242880,\"sizeGb\":5,\"datastore\":null,\"storagePod\":\"iSCSI-Cluster\",\"eagerZero\":false}]}", "image_id"=>""}, "architecture_id"=>"1", "operatingsystem_id"=>"1", "provision_method"=>"build", "build"=>"1", "medium_id"=>"", "ptable_id"=>"97", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"4-Users", "enabled"=>"1", "comment"=>"", "overwrite"=>"false"}, "media_selector"=>"synced_content"} PFA Attachments Created attachment 1591814 [details]
VM present in both clusters
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3172 |