{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/24983","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/24983/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/24983/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/24983/events","html_url":"https://github.com/ansible/ansible/issues/24983","id":231053947,"node_id":"MDU6SXNzdWUyMzEwNTM5NDc=","number":24983,"title":"ansible_device.uuid is empty, if uuid is not unique on system","user":{"login":"jkroepke","id":1560587,"node_id":"MDQ6VXNlcjE1NjA1ODc=","avatar_url":"https://avatars3.githubusercontent.com/u/1560587?v=4","gravatar_id":"","url":"https://api.github.com/users/jkroepke","html_url":"https://github.com/jkroepke","followers_url":"https://api.github.com/users/jkroepke/followers","following_url":"https://api.github.com/users/jkroepke/following{/other_user}","gists_url":"https://api.github.com/users/jkroepke/gists{/gist_id}","starred_url":"https://api.github.com/users/jkroepke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkroepke/subscriptions","organizations_url":"https://api.github.com/users/jkroepke/orgs","repos_url":"https://api.github.com/users/jkroepke/repos","events_url":"https://api.github.com/users/jkroepke/events{/privacy}","received_events_url":"https://api.github.com/users/jkroepke/received_events","type":"User","site_admin":false},"labels":[{"id":437720699,"node_id":"MDU6TGFiZWw0Mzc3MjA2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.2","name":"affects_2.2","color":"5319e7","default":false},{"id":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":511915311,"node_id":"MDU6TGFiZWw1MTE5MTUzMTE=","url":"https://api.github.com/repos/ansible/ansible/labels/c:module_utils/facts","name":"c:module_utils/facts","color":"b60205","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":636352796,"node_id":"MDU6TGFiZWw2MzYzNTI3OTY=","url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-05-24T14:12:20Z","updated_at":"2018-11-26T03:19:50Z","closed_at":null,"author_association":"NONE","body":"##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\nsetup / facts\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from “ansible --version” between quotes below -->\r\n```\r\nansible 2.2.2.0\r\n  config file =\r\n  configured module search path = Default w/o overrides**\r\n```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nMention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).\r\n-->\r\n\r\n##### OS / ENVIRONMENT\r\nLocal: Any\r\nTarget: CentOS 7.3\r\n\r\n##### SUMMARY\r\nansible_device.uuid is empty, if uuid is not unique on system.\r\n```\r\nblkid\r\n/dev/sda1: UUID=\"c2c7e4a7-d23f-4db4-881d-35c8f57fdb93\" TYPE=\"xfs\"\r\n/dev/sda2: UUID=\"WBWxtd-8WNq-F0sy-BtuG-FMOp-hb2v-cYGvSF\" TYPE=\"LVM2_member\"\r\n/dev/sdb1: UUID=\"9400eec6-bf55-4c0f-ab41-3caee981bcd9\" TYPE=\"xfs\"\r\n/dev/sdb2: UUID=\"XohVPk-rOOi-hu2C-JFSF-5RP3-Ud71-t0tW2T\" TYPE=\"LVM2_member\"\r\n/dev/sdc1: UUID=\"9400eec6-bf55-4c0f-ab41-3caee981bcd9\" TYPE=\"xfs\"\r\n/dev/sdc2: UUID=\"XohVPk-rOOi-hu2C-JFSF-5RP3-Ud71-t0tW2T\" TYPE=\"LVM2_member\"\r\n/dev/mapper/centos_cent764-swap: UUID=\"2139ada9-16a7-4bb1-948e-f5cf1e6bd23f\" TYPE=\"swap\"\r\n/dev/mapper/centos_cent764-root: UUID=\"be3be952-056e-49ed-ad27-9c4ff4901a18\" TYPE=\"xfs\"\r\n/dev/mapper/atomicos-root: UUID=\"14e79aa2-7de1-4147-830e-0c5b1752655a\" TYPE=\"xfs\"\r\n```\r\n\r\nansible -m setup\r\n```\r\n...\r\n        \"ansible_devices\": {\r\n            \"sda\": {\r\n                \"holders\": [],\r\n                \"host\": \"\",\r\n                \"model\": \"Virtual Disk\",\r\n                \"partitions\": {\r\n                    \"sda1\": {\r\n                        \"holders\": [],\r\n                        \"sectors\": \"1024000\",\r\n                        \"sectorsize\": 512,\r\n                        \"size\": \"500.00 MB\",\r\n                        \"start\": \"2048\",\r\n                        \"uuid\": \"c2c7e4a7-d23f-4db4-881d-35c8f57fdb93\"\r\n                    },\r\n                    \"sda2\": {\r\n                        \"holders\": [\r\n                            \"centos_cent764-swap\",\r\n                            \"centos_cent764-root\"\r\n                        ],\r\n                        \"sectors\": \"40916992\",\r\n                        \"sectorsize\": 512,\r\n                        \"size\": \"19.51 GB\",\r\n                        \"start\": \"1026048\",\r\n                        \"uuid\": null\r\n                    }\r\n                },\r\n                \"removable\": \"0\",\r\n                \"rotational\": \"1\",\r\n                \"sas_address\": null,\r\n                \"sas_device_handle\": null,\r\n                \"scheduler_mode\": \"deadline\",\r\n                \"sectors\": \"104857600\",\r\n                \"sectorsize\": \"512\",\r\n                \"size\": \"50.00 GB\",\r\n                \"support_discard\": \"2097152\",\r\n                \"vendor\": \"Msft\"\r\n            },\r\n            \"sdb\": {\r\n                \"holders\": [],\r\n                \"host\": \"\",\r\n                \"model\": \"Virtual Disk\",\r\n                \"partitions\": {\r\n                    \"sdb1\": {\r\n                        \"holders\": [],\r\n                        \"sectors\": \"614400\",\r\n                        \"sectorsize\": 512,\r\n                        \"size\": \"300.00 MB\",\r\n                        \"start\": \"2048\",\r\n                        \"uuid\": null\r\n                    },\r\n                    \"sdb2\": {\r\n                        \"holders\": [\r\n                            \"atomicos-root\"\r\n                        ],\r\n                        \"sectors\": \"20355072\",\r\n                        \"sectorsize\": 512,\r\n                        \"size\": \"9.71 GB\",\r\n                        \"start\": \"616448\",\r\n                        \"uuid\": null\r\n                    }\r\n                },\r\n                \"removable\": \"0\",\r\n                \"rotational\": \"1\",\r\n                \"sas_address\": null,\r\n                \"sas_device_handle\": null,\r\n                \"scheduler_mode\": \"deadline\",\r\n                \"sectors\": \"104857600\",\r\n                \"sectorsize\": \"512\",\r\n                \"size\": \"50.00 GB\",\r\n                \"support_discard\": \"2097152\",\r\n                \"vendor\": \"Msft\"\r\n            },\r\n            \"sdc\": {\r\n                \"holders\": [],\r\n                \"host\": \"\",\r\n                \"model\": \"Virtual Disk\",\r\n                \"partitions\": {\r\n                    \"sdc1\": {\r\n                        \"holders\": [],\r\n                        \"sectors\": \"614400\",\r\n                        \"sectorsize\": 512,\r\n                        \"size\": \"300.00 MB\",\r\n                        \"start\": \"2048\",\r\n                        \"uuid\": \"9400eec6-bf55-4c0f-ab41-3caee981bcd9\"\r\n                    },\r\n                    \"sdc2\": {\r\n                        \"holders\": [],\r\n                        \"sectors\": \"20355072\",\r\n                        \"sectorsize\": 512,\r\n                        \"size\": \"9.71 GB\",\r\n                        \"start\": \"616448\",\r\n                        \"uuid\": null\r\n                    }\r\n                },\r\n                \"removable\": \"0\",\r\n                \"rotational\": \"1\",\r\n                \"sas_address\": null,\r\n                \"sas_device_handle\": null,\r\n                \"scheduler_mode\": \"deadline\",\r\n                \"sectors\": \"20972448\",\r\n                \"sectorsize\": \"512\",\r\n                \"size\": \"10.00 GB\",\r\n                \"support_discard\": \"2097152\",\r\n                \"vendor\": \"Msft\"\r\n            }\r\n        },\r\n...\r\n```\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case.\r\nFor new features, show how the feature would be used.\r\n-->\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\nfacts has correct values\r\n\r\n##### ACTUAL RESULTS\r\nSee: SUMMARY\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/441507737","html_url":"https://github.com/ansible/ansible/issues/24983#issuecomment-441507737","issue_url":"https://api.github.com/repos/ansible/ansible/issues/24983","id":441507737,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTUwNzczNw==","user":{"login":"ansibot","id":6585283,"node_id":"MDQ6VXNlcjY1ODUyODM=","avatar_url":"https://avatars0.githubusercontent.com/u/6585283?v=4","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T03:19:50Z","updated_at":"2018-11-26T03:19:50Z","author_association":"CONTRIBUTOR","body":"cc @davidobrien1985\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: notify --->"}}
{"actor":{"display_login":"ansibot"}}