Previously, if this failed mid-way it would then throw
an exception at the first operation when retrying (because it's
trying to reweight an OSD that might not be in the map any more)
Signed-off-by: John Spray <john.spray@redhat.com>
Services in kubernetes can be reached at <servicename>.<namespace> without specifying svc.cluster.local. Removing this resolves issues with deployments where the kubernetes domain has been changed from the default.
Signed-off-by: Kamal Kyrala <kyralak@gmail.com>
Default to 3 mons when no `mon.count` is given.
The documentation and upgrade page has been updated accordingly to reflect the new
default.
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
deprecate NetworkInfo.PublicAddrIPv4, use NetworkInfo.PublicAddr instead
deprecate NetworkInfo.ClusterAddrIPv4, use NetworkInfo.ClusterAddr instead
deprecate command flag public-ipv4, use public-ip instead
deprecate command flag private-ipv4, use private-ip instead
change ROOK_PUBLIC_IPV4 to ROOK_PUBLIC_IP
change ROOK_PRIVATE_IPV4 to ROOK_PRIVATE_IP
Signed-off-by: Zhang Miaolei <zmlcc@outlook.com>
Cleaning out the below entities.
- JournalPartitionType is defined but will never be used given rook will always
place journal file in the filestore's block partition.
- GetMetadataPartitionType and getDataPartitionDetails functions are legacy
code and no longer used by any of the rook components.
Resolves: #1775
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Bluestore is assumed as the default backend and string StoreType is left empty.
Propogating that assumption to device partitioning.
Resolves: #1748
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
To make it more applicable to what is actually running when using the
operator the used test mon names have been replaced by the actual format
used in normal operations: `rook-ceph-mon[0-9]` instead of `mon[0-9]`.
This also removes some duplicated test code and used the already
available function for it.
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
This introduces a MonSpec to the Ceph Cluster CRD which contains settings for
mons, current options are the count and if more than one mon is allowed
to run per node.
Fixes#1386
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
This patch attempts to fix PV delete issues after an operator service
restart.
Resolves: #1721
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
Multiple file system support is still considered experimental in Ceph.
Disabling that as default in rook until such time it is production
ready.
A small code cleanup in filesystem file
Resolves#1720
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>