{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph-ansible/issues/2996","repository_url":"https://api.github.com/repos/ceph/ceph-ansible","labels_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/2996/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/2996/comments","events_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/2996/events","html_url":"https://github.com/ceph/ceph-ansible/issues/2996","id":349155127,"node_id":"MDU6SXNzdWUzNDkxNTUxMjc=","number":2996,"title":"'dict' object has no attribute 'iteritems'","user":{"login":"sdonnet","id":7150014,"node_id":"MDQ6VXNlcjcxNTAwMTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/7150014?v=4","gravatar_id":"","url":"https://api.github.com/users/sdonnet","html_url":"https://github.com/sdonnet","followers_url":"https://api.github.com/users/sdonnet/followers","following_url":"https://api.github.com/users/sdonnet/following{/other_user}","gists_url":"https://api.github.com/users/sdonnet/gists{/gist_id}","starred_url":"https://api.github.com/users/sdonnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdonnet/subscriptions","organizations_url":"https://api.github.com/users/sdonnet/orgs","repos_url":"https://api.github.com/users/sdonnet/repos","events_url":"https://api.github.com/users/sdonnet/events{/privacy}","received_events_url":"https://api.github.com/users/sdonnet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-09T14:33:49Z","updated_at":"2018-08-10T14:53:48Z","closed_at":null,"author_association":"NONE","body":"**Bug Report**\r\n\r\nWhat happened:\r\n\r\nOn a fresh, and supposed simple deploy of ceph-ansible, we got an error message during the 'roles/ceph-mon/tasks/deploy_monitors.yml', on the task 'generate monitor initial keyring', for our monitors  :   \r\n`generate_caps\\n    for k, v in caps.iteritems():\\nAttributeError: 'dict' object has no attribute 'iteritems'`\r\n\r\nHow to reproduce it (minimal and precise):\r\n<!-- Please let us know any circumstances for reproduction of your bug. -->\r\n\r\nOur group_cars/all.yml :  \r\n```\r\nmon_group_name: mons\r\nosd_group_name: osds\r\nclient_group_name: clients\r\nceph_origin: repository\r\nceph_repository: community\r\nceph_stable_release: mimic\r\nmonitor_interface: \"ens256\"\r\npublic_network: \"10.10.232.0/24\"\r\ncluster_network: \"10.10.231.0/24\"\r\n```\r\n\r\nOur group_vars/mons.yml :  \r\n```\r\nmon_group_name: mons\r\nmonitor_secret: \"{{ monitor_keyring.stdout }}\"\r\nadmin_secret: '*******'\r\nsecure_cluster: true\r\nsecure_cluster_flags:\r\n  - nopgchange\r\n  - nodelete\r\n  - nosizechange\r\n```\r\ncalamari: true\r\n\r\n\r\nShare your group_vars files, inventory\r\n\r\n**Environment**:\r\n* OS (e.g. from /etc/os-release): **Ubuntu 18.04.1 TLS**\r\n* Kernel (e.g. `uname -a`):  **linux 4.15.0-29-generic**\r\n* Docker version if applicable (e.g. `docker version`):\r\n* Ansible version (e.g. `ansible-playbook --version`): **2.6.2**\r\n* ceph-ansible version (e.g. `git head or tag or stable branch`): **stable branch**\r\n* Ceph version (e.g. `ceph -v`): **13.2.1**\r\n"},"comment":{"url":"https://api.github.com/repos/ceph/ceph-ansible/issues/comments/412107209","html_url":"https://github.com/ceph/ceph-ansible/issues/2996#issuecomment-412107209","issue_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/2996","id":412107209,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjEwNzIwOQ==","user":{"login":"leseb","id":912735,"node_id":"MDQ6VXNlcjkxMjczNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/912735?v=4","gravatar_id":"","url":"https://api.github.com/users/leseb","html_url":"https://github.com/leseb","followers_url":"https://api.github.com/users/leseb/followers","following_url":"https://api.github.com/users/leseb/following{/other_user}","gists_url":"https://api.github.com/users/leseb/gists{/gist_id}","starred_url":"https://api.github.com/users/leseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leseb/subscriptions","organizations_url":"https://api.github.com/users/leseb/orgs","repos_url":"https://api.github.com/users/leseb/repos","events_url":"https://api.github.com/users/leseb/events{/privacy}","received_events_url":"https://api.github.com/users/leseb/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T14:53:48Z","updated_at":"2018-08-10T14:53:48Z","author_association":"CONTRIBUTOR","body":"I guess this is the issue, `iteritems()` does not exist in python3."}}
{"actor":{"display_login":"leseb"}}