Skip to content

Instantly share code, notes, and snippets.

@pccowboy
Created August 29, 2016 15:32
Show Gist options
  • Save pccowboy/33e6033068acac54233ca8435884d57b to your computer and use it in GitHub Desktop.
Save pccowboy/33e6033068acac54233ca8435884d57b to your computer and use it in GitHub Desktop.
[root@headnode (home) /opt]# sdcadm check-config
Missing marlin-dashboard_root_pw in SAPI
Missing marlin-dashboard_admin_ips in SAPI
Missing marlin-dashboard_domain in SAPI
Missing MARLIN-DASHBOARD_SERVICE in SAPI
Missing portolan_root_pw in SAPI
Missing portolan_admin_ips in SAPI
Missing medusa_root_pw in SAPI
Missing medusa_admin_ips in SAPI
Missing medusa_domain in SAPI
Missing MEDUSA_SERVICE in SAPI
Missing nat_root_pw in SAPI
Missing nat_admin_ips in SAPI
Missing nat_domain in SAPI
Missing NAT_SERVICE in SAPI
Missing jobpuller_root_pw in SAPI
Missing jobpuller_admin_ips in SAPI
Missing jobpuller_domain in SAPI
Missing JOBPULLER_SERVICE in SAPI
Missing jobsupervisor_root_pw in SAPI
Missing jobsupervisor_admin_ips in SAPI
Missing jobsupervisor_domain in SAPI
Missing JOBSUPERVISOR_SERVICE in SAPI
Missing marlin_root_pw in SAPI
Missing marlin_admin_ips in SAPI
Missing marlin_domain in SAPI
Missing MARLIN_SERVICE in SAPI
Missing madtom_root_pw in SAPI
Missing madtom_admin_ips in SAPI
Missing madtom_domain in SAPI
Missing MADTOM_SERVICE in SAPI
Missing authcache_root_pw in SAPI
Missing authcache_admin_ips in SAPI
Missing authcache_domain in SAPI
Missing AUTHCACHE_SERVICE in SAPI
Missing electric-moray_root_pw in SAPI
Missing electric-moray_admin_ips in SAPI
Missing electric-moray_domain in SAPI
Missing ELECTRIC-MORAY_SERVICE in SAPI
Missing propeller_root_pw in SAPI
Missing propeller_admin_ips in SAPI
Missing propeller_domain in SAPI
Missing PROPELLER_SERVICE in SAPI
Missing ops_root_pw in SAPI
Missing ops_admin_ips in SAPI
Missing ops_domain in SAPI
Missing OPS_SERVICE in SAPI
Missing loadbalancer_root_pw in SAPI
Missing loadbalancer_admin_ips in SAPI
Missing loadbalancer_domain in SAPI
Missing LOADBALANCER_SERVICE in SAPI
Missing postgres_root_pw in SAPI
Missing postgres_admin_ips in SAPI
Missing postgres_domain in SAPI
Missing POSTGRES_SERVICE in SAPI
Missing storage_root_pw in SAPI
Missing storage_admin_ips in SAPI
Missing storage_domain in SAPI
Missing STORAGE_SERVICE in SAPI
Missing webapi_root_pw in SAPI
Missing webapi_admin_ips in SAPI
Missing webapi_domain in SAPI
Missing WEBAPI_SERVICE in SAPI
Missing nameservice_root_pw in SAPI
Missing nameservice_admin_ips in SAPI
Missing nameservice_domain in SAPI
Missing NAMESERVICE_SERVICE in SAPI
Missing docker_root_pw in SAPI
Missing docker_admin_ips in SAPI
@pccowboy
Copy link
Author

'sdc-sapi /applications' output:

[
  {
    "uuid": "2e70731e-dfa0-43ff-84c7-754d3db092e1",
    "name": "manta",
    "owner_uuid": "c2814ec8-1a99-eb25-bce2-904d1f94c969",
    "params": {
      "delegate_dataset": true
    },
    "metadata": {
      "REGION": "usw1",
      "SIZE": "lab",
      "DNS_DOMAIN": "pccowboy.com",
      "DOMAIN_NAME": "usw1.pccowboy.com",
      "MANTA_SERVICE": "manta.usw1.pccowboy.com",
      "AUTH_SERVICE": "authcache.usw1.pccowboy.com",
      "ELECTRIC_MORAY": "electric-moray.usw1.pccowboy.com",
      "POSEIDON_UUID": "c2814ec8-1a99-eb25-bce2-904d1f94c969",
      "IMGAPI_SERVICE": "http://imgapi.home.pccowboy.com/",
      "WORKFLOW_SERVICE": "workflow.usw1.pccowboy.com",
      "MEDUSA_REFLECTOR": "medusa.usw1.pccowboy.com",
      "MANTA_URL": "https://manta.usw1.pccowboy.com",
      "MANTA_REJECT_UNAUTHORIZED": false,
      "MANTA_TLS_INSECURE": "1",
      "MUSKIE_MULTI_DC": false,
      "SERVER_COMPUTE_ID_MAPPING": {
        "12399ec8-ef21-230e-8ee9-0025901107e2": "1.cn.usw1.pccowboy.com"
      },
      "ADMIN_USERNAME": "poseidon",
      "ADMIN_KEY_ID": "15:a4:44:d4:a7:38:50:23:cb:e8:c0:ea:f9:19:8e:54",
      "INDEX_MORAY_SHARDS": [
        {
          "host": "1.moray.usw1.pccowboy.com"
        },
        {
          "host": "2.moray.usw1.pccowboy.com",
          "last": true
        }
      ],
      "MARLIN_MORAY_SHARD": "1.moray.usw1.pccowboy.com",
      "STORAGE_MORAY_SHARD": "1.moray.usw1.pccowboy.com",
      "HASH_RING_IMAGE": "edef07dd-caf3-433f-85ea-9e32df64e9dc",
      "HASH_RING_IMGAPI_SERVICE": "http://imgapi.home.pccowboy.com",
      "ZK_SERVERS": [
        {
          "host": "10.77.77.6",
          "port": 2181,
          "num": 1
        },
        {
          "host": "10.77.77.7",
          "port": 2181,
          "num": 2
        },
        {
          "host": "10.77.77.8",
          "port": 2181,
          "num": 3,
          "last": true
        }
      ]
    },
    "master": true,
    "manifests": {
      "common": "ffa0b11a-d30c-4b16-98ce-1e2fed04cb55",
      "ssh_private_key": "2ef02bf4-759d-4fe9-b1b8-1365150c6841",
      "ssh_public_key": "4789983d-5bc1-4fb0-b188-1697aaf7ea5b",
      "dns_client": "37245dc1-c923-435f-b552-ddfeddfa2618",
      "registrar": "e85b7887-759f-42ca-98ab-6dba9ece1202"
    }
  },
  {
    "uuid": "09c1d8bc-e9a1-4eba-b2af-8842b2855ed4",
    "name": "sdc",
    "owner_uuid": "930896af-bf8c-48d4-885c-6573a94b1853",
    "params": {
      "brand": "joyent-minimal",
      "zfs_storage_pool_name": "zones",
      "owner_uuid": "930896af-bf8c-48d4-885c-6573a94b1853"
    },
    "metadata": {
      "no_rabbit": true,
      "pkg_0": "sdc_64:64:256:25600:100:1000:10:0ea54d9d-8d4d-4959-a87e-bf47c0f61a47",
      "pkg_1": "sdc_128:128:256:25600:100:1000:10:73a1ca34-1e30-48c7-8681-70314a9c67d3",
      "pkg_2": "sdc_256:256:512:25600:150:1000:10:78aa629d-04fc-4ee5-881b-0b4a914e0c52",
      "pkg_3": "sdc_512:512:1024:25600:200:1000:10:5dd022c8-5388-43e3-9fdd-536df4ea4f9f",
      "pkg_4": "sdc_768:768:1536:25600:250:1000:10:1ee2a2ab-2138-8542-b563-a67bb03792f7",
      "pkg_5": "sdc_1024:1024:2048:25600:300:1000:10:4769a8f9-de51-4c1e-885f-c3920cc68137",
      "pkg_6": "sdc_2048:2048:4096:25600:400:1000:20:8d205d81-3672-4297-b80f-7822eb6c998b",
      "pkg_7": "sdc_db:2048:4096:51200:400:1000:20:b2cd4ca7-ad7f-4a98-adeb-7adc9978a875",
      "pkg_8": "sdc_imgapi:768:1536:512000:250:1000:10:5dfe2cc2-cea2-0841-8e01-6cafbe5b7dbc",
      "pkg_9": "sdc_4096:4096:8192:25600:400:1000:20:0ae33ebc-c216-11e2-9b84-6f7e2a82bc36",
      "pkg_10": "sdc_8192:8192:16384:25600:400:1000:20:16425b42-b818-11e2-90d4-87477f18a688",
      "pkg_11": "sdc_rabbitmq:2048:10240:25600:400:1000:20:dd16ed2f-e751-48f1-a5a4-571f93c8e65d",
      "install_agents": "true",
      "initial_script": "scripts/headnode.sh",
      "utc_offset": "0",
      "agents_root": "/opt/smartdc/agents",
      "zonetracker_database_path": "/opt/smartdc/agents/db/zonetracker.sqlite3",
      "root_authorized_keys_file": "root.authorized_keys",
      "assets_pkg": "sdc_128",
      "sapi_pkg": "sdc_512",
      "adminui_workers": "8",
      "dhcpd_dhcp_server": "1",
      "dbconn_retry_after": "10",
      "dbconn_num_attempts": "10",
      "sbapi_url": "https://report.joyent.com/servicebundles/",
      "sbapi_http_user": "sdc6support",
      "sbapi_http_pass": "4cea03de8bf6",
      "swap": "0.25x",
      "compute_node_swap": "0.25x",
      "binder_admin_ips": "10.67.41.6",
      "manatee_admin_ips": "10.67.41.11",
      "moray_admin_ips": "10.67.41.12",
      "moray_domain": "moray.home.pccowboy.com",
      "ufds_admin_ips": "10.67.41.13",
      "ufds_domain": "ufds.home.pccowboy.com",
      "workflow_admin_ips": "10.67.41.14",
      "workflow_domain": "workflow.home.pccowboy.com",
      "imgapi_admin_ips": "10.67.41.16",
      "imgapi_domain": "imgapi.home.pccowboy.com",
      "cnapi_admin_ips": "10.67.41.17",
      "cnapi_domain": "cnapi.home.pccowboy.com",
      "fwapi_admin_ips": "10.67.41.21",
      "fwapi_domain": "fwapi.home.pccowboy.com",
      "vmapi_admin_ips": "10.67.41.22",
      "vmapi_domain": "vmapi.home.pccowboy.com",
      "sdc_admin_ips": "10.67.41.23",
      "sdc_domain": "sdc.home.pccowboy.com",
      "papi_admin_ips": "10.67.41.24",
      "papi_domain": "papi.home.pccowboy.com",
      "ca_admin_ips": "10.67.41.25",
      "ca_domain": "ca.home.pccowboy.com",
      "adminui_admin_ips": "10.67.41.26",
      "adminui_domain": "adminui.home.pccowboy.com",
      "mahi_admin_ips": "10.67.41.28",
      "mahi_domain": "mahi.home.pccowboy.com",
      "region_name": "usw1",
      "datacenter_name": "home",
      "datacenter_company_name": "pccowboy",
      "datacenter_location": "Concord CA",
      "default_rack_name": "RACK1",
      "default_rack_size": "30",
      "default_server_role": "pro",
      "default_package_sizes": "128,256,512,1024",
      "mail_to": "dswift@tdl.com",
      "mail_from": "support@pccowboy.com",
      "admin_nic": "00:25:90:11:07:e2",
      "admin_ip": "10.67.41.2",
      "admin_netmask": "255.255.255.0",
      "admin_network": "10.67.41.0",
      "external_nic": "68:05:ca:34:f6:96",
      "external_ip": "10.67.42.2",
      "external_gateway": "10.67.42.1",
      "external_netmask": "255.255.254.0",
      "external_vlan_id": "42",
      "external_network": "10.67.42.0",
      "external_provisionable_start": "10.67.42.3",
      "external_provisionable_end": "10.67.43.254",
      "headnode_default_gateway": "10.67.42.1",
      "binder_resolver_ips": "10.67.41.6,10.67.41.7,10.67.41.8,10.67.41.9,10.67.41.10",
      "dns_resolvers": "10.67.42.1,8.8.8.8",
      "dns_domain": "pccowboy.com",
      "dhcp_range_start": "10.67.41.33",
      "dhcp_range_end": "10.67.41.254",
      "dhcp_lease_time": "2592000",
      "root_shadow": "$5$sW0HPL3p$ZwB4KPBbeaHuAla7SlCjdK7VFOETogQmALnoKcZk6q9",
      "admin_shadow": "$5$rYyO1TD3$OpROiBBlG5vko5fNkirsFCR93V8bbrLX5FiwPra0awA",
      "ntp_hosts": "10.67.41.1",
      "compute_node_ntp_hosts": "10.67.41.2",
      "adminui_external_vlan": "42",
      "adminui_help_url": "http://wiki.joyent.com/display/sdc/Overview+of+SmartDataCenter",
      "amon_admin_ips": "10.67.41.20",
      "amon_domain": "amon.home.pccowboy.com",
      "amonredis_admin_ips": "10.67.41.18",
      "amonredis_domain": "amonredis.home.pccowboy.com",
      "redis_admin_ips": "10.67.41.19",
      "redis_domain": "redis.home.pccowboy.com",
      "assets_admin_ip": "10.67.41.3",
      "assets_admin_ips": "10.67.41.3",
      "dhcpd_admin_ip": "10.67.41.4",
      "dhcpd_admin_ips": "10.67.41.4",
      "dhcpd_domain": "dhcpd.home.pccowboy.com",
      "dsapi_url": "https://datasets.joyent.com",
      "dsapi_http_user": "honeybadger",
      "dsapi_http_pass": "IEatSnakes4Fun",
      "cloudapi_external_vlan": "42",
      "rabbitmq_admin_ip": "10.67.41.15",
      "rabbitmq_admin_ips": "10.67.41.15",
      "rabbitmq": "guest:guest:10.67.41.15:5672",
      "rabbitmq_domain": "rabbitmq.home.pccowboy.com",
      "ufds_is_master": "true",
      "ufds_ldap_root_dn": "cn=root",
      "ufds_admin_login": "admin",
      "ufds_admin_email": "dswift@tdl.com",
      "ufds_admin_uuid": "930896af-bf8c-48d4-885c-6573a94b1853",
      "capi_client_url": "http://10.67.41.13:8080",
      "cnapi_client_url": "http://10.67.41.17:80",
      "fwapi_client_url": "http://10.67.41.21:80",
      "napi_admin_ips": "10.67.41.5",
      "napi_client_url": "http://10.67.41.5:80",
      "napi_mac_prefix": "90b8d0",
      "napi_domain": "napi.home.pccowboy.com",
      "sapi_admin_ips": "10.67.41.27",
      "sapi_domain": "sapi.home.pccowboy.com",
      "phonehome_automatic": "true",
      "show_setup_timers": "true",
      "config_inc_dir": "/usbkey/config.inc",
      "ZK_SERVERS": [
        {
          "host": "10.67.41.6",
          "port": 2181,
          "num": 1,
          "last": true
        }
      ],
      "manatee_shard": "sdc",
      "sapi-url": "http://10.67.41.27",
      "assets-ip": "10.67.41.3",
      "ADMINUI_SERVICE": "adminui.home.pccowboy.com",
      "AMON_SERVICE": "amon.home.pccowboy.com",
      "AMONREDIS_SERVICE": "amonredis.home.pccowboy.com",
      "BINDER_SERVICE": "binder.home.pccowboy.com",
      "CA_SERVICE": "ca.home.pccowboy.com",
      "CLOUDAPI_SERVICE": "cloudapi.home.pccowboy.com",
      "CN-AGENT_SERVICE": "cn-agent.home.pccowboy.com",
      "CNAPI_SERVICE": "cnapi.home.pccowboy.com",
      "DHCPD_SERVICE": "dhcpd.home.pccowboy.com",
      "FWAPI_SERVICE": "fwapi.home.pccowboy.com",
      "IMGAPI_SERVICE": "imgapi.home.pccowboy.com",
      "MAHI_SERVICE": "mahi.home.pccowboy.com",
      "MANTA_SERVICE": "manta.home.pccowboy.com",
      "MORAY_SERVICE": "moray.home.pccowboy.com",
      "NAPI_SERVICE": "napi.home.pccowboy.com",
      "NET-AGENT_SERVICE": "net-agent.home.pccowboy.com",
      "PAPI_SERVICE": "papi.home.pccowboy.com",
      "RABBITMQ_SERVICE": "rabbitmq.home.pccowboy.com",
      "REDIS_SERVICE": "redis.home.pccowboy.com",
      "SAPI_SERVICE": "sapi.home.pccowboy.com",
      "SDC_SERVICE": "sdc.home.pccowboy.com",
      "UFDS_SERVICE": "ufds.home.pccowboy.com",
      "VM-AGENT_SERVICE": "vm-agent.home.pccowboy.com",
      "VMAPI_SERVICE": "vmapi.home.pccowboy.com",
      "WORKFLOW_SERVICE": "workflow.home.pccowboy.com",
      "ufds_admin_key_fingerprint": "2f:fc:82:31:e5:dd:28:58:9a:6c:af:f8:c5:01:c9:f0",
      "ufds_admin_key_openssh": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDUCsOA1e3zeRHqxMZVQ4wc0cU4G0+uKwbP2iFn9rJJod9TnrCaf6m962qrRrq+QnsQhqK8xfZa0mFt/foWX106Jr+Tc/+JGvDtRE/oPq9Z7uFjLpgEuSqXr0AL1chF4h7PaIOXb6JWJ3RG2SeNSTmzfqEuO8XmMFFB1MZDkkI36furDlfkPlap61aVJsDrfaTDvBj2lO6f6qIx9+O8J39qsTk7wV5FGDu+cPpI1Dmro2vHyxji3swxIsjHiq8BJg9BJ5+EZSf9B7VjcRmR1p8e0uPOAMyPEF++FkVyTthPeW7STH3hnY2FRG7bwTbVZszTBa8EyJf+ugq8lqf0nFs5 root@headnode\n",
      "SDC_KEY_ID": "2e:16:23:7a:c1:76:1c:11:a3:6b:41:b2:d8:4e:dc:59",
      "PORTOLAN_SERVICE": "portolan.home.pccowboy.com",
      "portolan_domain": "portolan.home.pccowboy.com",
      "DOCKER_SERVICE": "docker.home.pccowboy.com",
      "docker_domain": "docker.home.pccowboy.com",
      "fabric_cfg": {
        "default_underlay_mtu": 9000,
        "default_overlay_mtu": 8500,
        "sdc_nat_pool": "fc0d3609-d7bb-40b2-9283-efce580c9594",
        "sdc_underlay_assignment": "manual",
        "sdc_underlay_tag": "sdc_underlay"
      }
    },
    "manifests": {
      "registrar": "997dd90d-81a1-4e6b-b535-76ad6d7ffe2f",
      "sdc_private_key": "eb28e4e8-82b0-492c-874a-4b629b7fece6",
      "sdc_public_key": "872fad30-bf4a-42b0-b69e-3f7651c99962"
    },
    "metadata_schema": {
      "type": "object",
      "properties": {
        "fabric_cfg": {
          "type": "object",
          "properties": {
            "default_underlay_mtu": {
              "type": "integer",
              "minimum": 576,
              "maximum": 9000,
              "required": true,
              "default": 9000
            },
            "default_overlay_mtu": {
              "type": "integer",
              "minimum": 576,
              "maximum": 9000,
              "required": true,
              "default": 8500
            },
            "sdc_nat_pool": {
              "type": "string"
            },
            "sdc_underlay_assignment": {
              "type": "string",
              "required": true,
              "enum": [
                "manual",
                "automatic"
              ]
            },
            "sdc_underlay_tag": {
              "type": "string",
              "required": true
            },
            "sdc_underlay_pool": {
              "type": "string"
            },
            "default_network_name": {
              "type": "string",
              "pattern": "^[a-zA-Z][a-zA-Z0-9_\\./-]{1,255}$"
            },
            "default_vlan_name": {
              "type": "string",
              "pattern": "^[a-zA-Z][a-zA-Z0-9_\\./-]{1,255}$"
            }
          }
        }
      }
    }
  }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment