]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/log
ceph-cm-ansible.git
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 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>
7 years agotestnode: Add support to quickly create LVs 362/head
David Galloway [Wed, 6 Dec 2017 22:20:27 +0000 (17:20 -0500)]
testnode: Add support to quickly create LVs

Fixes: http://tracker.ceph.com/issues/22328
Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #361 from ceph/wip-also-ram
Zack Cerza [Wed, 6 Dec 2017 22:26:57 +0000 (15:26 -0700)]
Merge pull request #361 from ceph/wip-also-ram

testnode: Also stop zapping ram# devices

7 years agotestnode: Also stop zapping ram# devices 361/head
David Galloway [Wed, 6 Dec 2017 22:22:01 +0000 (17:22 -0500)]
testnode: Also stop zapping ram# devices

Saw this on smithi while testing new LVM changes

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #360 from ceph/wip-zap-loop
Zack Cerza [Wed, 6 Dec 2017 18:56:33 +0000 (11:56 -0700)]
Merge pull request #360 from ceph/wip-zap-loop

testnode: Stop zapping loop devices

7 years agotestnode: Stop zapping loop devices 360/head
David Galloway [Wed, 6 Dec 2017 18:51:12 +0000 (13:51 -0500)]
testnode: Stop zapping loop devices

Because it's a waste of time

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #359 from ceph/wip-kopts-post
Zack Cerza [Tue, 5 Dec 2017 20:58:39 +0000 (13:58 -0700)]
Merge pull request #359 from ceph/wip-kopts-post

cobbler_systems: Allow setting post install kernel options

7 years agocobbler_systems: Allow setting post install kernel options 359/head
David Galloway [Tue, 5 Dec 2017 20:00:08 +0000 (15:00 -0500)]
cobbler_systems: Allow setting post install kernel options

If defined in group_vars, kernel_options_post will be used.  Otherwise,
it defaults to the kernel_options_post in defaults/main.yml.

This fixes serial output during firstboot in Xenial or later (instead of
the repeated "Ubuntu 16.04 [-1;-1f" garbage.

Running `cobbler system edit` with --kopts-post="" is fine.  It just
leaves that field blank if kernel_options_post is empty.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoall: s/include:/include_tasks:/g prepping for deprecation in v2.8 358/head
David Galloway [Fri, 1 Dec 2017 19:22:51 +0000 (14:22 -0500)]
all: s/include:/include_tasks:/g prepping for deprecation in v2.8

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #357 from ceph/wip-update-xenial
Zack Cerza [Fri, 1 Dec 2017 19:15:08 +0000 (12:15 -0700)]
Merge pull request #357 from ceph/wip-update-xenial

cobbler_profile: Replace 16.04 with 16.04.3 iso

7 years agocobbler_profile: Replace 16.04 with 16.04.3 iso 357/head
David Galloway [Fri, 1 Dec 2017 18:55:42 +0000 (13:55 -0500)]
cobbler_profile: Replace 16.04 with 16.04.3 iso

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #356 from ceph/wip-fog-csv
Zack Cerza [Fri, 1 Dec 2017 16:50:49 +0000 (09:50 -0700)]
Merge pull request #356 from ceph/wip-fog-csv

tools: Add ansible role to generate FOG host csv file

7 years agotools: Add ansible role to generate FOG host csv file 356/head
David Galloway [Fri, 1 Dec 2017 16:44:40 +0000 (11:44 -0500)]
tools: Add ansible role to generate FOG host csv file

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #355 from ceph/wip-ethtool
Zack Cerza [Fri, 1 Dec 2017 16:33:40 +0000 (09:33 -0700)]
Merge pull request #355 from ceph/wip-ethtool

cobbler: Install ethtool on reimage

7 years agocobbler: Install ethtool on reimage 355/head
David Galloway [Fri, 1 Dec 2017 16:31:32 +0000 (11:31 -0500)]
cobbler: Install ethtool on reimage

ethtool is used in the new rc.local hackery

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #354 from ceph/wip-ubuntu-pkgs
Zack Cerza [Fri, 1 Dec 2017 16:24:37 +0000 (09:24 -0700)]
Merge pull request #354 from ceph/wip-ubuntu-pkgs

Adjust Cobbler's Ubuntu preseed to work with Artful Aardvark and beyond

7 years agocobbler: Install grub to /dev/sda instead of whatever default is 354/head
David Galloway [Fri, 1 Dec 2017 16:19:35 +0000 (11:19 -0500)]
cobbler: Install grub to /dev/sda instead of whatever default is

Apparently on some machines (namely bruuni in Octo), the default disk
returns /dev/nvme0n1 which is not where the OS is installed.

Since we already define which disk the OS should be installed on earlier
in the preseed, it only makes sense to install grub on the same disk.

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Set package list for xenial and later instead of just xenial
David Galloway [Fri, 1 Dec 2017 16:04:27 +0000 (11:04 -0500)]
cobbler: Set package list for xenial and later instead of just xenial

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #346 from ceph/wip-set-hostname wip-rhel-ntp
Zack Cerza [Mon, 27 Nov 2017 19:50:53 +0000 (11:50 -0800)]
Merge pull request #346 from ceph/wip-set-hostname

cobbler: Add logic to rc.local for FOG-provisioned machines

7 years agoMerge pull request #353 from ceph/wip-delete-hostkeys
Zack Cerza [Mon, 27 Nov 2017 19:05:54 +0000 (11:05 -0800)]
Merge pull request #353 from ceph/wip-delete-hostkeys

tools: Delete ssh keys so FOG-imaged machines regenerate on firstboot

7 years agotools: Delete ssh keys so FOG-imaged machines regenerate on firstboot 353/head
David Galloway [Mon, 27 Nov 2017 18:42:31 +0000 (13:42 -0500)]
tools: Delete ssh keys so FOG-imaged machines regenerate on firstboot

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Regenerate SSH host keys on Ubuntu firstboot if necessary 346/head
David Galloway [Mon, 27 Nov 2017 19:03:08 +0000 (14:03 -0500)]
cobbler: Regenerate SSH host keys on Ubuntu firstboot if necessary

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agoMerge pull request #352 from ceph/wip-prep-fog
Zack Cerza [Mon, 20 Nov 2017 23:56:23 +0000 (16:56 -0700)]
Merge pull request #352 from ceph/wip-prep-fog

Tools for FOG image prep

7 years agotools: Add script to modify next-server in DHCP 352/head
David Galloway [Mon, 20 Nov 2017 23:26:31 +0000 (18:26 -0500)]
tools: Add script to modify next-server in DHCP

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agotools: One-off playbook to prep a cobbler-imaged machine w/ FOG
David Galloway [Thu, 16 Nov 2017 19:36:05 +0000 (14:36 -0500)]
tools: One-off playbook to prep a cobbler-imaged machine w/ FOG

Signed-off-by: David Galloway <dgallowa@redhat.com>
7 years agocobbler: Configure testnode NIC on firstboot after FOG image
David Galloway [Fri, 17 Nov 2017 17:28:01 +0000 (12:28 -0500)]
cobbler: Configure testnode NIC on firstboot after FOG image

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