[neutron] Different 'hostname' output on Ubuntu and CentOS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
MOS Oslo | ||
5.1.x |
Won't Fix
|
Medium
|
MOS Oslo | ||
6.0.x |
Won't Fix
|
Medium
|
MOS Oslo | ||
7.0.x |
Invalid
|
Medium
|
Matthew Mosesohn |
Bug Description
{
"build_id": "2014-11-
"ostf_sha": "85272980659a97
"build_number": "115",
"auth_
"api": "1.0",
"nailgun_sha": "ffb507b8222f15
"production": "docker",
"fuelmain_sha": "fc2c7b9deb0dad
"astute_sha": "65eb911c38afc0
"feature_
"mirantis"
],
"release": "6.0",
"release_
],
}
}
},
"fuellib_sha": "74f7d1923d0b45
}
On CentOS 'hostname' returns output like - node-6.
On Ubuntu it's like - node-6
Can we have the same output on Ubuntu and CentOS ?
It affects our system tests because we get hostname in different formats on Ubuntu and CentOS and we have to work-around it in tests
tags: | added: low-hanging-fruit |
Changed in fuel: | |
milestone: | 6.1 → 6.0 |
tags: | added: neutron |
Changed in fuel: | |
milestone: | 6.0 → 6.0.1 |
Changed in fuel: | |
status: | Triaged → Won't Fix |
milestone: | 6.1 → 7.0 |
Changed in fuel: | |
milestone: | 7.0 → 6.1 |
Use uname -n. It's what "facter" uses to identify hosts. It will return node-6. test.domain. local.