Hello Marian,
I added beah rpm to the lab controller repo, using cobbler we can have
the following in the kickstart:
cat << EOF > /etc/yum.repos.d/beaker-harness.repo
[beaker-harness]
name=Beaker Harness
baseurl=http://$server/harness/$os_version
enabled=1
gpgcheck=0
EOF
os_version will expand to fedora11 for example. We'll have a different
harness repo per release. Eventually we can get beah in Fedora proper.
We can add $arch in there if we need it.
Issues I ran into :
1) Right now I had to add the rhts-noarch repo as well since the
rhts-test-runner.sh expects that repo. I think we should move repo
creation and yum install to beah backend. I know eventually we will
want to support install methods other than rpm/yum. (the repos needed
are in the xml file)
2) The beah-beaker-backend service had to be restarted after bootup
because NetworkManager hasn't finished bringing the network interface
up. We should add nm-online to the init script so it doesn't continue
until the network is up.
3) I had to turn the service on
chkconfig --add beah-srv
chkconfig --add beah-beaker-backend
Shouldn't the service be activated after install?
4) I'm writing the config file out from cobbler kickstart
cat << EOF > /etc/beah_beaker.conf
[DEFAULT]
# LAB_CONTROLLER: URI of Beaker's XML-RPC handler
LAB_CONTROLLER=http://$server:8000/server
#
# # HOSTNAME: Pretend to be machine with given name:
# #HOSTNAME=fake.hostname.com
EOF
I think this is fine. no need for anything fancier
If we can fix 1 and 2 then we will be able to run automatically after
provision.
Show replies by date