/etc/resolv.conf is garbage on CentOS 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bifrost |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I am trying to launch a system using Bifrost on CentOS 7. With the following config drive file,
-bash-4.2# cat /mnt/config/
{
"links": [
{
"id": "52:54:
"mtu": "1500",
"type": "phy"
}
],
"networks": [
{
],
"id": "ipv4-52:
"link": "52:54:
{
}
],
"type": "ipv4"
}
],
"services": [
{
],
"type": "dns"
}
]
}
glean --noop produces
...
### Write /etc/resolv.conf
nameserver [u'8.8.8.8']
...
which is also what I see in /etc/resolv.conf. No idea if this bug is in Bifrost or in Glean part, but Glean development does not seem very active.
I tried setting the locales in Glean
import locale
locale.
but that did not help. I was able to verify that LC_ALL was set to en_US.UTF-8.
Changed in bifrost: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
Changed in bifrost: | |
status: | Fix Committed → Fix Released |
The patch https:/ /review. openstack. org/508113 seems to fix this. The bug was in bifrost, in the yaml format