Provisioning of containers based on Debian/Ubuntu through PACI is failing after the installation of PSBM Update 9.
The container is created on the node, but its hostname is the same as the hostname of the node.
The issue is caused by an error in Parallels Server Bare Metal product code, the trailing dot in the hostname is passed to the guest OS installed in the container. RHEL-based OS-es like CentOS, Fedora are tolerate with such hostnames:
[root@psbm ~]# vzctl set 100 --hostname test.com. --save Hostname of the Container set: test.com. Saved parameters for Container 100 [root@psbm ~]# vzctl exec 100 hostname test.com.
Meanwhile Debian-based OS-es throw error:
[root@psbm ~]# vzctl set 201 --hostname test.com.--save Hostname of the Container set: test.com. hostname: the specified hostname is invalid Saved parameters for Container 201
It is caused by the strict validation of a hostname which is a native Ubuntu/Debian limitation - it refuses to set a hostname ending with a ".". As the result, the hostname in the virtual environment is not altered and it is shown as the hostname of the hardware node.
The issue has been acknowledged as a product defect; the fix for the request PSBM-22996 is scheduled to be included in one of the next Parallels Server Bare Metal updates.