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'}
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: 1024,1024" >> /etc/hiera/ astute. yaml mem"=>102410241 0241024} load(open( "/etc/hiera/ astute. yaml")) ["dpdk" ])' 1024,1024' }
[root@nailgun ~]# echo "dpdk:
> ovs_socket_mem: 1024,1024,
[root@nailgun ~]# hiera dpdk
{"ovs_socket_
[root@nailgun ~]# python -c 'import yaml; print(yaml.
{'ovs_socket_mem': '1024,1024,
[root@nailgun ~]#
Actual result: mem"=>102410241 0241024}
{"ovs_socket_
Expected result: 1024,1024' }
{'ovs_socket_mem': '1024,1024,