Skip to content

Instantly share code, notes, and snippets.

@iSignal
Created November 15, 2019 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iSignal/31e340527100d324ec8a99bb097e729e to your computer and use it in GitHub Desktop.
Save iSignal/31e340527100d324ec8a99bb097e729e to your computer and use it in GitHub Desktop.
2019-11-15 18:36:37,336 [INFO] from play.api.db.DefaultDBApi in main - Database [default] connected at jdbc:postgresql://localhost:5433/system_platform
2019-11-15 18:36:39,590 [INFO] from com.yugabyte.yw.commissioner.Commissioner in main - Started Commissioner TaskPool.
2019-11-15 18:36:39,591 [INFO] from com.yugabyte.yw.commissioner.Commissioner in main - Started TaskProgressMonitor thread.
2019-11-15 18:36:41,283 [WARN] from play.api.db.evolutions.ApplicationEvolutions in main - Your production database [default] needs evolutions!
# --- Rev:1,Ups - fda115c
create table access_key (
key_code varchar(255) not null,
provider_uuid uuid not null,
key_info TEXT not null,
constraint pk_access_key primary key (key_code,provider_uuid)
);
create table alert (
uuid uuid not null,
customer_uuid uuid not null,
create_time timestamp not null,
err_code Text not null,
type varchar(255),
message Text not null,
constraint pk_alert primary key (uuid)
);
create table availability_zone (
uuid uuid not null,
code varchar(25) not null,
name varchar(100) not null,
region_uuid uuid,
active boolean default true not null,
subnet varchar(50),
config TEXT,
constraint pk_availability_zone primary key (uuid)
);
create table backup (
backup_uuid uuid not null,
customer_uuid uuid not null,
state varchar(11) not null,
backup_info TEXT not null,
task_uuid uuid,
create_time timestamp not null,
update_time timestamp not null,
constraint ck_backup_state check (state in ('Failed','Skipped','Completed','In Progress','Deleted')),
constraint uq_backup_task_uuid unique (task_uuid),
constraint pk_backup primary key (backup_uuid)
);
create table certificate_info (
uuid uuid not null,
customer_uuid uuid not null,
label varchar(255),
start_date timestamp not null,
expiry_date timestamp not null,
private_key varchar(255) not null,
certificate varchar(255) not null,
constraint uq_certificate_info_label unique (label),
constraint pk_certificate_info primary key (uuid)
);
create table customer (
id bigint not null,
uuid uuid not null,
code varchar(15) not null,
email varchar(256) not null,
password_hash varchar(256) not null,
name varchar(256) not null,
creation_date timestamp not null,
auth_token varchar(255),
auth_token_issue_date timestamp,
api_token varchar(255),
features TEXT,
universe_uuids TEXT not null,
constraint uq_customer_uuid unique (uuid),
constraint uq_customer_email unique (email),
constraint pk_customer primary key (id)
);
create sequence customer_id_seq increment by 1;
create table customer_config (
config_uuid uuid not null,
customer_uuid uuid not null,
type varchar(25) not null,
name varchar(100) not null,
data TEXT not null,
constraint ck_customer_config_type check (type in ('STORAGE','OTHER','CALLHOME','ALERTS')),
constraint pk_customer_config primary key (config_uuid)
);
create table customer_task (
id bigint not null,
customer_uuid uuid not null,
task_uuid uuid not null,
target_type varchar(8) not null,
target_name varchar(255) not null,
type varchar(19) not null,
target_uuid uuid not null,
create_time timestamp not null,
completion_time timestamp,
constraint ck_customer_task_target_type check (target_type in ('Table','Node','Backup','Universe','Cluster','Provider')),
constraint ck_customer_task_type check (type in ('Delete','Add','Stop','Start','Backup','UpgradeSoftware','Remove','Update','Restore','BulkImportData','RotateEncryptionKey','Create','Release','UpgradeGflags')),
constraint pk_customer_task primary key (id)
);
create sequence customer_task_id_seq increment by 1;
create table health_check (
universe_uuid uuid not null,
check_time timestamp not null,
customer_id bigint,
details_json TEXT not null,
constraint pk_health_check primary key (universe_uuid,check_time)
);
create table instance_type (
provider_code varchar(255) not null,
instance_type_code varchar(255) not null,
active boolean default true not null,
num_cores integer not null,
mem_size_gb float not null,
instance_type_details_json TEXT,
constraint pk_instance_type primary key (provider_code,instance_type_code)
);
create table kms_config (
config_uuid uuid not null,
customer_uuid uuid not null,
key_provider varchar(100) not null,
auth_config TEXT not null,
version integer not null,
constraint ck_kms_config_key_provider check (key_provider in ('SMARTKEY','AWS')),
constraint pk_kms_config primary key (config_uuid)
);
create table kms_history (
config_uuid uuid not null,
target_uuid uuid not null,
type varchar(12) not null,
timestamp timestamp not null,
version integer not null,
key_ref varchar(255) not null,
constraint ck_kms_history_type check (type in ('UNIVERSE_KEY')),
constraint pk_kms_history primary key (config_uuid,target_uuid,type)
);
create table metric_config (
config_key varchar(100) not null,
config TEXT not null,
constraint pk_metric_config primary key (config_key)
);
create table node_instance (
node_uuid uuid not null,
instance_type_code varchar(255),
node_name varchar(255) not null,
zone_uuid uuid not null,
in_use boolean not null,
node_details_json varchar(255) not null,
constraint pk_node_instance primary key (node_uuid)
);
create table price_component (
provider_code varchar(255) not null,
region_code varchar(255) not null,
component_code varchar(255) not null,
price_details_json TEXT not null,
constraint pk_price_component primary key (provider_code,region_code,component_code)
);
create table provider (
uuid uuid not null,
code varchar(255) not null,
name varchar(255) not null,
active boolean default true not null,
customer_uuid uuid not null,
config TEXT not null,
constraint pk_provider primary key (uuid)
);
create table region (
uuid uuid not null,
code varchar(25) not null,
name varchar(100) not null,
yb_image varchar(255),
longitude float,
latitude float,
provider_uuid uuid,
active boolean default true not null,
details TEXT,
config TEXT,
constraint pk_region primary key (uuid)
);
create table schedule (
schedule_uuid uuid not null,
customer_uuid uuid not null,
failure_count integer default 0 not null,
frequency bigint not null,
task_params TEXT not null,
task_type varchar(29) not null,
status varchar(7) not null,
cron_expression varchar(255),
constraint ck_schedule_task_type check (task_type in ('CloudBootstrap','CloudCleanup','CreateCassandraTable','CreateUniverse','ReadOnlyClusterCreate','ReadOnlyClusterDelete','CreateKubernetesUniverse','DestroyUniverse','DestroyKubernetesUniverse','DeleteTable','BackupUniverse','MultiTableBackup','EditUniverse','EditKubernetesUniverse','KubernetesProvision','ImportIntoTable','UpgradeUniverse','UpgradeKubernetesUniverse','DeleteNodeFromUniverse','StopNodeInUniverse','StartNodeInUniverse','AddNodeToUniverse','RemoveNodeFromUniverse','ReleaseInstanceFromUniverse','RotateUniverseKey','RotateKubernetesUniverseKey','AnsibleClusterServerCtl','AnsibleConfigureServers','AnsibleDestroyServer','AnsibleSetupServer','AnsibleUpdateNodeInfo','BulkImport','ChangeMasterConfig','CreateTable','DeleteNode','UpdateNodeProcess','DeleteTableFromUniverse','LoadBalancerStateChange','ModifyBlackList','ManipulateDnsRecordTask','RemoveUniverseEntry','SetNodeState','SwamperTargetsFileUpdate','UniverseUpdateSucceeded','UpdateAndPersistGFlags','UpdatePlacementInfo','UpdateSoftwareVersion','WaitForDataMove','WaitForLoadBalance','WaitForMasterLeader','WaitForServer','WaitForTServerHeartBeats','DeleteClusterFromUniverse','InstanceActions','WaitForServerReady','CloudAccessKeyCleanup','CloudAccessKeySetup','CloudInitializer','CloudProviderCleanup','CloudRegionCleanup','CloudRegionSetup','CloudSetup','BackupTable','WaitForLeadersOnPreferredOnly','EnableEncryptionAtRest','KubernetesCommandExecutor','KubernetesWaitForPod')),
constraint ck_schedule_status check (status in ('Active','Stopped','Paused')),
constraint pk_schedule primary key (schedule_uuid)
);
create table schedule_task (
task_uuid uuid not null,
schedule_uuid uuid not null,
completed_time timestamp,
scheduled_time timestamp,
constraint pk_schedule_task primary key (task_uuid)
);
create table task_info (
uuid uuid not null,
parent_uuid uuid,
position integer default -1,
task_type varchar(29) not null,
task_state varchar(12) not null,
sub_task_group_type varchar(25),
percent_done integer default 0,
details TEXT default '{}' not null,
owner varchar(255) not null,
create_time timestamp not null,
update_time timestamp not null,
constraint ck_task_info_task_type check (task_type in ('CloudBootstrap','CloudCleanup','CreateCassandraTable','CreateUniverse','ReadOnlyClusterCreate','ReadOnlyClusterDelete','CreateKubernetesUniverse','DestroyUniverse','DestroyKubernetesUniverse','DeleteTable','BackupUniverse','MultiTableBackup','EditUniverse','EditKubernetesUniverse','KubernetesProvision','ImportIntoTable','UpgradeUniverse','UpgradeKubernetesUniverse','DeleteNodeFromUniverse','StopNodeInUniverse','StartNodeInUniverse','AddNodeToUniverse','RemoveNodeFromUniverse','ReleaseInstanceFromUniverse','RotateUniverseKey','RotateKubernetesUniverseKey','AnsibleClusterServerCtl','AnsibleConfigureServers','AnsibleDestroyServer','AnsibleSetupServer','AnsibleUpdateNodeInfo','BulkImport','ChangeMasterConfig','CreateTable','DeleteNode','UpdateNodeProcess','DeleteTableFromUniverse','LoadBalancerStateChange','ModifyBlackList','ManipulateDnsRecordTask','RemoveUniverseEntry','SetNodeState','SwamperTargetsFileUpdate','UniverseUpdateSucceeded','UpdateAndPersistGFlags','UpdatePlacementInfo','UpdateSoftwareVersion','WaitForDataMove','WaitForLoadBalance','WaitForMasterLeader','WaitForServer','WaitForTServerHeartBeats','DeleteClusterFromUniverse','InstanceActions','WaitForServerReady','CloudAccessKeyCleanup','CloudAccessKeySetup','CloudInitializer','CloudProviderCleanup','CloudRegionCleanup','CloudRegionSetup','CloudSetup','BackupTable','WaitForLeadersOnPreferredOnly','EnableEncryptionAtRest','KubernetesCommandExecutor','KubernetesWaitForPod')),
constraint ck_task_info_task_state check (task_state in ('Unknown','Running','Success','Failure','Created','Initializing')),
constraint ck_task_info_sub_task_group_type check (sub_task_group_type in ('Invalid','Provisioning','UpgradingSoftware','DownloadingSoftware','InstallingSoftware','ConfigureUniverse','WaitForDataMigration','RemovingUnusedServers','UpdatingGFlags','BootstrappingCloud','BootstrappingRegion','CreateAccessKey','InitializeCloudMetadata','CleanupCloud','CreatingTable','ImportingData','DeletingNode','StoppingNode','StartingNode','StartingNodeProcesses','StoppingNodeProcesses','AddingNode','RemovingNode','ReleasingInstance','DeletingTable','CreatingTableBackup','RestoringTableBackup','CreateNamespace','ApplySecret','HelmInit','HelmInstall','UpdateNumNodes','HelmDelete','KubernetesVolumeDelete','KubernetesNamespaceDelete','KubernetesPodInfo','KubernetesWaitForPod','HelmUpgrade','KubernetesUpgradePod','KubernetesInitYSQL','CopyEncryptionKeyFile')),
constraint pk_task_info primary key (uuid)
);
create table universe (
universe_uuid uuid not null,
version integer not null,
creation_date timestamp not null,
name varchar(255),
customer_id bigint,
config TEXT,
universe_details_json TEXT not null,
constraint uq_universe_name_customer_id unique (name,customer_id),
constraint pk_universe primary key (universe_uuid)
);
create table yugaware_property (
name varchar(255) not null,
type varchar(6) not null,
value TEXT,
description TEXT,
constraint ck_yugaware_property_type check (type in ('Config','System')),
constraint pk_yugaware_property primary key (name)
);
alter table availability_zone add constraint fk_availability_zone_region_uuid foreign key (region_uuid) references region (uuid) on delete restrict on update restrict;
create index ix_availability_zone_region_uuid on availability_zone (region_uuid);
alter table region add constraint fk_region_provider_uuid foreign key (provider_uuid) references provider (uuid) on delete restrict on update restrict;
create index ix_region_provider_uuid on region (provider_uuid);
2019-11-15 18:36:41,284 [WARN] from play.api.db.evolutions.ApplicationEvolutions in main - Run with -Dplay.evolutions.db.default.autoApply=true if you want to run them automatically (be careful)
2019-11-15 18:36:47,590 [INFO] from play.api.db.DefaultDBApi in main - Database [default] connected at jdbc:postgresql://localhost:5433/system_platform
2019-11-15 18:37:06,500 [INFO] from com.yugabyte.yw.commissioner.Commissioner in main - Started Commissioner TaskPool.
2019-11-15 18:37:06,501 [INFO] from com.yugabyte.yw.commissioner.Commissioner in main - Started TaskProgressMonitor thread.
2019-11-15 18:37:08,399 [INFO] from play.api.Play in main - Application started (Prod)
2019-11-15 18:37:08,576 [INFO] from play.core.server.NettyServer in main - Listening for HTTP on /127.0.0.1:7200
2019-11-15 18:37:10,327 [DEBUG] from com.yugabyte.yw.models.Universe in application-akka.actor.default-dispatcher-6 - Created universe 1f32810c-1c69-4292-a3e1-0f24e5835928 with details [{"errorString":null,"deviceInfo":null,"universeUUID":"1f32810c-1c69-4292-a3e1-0f24e5835928","expectedUniverseVersion":0,"enableEncryptionAtRest":false,"disableEncryptionAtRest":false,"cmkArn":null,"encryptionAtRestConfig":null,"nodeDetailsSet":[{"nodeIdx":1,"nodeName":"yb-admin-local-universe-n1","nodeUuid":null,"cloudInfo":{"private_ip":"127.0.0.1","public_ip":null,"public_dns":null,"private_dns":null,"instance_type":"default-type","subnet_id":null,"az":"zone-1","region":"region-1","cloud":"cloud-1","assignPublicIP":true,"useTimeSync":false},"azUuid":"6864542a-f986-4a54-a1df-4c858b7bf7b1","placementUuid":"53f624b7-d96e-423a-b5db-b4912ccd9709","state":"Live","isMaster":true,"masterHttpPort":7000,"masterRpcPort":7100,"isTserver":false,"tserverHttpPort":9000,"tserverRpcPort":9100,"isRedisServer":true,"redisServerHttpPort":11000,"redisServerRpcPort":6379,"isYqlServer":true,"yqlServerHttpPort":12000,"yqlServerRpcPort":9042,"isYsqlServer":true,"ysqlServerHttpPort":13000,"ysqlServerRpcPort":5433,"allowedActions":["STOP","REMOVE"]}],"clusters":[{"uuid":"53f624b7-d96e-423a-b5db-b4912ccd9709","clusterType":"PRIMARY","userIntent":{"universeName":"local-universe","provider":"e57f636c-6b30-4c1d-9983-efa22e903cba","providerType":"local","replicationFactor":1,"regionList":["5074a056-b50f-4592-83d3-5d7e8036cbbe"],"preferredRegion":null,"instanceType":"default-type","numNodes":0,"ybSoftwareVersion":"2.0.6.0-b0","accessKeyCode":null,"deviceInfo":null,"assignPublicIP":true,"useTimeSync":false,"enableYSQL":true,"enableNodeToNodeEncrypt":false,"enableClientToNodeEncrypt":false,"enableEncryptionAtRest":false,"enableVolumeEncryption":false,"masterGFlags":{},"tserverGFlags":{},"instanceTags":{}},"placementInfo":{"cloudList":[{"uuid":"e57f636c-6b30-4c1d-9983-efa22e903cba","code":"cloud-1","regionList":[{"uuid":"5074a056-b50f-4592-83d3-5d7e8036cbbe","code":"region-1","name":"Region 1","azList":[{"uuid":"6864542a-f986-4a54-a1df-4c858b7bf7b1","name":"Zone 1","replicationFactor":1,"subnet":null,"numNodesInAZ":1,"isAffinitized":false}]}]}]},"index":2}],"nodePrefix":"yb-admin-local-universe","rootCA":null,"isKubernetesUniverse":false,"userAZSelected":false,"resetAZConfig":false,"updateInProgress":false,"backupInProgress":false,"updateSucceeded":true,"nextClusterIndex":1,"allowInsecure":true,"importedState":"STARTED","capability":"READ_ONLY"}] with name local-universe.
2019-11-15 18:37:10,398 [DEBUG] from com.yugabyte.yw.controllers.ImportController in application-akka.actor.default-dispatcher-6 - Started Import Thread Pool.
2019-11-15 18:37:10,415 [INFO] from com.yugabyte.yw.commissioner.SubTaskGroup in Import-Pool-0 - Adding task #0: WaitForServer(1f32810c-1c69-4292-a3e1-0f24e5835928, yb-admin-local-universe-n1, type=MASTER) : details={"errorString":null,"deviceInfo":null,"universeUUID":"1f32810c-1c69-4292-a3e1-0f24e5835928","expectedUniverseVersion":0,"enableEncryptionAtRest":false,"disableEncryptionAtRest":false,"cmkArn":null,"encryptionAtRestConfig":null,"nodeDetailsSet":null,"nodeName":"yb-admin-local-universe-n1","serverType":"MASTER","serverWaitTimeoutMs":5000}
2019-11-15 18:37:10,468 [INFO] from com.yugabyte.yw.commissioner.SubTaskGroup in Import-Pool-0 - Running task list WaitForServer.
2019-11-15 18:37:10,549 [INFO] from com.yugabyte.yw.commissioner.tasks.subtasks.WaitForServer in TaskPool-(1f32810c-1c69-4292-a3e1-0f24e5835928)-0 - Running WaitForServer(1f32810c-1c69-4292-a3e1-0f24e5835928, yb-admin-local-universe-n1, type=MASTER): hostPorts=127.0.0.1:7100.
2019-11-15 18:37:10,966 [INFO] from com.yugabyte.yw.common.services.LocalYBClientService in TaskPool-(1f32810c-1c69-4292-a3e1-0f24e5835928)-0 - Closing client masters=127.0.0.1:7100.
2019-11-15 18:37:10,988 [INFO] from com.yugabyte.yw.commissioner.SubTaskGroup in Import-Pool-1 - Adding task #0: WaitForMasterLeader(1f32810c-1c69-4292-a3e1-0f24e5835928) : details={"errorString":null,"deviceInfo":null,"universeUUID":"1f32810c-1c69-4292-a3e1-0f24e5835928","expectedUniverseVersion":0,"enableEncryptionAtRest":false,"disableEncryptionAtRest":false,"cmkArn":null,"encryptionAtRestConfig":null,"nodeDetailsSet":null}
2019-11-15 18:37:11,004 [INFO] from com.yugabyte.yw.commissioner.SubTaskGroup in Import-Pool-1 - Running task list WaitForMasterLeader.
2019-11-15 18:37:11,014 [INFO] from com.yugabyte.yw.commissioner.tasks.subtasks.WaitForMasterLeader in TaskPool-(1f32810c-1c69-4292-a3e1-0f24e5835928)-0 - Running WaitForMasterLeader(1f32810c-1c69-4292-a3e1-0f24e5835928): hostPorts=127.0.0.1:7100.
2019-11-15 18:37:11,050 [INFO] from com.yugabyte.yw.common.services.LocalYBClientService in TaskPool-(1f32810c-1c69-4292-a3e1-0f24e5835928)-0 - Closing client masters=127.0.0.1:7100.
2019-11-15 18:37:11,073 [DEBUG] from com.yugabyte.yw.models.Universe in application-akka.actor.default-dispatcher-6 - Swapped universe 1f32810c-1c69-4292-a3e1-0f24e5835928:local-universe details to [{"errorString":null,"deviceInfo":null,"universeUUID":"1f32810c-1c69-4292-a3e1-0f24e5835928","expectedUniverseVersion":0,"enableEncryptionAtRest":false,"disableEncryptionAtRest":false,"cmkArn":null,"encryptionAtRestConfig":null,"nodeDetailsSet":[{"nodeIdx":1,"nodeName":"yb-admin-local-universe-n1","nodeUuid":null,"cloudInfo":{"private_ip":"127.0.0.1","public_ip":null,"public_dns":null,"private_dns":null,"instance_type":"default-type","subnet_id":null,"az":"zone-1","region":"region-1","cloud":"cloud-1","assignPublicIP":true,"useTimeSync":false},"azUuid":"6864542a-f986-4a54-a1df-4c858b7bf7b1","placementUuid":"53f624b7-d96e-423a-b5db-b4912ccd9709","state":"Live","isMaster":true,"masterHttpPort":7000,"masterRpcPort":7100,"isTserver":false,"tserverHttpPort":9000,"tserverRpcPort":9100,"isRedisServer":true,"redisServerHttpPort":11000,"redisServerRpcPort":6379,"isYqlServer":true,"yqlServerHttpPort":12000,"yqlServerRpcPort":9042,"isYsqlServer":true,"ysqlServerHttpPort":13000,"ysqlServerRpcPort":5433,"allowedActions":["STOP","REMOVE"]}],"clusters":[{"uuid":"53f624b7-d96e-423a-b5db-b4912ccd9709","clusterType":"PRIMARY","userIntent":{"universeName":"local-universe","provider":"e57f636c-6b30-4c1d-9983-efa22e903cba","providerType":"local","replicationFactor":1,"regionList":["5074a056-b50f-4592-83d3-5d7e8036cbbe"],"preferredRegion":null,"instanceType":"default-type","numNodes":0,"ybSoftwareVersion":"2.0.6.0-b0","accessKeyCode":null,"deviceInfo":null,"assignPublicIP":true,"useTimeSync":false,"enableYSQL":true,"enableNodeToNodeEncrypt":false,"enableClientToNodeEncrypt":false,"enableEncryptionAtRest":false,"enableVolumeEncryption":false,"masterGFlags":{},"tserverGFlags":{},"instanceTags":{}},"placementInfo":{"cloudList":[{"uuid":"e57f636c-6b30-4c1d-9983-efa22e903cba","code":"cloud-1","regionList":[{"uuid":"5074a056-b50f-4592-83d3-5d7e8036cbbe","code":"region-1","name":"Region 1","azList":[{"uuid":"6864542a-f986-4a54-a1df-4c858b7bf7b1","name":"Zone 1","replicationFactor":1,"subnet":null,"numNodesInAZ":1,"isAffinitized":false}]}]}]},"index":2}],"nodePrefix":"yb-admin-local-universe","rootCA":null,"isKubernetesUniverse":false,"userAZSelected":false,"resetAZConfig":false,"updateInProgress":false,"backupInProgress":false,"updateSucceeded":true,"nextClusterIndex":1,"allowInsecure":true,"importedState":"MASTERS_ADDED","capability":"READ_ONLY"}] with new version = 2.
2019-11-15 18:37:11,084 [INFO] from com.yugabyte.yw.controllers.ImportController in application-akka.actor.default-dispatcher-6 - Done importing masters 127.0.0.1:7100
2019-11-15 18:37:11,314 [INFO] from org.yb.client.AsyncYBClient in New I/O worker #19 - Discovered tablet YB Master for table YB Master with partition ["", "")
2019-11-15 18:37:11,328 [INFO] from com.yugabyte.yw.common.services.LocalYBClientService in application-akka.actor.default-dispatcher-5 - Closing client masters=127.0.0.1:7100.
2019-11-15 18:37:11,366 [DEBUG] from com.yugabyte.yw.models.Universe in application-akka.actor.default-dispatcher-5 - Swapped universe 1f32810c-1c69-4292-a3e1-0f24e5835928:local-universe details to [{"errorString":null,"deviceInfo":null,"universeUUID":"1f32810c-1c69-4292-a3e1-0f24e5835928","expectedUniverseVersion":0,"enableEncryptionAtRest":false,"disableEncryptionAtRest":false,"cmkArn":null,"encryptionAtRestConfig":null,"nodeDetailsSet":[{"nodeIdx":1,"nodeName":"yb-admin-local-universe-n1","nodeUuid":null,"cloudInfo":{"private_ip":"127.0.0.1","public_ip":null,"public_dns":null,"private_dns":null,"instance_type":"default-type","subnet_id":null,"az":"zone-1","region":"region-1","cloud":"cloud-1","assignPublicIP":true,"useTimeSync":false},"azUuid":"6864542a-f986-4a54-a1df-4c858b7bf7b1","placementUuid":"53f624b7-d96e-423a-b5db-b4912ccd9709","state":"Live","isMaster":true,"masterHttpPort":7000,"masterRpcPort":7100,"isTserver":true,"tserverHttpPort":9000,"tserverRpcPort":9100,"isRedisServer":true,"redisServerHttpPort":11000,"redisServerRpcPort":6379,"isYqlServer":true,"yqlServerHttpPort":12000,"yqlServerRpcPort":9042,"isYsqlServer":true,"ysqlServerHttpPort":13000,"ysqlServerRpcPort":5433,"allowedActions":["STOP","REMOVE"]}],"clusters":[{"uuid":"53f624b7-d96e-423a-b5db-b4912ccd9709","clusterType":"PRIMARY","userIntent":{"universeName":"local-universe","provider":"e57f636c-6b30-4c1d-9983-efa22e903cba","providerType":"local","replicationFactor":1,"regionList":["5074a056-b50f-4592-83d3-5d7e8036cbbe"],"preferredRegion":null,"instanceType":"default-type","numNodes":1,"ybSoftwareVersion":"2.0.6.0-b0","accessKeyCode":null,"deviceInfo":null,"assignPublicIP":true,"useTimeSync":false,"enableYSQL":true,"enableNodeToNodeEncrypt":false,"enableClientToNodeEncrypt":false,"enableEncryptionAtRest":false,"enableVolumeEncryption":false,"masterGFlags":{},"tserverGFlags":{},"instanceTags":{}},"placementInfo":{"cloudList":[{"uuid":"e57f636c-6b30-4c1d-9983-efa22e903cba","code":"cloud-1","regionList":[{"uuid":"5074a056-b50f-4592-83d3-5d7e8036cbbe","code":"region-1","name":"Region 1","azList":[{"uuid":"6864542a-f986-4a54-a1df-4c858b7bf7b1","name":"Zone 1","replicationFactor":1,"subnet":null,"numNodesInAZ":1,"isAffinitized":false}]}]}]},"index":2}],"nodePrefix":"yb-admin-local-universe","rootCA":null,"isKubernetesUniverse":false,"userAZSelected":false,"resetAZConfig":false,"updateInProgress":false,"backupInProgress":false,"updateSucceeded":true,"nextClusterIndex":1,"allowInsecure":true,"importedState":"MASTERS_ADDED","capability":"READ_ONLY"}] with new version = 3.
2019-11-15 18:37:11,383 [INFO] from com.yugabyte.yw.commissioner.SubTaskGroup in Import-Pool-2 - Adding task #0: WaitForServer(1f32810c-1c69-4292-a3e1-0f24e5835928, yb-admin-local-universe-n1, type=TSERVER) : details={"errorString":null,"deviceInfo":null,"universeUUID":"1f32810c-1c69-4292-a3e1-0f24e5835928","expectedUniverseVersion":0,"enableEncryptionAtRest":false,"disableEncryptionAtRest":false,"cmkArn":null,"encryptionAtRestConfig":null,"nodeDetailsSet":null,"nodeName":"yb-admin-local-universe-n1","serverType":"TSERVER","serverWaitTimeoutMs":120000}
2019-11-15 18:37:11,398 [INFO] from com.yugabyte.yw.commissioner.SubTaskGroup in Import-Pool-2 - Running task list WaitForServer.
2019-11-15 18:37:11,407 [INFO] from com.yugabyte.yw.commissioner.tasks.subtasks.WaitForServer in TaskPool-(1f32810c-1c69-4292-a3e1-0f24e5835928)-0 - Running WaitForServer(1f32810c-1c69-4292-a3e1-0f24e5835928, yb-admin-local-universe-n1, type=TSERVER): hostPorts=127.0.0.1:7100.
2019-11-15 18:37:11,422 [INFO] from com.yugabyte.yw.common.services.LocalYBClientService in TaskPool-(1f32810c-1c69-4292-a3e1-0f24e5835928)-0 - Closing client masters=127.0.0.1:7100.
2019-11-15 18:37:11,446 [INFO] from com.yugabyte.yw.commissioner.SubTaskGroup in Import-Pool-3 - Adding task #0: WaitForTServerHeartBeats(1f32810c-1c69-4292-a3e1-0f24e5835928) : details={"errorString":null,"deviceInfo":null,"universeUUID":"1f32810c-1c69-4292-a3e1-0f24e5835928","expectedUniverseVersion":0,"enableEncryptionAtRest":false,"disableEncryptionAtRest":false,"cmkArn":null,"encryptionAtRestConfig":null,"nodeDetailsSet":null}
2019-11-15 18:37:11,475 [INFO] from com.yugabyte.yw.commissioner.SubTaskGroup in Import-Pool-3 - Running task list WaitForTServerHeartBeats.
2019-11-15 18:37:11,490 [INFO] from com.yugabyte.yw.commissioner.tasks.subtasks.WaitForTServerHeartBeats in TaskPool-(1f32810c-1c69-4292-a3e1-0f24e5835928)-0 - Running WaitForTServerHeartBeats(1f32810c-1c69-4292-a3e1-0f24e5835928): hostPorts=127.0.0.1:7100, numTservers=1.
2019-11-15 18:37:11,494 [INFO] from org.yb.client.AsyncYBClient in New I/O worker #37 - Discovered tablet YB Master for table YB Master with partition ["", "")
2019-11-15 18:37:11,496 [INFO] from com.yugabyte.yw.commissioner.tasks.subtasks.WaitForTServerHeartBeats in TaskPool-(1f32810c-1c69-4292-a3e1-0f24e5835928)-0 - 1 tservers heartbeating to master leader.
2019-11-15 18:37:11,497 [INFO] from com.yugabyte.yw.common.services.LocalYBClientService in TaskPool-(1f32810c-1c69-4292-a3e1-0f24e5835928)-0 - Closing client masters=127.0.0.1:7100.
2019-11-15 18:37:11,509 [INFO] from com.yugabyte.yw.controllers.ImportController in application-akka.actor.default-dispatcher-5 - Verified 1 tservers present and imported them.
2019-11-15 18:37:11,520 [DEBUG] from com.yugabyte.yw.models.Universe in application-akka.actor.default-dispatcher-5 - Swapped universe 1f32810c-1c69-4292-a3e1-0f24e5835928:local-universe details to [{"errorString":null,"deviceInfo":null,"universeUUID":"1f32810c-1c69-4292-a3e1-0f24e5835928","expectedUniverseVersion":0,"enableEncryptionAtRest":false,"disableEncryptionAtRest":false,"cmkArn":null,"encryptionAtRestConfig":null,"nodeDetailsSet":[{"nodeIdx":1,"nodeName":"yb-admin-local-universe-n1","nodeUuid":null,"cloudInfo":{"private_ip":"127.0.0.1","public_ip":null,"public_dns":null,"private_dns":null,"instance_type":"default-type","subnet_id":null,"az":"zone-1","region":"region-1","cloud":"cloud-1","assignPublicIP":true,"useTimeSync":false},"azUuid":"6864542a-f986-4a54-a1df-4c858b7bf7b1","placementUuid":"53f624b7-d96e-423a-b5db-b4912ccd9709","state":"Live","isMaster":true,"masterHttpPort":7000,"masterRpcPort":7100,"isTserver":true,"tserverHttpPort":9000,"tserverRpcPort":9100,"isRedisServer":true,"redisServerHttpPort":11000,"redisServerRpcPort":6379,"isYqlServer":true,"yqlServerHttpPort":12000,"yqlServerRpcPort":9042,"isYsqlServer":true,"ysqlServerHttpPort":13000,"ysqlServerRpcPort":5433,"allowedActions":["STOP","REMOVE"]}],"clusters":[{"uuid":"53f624b7-d96e-423a-b5db-b4912ccd9709","clusterType":"PRIMARY","userIntent":{"universeName":"local-universe","provider":"e57f636c-6b30-4c1d-9983-efa22e903cba","providerType":"local","replicationFactor":1,"regionList":["5074a056-b50f-4592-83d3-5d7e8036cbbe"],"preferredRegion":null,"instanceType":"default-type","numNodes":1,"ybSoftwareVersion":"2.0.6.0-b0","accessKeyCode":null,"deviceInfo":null,"assignPublicIP":true,"useTimeSync":false,"enableYSQL":true,"enableNodeToNodeEncrypt":false,"enableClientToNodeEncrypt":false,"enableEncryptionAtRest":false,"enableVolumeEncryption":false,"masterGFlags":{},"tserverGFlags":{},"instanceTags":{}},"placementInfo":{"cloudList":[{"uuid":"e57f636c-6b30-4c1d-9983-efa22e903cba","code":"cloud-1","regionList":[{"uuid":"5074a056-b50f-4592-83d3-5d7e8036cbbe","code":"region-1","name":"Region 1","azList":[{"uuid":"6864542a-f986-4a54-a1df-4c858b7bf7b1","name":"Zone 1","replicationFactor":1,"subnet":null,"numNodesInAZ":1,"isAffinitized":false}]}]}]},"index":2}],"nodePrefix":"yb-admin-local-universe","rootCA":null,"isKubernetesUniverse":false,"userAZSelected":false,"resetAZConfig":false,"updateInProgress":false,"backupInProgress":false,"updateSucceeded":true,"nextClusterIndex":1,"allowInsecure":true,"importedState":"TSERVERS_ADDED","capability":"READ_ONLY"}] with new version = 4.
2019-11-15 18:37:11,562 [INFO] from com.yugabyte.yw.commissioner.SubTaskGroup in Import-Pool-4 - Adding task #0: SwamperTargetsFileUpdate(1f32810c-1c69-4292-a3e1-0f24e5835928, Remove:false) : details={"errorString":null,"universeUUID":"1f32810c-1c69-4292-a3e1-0f24e5835928","removeFile":false}
2019-11-15 18:37:11,579 [INFO] from com.yugabyte.yw.commissioner.SubTaskGroup in Import-Pool-4 - Running task list SwamperTargetFileUpdate.
2019-11-15 18:37:11,580 [INFO] from com.yugabyte.yw.commissioner.tasks.subtasks.SwamperTargetsFileUpdate in TaskPool-(1f32810c-1c69-4292-a3e1-0f24e5835928)-0 - Running SwamperTargetsFileUpdate(1f32810c-1c69-4292-a3e1-0f24e5835928, Remove:false)
2019-11-15 18:37:11,629 [INFO] from com.yugabyte.yw.controllers.ImportController in application-akka.actor.default-dispatcher-5 - Errors per node: {127.0.0.1=Connection refused (Connection refused)}
2019-11-15 18:37:11,630 [DEBUG] from com.yugabyte.yw.models.Customer in application-akka.actor.default-dispatcher-5 - New universe list for customer [admin] : 1f32810c-1c69-4292-a3e1-0f24e5835928
2019-11-15 18:37:11,647 [INFO] from com.yugabyte.yw.controllers.ImportController in application-akka.actor.default-dispatcher-5 - Completed 1f32810c-1c69-4292-a3e1-0f24e5835928 import.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment