Commit Graph

56 Commits

Author SHA1 Message Date
Thomas Lamprecht
39d58bb5b2 ui: ceph wizard: switch to reef as default release for new setups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-10-17 12:55:00 +02:00
Thomas Lamprecht
8b4f117858 ui: ceph: add Ceph 19 Squid to release map
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-09-04 18:06:46 +02:00
Thomas Lamprecht
41af7c5e7e ui: ceph wizard: add Ceph 18.2 Reef to available releases
still default to Ceph 17.2 Quincy for now, at least if there isn't a
Ceph Reef set-up in the cluster already.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-09-04 18:05:46 +02:00
Thomas Lamprecht
0e1178d8d2 ui: ceph wizard: drop unused gettext
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-09-04 18:05:28 +02:00
Thomas Lamprecht
4bbd64a2f8 ui: ceph install: add pmx-hint class to hint field-label
looks a bit odd as the background it produces goes over the text, but
is the least invasive method to apply something like this, and
highlighting the whole thing is too flashy here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-05 19:04:12 +02:00
Thomas Lamprecht
e6a1160f95 ui: ceph install: add hints depending on selected repo and subscriptions
None hint required if all nodes have subscriptions and enterprise
repo is selected, but otherwise give some hints for better UX and to
(hopefully) reduce the chance for mishaps.

We might want to highlight the label to improve visibility tough.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-05 19:04:12 +02:00
Thomas Lamprecht
b686fd3774 ui: ceph install wizard: allow selecting repository
provide a second combo box that allows one to select which specific
repository out of enterprise, no-subscription or test one would like
to use.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-05 19:04:12 +02:00
Thomas Lamprecht
35ff09a46e ui: ceph install: increase dimension of window with 4:3 ratio
especially the console window is rather on the small side otherwise..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-05 19:04:12 +02:00
Thomas Lamprecht
cd56fd5557 ui: ceph: fix code indentation in onShow of wizard
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-05 19:04:12 +02:00
Thomas Lamprecht
fa3dfb1c2c ui: ceph install wizard: drop releases not supported for Proxmox VE 8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-30 15:31:46 +02:00
Thomas Lamprecht
87df8bde1d ui: ceph: use quincy as new default for fresh installations
Note that we still check the cluster for an already used installation
and will select that, if any, so this is really just for setting up a
completely new cluster.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-09-15 07:42:24 +02:00
Aaron Lauterer
f25c38553e ui: CephInstallWizard: make first mon node static
Removes the possibility to select the node on which to create the first
monitor in the configuration / initialization step and always sets it to
the current node.

This prevents that a user might select another node on which the Ceph
packages have not yet been installed. If a user did that, they would get
an error, but the Ceph config file would have been written. If the user
then does not select a valid node to create the first mon, but aborts
the wizard, they are greeted with a rados_connect error because the
config file exists, but it does not contain any mon infos that are
needed to connect to the Ceph cluster.

Creating a mon manually will remedy such a situation, but especially for
new users, this behavior is not ideal and confusing.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2022-09-07 15:25:09 +02:00
Thomas Lamprecht
719e95c9a6 ui: ceph: add quincy installation support
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-21 16:52:35 +02:00
Aaron Lauterer
5f7f0095cb fix #3597: ui: ceph setup: avoid autofill of monitor network
By not auto filling the Ceph public network we can avoid accidental
clicks on 'Next' which will cause the first Mon to be created with a
potentially wrong network. While that is fixable, it is tedious and
can be easily avoided by making the user always select the network to
use.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Tested-by: Stefan Hrdlicka<s.hrdlicka@proxmox.com>
 [ T: adapted commit subject to be more specific and match our common
   style ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-06-08 09:02:07 +02:00
Aaron Lauterer
5839e002a8 ui: ceph install wizard: fix config exists note position
During the Ceph installation, in the configuration step, a note is shown
if there already is a Ceph configuration present. This notification
should be in the center of the wizard but is currently barely visible.

ExtJS is having trouble calculating the position and the result is that
the note is placed almost out of the visible area.

Setting a fixed height helps ExtJS calculate the vertical position.
Changing from the 'beforeshow' listener to the 'afterrender' one helps
for the horizontal position.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2021-10-01 09:36:07 +02:00
Thomas Lamprecht
2e061d8110 ui: ceph: select Pacific as default release
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-15 13:07:35 +02:00
Thomas Lamprecht
00fa70bfd9 enable ceph 16.2 pacific
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-20 20:54:52 +02:00
Thomas Lamprecht
339ff552b1 Revert "buildsys: change upload/repo dist to bullseye"
pushed by mistake, please ignore this and the previous one

This reverts commit 4816c96931.
2021-05-20 20:52:52 +02:00
Thomas Lamprecht
4816c96931 buildsys: change upload/repo dist to bullseye
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-20 14:55:53 +02:00
Thomas Lamprecht
f8b7b9e143 ui: ceph code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-03 14:35:43 +02:00
Thomas Lamprecht
436f638d44 ui: ceph: install wizard: eslint fixes and code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-24 18:44:01 +02:00
Thomas Lamprecht
399ffa767f ui: eslint: enforce "dot-notation" rule
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:45:01 +01:00
Thomas Lamprecht
8058410f40 ui: eslint: fix various spacing related issues
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:39:15 +01:00
Thomas Lamprecht
f6710aac38 ui: eslint: fix trailing comma and comma related whitespaces errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:31:03 +01:00
Dylan Whyte
f00da0a52e UI: Ceph Wizard: language fixup
Improve the language found in the ceph install Wizard.

Signed-off-by: Dylan Whyte <d.whyte@proxmox.com>
2020-11-24 12:10:02 +01:00
Thomas Lamprecht
587cdeb55a ui: wizard: fix ceph docs link
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-24 09:27:18 +01:00
Thomas Lamprecht
80fdf8d266 ui: ceph install wizard: fix indentation
Hi to the people from the future which came here due to git blame or
the like. `git show -w` should proof that you got the wrong one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-22 18:51:21 +01:00
Thomas Lamprecht
c3035c01d0 ui: ceph: allow selecting which version to install
Try to find out the newest version in the cluster and select that (if
in the known OK list).

Slightly hacky, but nothing really out of the ordinary, so should be
OK.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-22 17:59:36 +01:00
Thomas Lamprecht
37e75d8616 ui: ceph wizard: move out info panel to separate component
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-22 17:59:36 +01:00
Thomas Lamprecht
3bbce3b8cd drop jslint lines
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 18:11:47 +02:00
Stoiko Ivanov
f71b7c28ff change .pve-hint to .pmx-hint css-class
With introducing pmx-hint to pmg as well, by adding a 'pmx-hint' css-class
to proxmox-widget-toolkit, it makes sense to use the definition everywhere.
this patch drops the .pve-hint class from pve's css and replaces all occurences
in the GUI-source.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-10-09 09:11:04 +02:00
Mira Limbeck
a19aa23819 fix #2389: ceph wizard showing network of target node
Before this patch the wizard shows the available networks for the node
one is connected to, not the actual target node where ceph is
configured. This patch changes this to access the network information of
the target node instead of the local one.
It could be that not every node in the cluster is part of the ceph
cluster (and the same network) which makes this useful.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2019-10-04 14:59:48 +02:00
Dominik Csapak
4ed5c13800 gui: ceph wizard: fix typo
s/Coniguration/Configuration/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-07-26 08:25:34 +02:00
Tim Marx
994f647edc gui: ceph installer: fix typo
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-07-15 11:18:07 +02:00
Thomas Lamprecht
7a1a8851ac ui: ceph wizard: drop local setAllowBlank overwrite
all our combogrids now have this

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 21:52:10 +02:00
Tim Marx
6c7b8e2339 ui: cephwizard: add networkselector widget
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-06-12 11:19:55 +02:00
Tim Marx
ca62eebd58 gui: cephinstaller: fix create mon url
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-06-11 14:51:09 +02:00
Mira Limbeck
16a83f8991 fix ceph install wizard not accepting ipv6
changes the vtype to the newly defined IP64CIDRAddress. depends on the
introduction of the IP64CIDRAddress vtype in proxmox-widget-toolkit.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2019-04-16 05:41:57 +00:00
Thomas Lamprecht
3ef34e3c0f ui: ceph install: open ceph.com in new window
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 12:30:07 +02:00
Thomas Lamprecht
4711d99862 followup: reduce wording, less text has better chance to be read
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-08 09:20:22 +02:00
Wolfgang Link
fc29d1382c cleanup format. 2019-04-08 09:18:08 +02:00
Wolfgang Link
cf6b10042a Supplementary Ceph installation summary
Add installation node for the other participant Ceph Node.
2019-04-08 09:18:05 +02:00
Tim Marx
4e36fbabe8 ui: ceph installer: set initial tab depending on current state
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-04-01 13:58:47 +02:00
Tim Marx
bf996912e2 ui: ceph install: remove advanced option pg_bits
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-29 13:07:36 +01:00
Tim Marx
f992ef807e ui: ceph: differentiate between install & configure only
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-29 13:07:36 +01:00
Thomas Lamprecht
71798b4b02 ceph install/config: add hint for additional monitors
this info was already here in the heading once, add it as pve-hint
styled display field at the bottom.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 17:00:34 +01:00
Thomas Lamprecht
e072b27906 ceph install/config: remove node displayfield
does not brings real value here, one sees the selected node also
through the blur, and it shouldn't matter at this point, the cluster
config is for all nodes (using ceph) and the monitor has its own node
selector anyway, so do not cloud user interface to much.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 16:59:04 +01:00
Thomas Lamprecht
218c9be50b fixup: ceph: do not scream at user with html headings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 16:57:45 +01:00
Tim Marx
8ba2d6692f ui: ceph installer: mask configuration if not needed & add monitor
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-28 16:21:51 +01:00
Thomas Lamprecht
8134b6b766 fixup: remove allowBlank and ensure interworking of size is correct
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 16:17:39 +01:00