Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1419814 - [ceph-ansible] no value is set to the key 'ms bind ipv6' in config file during ipv6 cluster creation
[ceph-ansible] no value is set to the key 'ms bind ipv6' in config file durin...
Status: CLOSED ERRATA
Product: Red Hat Storage Console
Classification: Red Hat
Component: ceph-ansible (Show other bugs)
2
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 2
Assigned To: leseb
Vasishta
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-07 01:45 EST by Vasishta
Modified: 2017-03-14 11:54 EDT (History)
13 users (show)

See Also:
Fixed In Version: ceph-ansible-2.1.7-1.el7scon
Doc Type: Bug Fix
Doc Text:
Previously, during the creation of Ceph clusters with nodes that use IPv6 addressing, ceph-ansible added the "ms bind ipv6" key to the Ceph configuration file, but it did not assign any value to it. This behavior caused an error when parsing the configuration file after the cluster creation. With this update, the "ms bind ipv6" key is properly set in the Ceph configuration file allowing for proper configuration file parsing on clusters that use IPv6 addressing.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-03-14 11:54:23 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0515 normal SHIPPED_LIVE Important: ansible and ceph-ansible security, bug fix, and enhancement update 2017-04-18 17:12:31 EDT

  None (edit)
Description Vasishta 2017-02-07 01:45:00 EST
Description of problem:
Config file parsing is creating an issue on ipv6 cluster for not assigning a value to a variable in config file.

The line containing 'ms bind ipv6' in global section of config file is causing parsing issue.

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

How reproducible:
Always

Steps to Reproduce:
1. Create a cluster of ipv6 machines.
2. Run any ceph commands

Actual results:

$sudo ceph osd tree --cluster 2_2_on_7_3
2017-02-07 06:41:57.446736 7f681e61a700 -1 Errors while parsing config file!
2017-02-07 06:41:57.446740 7f681e61a700 -1 end of key=val line 4 reached, no "=val" found...missing =?
ID WEIGHT  TYPE NAME         UP/DOWN REWEIGHT PRIMARY-AFFINITY 
-1 8.09541 root default                                        
-2 2.69847     host magna068                                   
 2 0.89949         osd.2          up  1.00000          1.00000 
 5 0.89949         osd.5          up  1.00000          1.00000 
 7 0.89949         osd.7          up  1.00000          1.00000 
-3 2.69847     host magna042                                   
 0 0.89949         osd.0          up  1.00000          1.00000 
 3 0.89949         osd.3          up  1.00000          1.00000 
 6 0.89949         osd.6          up  1.00000          1.00000 
-4 2.69847     host magna033                                   
 1 0.89949         osd.1          up  1.00000          1.00000 
 4 0.89949         osd.4          up  1.00000          1.00000 
 8 0.89949         osd.8          up  1.00000          1.00000 


Expected results:

$sudo ceph osd tree --cluster 2_2_on_7_3
ID WEIGHT  TYPE NAME         UP/DOWN REWEIGHT PRIMARY-AFFINITY 
-1 8.09541 root default                                        
-2 2.69847     host magna068                                   
 2 0.89949         osd.2          up  1.00000          1.00000 
 5 0.89949         osd.5          up  1.00000          1.00000 
 7 0.89949         osd.7          up  1.00000          1.00000 
-3 2.69847     host magna042                                   
 0 0.89949         osd.0          up  1.00000          1.00000 
 3 0.89949         osd.3          up  1.00000          1.00000 
 6 0.89949         osd.6          up  1.00000          1.00000 
-4 2.69847     host magna033                                   
 1 0.89949         osd.1          up  1.00000          1.00000 
 4 0.89949         osd.4          up  1.00000          1.00000 
 8 0.89949         osd.8          up  1.00000          1.00000
Comment 5 Vasishta 2017-02-07 04:12:11 EST
Description -
During creation of cluster with ipv6 nodes, 'ms bind ipv6' key is getting added in the configuration file without getting assigned any value. This creates error while parsing the config file after cluster creation. 

version: ceph-ansible-2.1.6-1.el7scon.noarch
Comment 7 Andrew Schoen 2017-02-07 13:39:16 EST
PR opened upstream: https://github.com/ceph/ceph-ansible/pull/1285
Comment 8 seb 2017-02-08 10:27:06 EST
This will be fixed upstream with the tag 2.1.7 which will likely appear as ceph-ansible-2.1.7-1.el7scon.noarch downstream soon.
Comment 12 errata-xmlrpc 2017-03-14 11:54:23 EDT
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-2017:0515

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