Fix flag set for upgrade to nautilus release

Related-prod: PROD-34749
Change-Id: I6a72322929b41b984e081f8045c3870afbeb0f25
diff --git a/ceph-upgrade.groovy b/ceph-upgrade.groovy
index 96a19c8..1e769ad 100644
--- a/ceph-upgrade.groovy
+++ b/ceph-upgrade.groovy
@@ -187,6 +187,9 @@
                 for (flag in flags) {
                     salt.cmdRun(pepperEnv, ADMIN_HOST, 'ceph osd set ' + flag)
                 }
+                if (ORIGIN_RELEASE == 'jewel') {
+                    salt.cmdRun(pepperEnv, ADMIN_HOST, 'ceph osd set sortbitwise')
+                }
             }
         }
 
@@ -222,7 +225,6 @@
                         common.infoMsg('Removing flag ' + flag)
                         salt.cmdRun(pepperEnv, ADMIN_HOST, 'ceph osd unset ' + flag)
                     }
-
                 }
             }
         }