Separate the logic for initializing a worker record and saving it
Separate the logic for initializing a worker record and saving it

This will allow the worker (in the container) to create its own
GUID. This is necessary for worker types with multiple replicas
because we cannot tell an individual replica what its GUID is
supposed to be.

Also, we need the queue_name parameter for the deployment
per worker model. In this case we want to be able to reference
the queue name on the worker instance, but still don't want
to save that instance to the database.

We can't use create_worker_record as is, because run_single_worker.rb
also needs a way to save the worker record when it's running in a container

jrafanie/manageiq,andyvesel/manageiq,branic/manageiq,romanblanco/manageiq,mkanoor/manageiq,ManageIQ/manageiq,chessbyte/manageiq,skateman/manageiq,kbrock/manageiq,mzazrivec/manageiq,jvlcek/manageiq,andyvesel/manageiq,jameswnl/manageiq,billfitzgerald0120/manageiq,branic/manageiq,lpichler/manageiq,NickLaMuro/manageiq,jrafanie/manageiq,gmcculloug/manageiq,aufi/manageiq,juliancheal/manageiq,gerikis/manageiq,yaacov/manageiq,syncrou/manageiq,jrafanie/manageiq,borod108/manageiq,djberg96/manageiq,kbrock/manageiq,syncrou/manageiq,yaacov/manageiq,NickLaMuro/manageiq,tinaafitz/manageiq,gerikis/manageiq,yaacov/manageiq,mkanoor/manageiq,hstastna/manageiq,d-m-u/manageiq,romanblanco/manageiq,lpichler/manageiq,d-m-u/manageiq,chessbyte/manageiq,juliancheal/manageiq,jrafanie/manageiq,borod108/manageiq,gmcculloug/manageiq,tinaafitz/manageiq,hstastna/manageiq,yaacov/manageiq,lpichler/manageiq,syncrou/manageiq,mkanoor/manageiq,jvlcek/manageiq,d-m-u/manageiq,agrare/manageiq,borod108/manageiq,jameswnl/manageiq,hstastna/manageiq,NickLaMuro/manageiq,pkomanek/manageiq,aufi/manageiq,jvlcek/manageiq,billfitzgerald0120/manageiq,romanblanco/manageiq,aufi/manageiq,tinaafitz/manageiq,billfitzgerald0120/manageiq,skateman/manageiq,gerikis/manageiq,branic/manageiq,hstastna/manageiq,romanblanco/manageiq,syncrou/manageiq,mzazrivec/manageiq,gmcculloug/manageiq,gerikis/manageiq,borod108/manageiq,mkanoor/manageiq,NickLaMuro/manageiq,andyvesel/manageiq,skateman/manageiq,pkomanek/manageiq,aufi/manageiq,ManageIQ/manageiq,pkomanek/manageiq,pkomanek/manageiq,jvlcek/manageiq,agrare/manageiq,djberg96/manageiq,andyvesel/manageiq,jameswnl/manageiq,juliancheal/manageiq,jameswnl/manageiq,djberg96/manageiq,lpichler/manageiq,tinaafitz/manageiq,d-m-u/manageiq,chessbyte/manageiq,agrare/manageiq,mzazrivec/manageiq,kbrock/manageiq,agrare/manageiq,ManageIQ/manageiq,djberg96/manageiq,mzazrivec/manageiq,juliancheal/manageiq,branic/manageiq,gmcculloug/manageiq,ManageIQ/manageiq,kbrock/manageiq,skateman/manageiq,chessbyte/manageiq,billfitzgerald0120/manageiq