Comment 0 for bug 1587898

Revision history for this message
Mikhail Chernik (mchernik) wrote :

Environment: MOS 9.0, ISO 426

Detailed description:

Due to recent changes in yaml processing, comma separated list of values is glued together.
If DPDK is turned on and a host has > 1 NUMA nodes, this leads to an unsuccessful attempt to allocate huge amount of memory, which breaks deployment.

Steps to reproduce:
[root@nailgun ~]# echo "dpdk:
> ovs_socket_mem: 1024,1024,1024,1024" >> /etc/hiera/astute.yaml
[root@nailgun ~]# hiera dpdk
{"ovs_socket_mem"=>1024102410241024}
[root@nailgun ~]# python -c 'import yaml; print(yaml.load(open("/etc/hiera/astute.yaml"))["dpdk"])'
{'ovs_socket_mem': '1024,1024,1024,1024'}
[root@nailgun ~]#

Actual result:
{"ovs_socket_mem"=>1024102410241024}

Expected result:
{'ovs_socket_mem': '1024,1024,1024,1024'}