]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
6 years agolibev-devel isn't available in RHEL7.6 405/head
David Galloway [Fri, 10 Aug 2018 20:39:14 +0000 (16:39 -0400)]
libev-devel isn't available in RHEL7.6

Signed-off-by: David Galloway <dgallowa@redhat.com>
6 years agoAdd RHEL 7.6
David Galloway [Fri, 10 Aug 2018 19:51:30 +0000 (15:51 -0400)]
Add RHEL 7.6

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #404 from ceph/wip-ovh-rhel
Zack Cerza [Mon, 30 Jul 2018 18:37:11 +0000 (12:37 -0600)]
Merge pull request #404 from ceph/wip-ovh-rhel

common/testnode: Support skipping entitlements & packages

7 years agoMerge pull request #403 from ceph/wip-centos75
Zack Cerza [Mon, 30 Jul 2018 18:36:41 +0000 (12:36 -0600)]
Merge pull request #403 from ceph/wip-centos75

Add CentOS 7.5

7 years agocommon/testnode: Support skipping entitlements & packages 404/head
David Galloway [Mon, 30 Jul 2018 16:40:01 +0000 (12:40 -0400)]
common/testnode: Support skipping entitlements & packages

`skip_entitlements` and `skip_packaging` will be set to true in the
Ansible inventory for OVH nodes

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoAdd CentOS 7.5 403/head
David Galloway [Mon, 30 Jul 2018 14:02:40 +0000 (10:02 -0400)]
Add CentOS 7.5

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #402 from ceph/wip-dhcp-ns
Zack Cerza [Mon, 23 Jul 2018 15:14:46 +0000 (09:14 -0600)]
Merge pull request #402 from ceph/wip-dhcp-ns

dhcp-server: Support defining nameservers by host or group var

7 years agodhcp-server: Support defining nameservers by host or group var 402/head
David Galloway [Mon, 23 Jul 2018 13:47:25 +0000 (09:47 -0400)]
dhcp-server: Support defining nameservers by host or group var

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #401 from tchaikov/libev
Kefu Chai [Mon, 21 May 2018 12:13:07 +0000 (20:13 +0800)]
Merge pull request #401 from tchaikov/libev

testnodes: s/libevent-dev/libev-dev/

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agotestnodes: s/libevent-dev/libev-dev/ 401/head
Kefu Chai [Sat, 19 May 2018 11:46:18 +0000 (19:46 +0800)]
testnodes: s/libevent-dev/libev-dev/

see https://github.com/ceph/swift/pull/7 and
    https://github.com/ceph/s3-tests/pull/104

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #399 from ceph/wip-retry-rhsm
vasukulkarni [Fri, 11 May 2018 19:03:23 +0000 (12:03 -0700)]
Merge pull request #399 from ceph/wip-retry-rhsm

common: Retry rhsm command due to CDN or network flakiness

7 years agocommon: Retry rhsm command due to CDN or network flakiness 399/head
David Galloway [Fri, 11 May 2018 18:59:52 +0000 (14:59 -0400)]
common: Retry rhsm command due to CDN or network flakiness

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #398 from ceph/wip-force
Zack Cerza [Tue, 1 May 2018 14:29:11 +0000 (08:29 -0600)]
Merge pull request #398 from ceph/wip-force

common: Force register with RHSM

7 years agocommon: Force register with RHSM 398/head
David Galloway [Tue, 1 May 2018 14:14:23 +0000 (10:14 -0400)]
common: Force register with RHSM

Fixes: https://tracker.ceph.com/issues/23954
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1510658

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #397 from ceph/wip-bionic
Zack Cerza [Mon, 30 Apr 2018 12:01:21 +0000 (06:01 -0600)]
Merge pull request #397 from ceph/wip-bionic

Add support for Ubuntu 18.04

7 years agotestnode: Redo LVM removal 397/head
David Galloway [Fri, 27 Apr 2018 16:37:02 +0000 (12:37 -0400)]
testnode: Redo LVM removal

For whatever reason, `dmsetup remove_all` fails on Bionic.  As long as
there are leftover lvs or vgs, a pv must be linked to them.  We can just
force remove the physical volume which wipes out the rest of the LVM
data.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agotestnode: Create /etc/default/rcS if missing
David Galloway [Fri, 27 Apr 2018 16:14:46 +0000 (12:14 -0400)]
testnode: Create /etc/default/rcS if missing

File does not exist in Bionic

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agotestnode: Create sshd config and set package vars for Bionic
David Galloway [Fri, 27 Apr 2018 16:13:00 +0000 (12:13 -0400)]
testnode: Create sshd config and set package vars for Bionic

Packages missing in Bionic that were in Xenial:
  - libapache2-mod-fastcgi
  - libboost-thread1.58.0
  - libcrypto++9v5

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Set packages to install for Bionic
David Galloway [Fri, 27 Apr 2018 15:53:57 +0000 (11:53 -0400)]
cobbler: Set packages to install for Bionic

  - udev-discover is no more
  - net-tools provides ifconfig which is used in rc.local
  - ifupdown provides `ifdown` and `ifup` which are in rc.local
  - python is required for ansible
  - ntp isn't installed by default anymore apparently

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoCobbler: Add Bionic Beaver
David Galloway [Fri, 27 Apr 2018 15:53:29 +0000 (11:53 -0400)]
Cobbler: Add Bionic Beaver

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #396 from ceph/wip-23845
vasukulkarni [Tue, 24 Apr 2018 19:41:50 +0000 (12:41 -0700)]
Merge pull request #396 from ceph/wip-23845

testnode: Exclude dm devices from list of physical volumes

7 years agotestnode: Exclude dm devices from list of physical volumes 396/head
David Galloway [Tue, 24 Apr 2018 19:28:42 +0000 (15:28 -0400)]
testnode: Exclude dm devices from list of physical volumes

This was actually happening because when the playbook first runs, the
setup module is run and sees the device mapper devices.  We zap them
later in the playbook but ansible doesn't know that.  We could just
re-run the setup module but this method will instead guarantee we don't
use dm-* devices.

Fixes: https://tracker.ceph.com/issues/23845
Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #394 from ceph/wip-hwclock
David Galloway [Wed, 11 Apr 2018 18:30:47 +0000 (14:30 -0400)]
Merge pull request #394 from ceph/wip-hwclock

Always set hardware clock

7 years agoMerge pull request #395 from ceph/wip-fog-time
David Galloway [Tue, 10 Apr 2018 13:56:13 +0000 (09:56 -0400)]
Merge pull request #395 from ceph/wip-fog-time

tools: Force time synchronization in FOG images

7 years agotools: Force time synchronization in FOG images wip-fog-time 395/head
David Galloway [Tue, 10 Apr 2018 13:53:37 +0000 (09:53 -0400)]
tools: Force time synchronization in FOG images

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocommon: Always set the hwclock on all systems wip-hwclock 394/head
David Galloway [Mon, 9 Apr 2018 20:36:07 +0000 (16:36 -0400)]
common: Always set the hwclock on all systems

Even if the OS time is correct, the hardware clock could be off.
There's no harm in making sure it is accurate with every job.

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-Configuring_the_Date_and_Time-hwclock

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #391 from ceph/wip-crontabs
Zack Cerza [Thu, 5 Apr 2018 22:34:56 +0000 (16:34 -0600)]
Merge pull request #391 from ceph/wip-crontabs

teuthology: Script to keep teuthology user's crontab up to date

7 years agoMerge pull request #386 from ceph/wip-lrc-role
Zack Cerza [Thu, 5 Apr 2018 22:34:13 +0000 (16:34 -0600)]
Merge pull request #386 from ceph/wip-lrc-role

long_running_cluster role

7 years agoMerge pull request #383 from ceph/wip-status
Zack Cerza [Thu, 5 Apr 2018 22:33:47 +0000 (16:33 -0600)]
Merge pull request #383 from ceph/wip-status

public_facing: Updates to OpenVPN check for status portal

7 years agoMerge pull request #379 from ceph/wip-fix-subscribe
Zack Cerza [Thu, 5 Apr 2018 22:33:29 +0000 (16:33 -0600)]
Merge pull request #379 from ceph/wip-fix-subscribe

cobbler: Fix typo in subscription manager snippet command

7 years agoMerge pull request #390 from ceph/wip-console-fix
Zack Cerza [Thu, 5 Apr 2018 22:33:10 +0000 (16:33 -0600)]
Merge pull request #390 from ceph/wip-console-fix

cobbler: Just output to ttyS1

7 years agoMerge pull request #393 from ceph/wip-smart-ssd
Zack Cerza [Wed, 4 Apr 2018 18:02:56 +0000 (12:02 -0600)]
Merge pull request #393 from ceph/wip-smart-ssd

common: Fixes to smart.sh to support multiple attributes

7 years agoMerge pull request #392 from ceph/wip-dhcp-server
Zack Cerza [Wed, 4 Apr 2018 18:01:53 +0000 (12:01 -0600)]
Merge pull request #392 from ceph/wip-dhcp-server

Add dhcp-server role

7 years agocommon: Comment bad nvme error-log check 393/head
David Galloway [Tue, 3 Apr 2018 22:22:08 +0000 (18:22 -0400)]
common: Comment bad nvme error-log check

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocommon: Fixes to smart.sh to support multiple attributes
David Galloway [Tue, 3 Apr 2018 18:42:43 +0000 (14:42 -0400)]
common: Fixes to smart.sh to support multiple attributes

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agodhcp-server: Update set-next-server script to work with role 392/head
David Galloway [Tue, 3 Apr 2018 16:21:29 +0000 (12:21 -0400)]
dhcp-server: Update set-next-server script to work with role

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoAdd dhcp-server role
David Galloway [Thu, 29 Mar 2018 20:01:47 +0000 (16:01 -0400)]
Add dhcp-server role

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoteuthology: Script to keep teuthology user's crontab up to date 391/head
David Galloway [Tue, 27 Mar 2018 18:59:49 +0000 (14:59 -0400)]
teuthology: Script to keep teuthology user's crontab up to date

Fixes: https://tracker.ceph.com/issues/23441
Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agolong_running_cluster: Custom logrotate rules 386/head
David Galloway [Wed, 28 Mar 2018 15:17:41 +0000 (11:17 -0400)]
long_running_cluster: Custom logrotate rules

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agolong_running_cluster: Add check for LRC data pool capacity
David Galloway [Thu, 31 Aug 2017 23:48:23 +0000 (19:48 -0400)]
long_running_cluster: Add check for LRC data pool capacity

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agolong_running_cluster: Create tasks to install ceph-nagios-plugins
David Galloway [Thu, 31 Aug 2017 23:26:51 +0000 (19:26 -0400)]
long_running_cluster: Create tasks to install ceph-nagios-plugins

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoCreate long_running_cluster role
David Galloway [Thu, 31 Aug 2017 23:26:26 +0000 (19:26 -0400)]
Create long_running_cluster role

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Just output to ttyS1 390/head
David Galloway [Tue, 27 Mar 2018 15:20:02 +0000 (11:20 -0400)]
cobbler: Just output to ttyS1

This covers all baremetal types except mira.  Cheetah/Cobbler templating
was breaking with commit
https://github.com/ceph/ceph-cm-ansible/pull/389/commits/de871c037f4ae227bed00933eee24f849a4551b0.

The problem is if there is more than one kernel option type (like
console, ksdevice, etc.), $kernel_options gets expanded into a json
dictionary and breaks the templating.

E.g., {'ksdevice': 'bootif', 'lang': ' ', 'console': ['tty0', 'ttyS1,115200'], 'text': None, 'netcfg/choose_interface': 'auto'}

Rather than fight with that, we'll just output to ttyS1.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #389 from ceph/wip-console
Zack Cerza [Wed, 21 Mar 2018 19:32:07 +0000 (13:32 -0600)]
Merge pull request #389 from ceph/wip-console

Serial output fixes for testnodes

7 years agocobbler: Have rc.local output go to console 389/head
David Galloway [Fri, 9 Mar 2018 21:51:25 +0000 (16:51 -0500)]
cobbler: Have rc.local output go to console

Usually if something goes wrong during the rc.local run, the machine
won't be reachable to debug over the network.  Additionally, since we
reimage every machine before each job now, it's impossible to debug why
rc.local failed given a particular job.  This outputs rc.local to the
tty specified in kernel_options so we can see the output in `$hostname_reimage` run logs.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Write exact /etc/default/grub
David Galloway [Fri, 9 Mar 2018 19:58:08 +0000 (14:58 -0500)]
cobbler: Write exact /etc/default/grub

This fixes console output during Xenial and later.  Prior to this, the
Plymouth boot screen would get loaded and "[37mUbuntu 16.04[-1;-1f[33m.
[37m.  [37m.  [37m." would get repeated to the console until the login
prompt shows up.

Writing our own file instead of finding and replacing variables makes
sure the settings are exactly what we want.

This snippet is only used on Debian-based distros.  The default Cobbler
snippet is used on RPM-based distros.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #388 from ceph/wip-rc-chill
Zack Cerza [Tue, 20 Mar 2018 21:39:57 +0000 (15:39 -0600)]
Merge pull request #388 from ceph/wip-rc-chill

cobbler: Change method used to ping Cobbler host in rc.local

7 years agocobbler: Change method used to ping Cobbler host in rc.local 388/head
David Galloway [Tue, 20 Mar 2018 15:22:53 +0000 (11:22 -0400)]
cobbler: Change method used to ping Cobbler host in rc.local

I've observed a *very* occasional race condition where dhclient
completes but the host can't ping Cobbler.  Instead of timing out
waiting for one ping packet to return, we'll try pinging X number of
times (based on $attempts number) and then give up.

I'll paste an example of the race condition observed in the PR notes.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #387 from ceph/wip-part-doc
Zack Cerza [Mon, 19 Mar 2018 20:24:55 +0000 (14:24 -0600)]
Merge pull request #387 from ceph/wip-part-doc

testnode: Fix typo and clarify dict for drives_to_partition

7 years agotestnode: Fix typo and clarify dict for drives_to_partition 387/head
David Galloway [Mon, 19 Mar 2018 18:38:40 +0000 (14:38 -0400)]
testnode: Fix typo and clarify dict for drives_to_partition

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #385 from ceph/wip-ovpn-logs
Zack Cerza [Thu, 15 Mar 2018 16:00:59 +0000 (10:00 -0600)]
Merge pull request #385 from ceph/wip-ovpn-logs

gateway: Rotate every day.. not when size is 100MB

7 years agogateway: Rotate every day.. not when size is 100MB 385/head
David Galloway [Mon, 12 Mar 2018 14:56:25 +0000 (10:56 -0400)]
gateway: Rotate every day.. not when size is 100MB

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #384 from ceph/wip-ovpn-logrotate
Zack Cerza [Fri, 9 Mar 2018 17:50:46 +0000 (10:50 -0700)]
Merge pull request #384 from ceph/wip-ovpn-logrotate

gateway: Finally fix openvpn logging

7 years agogateway: Properly configure rotating logs 384/head
David Galloway [Fri, 9 Mar 2018 16:46:31 +0000 (11:46 -0500)]
gateway: Properly configure rotating logs

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agogateway: Add some additional handlers for openvpn and rsyslog
David Galloway [Fri, 9 Mar 2018 16:25:29 +0000 (11:25 -0500)]
gateway: Add some additional handlers for openvpn and rsyslog

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #382 from ceph/wip-relax
Zack Cerza [Tue, 27 Feb 2018 16:18:40 +0000 (09:18 -0700)]
Merge pull request #382 from ceph/wip-relax

cobbler: Allow a little leeway in rc.local when pinging http_server

7 years agocobbler: Allow a little leeway in rc.local when pinging http_server 382/head
David Galloway [Tue, 27 Feb 2018 02:36:55 +0000 (21:36 -0500)]
cobbler: Allow a little leeway in rc.local when pinging http_server

DHCP might not complete within that one second.  We'll relax the timeout
a bit.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #381 from ceph/wip-rhel-beta
vasukulkarni [Mon, 26 Feb 2018 23:42:58 +0000 (15:42 -0800)]
Merge pull request #381 from ceph/wip-rhel-beta

common: Tolerate new subscription-manager behavior

7 years agocommon: Tolerate new subscription-manager behavior 381/head
David Galloway [Mon, 26 Feb 2018 23:29:28 +0000 (18:29 -0500)]
common: Tolerate new subscription-manager behavior

subscription-manager throws an error now if there are no releases to list
for a subscribed Beta distro.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #380 from ceph/wip-satellite
Zack Cerza [Mon, 26 Feb 2018 22:57:06 +0000 (15:57 -0700)]
Merge pull request #380 from ceph/wip-satellite

Add support for Red Hat Satellite

7 years agotools: Clean up katello facts when prepping RHEL image capture 380/head
David Galloway [Mon, 26 Feb 2018 20:04:39 +0000 (15:04 -0500)]
tools: Clean up katello facts when prepping RHEL image capture

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agopcp: Disable role for now
David Galloway [Mon, 26 Feb 2018 18:56:58 +0000 (13:56 -0500)]
pcp: Disable role for now

With the addition of RHEL to Sepia, teuthology will be running
cephlab.yml on unregistered RHEL testnodes.  Since the PCP playbook gets run
before the testnodes playbook, RHEL systems in Sepia won't be registered
to our Satellite yet and PCP installation fails.

We're not currently using PCP so we can disable the role and save some
time and headache.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Subscribe to satellite during RHEL kickstart if use_satellite
David Galloway [Mon, 26 Feb 2018 17:50:30 +0000 (12:50 -0500)]
cobbler: Subscribe to satellite during RHEL kickstart if use_satellite

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocommon: Add support for registering with Red Hat Satellite
David Galloway [Fri, 7 Oct 2016 20:26:22 +0000 (16:26 -0400)]
common: Add support for registering with Red Hat Satellite

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Fix typo in subscription manager snippet command 379/head
David Galloway [Mon, 26 Feb 2018 18:13:03 +0000 (13:13 -0500)]
cobbler: Fix typo in subscription manager snippet command

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #378 from ceph/wip-update-reboot
Zack Cerza [Tue, 20 Feb 2018 21:46:05 +0000 (14:46 -0700)]
Merge pull request #378 from ceph/wip-update-reboot

Fixes for https://tracker.ceph.com/issues/23052

7 years agocobbler: Update kernel on RPM distros and subscribe to CDN on RHEL 378/head
David Galloway [Tue, 20 Feb 2018 20:55:39 +0000 (15:55 -0500)]
cobbler: Update kernel on RPM distros and subscribe to CDN on RHEL
during kickstart

Fixes: https://tracker.ceph.com/issues/23052
Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: echo short hostname into /etc/hostname during rc.local
David Galloway [Tue, 20 Feb 2018 19:42:51 +0000 (14:42 -0500)]
cobbler: echo short hostname into /etc/hostname during rc.local

Fixes: https://tracker.ceph.com/issues/23052
Ceph should be able to handle the FQDN but whatever.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #377 from ceph/wip-set-iface
Zack Cerza [Fri, 9 Feb 2018 21:49:56 +0000 (14:49 -0700)]
Merge pull request #377 from ceph/wip-set-iface

More rc.local NIC fixees

7 years agocobbler: Only write network config for our routable NIC wip-set-iface 377/head
David Galloway [Thu, 8 Feb 2018 23:16:53 +0000 (18:16 -0500)]
cobbler: Only write network config for our routable NIC

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Remove commented if statement
David Galloway [Thu, 8 Feb 2018 23:12:15 +0000 (18:12 -0500)]
cobbler: Remove commented if statement

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #376 from ceph/wip-unsubscribe
Zack Cerza [Thu, 8 Feb 2018 20:36:17 +0000 (13:36 -0700)]
Merge pull request #376 from ceph/wip-unsubscribe

tools: Unsubscribe RHEL machines during FOG image capture

7 years agotools: Unsubscribe RHEL machines during FOG image capture 376/head
David Galloway [Thu, 8 Feb 2018 20:22:17 +0000 (15:22 -0500)]
tools: Unsubscribe RHEL machines during FOG image capture

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #375 from ceph/wip-ugh-ddns
Zack Cerza [Thu, 1 Feb 2018 21:53:33 +0000 (14:53 -0700)]
Merge pull request #375 from ceph/wip-ugh-ddns

nameserver: Let records tasks coexist with DDNS

7 years agonameserver: Let records tasks coexist with DDNS 375/head
David Galloway [Thu, 1 Feb 2018 20:42:36 +0000 (15:42 -0500)]
nameserver: Let records tasks coexist with DDNS

It takes about 3 minutes for ansible to compile all the zone files.
That was causing nsupdate/DDNS to overwrite any new records we wanted to
add or change before named could be reloaded.

This PR:
  - Writes zone files to a temporary location
  - Dumps pending DDNS changes into zone files
  - Freezes DDNS zone files from updates
  - Moves temporary zone files into place all at once
  - Unfreezes DDNS zone files

This results in about a 3 second window where DDNS updates will be
refused which isn't great but we can at least update records while OVH
jobs are running now.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #374 from ceph/wip-fog-server
Zack Cerza [Fri, 26 Jan 2018 17:15:20 +0000 (10:15 -0700)]
Merge pull request #374 from ceph/wip-fog-server

fog-server: Create role

7 years agoMerge pull request #368 from ceph/wip-fw-update
David Galloway [Thu, 25 Jan 2018 20:27:24 +0000 (15:27 -0500)]
Merge pull request #368 from ceph/wip-fw-update

firmware: flashrom syntax changed for Xenial

7 years agofog-server: Create role 374/head
David Galloway [Wed, 24 Jan 2018 18:47:15 +0000 (13:47 -0500)]
fog-server: Create role

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #373 from ceph/wip-ntp-server
Zack Cerza [Tue, 23 Jan 2018 23:26:04 +0000 (16:26 -0700)]
Merge pull request #373 from ceph/wip-ntp-server

ntp-server: Create NTP server role

7 years agontp-server: Create NTP server role 373/head
David Galloway [Tue, 23 Jan 2018 16:44:32 +0000 (11:44 -0500)]
ntp-server: Create NTP server role

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #372 from ceph/wip-eth0-mac
Zack Cerza [Fri, 19 Jan 2018 23:16:29 +0000 (16:16 -0700)]
Merge pull request #372 from ceph/wip-eth0-mac

cobbler: Use MAC address specified in ansible inventory instead of eth0

7 years agocobbler: Use MAC address specified in ansible inventory instead of eth0 372/head
David Galloway [Fri, 19 Jan 2018 20:31:03 +0000 (15:31 -0500)]
cobbler: Use MAC address specified in ansible inventory instead of eth0

I concede.  Name it whatever you want, RHEL.

This will allow the OS to use the "predictable naming" during anaconda
and after firstboot preventing NIC names from switching like we're
seeing in http://tracker.ceph.com/issues/22732 and http://tracker.ceph.com/issues/22643

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #370 from ceph/wip-nvme-down
Zack Cerza [Fri, 19 Jan 2018 20:30:48 +0000 (13:30 -0700)]
Merge pull request #370 from ceph/wip-nvme-down

testnode: Check for and mark down systems with missing NVMe devices

7 years agoMerge pull request #371 from ceph/wip-nvme-firmware
David Galloway [Wed, 17 Jan 2018 19:40:15 +0000 (14:40 -0500)]
Merge pull request #371 from ceph/wip-nvme-firmware

tools: Playbook to update Intel NVMe firmware

7 years agotools: Playbook to update Intel NVMe firmware 371/head
David Galloway [Wed, 17 Jan 2018 19:37:44 +0000 (14:37 -0500)]
tools: Playbook to update Intel NVMe firmware

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agotestnode: Check for and mark down systems with missing NVMe devices 370/head
David Galloway [Wed, 17 Jan 2018 18:06:07 +0000 (13:06 -0500)]
testnode: Check for and mark down systems with missing NVMe devices

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #369 from ceph/wip-rclocal-break
Zack Cerza [Tue, 16 Jan 2018 21:40:39 +0000 (14:40 -0700)]
Merge pull request #369 from ceph/wip-rclocal-break

cobbler: Remove DHCP config for NICs if ifup fails in rc.local

7 years agocobbler: Remove DHCP config for NICs if ifup fails in rc.local 369/head
David Galloway [Wed, 10 Jan 2018 21:17:55 +0000 (16:17 -0500)]
cobbler: Remove DHCP config for NICs if ifup fails in rc.local

An issue was discovered where rc.local bails if a testnode has multiple
NICs cabled but each NIC doesn't have a DHCP reservation.  For example,
some of the magnas have a second NIC cabled but are cabled to a tagged
port on the switch so they can pass traffic via multiple VLANs.

Fixes: http://tracker.ceph.com/issues/22651
Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #367 from ceph/wip-rhel75
Zack Cerza [Wed, 20 Dec 2017 22:29:45 +0000 (15:29 -0700)]
Merge pull request #367 from ceph/wip-rhel75

cobbler: Profile for RHEL7.5

7 years agocobbler: Profile for RHEL7.5 367/head
David Galloway [Wed, 20 Dec 2017 21:05:39 +0000 (16:05 -0500)]
cobbler: Profile for RHEL7.5

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #365 from ceph/wip-import-tasks
Zack Cerza [Wed, 20 Dec 2017 18:14:02 +0000 (11:14 -0700)]
Merge pull request #365 from ceph/wip-import-tasks

all: Use import_tasks vs include_tasks so tags work again

7 years agoMerge pull request #366 from ceph/wip-addl-nic
Zack Cerza [Wed, 20 Dec 2017 17:38:03 +0000 (10:38 -0700)]
Merge pull request #366 from ceph/wip-addl-nic

testnode: Support for configuring a second NIC

7 years agoMerge pull request #364 from ceph/wip-no-break
Zack Cerza [Wed, 20 Dec 2017 17:35:28 +0000 (10:35 -0700)]
Merge pull request #364 from ceph/wip-no-break

cobbler: Don't break after first NIC is configured

7 years agocobbler: Don't break after first NIC is configured 364/head
David Galloway [Wed, 20 Dec 2017 01:05:47 +0000 (20:05 -0500)]
cobbler: Don't break after first NIC is configured

In case the system has multiple NICs cabled (like Octo's bruuni and
pluto)

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agotestnode: Support for configuring a second NIC 366/head
David Galloway [Tue, 19 Dec 2017 00:59:47 +0000 (19:59 -0500)]
testnode: Support for configuring a second NIC

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoall: Use import_tasks vs include_tasks so tags work again 365/head
David Galloway [Tue, 19 Dec 2017 01:17:05 +0000 (20:17 -0500)]
all: Use import_tasks vs include_tasks so tags work again

See https://github.com/ansible/ansible/pull/33468

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #363 from ceph/wip-bmc-network
Zack Cerza [Mon, 18 Dec 2017 20:35:48 +0000 (13:35 -0700)]
Merge pull request #363 from ceph/wip-bmc-network

tools: Playbook for setting BMC settings

7 years agoMerge pull request #358 from ceph/wip-include
Zack Cerza [Mon, 18 Dec 2017 20:35:14 +0000 (13:35 -0700)]
Merge pull request #358 from ceph/wip-include

all: s/include:/include_tasks:/g prepping for deprecation in v2.8

7 years agoMerge pull request #362 from ceph/wip-easy-lvm
vasukulkarni [Thu, 7 Dec 2017 21:51:53 +0000 (13:51 -0800)]
Merge pull request #362 from ceph/wip-easy-lvm

testnode: Add support to quickly create LVs

7 years agotools: Playbook for setting BMC settings 363/head
David Galloway [Thu, 7 Dec 2017 19:21:46 +0000 (14:21 -0500)]
tools: Playbook for setting BMC settings

Signed-off-by: David Galloway <dgallowa@redhat.com>