Description of problem: It's impossible to add a network with characters in the range between 50 to 256 because that vNIC profile limited to 50 character. I get an error from engine log ERROR: value too long for type character varying(50) Version-Release number of selected component (if applicable): ovirt-engine-4.2.0-0.0.master.20170801132145.git3e12cf0.el7.centos.noarch How reproducible: 100 Steps to Reproduce: 1. Create a network name in the range between 50 to 256 characters via REST Actual results: Failed to add network with vNIC profile that the name is greater than 50 characters Expected results: Should work as expected
Created attachment 1308160 [details] engine log
From time to time the vNIC profile failed to create automatically when creating the network with special characters.
(In reply to Meni Yakove from comment #3) > From time to time the vNIC profile failed to create automatically when > creating the network with special characters. That is irrelevant to this patch. The profiles aren't created with short names as well. vNIC profiles are no longer limited to 50/ascii characters, so the bug is essentially solved IMO. Another separate bug should be opened for what you've described (so far I can't reproduce the problem. I've tried several computers, but I'll keep investigating)
Even if not relevant to the patch. This can't be tested when sometimes the vNIC created or not. Will be tested only when we will have a fix to the vNIC profile creation. The verification of the this bug depends on the separate bug.
This bug can be tested by QA; if you are verifying this now, please note that the network name must be alphanumeric until bug 1485928 is ON_QA as well, and keyboard is used to confirm network creation (bug 1485927)
Verified on - 4.1.6-0.1.el7