[SRU] hostnames with upper case letters don't make good MON's
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Raring |
Fix Released
|
Medium
|
James Page | ||
Saucy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
== Impact ==
The ceph upstart configurations don't work correctly on systems with hostnames that contain uppercase characters.
== Test ==
Easiest todo with juju:
Configured your MAAS environment with servers with uppercase hostname.
juju bootstrap
mkdir raring
(cd raring; bzr branch lp:charms/ceph)
cat > local.yaml << EOF
ceph:
fsid: '6547bd3e-
monitor-count: 3
monitor-secret: 'AQCXrnZQwI7KGB
osd-devices: '/dev/sdb'
osd-reformat: 'yes'
EOF
Deploy charm on raring using the above configuration
juju deploy --config local.yaml --repository . -n 3 local:raring/ceph
No ceph daemons will start due to missing uppercase pattern matching in the upstart configurations.
== Regression Potential ==
Limited; this fix is already in Saucy (and tested OK) and simple extends the range of permitted chars to include uppercase letters
== Original Bug Report ==
Its possible to configure a server with uppercase letters in the hostname: OS01-07 for example.
When initializing a ceph mon filesystem this gets created OK in /var/lib/
I was initially confused as running the same find command in the shell worked OK - but running it under the POSIX locale as happens in the upstart configuration causes the filesystem to be missed.
I'm not 100% sure this is actually a bug - raising for discussion!
Related branches
Changed in ceph (Ubuntu Raring): | |
status: | Confirmed → Triaged |
assignee: | nobody → James Page (james-page) |
status: | Triaged → In Progress |
description: | updated |
summary: |
- Hostnames with upper case letters don't make good MON's + [SRU] hostnames with upper case letters don't make good MON's |
description: | updated |
description: | updated |
Fixed upstream for dumpling (already in Saucy)
https:/ /github. com/ceph/ ceph/commit/ 851619ab6645967 e5d7659d9b0eea6 3d5c402b15