Bug 1342395 - [ceph-ansible] CentOS 7.2 is skipped in the "unsupported distribution" check in ceph 2.0 install
Summary: [ceph-ansible] CentOS 7.2 is skipped in the "unsupported distribution" check ...
Keywords:
Status: CLOSED DUPLICATE of bug 1354065
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat Storage
Component: ceph-ansible
Version: 2
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: 3
Assignee: Christina Meno
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-03 07:46 UTC by Tejas
Modified: 2017-03-03 16:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-03 16:51:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Tejas 2016-06-03 07:46:38 UTC
Description of problem:
While doing a cluster install on a CentOS 7.2 node, the unsupported distribution check is skipped.

Version-Release number of selected component (if applicable):
ceph-ansible-1.0.5-18.el7scon.noarch

How reproducible:
Always

Steps to Reproduce:
1. Start install on a CentOS 7.2 node.
2. It proceeds and evevntually fails in subscription manager step


Expected results:
The  playbook should fail in "fail on unsupported distribution" step

Additional info:

[root@magna080 ~]# lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.2.1511 (Core) 
Release:	7.2.1511
Codename:	Core


[root@magna006 ceph-ansible]# ansible-playbook site.yml

PLAY [mons] ******************************************************************* 

GATHERING FACTS *************************************************************** 
ok: [magna080]

TASK: [ceph.ceph-common | fail on unsupported system] ************************* 
skipping: [magna080]

TASK: [ceph.ceph-common | fail on unsupported architecture] ******************* 
skipping: [magna080]

TASK: [ceph.ceph-common | fail on unsupported distribution] ******************* 
skipping: [magna080]

TASK: [ceph.ceph-common | fail on unsupported distribution for red hat storage] *** 
skipping: [magna080]

TASK: [ceph.ceph-common | fail on unsupported ansible version] **************** 
skipping: [magna080]

TASK: [ceph.ceph-common | make sure an installation origin was chosen] ******** 
skipping: [magna080]

TASK: [ceph.ceph-common | make sure an installation source was chosen] ******** 
skipping: [magna080]

TASK: [ceph.ceph-common | verify that a method was chosen for red hat storage] *** 
skipping: [magna080]

TASK: [ceph.ceph-common | make sure journal_size configured] ****************** 
skipping: [magna080]

TASK: [ceph.ceph-common | make sure monitor_interface or monitor_address is configured] *** 
skipping: [magna080]

TASK: [ceph.ceph-common | make sure cluster_network configured] *************** 
skipping: [magna080]

TASK: [ceph.ceph-common | make sure public_network configured] **************** 
skipping: [magna080]

TASK: [ceph.ceph-common | make sure an osd scenario was chosen] *************** 
skipping: [magna080]

TASK: [ceph.ceph-common | verify only one osd scenario was chosen] ************ 
skipping: [magna080]

TASK: [ceph.ceph-common | verify devices have been provided] ****************** 
skipping: [magna080]

TASK: [ceph.ceph-common | verify journal devices have been provided] ********** 
skipping: [magna080]

TASK: [ceph.ceph-common | verify directories have been provided] ************** 
skipping: [magna080]

TASK: [ceph.ceph-common | check if nmap is installed] ************************* 
ok: [magna080]

TASK: [ceph.ceph-common | inform that nmap is not present] ******************** 
ok: [magna080] => {
    "msg": "nmap is not installed, can not test if ceph ports are allowed :("
}

TASK: [ceph.ceph-common | check if monitor port is not filtered] ************** 
skipping: [magna080] => (item=magna080)

TASK: [ceph.ceph-common | fail if monitor port is filtered] ******************* 
skipping: [magna080] => (item={u'skipped': True, u'changed': False})

TASK: [ceph.ceph-common | check if osd and mds range is not filtered] ********* 
skipping: [magna080]

TASK: [ceph.ceph-common | fail if osd and mds range is filtered (osd hosts)] *** 
skipping: [magna080] => (item=osdrangestate.results)

TASK: [ceph.ceph-common | check if osd and mds range is not filtered] ********* 
skipping: [magna080]

TASK: [ceph.ceph-common | fail if osd and mds range is filtered (mds hosts)] *** 
skipping: [magna080] => (item=mdsrangestate.results)

TASK: [ceph.ceph-common | check if rados gateway port is not filtered] ******** 
skipping: [magna080]

TASK: [ceph.ceph-common | fail if rados gateway port is filtered] ************* 
skipping: [magna080] => (item=rgwportstate.results)

TASK: [ceph.ceph-common | disable osd directory parsing by updatedb] ********** 
skipping: [magna080]

TASK: [ceph.ceph-common | disable transparent hugepage] *********************** 
skipping: [magna080]

TASK: [ceph.ceph-common | disable swap] *************************************** 
skipping: [magna080]

TASK: [ceph.ceph-common | get default vm.min_free_kbytes] ********************* 
skipping: [magna080]

TASK: [ceph.ceph-common | define vm.min_free_kbytes] ************************** 
skipping: [magna080]

TASK: [ceph.ceph-common | apply operating system tuning] ********************** 
skipping: [magna080] => (item={'name': 'kernel.pid_max', 'value': 4194303})
skipping: [magna080] => (item={'name': 'fs.file-max', 'value': 26234859})
skipping: [magna080] => (item={'name': 'vm.zone_reclaim_mode', 'value': 0})
skipping: [magna080] => (item={'name': 'vm.vfs_cache_pressure', 'value': 50})
skipping: [magna080] => (item={'name': 'vm.min_free_kbytes', 'value': u'{# vm_min_free_kbytes #}'})

TASK: [ceph.ceph-common | create ice package directory] *********************** 
skipping: [magna080]

TASK: [ceph.ceph-common | get ice packages] *********************************** 
skipping: [magna080]

TASK: [ceph.ceph-common | get ice Kernel Modules] ***************************** 
skipping: [magna080] => (item=kmod-libceph-3.10-0.1.20140702gitdc9ac62.el7.x86_64.rpm)
skipping: [magna080] => (item=kmod-rbd-3.10-0.1.20140702gitdc9ac62.el7.x86_64.rpm)

TASK: [ceph.ceph-common | stat extracted ice repo files] ********************** 
skipping: [magna080]

TASK: [ceph.ceph-common | extract ice packages] ******************************* 
skipping: [magna080]

TASK: [ceph.ceph-common | move ice extracted packages] ************************ 
skipping: [magna080]

TASK: [ceph.ceph-common | create red hat storage package directories] ********* 
skipping: [magna080] => (item=/tmp/rh-storage-mount)
skipping: [magna080] => (item=/tmp/rh-storage-repo)

TASK: [ceph.ceph-common | fetch the red hat storage iso from the ansible server] *** 
skipping: [magna080]

TASK: [ceph.ceph-common | mount red hat storage iso file] ********************* 
skipping: [magna080]

TASK: [ceph.ceph-common | copy red hat storage iso content] ******************* 
skipping: [magna080]

TASK: [ceph.ceph-common | unmount red hat storage iso file] ******************* 
skipping: [magna080]

TASK: [ceph.ceph-common | determine if node is registered with subscription-manager.] *** 
failed: [magna080] => {"changed": false, "cmd": "subscription-manager identity", "failed": true, "rc": 2}
msg: [Errno 2] No such file or directory

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/root/site.retry

magna080                   : ok=11   changed=0    unreachable=0    failed=1

Comment 4 Ken Dreyer (Red Hat) 2017-03-03 16:51:35 UTC

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


Note You need to log in before you can comment on or make changes to this bug.