Skip to content

Commit

Permalink
added ceph_nfs_floating_ip_interface option
Browse files Browse the repository at this point in the history
  • Loading branch information
markdhooper committed Jul 5, 2022
1 parent 92dc810 commit 3554d02
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## Cockpit Ceph-Deploy 1.0.3-4
## Cockpit Ceph-Deploy 1.0.3-5

* updated query selector for multi-device-path options
* added option for nfss to set the interface used for floating ip. ceph_nfs_floating_ip_interface
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"title": "Cockpit Ceph-Deploy",
"prerelease": true,
"version": "1.0.3",
"buildVersion": "4",
"buildVersion": "5",
"author": "Mark Hooper <[email protected]>",
"url": "https://github.com/45Drives/cockpit-ceph-deploy",
"category": "utils",
Expand Down Expand Up @@ -53,7 +53,7 @@
"changelog": {
"urgency": "medium",
"version": "1.0.3",
"buildVersion": "4",
"buildVersion": "5",
"ignore": [],
"date": null,
"packager": "Mark Hooper <[email protected]>",
Expand Down
2 changes: 2 additions & 0 deletions packaging/el8/main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ fi
/usr/share/cockpit/ceph-deploy/*

%changelog
* Tue Jul 05 2022 Mark Hooper <[email protected]> 1.0.3-5
- added option for nfss to set the interface used for floating ip. ceph_nfs_floating_ip_interface
* Fri Jun 24 2022 Mark Hooper <[email protected]> 1.0.3-4
- updated query selector for multi-device-path options
* Fri Jun 10 2022 Mark Hooper <[email protected]> 1.0.3-3
Expand Down
6 changes: 6 additions & 0 deletions packaging/focal/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
cockpit-ceph-deploy (1.0.3-5focal) focal; urgency=medium

* added option for nfss to set the interface used for floating ip. ceph_nfs_floating_ip_interface

-- Mark Hooper <[email protected]> Tue, 05 Jul 2022 13:58:27 -0300

cockpit-ceph-deploy (1.0.3-4focal) focal; urgency=medium

* updated query selector for multi-device-path options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ pcmk_user: hacluster

ceph_nfs_floating_ip_address: '192.168.122.41'
ceph_nfs_floating_ip_cidr: '16'
ceph_nfs_floating_ip_interface: 'eno1'


####################
Expand Down
12 changes: 12 additions & 0 deletions src/fakeroot/usr/share/cockpit/ceph-deploy/ceph-deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,18 @@ let g_option_scheme = {
input_type: "text",
default_value: "",
},
{
option_name: "ceph_nfs_floating_ip_interface",
radio_option_name: "ceph_nfs_floating_ip_interface",
option_format: "default",
optional: true,
label: "ceph_nfs_floating_ip_interface",
feedback: true,
feedback_type: "name",
help: "",
input_type: "text",
default_value: "",
},
],
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ class Nfss:
nfs_active_passive: bool = False
ceph_nfs_floating_ip_address: str = ""
ceph_nfs_floating_ip_cidr: str = ""
ceph_nfs_floating_ip_interface: str = ""
ceph_nfs_rados_backend_driver: str = ""

def load_dictionary(self, dict_variable: dict):
Expand Down
2 changes: 1 addition & 1 deletion sync_ceph_deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TEST_SERVER_A="rockinator1"
TEST_SERVER_A="ubuntuosd1"
COCKPIT_MODULE="ceph-deploy"

# Test Server A
Expand Down

0 comments on commit 3554d02

Please sign in to comment.