action #4654
closeddeprecate workers.ini
0%
Description
that you have to set your own HOST in workers.ini is very unintuitive. Especially if we have more workers, we need the scheduler to tell the workers the hostname for openQA without additional requirements.
Updated by oholecek about 10 years ago
I don't get this. How ie. remote worker will get openQA hostname? Do you mean some kind of zeroconf support (which, assuming avahi, AFAIK works as far as multicast is routed, so even there some backup should be supported)?
Offtopic:
But I must admit that one thing I really loved on maintenance's mtui tool is that it works right after the installation. Install, run, done - that level of functionality would be super cool for spreading the message of openQA :)
Updated by coolo about 10 years ago
Well, once you have the file system mounted on the remote worker, there shouldn't be any more setup necessary. All the necessary information should be gatherable for the worker from the scheduler.
Right now you need to provide the worker with the file system (so far easy as only local workers supported) and provide a workers.ini on every node giving the resolvable name of the UI.
Updated by coolo almost 10 years ago
with https://github.com/os-autoinst/os-autoinst/pull/123 it's no longer necessary to configure it
Updated by coolo almost 10 years ago
I wish that was true.
To setup a remote worker, you need to:
- install the packages
- setup the NFS mount
- configure the host you just mounted from /etc/openqa/workers.ini
- copy the API keys into /etc/openqa/client.conf
IMO the secrets should be read from the NFS share and skip step 3 and 4.
Updated by okurz over 8 years ago
- Related to action #6602: move worker credentials to workers.ini added
Updated by okurz about 5 years ago
- Status changed from New to Resolved
well, we did not deprecate workers.ini but I guess the mentioned problems are mostly solved so I guess we can call the ticket "Resolved", right?
Updated by coolo about 5 years ago
not really no. But then I again, I don't care so much about the future atm