Topology "Unknown"

I’m using datomic-cloud-cli-0.10.89 and running datomic cloud list-systems yields:

[{"name":"xxx-dev-dcs",
  "storage-cft-version":"884",
  "topology":"Unknown"},
 {"name":"shared-datomic",
  "storage-cft-version":"732",
  "topology":"production"}]

I wonder why is the topology "Unknown"?

Could it be because I’ve upgraded from a Solo topology?

Based on this note in the Datomic Cloud Change Log:

  • Replaced: The solo tier is no longer available; the production compute stack now scales all the way down to t3.small.

I expected the topology to be "production".

I had a utility, which was using datomic.tools.ops.cloud/list-systems and datomic.tools.ops.system/list-instances to provide an overview of our Datomic Cloud Systems (which we abbreviate as DCS), but that utility also describes the topology as "Unknown".

I was using com.datomic/tools.ops {:mvn/version "0.10.89"} and this is how we obtain the Datomic CLI, using Nix:

{ stdenv, pkgs, fetchzip, installShellFiles, awscli, clojure, makeWrapper }:

stdenv.mkDerivation rec {
  pname = "datomic-cloud-cli";
  version = "0.10.89";

  src = fetchzip {
    url = "https://datomic-releases-1fc2183a.s3.amazonaws.com/tools/datomic-cli/datomic-cli-${version}.zip";
    sha256 = "0d6h54hj7a9i44sb4gz5mg59jzph9as1b93chlw7bhrwr5hxbfmn";
  };

  nativeBuildInputs = [
    installShellFiles
    makeWrapper
  ];

  installPhase =
    let
      binPath = pkgs.lib.makeBinPath [ awscli clojure ];
    in
      ''
        mkdir -p $out/bin

        for prg in datomic{,-access,-gateway,-analytics}; do
	  install -Dt $out/bin $prg
          wrapProgram $out/bin/$prg --prefix PATH : $out/bin:${binPath}
        done
      '';

  meta = with pkgs.lib; {
    description = "Datomic Cloud CLI Tools";
    homepage = "https://docs.datomic.com/cloud/operation/cli-tools.html";
    license = licenses.epl10;
    longDescription = ''
    '';
    maintainers = with maintainers; [ onetom ];
    platforms = platforms.unix;
  };
}
1 Like