Description of problem: Runtime Error ownerId is null at org.candlepin.model.OwnerCurator.findOwnerById:69 while creating owner Version-Release number of selected component (if applicable): subscription management server: 2.3.4-1 How reproducible: Steps to Reproduce: [root@localhost ~]# curl --stderr /dev/null --insecure --user admin:admin --request POST --data '{"displayName":"Mrs. Jones","defaultServiceLevel":"TLC (Tender Loving Care)","key":"mother"}' --header 'accept: application/json' --header 'ontent-type: application/json' https://shwetha-candlepin.usersys.redhat.com:8443/candlepin/owners { "displayMessage" : "Runtime Error ownerId is null at org.candlepin.model.OwnerCurator.findOwnerById:69", "requestUuid" : "b39ab0da-eb93-4395-85da-ad9ffaa6c6c3" Actual results: "Runtime Error ownerId is null at org.candlepin.model.OwnerCurator.findOwnerById:69" Expected results: Owner should be created successfully Additional info:
According to https://bugzilla.redhat.com/show_bug.cgi?id=1563003#c1 user cannot specify "default service level" while creating an org/owner , so the error output here is the fix [root@kvm-07-guest03 ~]# curl --stderr /dev/null --insecure --user admin:admin --request POST --data '{"displayName":"Mrs. Jones","defaultServiceLevel":"TLC (Tender Loving Care)","key":"mother"}' --header 'accept: application/json' --header 'content-type: application/json' https://shwetha-workstation.usersys.redhat.com:8443/candlepin/owners { "displayMessage" : "The default service level cannot be specified during owner creation", "requestUuid" : "be195a03-baef-4df7-bdc1-e6f88c9bf150"
Based on the verification in c3 closing the bug as WORKSFORME