build.git
10 years agoSetting tag bootcd-5.2-4
Thierry Parmentelat [Fri, 21 Mar 2014 15:01:54 +0000 (16:01 +0100)]
Setting tag bootcd-5.2-4
no change, only some internal comments were changed

10 years agouse vif<hostname> instead of vif_<hostname> to save space; f20 can do vifvirtualpanel...
Thierry Parmentelat [Thu, 20 Mar 2014 11:38:43 +0000 (12:38 +0100)]
use vif<hostname> instead of vif_<hostname> to save space; f20 can do vifvirtualpanel but not vif_virtualpanel

10 years agolittle tweaks for using with production VMs
Thierry Parmentelat [Thu, 20 Mar 2014 11:24:10 +0000 (12:24 +0100)]
little tweaks for using with production VMs

10 years agomove check_yum_installed
Thierry Parmentelat [Fri, 14 Mar 2014 15:12:52 +0000 (16:12 +0100)]
move check_yum_installed

10 years agochmod +x
Thierry Parmentelat [Fri, 14 Mar 2014 14:59:29 +0000 (15:59 +0100)]
chmod +x

10 years agotake the bridge-creation code out in lbuild-bridge.sh so we can reuse this in regular...
Thierry Parmentelat [Fri, 14 Mar 2014 14:52:57 +0000 (15:52 +0100)]
take the bridge-creation code out in lbuild-bridge.sh so we can reuse this in regular hosts

10 years agocleanup the libvirt section, use 1.2.1 on all fedoras
Thierry Parmentelat [Thu, 6 Mar 2014 10:10:29 +0000 (11:10 +0100)]
cleanup the libvirt section, use 1.2.1 on all fedoras

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/build
Mohamed Larabi [Fri, 28 Feb 2014 14:34:45 +0000 (15:34 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/build

10 years agolbuild-init-vm.sh : add option -m memory, to specify the amount of memory in MB,...
Mohamed Larabi [Fri, 28 Feb 2014 14:34:28 +0000 (15:34 +0100)]
lbuild-init-vm.sh : add option -m memory, to specify the amount of memory in MB, allocated to a container -- defaults to 512MB

10 years agoSetting tag sfa-3.1-2
Mohamed Larabi [Thu, 20 Feb 2014 13:17:56 +0000 (14:17 +0100)]
Setting tag sfa-3.1-2
-- Core
added support for geni_extend_alap (as long as possible) in RenewSliver.
adding support for geni_speaking_for option,
-- RSpecs
Add support for Ofelia OpenFlow RSpecs
-- PlanetLab
Set Admins as PI's of the top authority while importing.
-- IoTLab
Iotlab and cortexlab ported to geni-v3.
Moving methods using the SFA db and api object from Shell to Driver.
Propagating the changes in iotlabimporter, iotlabaggregate and iotlabslices.
Iotlab now using sfa database for the special table lease_table.
Using alchemy.py classes to create a session to the DB.
Cleaning and documenting.
Fix Allocate() API call
-- client
handle single slivers.
fix sfi.py version and trusted.
-- PlanetLab
handle single slivers by Provision(), Delete() and PerformOperationalAction().
fix foreign slices mgt in sliver_to_slice_xrn() and check_sliver_credentials().
wider mgt of new slice url and description.
-- Packaging
rename senslab package into iotlab.
don't package xml-builder anymore.
fix debian/ubuntu packaging.

10 years agosupport for more variants of libvirt - warning, libvirt*GITPATH is set in lxc.mk...
Thierry Parmentelat [Thu, 20 Feb 2014 11:57:12 +0000 (12:57 +0100)]
support for more variants of libvirt - warning, libvirt*GITPATH is set in lxc.mk for now

10 years agoskip fedora_configure_yum for image (rootfs) provided VMs.
Mohamed Larabi [Thu, 20 Feb 2014 10:23:20 +0000 (11:23 +0100)]
skip fedora_configure_yum for image (rootfs) provided VMs.
Minor fix

10 years agodo not build mod_python anymore, this is not needed any longer now that the wsgi...
Thierry Parmentelat [Thu, 20 Feb 2014 10:12:38 +0000 (11:12 +0100)]
do not build mod_python anymore, this is not needed any longer now that the wsgi flavour of myplc has been made robust

10 years agolbuild-initvm .sh: add option -i image - to specify the location of the rootfs
Mohamed Larabi [Tue, 18 Feb 2014 16:40:46 +0000 (17:40 +0100)]
lbuild-initvm .sh: add option -i image - to specify the location of the rootfs

10 years agolatest libvirt will require netcf-devel for building
Thierry Parmentelat [Tue, 11 Feb 2014 10:42:51 +0000 (11:42 +0100)]
latest libvirt will require netcf-devel for building

10 years agomake sure to exit 0 when everything is fine
Thierry Parmentelat [Mon, 10 Feb 2014 10:03:32 +0000 (11:03 +0100)]
make sure to exit 0 when everything is fine

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/build
Thierry Parmentelat [Sat, 8 Feb 2014 17:45:16 +0000 (18:45 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/build

10 years agofix for ubuntu builds that could not find python-rpm despite the addition of the...
Thierry Parmentelat [Sat, 8 Feb 2014 17:45:00 +0000 (18:45 +0100)]
fix for ubuntu builds that could not find python-rpm despite the addition of the universe source list (apt-get update needed)

10 years agoadd libvirt-python-STOCK-DEVEL-RPMS
Mohamed Larabi [Fri, 7 Feb 2014 16:21:26 +0000 (17:21 +0100)]
add libvirt-python-STOCK-DEVEL-RPMS

10 years agocosmetic
Mohamed Larabi [Fri, 7 Feb 2014 15:37:56 +0000 (16:37 +0100)]
cosmetic

10 years agoadd libvirt-python-LOCAL-DEVEL-RPMS
Mohamed Larabi [Fri, 7 Feb 2014 15:30:03 +0000 (16:30 +0100)]
add libvirt-python-LOCAL-DEVEL-RPMS

10 years agoadd libvirt-python gitpath
Mohamed Larabi [Fri, 7 Feb 2014 11:23:32 +0000 (12:23 +0100)]
add libvirt-python gitpath

10 years agohandle separate libvirt-python 1.2.1
Mohamed Larabi [Fri, 7 Feb 2014 11:22:11 +0000 (12:22 +0100)]
handle separate libvirt-python 1.2.1

10 years agoset libvirt-GITPATH for both distros independently for now
Thierry Parmentelat [Fri, 7 Feb 2014 11:18:39 +0000 (12:18 +0100)]
set libvirt-GITPATH for both distros independently for now

10 years agolocal tests module
Thierry Parmentelat [Fri, 7 Feb 2014 08:08:35 +0000 (09:08 +0100)]
local tests module

10 years agolibvirt 121 build deps
Thierry Parmentelat [Fri, 7 Feb 2014 07:57:05 +0000 (08:57 +0100)]
libvirt 121 build deps

10 years agouse our own libvirt (1.0.4) for f18 and f20
Mohamed Larabi [Thu, 6 Feb 2014 14:59:37 +0000 (15:59 +0100)]
use our own libvirt (1.0.4) for f18 and f20

10 years agonodeimage before_libvirt_121
Thierry Parmentelat [Thu, 6 Feb 2014 14:34:56 +0000 (15:34 +0100)]
nodeimage

10 years agobuild VMs have a nicer hostname (dates have dots in them that get interpreted as...
Thierry Parmentelat [Wed, 5 Feb 2014 15:17:30 +0000 (16:17 +0100)]
build VMs have a nicer hostname (dates have dots in them that get interpreted as domain...)

10 years agoconfigure hostname as well on debian boxes
Thierry Parmentelat [Wed, 5 Feb 2014 14:33:15 +0000 (15:33 +0100)]
configure hostname as well on debian boxes

10 years agotry to fix initvm
Thierry Parmentelat [Wed, 5 Feb 2014 13:47:40 +0000 (14:47 +0100)]
try to fix initvm

10 years agojust being safe
Thierry Parmentelat [Wed, 5 Feb 2014 11:58:55 +0000 (12:58 +0100)]
just being safe

10 years agooops
Thierry Parmentelat [Wed, 5 Feb 2014 11:58:39 +0000 (12:58 +0100)]
oops

10 years agoset up ssh in debian boxes
Thierry Parmentelat [Wed, 5 Feb 2014 11:14:02 +0000 (12:14 +0100)]
set up ssh in debian boxes

10 years agoguessing distro from /etc/debian_version on a sid box..
Thierry Parmentelat [Tue, 4 Feb 2014 18:29:56 +0000 (19:29 +0100)]
guessing distro from /etc/debian_version on a sid box..

10 years agore-instating the auto eth0 line - that was not the problem
Thierry Parmentelat [Tue, 4 Feb 2014 16:38:33 +0000 (17:38 +0100)]
re-instating the auto eth0 line - that was not the problem

10 years ago4 letters here
Thierry Parmentelat [Tue, 4 Feb 2014 15:49:43 +0000 (16:49 +0100)]
4 letters here

10 years ago2 minutes will be more than enough
Thierry Parmentelat [Tue, 4 Feb 2014 15:48:25 +0000 (16:48 +0100)]
2 minutes will be more than enough

10 years agofix network config for debian boxes in test mode
Thierry Parmentelat [Tue, 4 Feb 2014 15:39:28 +0000 (16:39 +0100)]
fix network config for debian boxes in test mode

10 years agotweaks for creating VMs
Thierry Parmentelat [Tue, 4 Feb 2014 12:19:55 +0000 (13:19 +0100)]
tweaks for creating VMs

10 years agosupport for jessie the latest debian
Thierry Parmentelat [Tue, 4 Feb 2014 09:54:07 +0000 (10:54 +0100)]
support for jessie the latest debian

10 years agooops, build shell is not intended to run 'failure' from the VM
Thierry Parmentelat [Fri, 31 Jan 2014 09:37:11 +0000 (10:37 +0100)]
oops, build shell is not intended to run 'failure' from the VM

10 years agominor tweaks
Thierry Parmentelat [Fri, 31 Jan 2014 09:35:28 +0000 (10:35 +0100)]
minor tweaks

10 years agoreview switches of set -e / set +e and related trap calls
Thierry Parmentelat [Thu, 30 Jan 2014 17:31:50 +0000 (18:31 +0100)]
review switches of set -e / set +e and related trap calls

10 years agoremove vbuild scripts
Thierry Parmentelat [Thu, 30 Jan 2014 17:24:07 +0000 (18:24 +0100)]
remove vbuild scripts

10 years agotentative cleanup of really old/dirty patches required a long time ago
Thierry Parmentelat [Wed, 29 Jan 2014 10:11:43 +0000 (11:11 +0100)]
tentative cleanup of really old/dirty patches required a long time ago

10 years agocleanup
Thierry Parmentelat [Wed, 29 Jan 2014 09:45:42 +0000 (10:45 +0100)]
cleanup

10 years agohave seen the script hanging when running ssh to invoke run_log - this ssh invokation...
Thierry Parmentelat [Wed, 29 Jan 2014 09:41:28 +0000 (10:41 +0100)]
have seen the script hanging when running ssh to invoke run_log - this ssh invokation does not have -n any longer

10 years agokeep only defaults relevant to the inria end
Thierry Parmentelat [Wed, 29 Jan 2014 09:37:57 +0000 (10:37 +0100)]
keep only defaults relevant to the inria end

10 years agoreports retcod from run_log
Thierry Parmentelat [Mon, 27 Jan 2014 13:31:06 +0000 (14:31 +0100)]
reports retcod from run_log

10 years agocosmetic
Thierry Parmentelat [Mon, 27 Jan 2014 09:01:41 +0000 (10:01 +0100)]
cosmetic

10 years agorun_log retcod now is
Thierry Parmentelat [Sat, 25 Jan 2014 22:49:30 +0000 (23:49 +0100)]
run_log retcod now is
    # 0: SUCCESS
    # 1: FAILURE
    # 2: SUCCESS but some ignored steps failed
    # 3: OTHER ERROR

10 years agodbg
Thierry Parmentelat [Fri, 24 Jan 2014 20:09:22 +0000 (21:09 +0100)]
dbg

10 years agoretcod
Thierry Parmentelat [Fri, 24 Jan 2014 17:33:35 +0000 (18:33 +0100)]
retcod

10 years agointerpret retcod from run_log to expose the fact that there were warings in mail...
Thierry Parmentelat [Fri, 24 Jan 2014 11:20:33 +0000 (12:20 +0100)]
interpret retcod from run_log to expose the fact that there were warings in mail and stamp files

10 years agoget rid of bin_in_container, use bash to find out commands in guest instead
Thierry Parmentelat [Fri, 24 Jan 2014 10:44:00 +0000 (11:44 +0100)]
get rid of bin_in_container, use bash to find out commands in guest instead

10 years agoone single simpler command to create build or test vms
Thierry Parmentelat [Fri, 24 Jan 2014 10:41:01 +0000 (11:41 +0100)]
one single simpler command to create build or test vms

10 years agolxc root fs might be created already but almost empty, with the timestamp in it only
Thierry Parmentelat [Thu, 23 Jan 2014 17:16:14 +0000 (18:16 +0100)]
lxc root fs might be created already but almost empty, with the timestamp in it only

10 years agotrash more code about the unused private address space
Thierry Parmentelat [Thu, 23 Jan 2014 15:43:31 +0000 (16:43 +0100)]
trash more code about the unused private address space

10 years agoclean up networking code
Thierry Parmentelat [Thu, 23 Jan 2014 15:28:16 +0000 (16:28 +0100)]
clean up networking code
in build mode we rely on DHCP and so everything is as simple as it gets

10 years agogitignore
Thierry Parmentelat [Thu, 23 Jan 2014 15:11:50 +0000 (16:11 +0100)]
gitignore

10 years agorepair logic, we were creating lcxroot before checking it was non-existent
Thierry Parmentelat [Thu, 23 Jan 2014 14:28:23 +0000 (15:28 +0100)]
repair logic, we were creating lcxroot before checking it was non-existent

10 years agoclose stdin in an attempt to improve builds for deb/ubuntu that tend to hang when...
Thierry Parmentelat [Thu, 23 Jan 2014 14:18:57 +0000 (15:18 +0100)]
close stdin in an attempt to improve builds for deb/ubuntu that tend to hang when run in terminal

10 years agotake away the extra /rootfs/ level
Thierry Parmentelat [Thu, 23 Jan 2014 14:15:48 +0000 (15:15 +0100)]
take away the extra /rootfs/ level
in orther words put stuff right in /vservers/$lxc/  - *not* in /vsevers/$lxc/rootfs/

10 years agofix for ubuntu, forgot some $verser in there
Thierry Parmentelat [Thu, 23 Jan 2014 13:54:39 +0000 (14:54 +0100)]
fix for ubuntu, forgot some $verser in there

10 years agodon’t keep xml file
Thierry Parmentelat [Thu, 23 Jan 2014 13:54:16 +0000 (14:54 +0100)]
don’t keep xml file

10 years agoaddition for adding the universe feed to ubuntu for python-rpm that is crucially...
Thierry Parmentelat [Thu, 23 Jan 2014 13:46:31 +0000 (14:46 +0100)]
addition for adding the universe feed to ubuntu for python-rpm that is crucially needed for our builds

10 years agotrash old code
Thierry Parmentelat [Thu, 23 Jan 2014 13:46:02 +0000 (14:46 +0100)]
trash old code

10 years agohave to duplicate bin_in_container..
Thierry Parmentelat [Thu, 23 Jan 2014 12:18:37 +0000 (13:18 +0100)]
have to duplicate bin_in_container..

10 years agousing virsh lxc-enter-namespace instead of lxcsu
Thierry Parmentelat [Thu, 23 Jan 2014 11:56:30 +0000 (12:56 +0100)]
using virsh lxc-enter-namespace instead of lxcsu
first this is better b/c it removes a dependency
second it should improve our ability to run debian build containers
drawback is the lack of a PATH-searching feature

10 years agoignored steps (-i) can be passed to run_log just like excluded ones (-1) already...
Thierry Parmentelat [Thu, 23 Jan 2014 10:22:17 +0000 (11:22 +0100)]
ignored steps (-i) can be passed to run_log just like excluded ones (-1) already were

10 years agomore sensible name develdeb.pkgs as it is used for all debians
Thierry Parmentelat [Thu, 23 Jan 2014 09:44:01 +0000 (10:44 +0100)]
more sensible name develdeb.pkgs as it is used for all debians

10 years agofix PATH
Thierry Parmentelat [Wed, 22 Jan 2014 17:06:22 +0000 (18:06 +0100)]
fix PATH

10 years agowould be much simpler if enter-lxc-namespace was looking along a PATH...
Thierry Parmentelat [Wed, 22 Jan 2014 15:29:58 +0000 (16:29 +0100)]
would be much simpler if enter-lxc-namespace was looking along a PATH...

10 years agoignore result of extra apt-get for now
Thierry Parmentelat [Wed, 22 Jan 2014 15:24:15 +0000 (16:24 +0100)]
ignore result of extra apt-get for now

10 years agoconfigure debian internal interface
Thierry Parmentelat [Wed, 22 Jan 2014 15:15:45 +0000 (16:15 +0100)]
configure debian internal interface

10 years agoblind test
Thierry Parmentelat [Wed, 22 Jan 2014 14:36:59 +0000 (15:36 +0100)]
blind test

10 years agoadd /bin and /sbin in PATH more permanently as other commands might need that
Thierry Parmentelat [Wed, 22 Jan 2014 14:08:20 +0000 (15:08 +0100)]
add /bin and /sbin in PATH more permanently as other commands might need that

10 years agofix parenthesing
Thierry Parmentelat [Wed, 22 Jan 2014 13:22:20 +0000 (14:22 +0100)]
fix parenthesing

10 years agoconfigure ifcfg in fedora vms only
Thierry Parmentelat [Wed, 22 Jan 2014 13:01:54 +0000 (14:01 +0100)]
configure ifcfg in fedora vms only

10 years agolet’s see how a debian build would go
Thierry Parmentelat [Wed, 22 Jan 2014 12:13:58 +0000 (13:13 +0100)]
let’s see how a debian build would go

10 years agotweak PATH for debootstrap
Thierry Parmentelat [Wed, 22 Jan 2014 12:04:05 +0000 (13:04 +0100)]
tweak PATH for debootstrap

10 years agolbuild-nightly has reached the point where it invokes run_log in testmaster
Thierry Parmentelat [Wed, 22 Jan 2014 11:46:51 +0000 (12:46 +0100)]
lbuild-nightly has reached the point where it invokes run_log in testmaster

10 years agobugfix for debian
Thierry Parmentelat [Wed, 22 Jan 2014 09:55:41 +0000 (10:55 +0100)]
bugfix for debian

10 years agooops
Thierry Parmentelat [Wed, 22 Jan 2014 09:34:30 +0000 (10:34 +0100)]
oops

10 years agofor testing
Thierry Parmentelat [Wed, 22 Jan 2014 09:32:49 +0000 (10:32 +0100)]
for testing

10 years agoturn off sface in lxc too
Thierry Parmentelat [Wed, 22 Jan 2014 08:31:11 +0000 (09:31 +0100)]
turn off sface in lxc too

10 years agoless and emacs-nox in slice
Thierry Parmentelat [Wed, 22 Jan 2014 07:43:21 +0000 (08:43 +0100)]
less and emacs-nox in slice

10 years agonormalize connect URI for virsh
Thierry Parmentelat [Wed, 22 Jan 2014 07:36:02 +0000 (08:36 +0100)]
normalize connect URI for virsh

10 years agoneed to pass -c lxc:/// to virsh
Thierry Parmentelat [Wed, 22 Jan 2014 07:35:45 +0000 (08:35 +0100)]
need to pass -c lxc:/// to virsh

10 years agobugfix
Thierry Parmentelat [Tue, 21 Jan 2014 20:41:00 +0000 (21:41 +0100)]
bugfix

10 years agoscrewed up when a hack was discarded
Thierry Parmentelat [Tue, 21 Jan 2014 17:03:24 +0000 (18:03 +0100)]
screwed up when a hack was discarded

10 years agoreach the point where /build gets clones in guest
Thierry Parmentelat [Tue, 21 Jan 2014 16:39:07 +0000 (17:39 +0100)]
reach the point where /build gets clones in guest

10 years agouse a simpler setup through virbr0 and dhcp for build-oriented containers
Thierry Parmentelat [Tue, 21 Jan 2014 16:37:51 +0000 (17:37 +0100)]
use a simpler setup through virbr0 and dhcp for build-oriented containers

10 years agostill not working for building on lxc but getting closer
Thierry Parmentelat [Tue, 21 Jan 2014 13:16:14 +0000 (14:16 +0100)]
still not working for building on lxc but getting closer
use IP address last byte to compute name of the host vif device

10 years agomajor cleanup of lxc vm creation script
Thierry Parmentelat [Tue, 21 Jan 2014 12:30:21 +0000 (13:30 +0100)]
major cleanup of lxc vm creation script
new signature (one argument, the domainname, the rest as options, even if some are required, like e.g. the hostname for the ltest mode)
does not require to specifiy an ethernet interface, can figure it out
does not require an IP address, can figure it out
only use ‘ip’ and not ‘ifconfig’ or ‘route’ anymore
trashed sequels of lxc-tools (config file)
at this point only tested in ltest mode, lbuild is underway
note that this requires changes to the tests module as well since the signature has changed

10 years agooops, fix onelab.mk for a missing endif
Thierry Parmentelat [Tue, 21 Jan 2014 10:20:00 +0000 (11:20 +0100)]
oops, fix onelab.mk for a missing endif

10 years agodo not build sface anymore
Thierry Parmentelat [Mon, 20 Jan 2014 10:29:47 +0000 (11:29 +0100)]
do not build sface anymore

10 years agoupdate list of debian-based distros
Thierry Parmentelat [Mon, 20 Jan 2014 07:33:53 +0000 (08:33 +0100)]
update list of debian-based distros

10 years agoprepare a placeholder for debian-oriented code
Thierry Parmentelat [Mon, 20 Jan 2014 07:32:18 +0000 (08:32 +0100)]
prepare a placeholder for debian-oriented code