From f8171e8b4a2718bbbe35d7ca85e9227382359f38 Mon Sep 17 00:00:00 2001 From: Ali Maredia Date: Wed, 6 Sep 2017 12:44:19 -0400 Subject: [PATCH] nfs: rename host to have ceph- prefix Signed-off-by: Ali Maredia --- Vagrantfile | 4 ++-- roles/ceph-nfs/tasks/pre_requisite.yml | 3 --- tests/functional/centos/7/cluster/hosts | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index d6632fc82..0b09cfda0 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -293,8 +293,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| end (0..NNFSS - 1).each do |i| - config.vm.define "nfs#{i}" do |nfs| - nfs.vm.hostname = "#{LABEL_PREFIX}ceph-nfs#{i}" + config.vm.define "#{LABEL_PREFIX}nfs#{i}" do |nfs| + nfs.vm.hostname = "#{LABEL_PREFIX}nfs#{i}" if ASSIGN_STATIC_IP nfs.vm.network :private_network, ip: "#{PUBLIC_SUBNET}.6#{i}" diff --git a/roles/ceph-nfs/tasks/pre_requisite.yml b/roles/ceph-nfs/tasks/pre_requisite.yml index 2eb1bce47..32570ce5b 100644 --- a/roles/ceph-nfs/tasks/pre_requisite.yml +++ b/roles/ceph-nfs/tasks/pre_requisite.yml @@ -44,9 +44,6 @@ notify: - restart ceph nfss -- name: cat ganesha conf file to view overrides - command: cat /etc/ganesha/ganesha.conf - - name: start nfs gateway service service: name: nfs-ganesha diff --git a/tests/functional/centos/7/cluster/hosts b/tests/functional/centos/7/cluster/hosts index 5e1ac46f6..8ef58a403 100644 --- a/tests/functional/centos/7/cluster/hosts +++ b/tests/functional/centos/7/cluster/hosts @@ -19,4 +19,4 @@ ceph-client0 ceph-mgr0 [nfss] -nfs0 +ceph-nfs0 -- 2.39.5