[Ovirt-devel] [PATCH] Test System Updates
Mohammed Morsi
mmorsi at redhat.com
Thu Jul 24 04:47:28 UTC 2008
Alan Pevec wrote:
>> + # delete previous appliance, restart libvirt
>> + rm -f /etc/libvirt/qemu/ovirt-appliance.xml
>> + rm -f /var/lib/libvirt/images/ovirt-appliance.img
>> + /sbin/service libvirtd restart
> drop those lines, create-wui-appliance.sh takes care of that via virsh
> (thou shalt never mess w/ implementation details like
> /etc/libvirt/qemu/*xml)
>
>> +cat > /root/.ssh/authorized_keys2 << \EOF
>
> authorized_keys w/o 2
>
>> +mkdir /etc/auto-build.d/
>
> mkdir -p
> otherwise you get in kickstart-post.log:
> mkdir: cannot create directory `/etc/auto-build.d/': File exists
>
Took these fixes, and our discussion about how the 2nd stage autobuild
is unnecessary and came up with a simpler autobuild script / kickstart
that runs the 2nd stage tests (eg site accessibility and rake tests)
through ssh. When testing this, I noticed some of the rake tests failed,
I believe it due to recent code changes, and will look at resolving them
once this autobuild stuff is committed. In addition to the rrd test data
generation and usage code in the patched, I began looking into how we
can add some test data to the rh-dirsrv ldap server running on the ovirt
wui appliance. I'm not a 100% sure yet, but I might be able to add a
ldif file with test data to the appliance via a kickstart script and
then configure the server / ovirt to use a path that points to it.
-Mo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt-autobuild.patch
Type: text/x-patch
Size: 7078 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20080724/cb5b6524/attachment.bin>
More information about the ovirt-devel
mailing list