aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2019-04-04ansible: gsm-tester: Remove net iface name from hash inputPau Espin Pedrol1-1/+1
Otherwise every time the interface is added (ie when it goes back to default netns), the generate name changes due to DEVPATH containing current name at the end of the path. Change-Id: I87c686caa23a3b39e48e0762d4323a59be7cd4b8
2019-04-03ansible: osmo-gsm-tester: Make modem net ifaces persistentPau Espin Pedrol2-0/+22
Currently ofono doesn't catch network interface renaming (takes the name at ofono startup time). If a modem crashes, its net iface is unregistered and registered again, and it can happen that the new name is not the same as before (for instance, wwan8->wwan0 if wwan0 is located on another netns). These udev rules allow creating persistent unique names to prevent modem crashes resulting on interface name changing. dhcpcd is known to race against udev when managing dev interfaces, bringing them up before udev sometimes, and then udev is unable to rename it. By denying dhcpcd from managing modem ifaces (ww* and r* according to kernel/our rules), we get rid of this issue. Related: OS#3881 Change-Id: Ic3ef75285aa84f9aa606562cd2f6166de186c1a6
2019-04-03jenkins-slave: Use "jessie-backports" only on jessie systemsHarald Welte1-0/+1
Change-Id: Id62c03b9759367bd5bbe20144e9ad7048d12e61b
2019-03-15build_deps: add libulfius-dev and libjansson-dev for osmo-remsimHarald Welte1-0/+10
Change-Id: I8d490babb4f1f47e94d15c74a8fba439522e1e18
2019-01-31osmocom-jenkins-slave: Deploy osmo-ci and build docker imagesHarald Welte2-0/+23
This is periodically performed by https://jenkins.osmocom.org/jenkins/job/update-osmo-ci-on-slaves but in order to get to the point of updating it, we must at least have done one initial deployment of the repository before. This is done by the takss in the new osmo-ci.yml Closes: OS#3773 Change-Id: I581b8713cfdb3ca2ef7f0925730974056981e448
2019-01-29ansible/install-poky-sdk: Use "-y" command line argumentHarald Welte1-1/+1
At least with current ansible, this patch is required to avoid the poky SDK installer waiting indefinitely to somebody answering his prompts on stdin. Change-Id: I084a5a152f00bbd484f5616d417fa1486cb79413
2019-01-29Add liboping dependency for osmo-sysmonMax1-0/+2
Related: SYS#2655 Change-Id: I6198cd14ff86c5d8203d57674a17aa388f21c19d
2019-01-11ansible: Install 'sdcc' compiler for libusrp firmware on build slavesHarald Welte1-0/+2
Change-Id: I2fa8fa1a195079a0d8beda6a0aa4fc090ca37970
2018-12-28gsm_tester: Add lua-socket dependency used by the scriptsHolger Hans Peter Freyther1-0/+1
Change-Id: Iea51362a592c5b42413cb6d72677d01a0e357555
2018-12-28gsm-tester: Install liblua5.3-dev as mobile dependencyHolger Hans Peter Freyther1-0/+1
Change-Id: I188361cceacde60b9b0b954549d63a34ba81646a
2018-12-13Reserve an ip address for the osmo-bts-virtualHolger Hans Peter Freyther1-0/+6
Change-Id: Ia3b52d6fc66efc032b7de4769ad603da177e13da
2018-11-09ansible: Wrap distro version number as string for ansibleHolger Hans Peter Freyther3-4/+4
Change-Id: I58591ee37c6ec1479778c3f90ed8004a7e2adf1e
2018-11-07ansible: gsm-tester: Support power cycling multiple quad modemsPau Espin Pedrol1-2/+8
uhubctl doesn't support acting on several hubs from same vendor at once. Change-Id: I01e698c96240130ed6f632f82383f6020d2a3b81
2018-11-07ansible: gsm-tester: prod has now 8 modems attachedPau Espin Pedrol1-1/+1
4 EC20 modems were attached, and the issue with only 3 out of the 4 showing up was fixed a while ago. Change-Id: I0e0876fd5581e9eb56c498078ae8cd8c68ede5b5
2018-11-07ansible: gsm-tester: Add IP addr for umtrxPau Espin Pedrol1-0/+5
Change-Id: I7fb65e3c337fc82c787e925fbbdf9eaf7569defd
2018-11-06misc: Install patchelf to add/set an rpath if wantedHolger Hans Peter Freyther1-0/+1
Change-Id: I6e4ad2e3855af7bcefc22d4190cc4e6f58581857
2018-11-02ansible: Skip liblimesuite-dev for debian 8.0Holger Hans Peter Freyther1-1/+10
There is no installable liblimesuite-dev for Debian 8.0 and the playbook execution fails. Install it for Debian 9.0 or later. Change-Id: I0cee652b9d9703dc10b6105711a26f33cc2a3fda
2018-11-02ansible: Future proof for debian releases after debian9.0Holger Hans Peter Freyther3-5/+5
buster has a liblua5.3-dev, openjdk-8-jre-headless and the ttcn3 packages should work as well. Change-Id: I76f516bbe503d15d9210ab14e7d9dd024e0ce72f
2018-10-26ansible: ogt: install udhcpc and iperf3Pau Espin Pedrol1-0/+2
These tools are used during gprs data plane setup and performance testing. Change-Id: I5beddd74fca726c5ea2c9527836a9f50d92b4ce8
2018-10-26ansible: ogt: Add new local IP addr to be available for resourcesPau Espin Pedrol1-3/+8
Change-Id: I32574a935289fa208647d16663b77c0708c0572c
2018-10-26ansible: ogt: Deploy osmo-gsm-tester_netns_exec.shPau Espin Pedrol2-0/+18
Related: OS#2308 Change-Id: I587dd5630b211a906351f064c718f8f4c5fe6273
2018-10-15Add osmo-remsim to gerrit + master build verificationHarald Welte1-0/+1
... which introduces a requirement for libcsv-dev in ansible. Change-Id: I2ac65947ce9ecc071f774dc4df0f08c99c16c632
2018-10-09ansible: Install liblimesuite-dev and setup limesdr rights in gsm-testerPau Espin Pedrol3-0/+12
Change-Id: I7fafae340221cac63e33bccabcce6fd8f4385514
2018-08-30OsmocomBB: Add lua5.3 for the scriping interfaceHolger Hans Peter Freyther1-0/+19
Change-Id: Ia3bd58b98d1e248a92ddd171fb16a23ca8e0b29d
2018-08-27ansible: osmocom_build_deps: Add cmakePau Espin Pedrol1-0/+2
cmake is required to build LimeSuite, and its not currently installed in the build slave. Change-Id: I1808a2394798cd11a0bee8f664c7d18fa71cd5b8
2018-08-27ansible: gsm-tester: Add extra IP for LimeSDRPau Espin Pedrol1-0/+5
Change-Id: Ic0fddfc0eaf884cdd5436139675a5a19fafa96b9
2018-07-26ansible: osmo-gsm-tester-prod: Add DHCP lease for secondary muliTRX nanobtsPau Espin Pedrol1-0/+2
Change-Id: I3967d7b4203f5361dc03074dcd82c870d60c8aac
2018-07-19ansible: add playbook setup-simtestAlexander Couzens2-0/+35
Change-Id: Iab74a2b3fc3148bce815b2dadd1fd683c4b64c44
2018-07-19ansible: osmocom-jenkins-slave: add var install_jenkins_utilitiesAlexander Couzens3-0/+5
To select if some utilities including qemu/debootstrap/fakeroot will be installed. Usefull for small setups e.g. simtester Change-Id: I72f4460b8550da191e74a44be0ee3eeb3b2d7769
2018-07-19ansible: osmocom-jenkins-slave: debian.yml: don't install recommendsAlexander Couzens1-0/+3
Pulls a lot of packages Change-Id: I894455ea779ece84c403f768a1260a1cf2528389
2018-07-19ansible: osmocom-jenkins-slave: move installing build + runtime deps into ↵Alexander Couzens4-85/+93
own file For small nodes (e.g. simtester) the full blown packages are not required nor supported. In this case only the jenkins user and the ssh keys will be setted up. Change-Id: I469a8012b124516bfd9c4d4dd3a3fe0e1ff80bb6
2018-07-19ansible: osmocom-jenkins-slave: add variables to the README.mdAlexander Couzens1-0/+5
Change-Id: I878ed30ee2f44d98635511011c17f0f0e986bcc9
2018-07-03jobs: add master+gerrit verification job for gapkHarald Welte1-0/+3
Change-Id: Iedf3b43c164ae7e3e653820284c4d4ddaa545784
2018-07-02ansible: gsm-tester: Add IP addr for osmo-bts-octphy to bind toPau Espin Pedrol1-0/+4
Change-Id: I708960790e330a24c653f162b767d3b3ca4d145d
2018-07-02ansible: gsm-tester: Assign IP addr in different range to nanobtsPau Espin Pedrol2-3/+3
We currently use range around 10.42.42.1-10 for local dynamically assigned IP addresses (osmo-msc, osmo-bsc, etc.). The range 10.42.42.50-60 for local statically assigned IP addresses (to run osmo-bts-trx sysmocell-5k for instance, where the other end is cofigured with a static dst addr). For remote addresses, we use IPs in the range 10.42.42.110-120. Let's create a new range in 10.42.42.120-130 for remote addressess assigned by udhcpd server. nanobts assigned assdresses are moved to the latest group to differentiate them easily and show that they are not IP addr used locally. Change-Id: I9eadb0329a670ce6c2254520d9c86bfbdc898b3a
2018-06-13ansible: Add various additional packages to osmocom-workstationHarald Welte1-1/+16
Change-Id: I9d22cd6e4d3a3c8c685362bb62cd2a6ef467c461
2018-06-13osmocom-workstatin: change default user to osmocomHarald Welte2-2/+1
Change-Id: I35da5f2276730c7f81d5a1c2e6878ea3e23bca3b
2018-06-13ansible: osmocom-workstation: Add user to 'docker' groupHarald Welte1-0/+1
Change-Id: I43169dfb39525ffe16a3ed1cbf5360b47f9f8a00
2018-06-13ansible: osmocom-workstation: clone ttcn-3 depsHarald Welte1-0/+4
Change-Id: Ib0169c858c3c0610e49d01f1dafee5c725ddc7df
2018-06-13ansible: Use SDK/toolchain for 2.3.4, not 2.3.2Harald Welte1-2/+2
Change-Id: Ia39284acce65c5779b71154662f3f55349a86960
2018-06-12ansible: gsm-tester: change production gsm_modems to 3Alexander Couzens3-2/+6
In the production setup, there are only 3 valid modems. Moving the variable into the host_vars so they can have different amount of modem between rnd & prod. Change-Id: Ic51a14a339bb9be50504a27a724f6f428ee7304f
2018-06-12anisble: gsm-tester: uhubctl: add "-n 1d50:4002"Alexander Couzens1-2/+2
uhubctl -p 123456 -a 1 is rejecting because uhubctl detects two hubs. Selecting only one hub. Fixes the error message: Error: changing port state for multiple hubs at once is not supported. Use -l to limit operation to one hub! Change-Id: I2e3c248e4eaef39f18ff38d1055db6d552fc4d20
2018-06-12ansible: fix deprecation of "include:"Alexander Couzens1-3/+3
"include:" has been deprecated in favour of "include_tasks:". Change-Id: I6e1bb11e9392f7da9ed554c37f9625daa0950308
2018-06-12ansible: fix deprecation of filter "| changed"Alexander Couzens3-3/+3
"| changed" filter will be removed in ansible 2.9 Change-Id: Idf11d54d60b78733ed212f04940cee15b3a55400
2018-06-10add "osmocom-workstation" roleHarald Welte4-0/+181
this role can be used to provision developer workstations, which includes a git clone of all osmocom git repositories as well as development tools like valgrind, gdb, ccache, wireshark, ... Change-Id: I1a943079470db97f41c9c38318feb0716daa7cd5
2018-06-07ansible: gsm-tester: fix apt_repository tasksAlexander Couzens1-2/+2
Mistyped filename and apt_repostory Change-Id: Icc97d9d2355f8922853d6b21cb8a95f532347031
2018-06-07ansible: gsm-tester-bts: remove role prefix in namesAlexander Couzens1-9/+9
The role is prefixed anyway by newer ansible's. No need to manual add it Change-Id: I4ef16b2e9ab594dd0f76baf43979e73b51282c14
2018-06-07ansible: setup-gsm-tester.yml: use role gsm-tester-btsAlexander Couzens1-0/+5
Change-Id: I7cf033605ad1da6c3ea887b5ba72507bcd6991c7
2018-06-07ansible: gsm-tester: add udev rule to allow jenkins to access sispm devicesAlexander Couzens3-0/+16
Change-Id: Idd0426a8130046e7aacc02421440eb403bd88888
2018-06-07ansible: gsm-tester-network: start all network interfaces after adding new onesAlexander Couzens1-0/+5
Change-Id: I197dadb68cffeba4c451d2fbfe40075039a67cb8