4 years agoadded check for ssl _create_unverified_context when talking to API master
Ciro Scognamiglio [Tue, 10 Nov 2015 13:29:41 +0000]
added check for ssl _create_unverified_context when talking to API

4 years agosame as previous change : ignore error when producing the rsa1 ssh key
Thierry Parmentelat [Mon, 9 Nov 2015 11:38:57 +0000]
same as previous change : ignore error when producing the rsa1 ssh key

4 years agowhen generating keys inside the bootcd environment, ignore errors about the rsa1...
Thierry Parmentelat [Mon, 9 Nov 2015 10:40:06 +0000]
when generating keys inside the bootcd environment, ignore errors about the rsa1 key type, as support for this has been dropped apparently in f23

4 years agonot noarch anymore
Thierry Parmentelat [Sat, 7 Nov 2015 13:00:59 +0000]
not noarch anymore

4 years agomake debugmode can push this code on board a node in debug mode (aka safeboot)
Thierry Parmentelat [Fri, 30 Oct 2015 15:33:14 +0000]
make debugmode can push this code on board a node in debug mode (aka safeboot)

4 years agofix for when upgrading too old nodes
Thierry Parmentelat [Thu, 8 Oct 2015 12:45:29 +0000]
fix for when upgrading too old nodes

4 years agoSetting tag bootmanager-5.3-1 bootmanager-5.3-1
Thierry Parmentelat [Fri, 26 Jun 2015 11:54:05 +0000]
Setting tag bootmanager-5.3-1
Use TLSv1 to connect to myplc, instead of SSLv3 that is known to be broken
Can implement 'upgrade' in addition to 'reinstall' boot state
upgrade does essentially the same as reinstall except that slices are preserved
upgrade works only on nodes already running containers
because /vservers/ needs to be a btrfs filesystem
pycurl is now a strong requirement (old curl-based code removed)
bugfix for ssh key generation (were all typed rsa1)
a lot of prettification

4 years agoremove old code that was filling in for when pycurl is not available
Thierry Parmentelat [Fri, 26 Jun 2015 11:35:47 +0000]
remove old code that was filling in for when pycurl is not available
even f12 bootCDs have pycurl

4 years agosimplified PARTITIONS to use one entry per each partition
Thierry Parmentelat [Thu, 25 Jun 2015 21:49:08 +0000]
simplified PARTITIONS to use one entry per each partition
we used to have e.g. PARTITIONS['root'] and PARTITIONS['mapper-root']
but we don't need them both and it makes things confusing

4 years agovgchange is required so that /dev/mapper/* and /dev/planetlab/* show up when upgrading
Thierry Parmentelat [Thu, 25 Jun 2015 21:30:17 +0000]
vgchange is required so that /dev/mapper/* and /dev/planetlab/* show up when upgrading

4 years agoadd debug messages about the status of partitions
Thierry Parmentelat [Thu, 25 Jun 2015 21:02:03 +0000]
add debug messages about the status of partitions

4 years agotry to fix upgrade mode - run vgscan --mknodes
Thierry Parmentelat [Thu, 25 Jun 2015 16:29:52 +0000]
try to fix upgrade mode - run vgscan --mknodes
apparently not enough though

4 years agonotes about an idea to rpm install a more recent btrfs-progs rpm in f14 boot-cds...
Thierry Parmentelat [Thu, 25 Jun 2015 16:29:15 +0000]
notes about an idea to rpm install a more recent btrfs-progs rpm in f14 boot-cds, but no place in the ramfs...

4 years agoupgrade mode was not working; CheckForNewDisks was erroneously taking the disk as...
Thierry Parmentelat [Thu, 25 Jun 2015 11:09:08 +0000]
upgrade mode was not working; CheckForNewDisks was erroneously taking the disk as not yet in the volume, and would destroy everything
this is now taken care of by beinf a llittle more conservative in ChekForNewDisks

4 years agorename util get_block_device_list into get_block_devices_dict and clean up its usage
Thierry Parmentelat [Wed, 24 Jun 2015 14:47:45 +0000]
rename util get_block_device_list into get_block_devices_dict and clean up its usage

4 years agobreakpoint messages always show up
Thierry Parmentelat [Wed, 24 Jun 2015 14:44:12 +0000]
breakpoint messages always show up

4 years agouse git ls-files to make tags
Thierry Parmentelat [Wed, 24 Jun 2015 13:44:59 +0000]
use git ls-files to make tags

4 years agosmall cosmetic changes
Thierry Parmentelat [Wed, 24 Jun 2015 12:59:08 +0000]
small cosmetic changes

4 years agoprettyfied
Thierry Parmentelat [Tue, 23 Jun 2015 13:36:56 +0000]
prettyfied

4 years agoa first stab at upgrading nodes
Thierry Parmentelat [Tue, 23 Jun 2015 11:22:46 +0000]
a first stab at upgrading nodes
not working yet, but I need to build all this

4 years agoalways use print_function
Thierry Parmentelat [Tue, 23 Jun 2015 07:24:37 +0000]
always use print_function

4 years agouse TLSv1 instead of SSLv3
Thierry Parmentelat [Sun, 21 Jun 2015 17:08:50 +0000]
use TLSv1 instead of SSLv3

4 years agoremove breakpoints, and use log instead of print when possible
Thierry Parmentelat [Wed, 29 Apr 2015 09:30:41 +0000]
remove breakpoints, and use log instead of print when possible

4 years agostill prettifying
Thierry Parmentelat [Wed, 29 Apr 2015 09:25:49 +0000]
still prettifying

4 years agowas meant with previous commit
Thierry Parmentelat [Wed, 29 Apr 2015 09:03:03 +0000]
was meant with previous commit

4 years agooops
Thierry Parmentelat [Tue, 28 Apr 2015 11:21:13 +0000]
oops

4 years agoprettifying source/
Thierry Parmentelat [Tue, 28 Apr 2015 11:09:34 +0000]
prettifying source/
comprehension instead of map

4 years agothis well deserves a minor bump in version number
Thierry Parmentelat [Tue, 28 Apr 2015 10:15:28 +0000]
this well deserves a minor bump in version number

4 years agodone prettifying
Thierry Parmentelat [Tue, 28 Apr 2015 10:14:42 +0000]
done prettifying

4 years agobugfix for ssh key generation (were all typed rsa1)
Thierry Parmentelat [Tue, 28 Apr 2015 09:53:40 +0000]
bugfix for ssh key generation (were all typed rsa1)

4 years agomore prettifying
Thierry Parmentelat [Tue, 28 Apr 2015 09:53:12 +0000]
more prettifying

4 years agooops
Thierry Parmentelat [Tue, 28 Apr 2015 09:21:39 +0000]
oops

4 years agooops
Thierry Parmentelat [Tue, 28 Apr 2015 08:47:30 +0000]
oops

4 years agono real change, just made prettier with a more standard layout - half of steps
Thierry Parmentelat [Tue, 28 Apr 2015 00:15:48 +0000]
no real change, just made prettier with a more standard layout - half of steps

4 years agonew boot_state 'upgrade' is recognized much like 'reinstall'
Thierry Parmentelat [Fri, 24 Apr 2015 15:15:27 +0000]
new boot_state 'upgrade' is recognized much like 'reinstall'
in this first rough implementation, a node in 'upgrade' mode goes through almost exactly the same steps as 'reinstall'  except for re-partitioning
one possible drawback of this approach is we might en up with too much stuff in /
that is to say we might need to clean up manually some areas of the system to avoid accumulating things from previous releases

4 years agopurely cosmetic: white spaces, .format rather than %, this kind of things only
Thierry Parmentelat [Fri, 24 Apr 2015 15:08:03 +0000]
purely cosmetic: white spaces, .format rather than %, this kind of things only

4 years agomake sync does not use lxc-enter-namespace
Thierry Parmentelat [Fri, 24 Apr 2015 14:07:28 +0000]
make sync does not use lxc-enter-namespace

4 years agoonly cosmetic
Thierry Parmentelat [Fri, 24 Apr 2015 13:16:32 +0000]
only cosmetic

5 years agoSetting tag bootmanager-5.2-5 bootmanager-5.2-5 bootmanager-5.3-0
Thierry Parmentelat [Wed, 16 Jul 2014 10:13:07 +0000]
Setting tag bootmanager-5.2-5
runs AnsibleHook, that optionnally runs playbooks (by default, usual behaviour)
introduces the ONE_PARTITION configuration variable
some suport for chainbooting ubuntu

5 years agoMerge branch 'ansible'
Thierry Parmentelat [Thu, 15 May 2014 09:28:36 +0000]
Merge branch 'ansible'

5 years agoSetting tag bootmanager-5.2-4 bootmanager-5.2-4
Thierry Parmentelat [Mon, 28 Apr 2014 11:00:06 +0000]
Setting tag bootmanager-5.2-4
no functional change, only tweaks in Makefile for interating with test environment

5 years agodefine extensions in vars even if not yet set ansible
Thierry Parmentelat [Wed, 16 Apr 2014 22:12:40 +0000]
define extensions in vars even if not yet set

5 years agoMerge branch 'ansible' of ssh://git.planet-lab.org/git/bootmanager into ansible
Sapan Bhatia [Wed, 16 Apr 2014 06:41:41 +0000]
Merge branch 'ansible' of ssh://git.planet-lab.org/git/bootmanager into ansible

5 years agoThe extensions variable is not expected to be in the configuration file if the latest...
Sapan Bhatia [Wed, 16 Apr 2014 06:41:37 +0000]
The extensions variable is not expected to be in the configuration file if the latest version of MyPLC is installed

5 years agofor debugging - print stack in case of exceptions caught at toplevel
Thierry Parmentelat [Wed, 16 Apr 2014 06:24:15 +0000]
for debugging - print stack in case of exceptions caught at toplevel

5 years agofix make sync for the current state of the test infra
Thierry Parmentelat [Wed, 16 Apr 2014 06:18:41 +0000]
fix make sync for the current state of the test infra

5 years agofix make sync for the current state of the test infra
Thierry Parmentelat [Wed, 16 Apr 2014 06:18:41 +0000]
fix make sync for the current state of the test infra

5 years agoMore workarounds for MyPLC 5.0
Sapan Bhatia [Fri, 4 Apr 2014 21:38:43 +0000]
More workarounds for MyPLC 5.0

5 years agoWorkaround to make extensions variable work with MyPLC 5.0
Sapan Bhatia [Fri, 4 Apr 2014 21:34:19 +0000]
Workaround to make extensions variable work with MyPLC 5.0

5 years agoCopy and paste error
Sapan Bhatia [Fri, 4 Apr 2014 21:18:18 +0000]
Copy and paste error

5 years agoAdd AnsibleHook step to list of available modules
Sapan Bhatia [Fri, 4 Apr 2014 20:58:41 +0000]
Add AnsibleHook step to list of available modules

5 years agoSet ONE_PARTITION if you want to make one giant root partition
Sapan Bhatia [Thu, 3 Apr 2014 18:46:30 +0000]
Set ONE_PARTITION if you want to make one giant root partition

5 years agoChanges to support running BootManager 5.2 on MyPLC < 5.2
Sapan Bhatia [Thu, 3 Apr 2014 18:39:30 +0000]
Changes to support running BootManager 5.2 on MyPLC < 5.2

5 years agoStep to hook into Ansible
Sapan Bhatia [Tue, 1 Apr 2014 12:43:13 +0000]
Step to hook into Ansible

5 years agoIgnore vservers partition
Sapan Bhatia [Tue, 1 Apr 2014 04:08:04 +0000]
Ignore vservers partition

5 years agoFixed path to Ubuntus initrd
Sapan Bhatia [Tue, 1 Apr 2014 04:03:10 +0000]
Fixed path to Ubuntus initrd

5 years agoLook for kernel in image, not in root
Sapan Bhatia [Tue, 1 Apr 2014 03:55:29 +0000]
Look for kernel in image, not in root

5 years agoDrop node manager and node update
Sapan Bhatia [Tue, 1 Apr 2014 03:48:13 +0000]
Drop node manager and node update

5 years agoDrop call to authconfig in generic distribution
Sapan Bhatia [Tue, 1 Apr 2014 03:42:38 +0000]
Drop call to authconfig in generic distribution

5 years agoDon't write vservers to fstab for non-rpm
Sapan Bhatia [Tue, 1 Apr 2014 03:37:02 +0000]
Don't write vservers to fstab for non-rpm

5 years agoSupport non-rpm distributions
Sapan Bhatia [Tue, 1 Apr 2014 03:15:46 +0000]
Support non-rpm distributions

5 years agoSupport kernel check other than rpm
Sapan Bhatia [Tue, 1 Apr 2014 02:18:03 +0000]
Support kernel check other than rpm

5 years agoTabulation issue
Sapan Bhatia [Mon, 31 Mar 2014 23:15:19 +0000]
Tabulation issue

5 years agoIntroduce new variable: ONE_PARTITION for indicating single-partition installations
Sapan Bhatia [Mon, 31 Mar 2014 23:13:07 +0000]
Introduce new variable: ONE_PARTITION for indicating single-partition installations

5 years agoTypo
Sapan Bhatia [Mon, 31 Mar 2014 23:03:38 +0000]
Typo

5 years agoDon't mount vservers partition if absent
Sapan Bhatia [Mon, 31 Mar 2014 23:00:44 +0000]
Don't mount vservers partition if absent

5 years agoDon't mount vservers partition if absent
Sapan Bhatia [Mon, 31 Mar 2014 22:42:34 +0000]
Don't mount vservers partition if absent

5 years agoROOT_SIZE is a string not a number
Sapan Bhatia [Mon, 31 Mar 2014 22:29:42 +0000]
ROOT_SIZE is a string not a number

5 years agoIdentify kernel version in a way that does not depend on rpm
Sapan Bhatia [Mon, 31 Mar 2014 21:31:01 +0000]
Identify kernel version in a way that does not depend on rpm

5 years agoSupport having only one partition
Sapan Bhatia [Mon, 31 Mar 2014 21:20:00 +0000]
Support having only one partition

5 years agoSetting tag bootmanager-5.2-3 bootmanager-5.2-3
Thierry Parmentelat [Tue, 25 Mar 2014 13:19:35 +0000]
Setting tag bootmanager-5.2-3
some old f18 bootCDs do not support mkfs.btrfs -f
so invoke this option only when supported

5 years agoinvoke mkfs.btrfs with -f only if supported
Thierry Parmentelat [Fri, 21 Mar 2014 17:19:02 +0000]
invoke mkfs.btrfs with -f only if supported

5 years agoSetting tag bootmanager-5.2-2 bootmanager-5.2-2
Thierry Parmentelat [Fri, 21 Mar 2014 15:12:59 +0000]
Setting tag bootmanager-5.2-2
conf_files.py is expected in /usr/share/NodeManager, not in /etc/init.d any more
smarter for locating initrd, for f20
add -f to mkfs.btrfs - sometimes hangs otherwise

5 years agotypo
Thierry Parmentelat [Tue, 14 Jan 2014 14:27:18 +0000]
typo

5 years agoavoid using conf_files initscript that might go when moving to systemd
Thierry Parmentelat [Tue, 14 Jan 2014 14:27:02 +0000]
avoid using conf_files initscript that might go when moving to systemd

5 years agoinitrd has a new location under /boot/ in f20
Thierry Parmentelat [Sat, 11 Jan 2014 15:14:48 +0000]
initrd has a new location under /boot/ in f20

5 years agoThomas's fix about calling mkfs.btrfs with the -f option
Thierry Parmentelat [Sun, 22 Dec 2013 09:50:37 +0000]
Thomas's fix about calling mkfs.btrfs with the -f option

6 years agoSetting tag bootmanager-5.2-1 bootmanager-5.2-1
Thierry Parmentelat [Thu, 7 Mar 2013 07:39:09 +0000]
Setting tag bootmanager-5.2-1
merged the branches for vserver and lxc
requires the rest of 5.2 - notably 'virt' in GetNodeFlavour
note that WriteModprobeConfig and MakeInitrd are turned off for lxc nodes
also note that fsck management for btrfs/lxc is still weak
vs_ROOT_SIZE=14G lxc_ROOT_SIZE=70G
vs_TOTAL_MINIMUM_DISK_SIZE=50G lxc_TOTAL_MINIMUM_DISK_SIZE=120G
expects ntpd to be turned on in the nodeimage

6 years agoturning on ntpd is now done in the nodeimage (post script) directly
Thierry Parmentelat [Wed, 27 Feb 2013 16:18:38 +0000]
turning on ntpd is now done in the nodeimage (post script) directly

6 years agobugfixes
Thierry Parmentelat [Wed, 27 Feb 2013 12:41:56 +0000]
bugfixes

6 years agomerged 5.0 (traditional vserver-based) and 5.1 (aka lxc_devel)
Thierry Parmentelat [Wed, 27 Feb 2013 12:41:33 +0000]
merged 5.0 (traditional vserver-based) and 5.1 (aka lxc_devel)
now retrieves GetNodeFlavour as part of GetNodeDetails
and stores result as global vars['node_flavour']
this one now is expected to include the 'virt' tag
as either 'vs' or 'lxc' and act accordingly
STILL MISSING
fsck under btrfs, i.e.
* turn off periodic fsck in InstallPartitionDisk, and
* explicitly run fsck in ValidateNodeInstall
ALSO
the MakeInitrd and WriteModprobeConfig steps are turned off with lxc

6 years agobump major to 5.2 - preparing for the merge
Thierry Parmentelat [Wed, 27 Feb 2013 06:40:12 +0000]
bump major to 5.2 - preparing for the merge

6 years agolog more details
Thierry Parmentelat [Tue, 26 Feb 2013 20:13:16 +0000]
log more details

6 years agojust print out node's 'virt' as gotten from GetNodeFlavour
Thierry Parmentelat [Tue, 26 Feb 2013 16:14:17 +0000]
just print out node's 'virt' as gotten from GetNodeFlavour

7 years agoSetting tag bootmanager-5.0-24 5.0 bootmanager-5.0-24 bootmanager-5.2-0
Thierry Parmentelat [Fri, 31 Aug 2012 17:40:15 +0000]
Setting tag bootmanager-5.0-24
run parted with --script to avoid it to hang

7 years agorun parted with the --script option to prevent from hanging
Thierry Parmentelat [Fri, 31 Aug 2012 09:58:21 +0000]
run parted with the --script option to prevent from hanging
also use more explicit --list option instead of -l

7 years agoSetting tag bootmanager-5.0-23 bootmanager-5.0-23
Thierry Parmentelat [Mon, 9 Jul 2012 09:44:32 +0000]
Setting tag bootmanager-5.0-23
added support for disks larger than 2Tb using gpt instead of msdos

7 years agoimprove rendering in log
Thierry Parmentelat [Sat, 30 Jun 2012 06:48:48 +0000]
improve rendering in log

7 years agoanother angle to the 'try msdos, fallback to gpt' approach
Thierry Parmentelat [Fri, 29 Jun 2012 18:19:48 +0000]
another angle to the 'try msdos, fallback to gpt' approach

7 years agoadd a comment about why this partitioning code is still broken
Thierry Parmentelat [Fri, 29 Jun 2012 16:35:19 +0000]
add a comment about why this partitioning code is still broken

7 years agosfdisk does not support gpt partition tables
Sapan Bhatia [Thu, 28 Jun 2012 08:25:43 +0000]
sfdisk does not support gpt partition tables

7 years agopartition tables using gpt instead of msdos with disks larger than 2TB
Thierry Parmentelat [Wed, 27 Jun 2012 11:27:05 +0000]
partition tables using gpt instead of msdos with disks larger than 2TB

7 years agoSetting tag bootmanager-5.0-22 bootmanager-5.0-22
Thierry Parmentelat [Tue, 15 May 2012 11:16:11 +0000]
Setting tag bootmanager-5.0-22
bootmanager log clearly states duration of download and extraction of node image

7 years agowhoops
Thierry Parmentelat [Tue, 15 May 2012 10:20:34 +0000]
whoops

7 years agoeasier to retrieve duration for downloading/extracting install image
Thierry Parmentelat [Tue, 15 May 2012 08:27:57 +0000]
easier to retrieve duration for downloading/extracting install image

7 years agoSetting tag bootmanager-5.0-21 bootmanager-5.0-21
Thierry Parmentelat [Fri, 13 Apr 2012 14:39:56 +0000]
Setting tag bootmanager-5.0-21
no significant change, just checkpoint as 5.1 is addressing lxc

7 years agonew make sync for vs or lxc
Thierry Parmentelat [Mon, 2 Apr 2012 15:43:49 +0000]
new make sync for vs or lxc

7 years agono change - only added comment
Thierry Parmentelat [Thu, 29 Mar 2012 08:17:17 +0000]
no change - only added comment

8 years agoSetting tag bootmanager-5.0-20 bootmanager-5.0-20 bootmanager-5.1-0
Thierry Parmentelat [Thu, 7 Jul 2011 08:46:31 +0000]
Setting tag bootmanager-5.0-20
be more explicit on the node conf_file actually used
did this after a former PLC node tried to boot at PLE with its PLC plnode.txt still on a usb stick

8 years agowe're finding nodes that have old material from their time at PLC
Thierry Parmentelat [Sat, 25 Jun 2011 08:47:33 +0000]
we're finding nodes that have old material from their time at PLC
prints a summary line to say where the config file was found