#254: Trasnfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: autotest | Keywords: -------------------------+-------------------------------------------------- Currently autotest clients do not require autotest package installed, autotest server transfers all necessary files over rsync. But autotest clients require autoqa installed (because of our autoqa libraries), which in turn requires autotest.
This creates quite a lot of confusion where to edit which files when testing new stuff. It would be much easier if we somehow transferred also the autoqa library together with autotest files. Can we bend autotest a little to rsync also our library to the client? Or, can we use similar approach as copying the config files to the test directory also with autoqa library? It would be great.
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Changes (by kparal):
* summary: Trasnfer autoqa library to autotest clients => Transfer autoqa library to autotest clients
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: Type: enhancement | Status: new Priority: minor | Milestone: 0.5.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Changes (by kparal):
* milestone: => 0.5.0
Comment:
This has been discussed here: https://fedorahosted.org/pipermail/autoqa-devel/2011-January/001543.html
Patch is available, but little hackish. A better solution is to use RPM packaging, as jlaska proposes. The autotest server could hold its own repository, from which the clients would be updated (that ensures version matches between server and client).
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: Type: enhancement | Status: new Priority: minor | Milestone: 0.5.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by jlaska):
Mental note on this ticket, at FUDCon, Lucas started work on patching autotest so it uses system-wide directories (/etc, /var/log, /var/run etc...) instead of the single /usr/share/autotest. Those changes are still in progress, and I am behind on testing them. Lucas has a git repository available that I need to package (https://github.com/lmr/autotest/tree/fudcon).
Depending on how all those changes pan out, it may impact how site_autotest.py (and other sit_*.py) support functions. I don't think this changes the short-term goals of this ticket, but just a heads up that if/when we get autotest packaged, the solution may need an adjustment.
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: Type: enhancement | Status: new Priority: minor | Milestone: 0.7.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Changes (by tflink):
* milestone: Nice to have soon => 0.7.0
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: kparal Type: enhancement | Status: assigned Priority: minor | Milestone: 0.7.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Changes (by kparal):
* owner: => kparal * status: new => assigned
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: kparal Type: enhancement | Status: assigned Priority: minor | Milestone: 0.7.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by kparal):
Patch posted for review:
https://fedorahosted.org/reviewboard/r/213/
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: kparal Type: enhancement | Status: assigned Priority: minor | Milestone: 0.7.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by jskladan):
reviewed
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: kparal Type: enhancement | Status: assigned Priority: minor | Milestone: 0.7.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by kparal):
Tim, can you also have a look at it? I'd like to confirm it doesn't collide with your staging env plans. Thanks.
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: kparal Type: enhancement | Status: assigned Priority: minor | Milestone: 0.7.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by jlaska):
You didn't ask, but I added some comments as well. Hope they're helpful :)
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: kparal Type: enhancement | Status: assigned Priority: minor | Milestone: 0.7.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by kparal):
Thanks! Patch updated.
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: kparal Type: enhancement | Status: assigned Priority: minor | Milestone: 0.7.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by tflink):
Reviewed.
The only question I have is why go through the conf file creation process instead of running 'yum deplist autoqa' on the client in order to determine dependencies? Yeah, it would find a few things that aren't really needed (httpd, mod_wsgi etc.) but we wouldn't have an extra configuration file and wouldn't need to be doing such hacking in the makefile.
I'm also not a huge fan of running unattended 'yum -y' commands but I can't think of another way to make this work while staying within autotest unless we just errored out in the case of missing dependencies. In theory, the system should have those deps installed so it shouldn't be Either way, I don't have a better idea so it's a moot point.
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: kparal Type: enhancement | Status: assigned Priority: minor | Milestone: 0.7.0 Component: autotest | Resolution: Keywords: | -------------------------+-------------------------------------------------- Comment (by kparal):
Replying to [comment:12 tflink]:
The only question I have is why go through the conf file creation
process instead of running 'yum deplist autoqa' on the client in order to determine dependencies? Yeah, it would find a few things that aren't really needed (httpd, mod_wsgi etc.) but we wouldn't have an extra configuration file and wouldn't need to be doing such hacking in the makefile.
You would have to first add correct yum repositories to the client (until AutoQA is in Fedora). The client wouldn't be as maintenance-free (one more step needed).
Also, I use this approach for installing openssh-clients and rsync, the dependencies of autotest. Autotest currently supposes you do that manually when creating the client. Using my approach we have even less work. Currently it really boils down just to setting up the ssh pubkey server->client authentication.
I can abolish populating client-deps.conf file in the Makefile. But instead I'll have to move most of the code into site_autotest.py (add correct yum repos on the client, find out dependencies, filter them out, install them, also install autotest dependencies). I think it's more or less the same, the benefit of client-deps.conf is that it's not as deep buried as with site_autotest.py. Note: we don't have to filter out the dependencies for httpd etc, it's just a minor optional optimization until we split AutoQA into several packages.
I'm also not a huge fan of running unattended 'yum -y' commands but I
can't think of another way to make this work while staying within autotest unless we just errored out in the case of missing dependencies. In theory, the system should have those deps installed so it shouldn't be Either way, I don't have a better idea so it's a moot point.
We do that (yum -y) for all our tests initialization. I'd like to see a better approach, but I don't have it.
#254: Transfer autoqa library to autotest clients ---------------------------+------------------------------------------------ Reporter: kparal | Owner: kparal Type: enhancement | Status: assigned Priority: minor | Milestone: 0.7.0 Component: documentation | Resolution: Keywords: | ---------------------------+------------------------------------------------ Changes (by kparal):
* component: autotest => documentation
Comment:
Pushed to master as fa55089.
Adjusted developer documentation: * https://fedoraproject.org/w/index.php?title=AutoQA_Development&action=hi...
We still need to adjust user documentation when 0.7 release date is near: * https://fedoraproject.org/wiki/How_to_add_autotest_clients
#254: Transfer autoqa library to autotest clients -------------------------+-------------------------------------------------- Reporter: kparal | Owner: kparal Type: enhancement | Status: closed Priority: minor | Milestone: 0.7.0 Component: autotest | Resolution: fixed Keywords: | -------------------------+-------------------------------------------------- Changes (by kparal):
* status: assigned => closed * resolution: => fixed * component: documentation => autotest
Comment:
Documentation adjusted:
https://fedoraproject.org/w/index.php?title=How_to_add_autotest_clients&...
autoqa-devel@lists.fedorahosted.org