Skip to content

Commit

Permalink
[PLAT-14589] Can't enable DB audit log in case of manual provisioned …
Browse files Browse the repository at this point in the history
…onprem universes

Summary: Can't enable DB audit log in case of manual provisioned onprem universes.

Test Plan:
Manually tested
QA team ran DBAL itest against the diff as well

Reviewers: amalyshev

Reviewed By: amalyshev

Subscribers: agarg, svc_phabricator, yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D37156
  • Loading branch information
Sahith02 committed Dec 19, 2024
1 parent 724a4bd commit 42049f4
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yugabyte.yw.common.PlatformServiceException;
import com.yugabyte.yw.common.Util;
import com.yugabyte.yw.models.Universe;
import com.yugabyte.yw.models.helpers.audit.AuditLogConfig;
import org.apache.commons.collections4.CollectionUtils;
Expand Down Expand Up @@ -34,12 +33,6 @@ public void verifyParams(Universe universe, boolean isFirstTry) {
+ "installed and task params has installOtelCollector=false - can't configure audit "
+ "logs export for the universe");
}

if (installOtelCollector && Util.isOnPremManualProvisioning(universe)) {
throw new PlatformServiceException(
BAD_REQUEST,
"Can't install OpenTelemetry Collector for onprem universe with manual provisioning");
}
}

public static class Converter extends BaseConverter<AuditLogConfigParams> {}
Expand Down

0 comments on commit 42049f4

Please sign in to comment.