Commit Graph

414 Commits (5817b0bffea33e7a99a8128dcf9e5426fa642a1f)

Author SHA1 Message Date
Michael Prokop 9adabd5743 MT#4469 Use arch=amd64 for Debian package repository
12 years ago
Michael Prokop 10cf16dce5 MT#4481 Do not re-create .ssh/authorized_keys but append data
12 years ago
Michael Prokop 919dd453a6 MT#4477 New boot option lowperformance to adjust system for VM usage
12 years ago
Michael Prokop bf8fe925db MT#4479 Explicitely install libc6-dev package
12 years ago
Michael Prokop e354bec498 MT#4467: if the default network device (eth0) is unconfigured try to retrieve configuration from eth1
12 years ago
Michael Prokop e574ca1a09 MT#4463 Fake uname syscall so Virtualbox Guest Addition installation works
12 years ago
Michael Prokop 728aef882a MT#4465 Stop prosody service with mounted /proc
12 years ago
Michael Prokop 1edd42441e MT#4463 New boot option vagrant to support baseline vagrant configuration
12 years ago
Michael Prokop d98899f9d7 Change "allow-hotplug" network setting into "auto" to get more consistent behaviour
12 years ago
Michael Prokop 8832daa7ee Revert MIRROR switch, causing issues with apt-pinning
12 years ago
Michael Prokop 8400101b67 Do not fail on missing 680FBA8A.asc key
12 years ago
Michael Prokop a1b3eb0fd3 Use Sipwise Debian mirror instead of debian.inode.at
12 years ago
Michael Prokop 477f76b2f8 Remove deprecated kantan deployment code
12 years ago
Michael Prokop caf0e8a4c7 Also send 'o' key to actually poweroff the system when requesting to do so
12 years ago
Michael Prokop 449a2e1aa7 We don't have a label on swap space in LVM, adjust accordingly
12 years ago
Michael Prokop 67176c732c Use label ngcp-swap for the swap partition no matter whether LVM or not
12 years ago
Andrew Pogrebennyk 640cf27bd9 Use installer version 0.11.5 for NGCP 3.0.
12 years ago
Andreas Granig 07ef018433 Add final 3.0 release.
12 years ago
Michael Prokop 1e3d5ad43d Stop prosody service after installation finished
12 years ago
Andrew Pogrebennyk 120ad3c372 Use new installer 0.11.3 for 3.0-rc2.
12 years ago
Michael Prokop 7db7939d2e Choose tagged installer versions if no Debian release specific build is available
12 years ago
Andrew Pogrebennyk aabd82c259 Use fixed installer v0.11.2 for 3.0-rc2.
12 years ago
Andrew Pogrebennyk 95ec8b6b1f Use installer version 0.11.1 for 3.0-rc2.
12 years ago
Andrew Pogrebennyk 7c6b9d62ab Use installer version 0.11.0 for 3.0-rc1.
12 years ago
Michael Prokop daabddf927 Directly access autobuild directory and skip its debian directory
12 years ago
Michael Prokop 6cdb6f6d05 Remove percona repository from release-* builds' sources.list
12 years ago
Michael Prokop 1ef383d6cc Kill glusterd daemon
12 years ago
Michael Prokop 53ae51e7f5 Exclude performance_schema database from list of databases for db-schema upload
12 years ago
Michael Prokop 4786ebd86f Stop glusterfs-server and monit processes
12 years ago
Michael Prokop 9d5d1169e5 Drop Sipdoc.net repository from sources.list
12 years ago
Michael Prokop 28d837e165 Use LVM by default, disable it only for 2.* releases
12 years ago
Jon Bonilla 816e2b549a Add fake fqdn to prevent Apache warnings
12 years ago
Michael Prokop 1be9a70f5b Use grml-chroot for dkms actions
12 years ago
Michael Prokop d5a93de19f log dkms actions
12 years ago
Michael Prokop 59707fb601 write full puppet.conf to be compatible with puppet from Debian/wheezy
12 years ago
Michael Prokop 72d85cac05 Log puppet output
12 years ago
Michael Prokop 356c3943fc Rework FQDN handling for puppet deployment
12 years ago
Michael Prokop 4f62c5a995 Revert "Use 100% instead of '-1' to address end of disk"
12 years ago
Michael Prokop 4cc1f8e4bc Use 100% instead of '-1' to address end of disk
12 years ago
Michael Prokop 8245a49299 Drop unused profile support
12 years ago
Michael Prokop 62e84ca134 Disable rsyslog remote logs, graylog doesn't live anymore
12 years ago
Michael Prokop e9e88494c6 Provide more descriptive error message when exiting during partition setup
12 years ago
Michael Prokop c59b011d0e Fail on errors during setup-storage, parted and mkswap
12 years ago
Michael Prokop 3655404727 Adjust script version handling for Git
12 years ago
Michael Prokop 1d2f4b66eb deployment.sh: no longer run under set -e + report fatal errors via set_deploy_status
12 years ago
Michael Prokop 0db5f3ae41 deployment.sh: adjust installer version detection for git + Debian multirelease support
12 years ago
Michael Prokop 13f2d09599 deployment.sh: export $TARGET_HOSTNAME as $HOSTNAME iff available
12 years ago
Michael Prokop cfa2a73cbd deployment.sh: set hostname before writing /etc/hosts
12 years ago
Michael Prokop f243bc2e3b deployment.sh: make sure `hostname` and `hostname --fqdn` return data from chroot
12 years ago
Michael Prokop 796a9c4e2a deployment.sh: redirect HTTP server output to /tmp/status_server.log
12 years ago
Michael Prokop 684cb80609 deployment.sh: set "$ip $ROLE $HOSTNAME" in /etc/hosts
12 years ago
Michael Prokop 40b474a67a deployment.sh: mention Debian release in deployment logo
12 years ago
Michael Prokop cb66e7eb82 deployment.sh: assign debian releases to all present installer versions
12 years ago
Andreas Granig 147ff5145e Add 2.8 release and deprecate releases older than 2.4
12 years ago
Andrew Pogrebennyk a210cc9507 deployment.sh: point 2.8-rc3 deployment to installer release 0.10.1
12 years ago
Michael Prokop 2750b667b9 deployment.sh: point 2.8-rc2 deployment to installer release 0.10.0
12 years ago
Michael Prokop ab607a5580 deployment: abort if someone is using an oudated ISO
12 years ago
Michael Prokop efd51f00b1 deployment: use *up* to 95% for /dev/mapper/ngcp-root
12 years ago
Michael Prokop 0a0bc9567c deployment: use 50% of RAM size for swap
12 years ago
Kirill Solomko 88f55d367f LVM fix swap at 5%
12 years ago
Kirill Solomko d00daf08ac fixed fai/disk-info tool name (used for LVM deployment)
12 years ago
Michael Prokop 1d4c96240e deployment: do not fail with multiple nameserver entries
12 years ago
Michael Prokop 08a4f4f0a4 deployment: run setup-storage under FAI's path
12 years ago
Michael Prokop 8fd88d5375 deployment: fix syntax error
12 years ago
Michael Prokop 87349637a2 deployment: export FAI's disklist for usage by setup-storage
12 years ago
Michael Prokop b7e32738b8 deployment: export LOGDIR for setup-storage
12 years ago
Michael Prokop f0cbadae18 deployment: provide LVM support
12 years ago
Andrew Pogrebennyk 273ad852a4 final update for 2.7.
13 years ago
Andrew Pogrebennyk 8b98131ac4 update for 2.7-rc3
13 years ago
Andrew Pogrebennyk c226418c04 use proper installer version for 2.7-rc2 deployment.
13 years ago
Kirill Solomko ac3f3ae5c6 added hard-drive vendor "LSI" into the supported list
13 years ago
Andreas Granig f0410b3334 Fix syntax error and reorder check.
13 years ago
Andreas Granig d5e46a6d3d Add more logic in finding a suitable install disk.
13 years ago
Michael Prokop 23ef82bbce move shared IPs from loopback to external interface
13 years ago
Michael Prokop 3825c90edf deployment: set *_ext on external device (usually eth0), not on internal device (eth1)
13 years ago
Michael Prokop a6b75e03c1 deployment: *_ext types should be assigned to ethX instead of lo interface
13 years ago
Michael Prokop b1d52fe271 deployment: execute ngcpcfg init-mgmt only if it's available
13 years ago
Michael Prokop c14c763d75 deployment: set up mgmt configuration for ngcpcfg
13 years ago
Michael Prokop 6a1da37b81 deployment: do not rely on /etc/ssh/ssh_host_rsa_key.pub + also register mgmt server
13 years ago
Michael Prokop a58b0d0366 deployment: do not use SSH host key of deployment system
13 years ago
Michael Prokop 9beb75d685 deployment: make sure eth1 of sp2 is pre-configured
13 years ago
Michael Prokop e55990a0a2 deployment: register SSH host key of sp2 on sp1
13 years ago
Michael Prokop 6268cc8306 deployment: set eth1 of sp2 to actual configuration, try to update ngcpcfg of sp1 when sp2 is deployed
13 years ago
Michael Prokop 681f4457c4 deployment: configure eth0 on sp2 system during deployment
13 years ago
Michael Prokop 609e6fa87d deployment: check for *a + *b hostnames, otherwise we'd break hostnames sp1 + sp2
13 years ago
Michael Prokop 6b057f5a6f deployment: check for ngcphostname boot option and iff set use for ngcp-network
13 years ago
Michael Prokop 637d3c257a deployment: install ngcp-ngcpcfg-carrier on non-mgmt systems in carrier env
13 years ago
Michael Prokop fc42f6d553 deployment: push ngcpcfg changes to shared storage
13 years ago
Michael Prokop 71bf60638a deployment: try to retrieve network.yml via 'ngcpcfg pull'
13 years ago
Michael Prokop ef5b3195d4 deployment: install SSH keys before running ngcp-installer
13 years ago
Michael Prokop 03ac9c36bc deployment: retrieve SSH keys from mgmt server
13 years ago
Michael Prokop 2bcfb9156c deployment: ngcpcfg commit after network.yml changes
13 years ago
Michael Prokop 31e838ac72 deployment: install locales-all by default
13 years ago
Michael Prokop 3150e3864f deployment: support rollout of ngcp-bootenv-carrier on mgmt systems
13 years ago
Michael Prokop 77f8b20a9b deployment: fix minor typo in status message
13 years ago
Michael Prokop c19592d80f Revert "deployment: try workaround to solve annoying replication issue"
13 years ago
Michael Prokop 2948dbaa33 deployment: try workaround to solve annoying replication issue
13 years ago
Michael Prokop 27eed530ee deployment: set dns + gateway config on DEFAULT_INSTALL_DEV
13 years ago
Michael Prokop a1835243cf deployment: set nameserver and gateway based on live environment
13 years ago
Michael Prokop 51b63b519d deployment: restart networking after grabbing /etc/network/interfaces via REST API
13 years ago
Michael Prokop 899d3c7f65 deployment: adjust ngcp-network to get all expected config settings
13 years ago
Michael Prokop 7e51cd53af deployment: set role definition for 2nd node and copy network.yml from shared on sp2
13 years ago
Michael Prokop 690b2d2a72 deployment: drop duplicated and conflicting host definition
13 years ago
Michael Prokop 0e611c17ef deployment: restrikt ngcp-network related steps to sp1 host
13 years ago
Michael Prokop fde0451d69 deployment: explicitely set hostname in ngcp-network
13 years ago
Michael Prokop 06ebe8f8cf deployment: store factory settings of network.yml before running ngcp-network, update file on glusterfs share
13 years ago
Michael Prokop 999edc5775 deployment: do not write /etc/hostname
13 years ago
Michael Prokop 40b45bd5c5 deployment: integrate ngcp-network for adjusting network.yml
13 years ago
Michael Prokop 1ea8908e38 deployment: support all revisions of the PERC RAID controller
13 years ago
Michael Prokop 6bdfd6c6c9 deployment: do not remove console-tools to get acpi-support-base installed by default
13 years ago
Michael Prokop 7656c4f988 deployment: get rid of already running SimpleHTTPServer processes
13 years ago
Michael Prokop 3578853a35 deployment: accept ngcpstatus boot option without arguments
13 years ago
Michael Prokop ccebd847d1 deployment: support boot option ngcpstatus for remote host querying
13 years ago
Michael Prokop 65b4f5525d deployment: support ngcphalt boot option also in non-kantan environments
13 years ago
Michael Prokop 253d56b024 deployment: log ngcp-installer cmdline
13 years ago
Michael Prokop f16fb9f527 deployment: provide status report via http://$DEPLOYMENT_SYSTEM:4242/status
13 years ago
Michael Prokop 0d9e56473c deployment: do not modify /etc/hosts if retrieving hosts config
13 years ago
Michael Prokop 20f088d3b0 deployment: adjust vlan-raw-device on-the-fly during deployment
13 years ago
Michael Prokop 60ea9fd1ed deployment: do not overwrite /etc/hosts if it was retrieved from mgmt system
13 years ago
Michael Prokop ec3be7ff90 deployment: also retrieve /etc/hosts through mgmt REST API
13 years ago
Michael Prokop d900c22bf1 deployment: make sure MAC address for internal and external device are different
13 years ago
Michael Prokop f145200fa0 deployment: generate udev rules before messing with network setup
13 years ago
Michael Prokop 02973975db Support ngcpmgmt boot option to retrieve network configuration through REST API
13 years ago
Michael Prokop b4075cd10b deployment: always use b0 as bonding device name in vlan setup
13 years ago
Michael Prokop b3c9fc7acd deployment: do not use logit function in script executed inside chroot
13 years ago
Michael Prokop 79e6d207c8 deployment: support ngcpvlan boot option
13 years ago
Michael Prokop 9e4aa6ad61 deployment: support ngcpreboot option to reboot after deployment
13 years ago
Michael Prokop 24a121d935 deployment: stop monit process
13 years ago
Michael Prokop 14b48a3217 deployment: display PRO role in deployment logo/banner
13 years ago
Michael Prokop d3b88ba482 deployment: initial central logging
13 years ago
Michael Prokop 2542f22baa Remove --skip-comments from first mysqldump cmdline
13 years ago
Michael Prokop e1c8e6cd4f Make both mysqldump command lines do the same
13 years ago
Michael Prokop a0d690b764 Drop --no-data in mysqldump command line
13 years ago
Jon Bonilla 1603177439 update installer-release mapping
13 years ago
Michael Prokop 87fdc1c426 deployment: add irqbalance to list of processed to stop
13 years ago
Michael Prokop 3006e6b1bd deployment: display running processes if rereading disk partition fails
13 years ago
Andrew Pogrebennyk 5e8d5bacd4 use installer version 0.8.1 for 2.6-rc1
13 years ago
Michael Prokop 9ed359ecf5 Make deployment script aware of 2.6-rc1 release
13 years ago
Michael Prokop 464cfa590b Run adjust_hb_device also on sp2
13 years ago
Michael Prokop cc90fb589c Support installing i386 systems using arch=i386 boot option
13 years ago
Michael Prokop e776564597 Support ngcpnoupload boot option to skip upload cfg/db dumps
13 years ago
Michael Prokop b86d6ce2ef Provide bootoption to trace executed commands
13 years ago
Michael Prokop c2ada492aa netscript: do not stop kamailio process
13 years ago
Michael Prokop 3e753633ee Support GPT partition tables for large disks
13 years ago
Michael Prokop e60f8c33d3 netscript: raise installer version to 0.7.3
13 years ago
Michael Prokop e04d388384 Get rid of released Debian packages when installing trunk release
13 years ago
Michael Prokop c68e2a0ae7 deployment: skip comments inside DB dump
13 years ago
Michael Prokop fddb1b01dd Get rid of config*.yml, constants*.yml + ngcp-installer*deb before rebooting
13 years ago
Michael Prokop ad7e8c47ef Display note that the MySQL connect error isn't an actual problem
13 years ago
Michael Prokop 16a3423fbe netscript: support setting Debian release via debianrelease boot option
13 years ago
Michael Prokop bd2e2094c3 provide trunk "dumps" of config.yml and constants.yml
13 years ago
Michael Prokop e85f7c5e40 DB dump: check for "Dump completed"
13 years ago
Michael Prokop b6bb9681f2 Increase timeout for upload DB dump
13 years ago
Michael Prokop d8d9888963 Run ngcpcfg commands during adjust_hb_device and move code to earlier step for consistency
13 years ago
Michael Prokop 9e6078c20f Set hb_device in config.yml on PRO systems during deployment
13 years ago
Michael Prokop 29cf092a63 Only upload DB dump of CE trunk installations
13 years ago
Michael Prokop 73a1494c3c deployment.sh: also destroy voisniff-ng process
13 years ago
Michael Prokop 5c0ddf31ff Some additional checks regarding mysqldump
13 years ago
Michael Prokop 76271b74b8 deployment.sh: always install openssh-server
13 years ago
Michael Prokop 114dc5c8b9 drop unused local mirror stuff and instead support installing 2.1 release / Debian/lenny
13 years ago
Michael Prokop 708c300357 upload DB dump only when installing a trunk release
13 years ago
Michael Prokop b1f32be663 deployment: initial database dump support
13 years ago
Andrew Pogrebennyk 0acaca40f9 use installer version 0.7.2 for new v2.5 deployments
13 years ago
Michael Prokop c3596e7c0b Support Virtualbox harddisks
13 years ago
Andrew Pogrebennyk af32d6256c use installer version 0.7.1 for 2.5 release
13 years ago
Michael Prokop 2079d6fe58 deployment.sh: add exim4 to list of services to stop
13 years ago
Michael Prokop e83f0c4ccb Display deployment script version in logo
13 years ago
Michael Prokop 35226f02da Log script version and boot kernel cmdline to /var/log/deployment.log
13 years ago
Michael Prokop 24900dece5 try setting SCRIPT_VERSION in deployment.sh
13 years ago
Michael Prokop b4d2fdc6ab Testing what happens with git-svn
13 years ago
Michael Prokop 58de811421 Set Id / Rev keywords in deployment.sh (still testing)
13 years ago
Andrew Pogrebennyk 50efdb03ba use sipwise's percona repository when ngcpautobuildrelease is set
13 years ago
Andrew Pogrebennyk b1c76ba543 deployment: use 0.6.7 as installer version for 2.5-rc2
13 years ago
Michael Prokop 1345af1b68 Install acpi acpid acpi-support-base in all our systems
13 years ago
Michael Prokop b67911554a deployment: use 0.6.4 as installer version for 2.5-rc1
13 years ago
Michael Prokop 75db22cfe6 deployment: provide usage example for IPv6 autoconfiguration
13 years ago
Michael Prokop de9bbf4566 deployment: support virtio disks
13 years ago
Michael Prokop c21e139a4f deployment: also kill atd and dbus-daemon during deployments
13 years ago
Michael Prokop ddb948d1da deployment: do not error out if rereading partition fails
13 years ago
Michael Prokop fe379e4390 Force kernel to reread partition table
13 years ago
Michael Prokop bea56bd7c7 Support puppet environments
13 years ago
Michael Prokop ed48a9c203 Add support for puppet deployment
13 years ago
Michael Prokop 71e070fae8 deployment: release new installer version for 2.4 release
13 years ago
Michael Prokop 47b6f7e5d2 deployment: new installer version for 2.2 release
13 years ago
Michael Prokop e848f55316 deployment.sh: re-add mkswap command
14 years ago
Michael Prokop 8f975fc1eb drop the init script for handling swap partition in CE again, drop mkswap call
14 years ago
Michael Prokop 0f72b594b9 create swap partition in all systems and enable swap partition on 1st boot in CE
14 years ago
Michael Prokop c0d7949631 update installer version
14 years ago
Michael Prokop e41d9b5a0d update for 2.4 release
14 years ago
Michael Prokop 62e86dabb6 support new release autobuilds
14 years ago
Michael Prokop b11244efbb assume 127.0.0.1 $HOSTNAME for /etc/hosts on non-pro systems
14 years ago
Michael Prokop c0c8f4c996 shut down kantan process from inside Grml
14 years ago
Michael Prokop 008c3aca14 check for existing kernel module built by dkms
14 years ago
Michael Prokop 96bf363bd0 support autobuild release for installer
14 years ago
Michael Prokop a3e0babf13 always use ngcp-installer from trunk if building ngcptrunk, use bootoption ngcpautobuildrelease for autobuild releases
14 years ago
Michael Prokop 015858ebca deployment.sh: drop unused code
14 years ago
Michael Prokop a6e3829cf5 support ngcprelease bootoption to test unfinished releases
14 years ago
Michael Prokop d569b4ee57 check for /srv/mirror/debian, use ${DEBIAN_RELEASE} for mirror test
14 years ago
Michael Prokop cfd7d6324d use "sipwise" as ssh password
14 years ago
Michael Prokop 6c224c1a2a replace password grml2011 with just "grml" so we match the docs
14 years ago