Getting the following error when trying to create an universe after upgrading to Platform Version: 2.12.1.0-b41
2022-02-28 15:39:42,893 INFO create_instance:utils.py:869: [app] About to create GCP VM yb-stage-stage-yugabyte-n3 in region us-east1.
2022-02-28 15:39:43,882 ERROR get_console_output:utils.py:883: Failed to get console output from yb-stage-stage-yugabyte-n3
Traceback (most recent call last):
File “/opt/yugabyte/devops/venv/lib64/python3.6/site-packages/ybops-0.4-py3.6.egg/ybops/cloud/common/method.py”, line 92, in callback_wrapper
self.callback(args)
File “/opt/yugabyte/devops/venv/lib64/python3.6/site-packages/ybops-0.4-py3.6.egg/ybops/cloud/common/method.py”, line 384, in callback
self.run_ansible_create(args)
File “/opt/yugabyte/devops/venv/lib64/python3.6/site-packages/ybops-0.4-py3.6.egg/ybops/cloud/gcp/method.py”, line 70, in run_ansible_create
self.cloud.create_instance(args, server_type, can_ip_forward, machine_image, ssh_keys)
File “/opt/yugabyte/devops/venv/lib64/python3.6/site-packages/ybops-0.4-py3.6.egg/ybops/cloud/gcp/cloud.py”, line 87, in create_instance
cloud_subnet_secondary=args.cloud_subnet_secondary)
File “/opt/yugabyte/devops/venv/l…g/ybops/cloud/common/method.py”, line 92, in callback_wrapper
self.callback(args)
File “/opt/yugabyte/devops/venv/lib64/python3.6/site-packages/ybops-0.4-py3.6.egg/ybops/cloud/common/method.py”, line 384, in callback
self.run_ansible_create(args)
File “/opt/yugabyte/devops/venv/lib64/python3.6/site-packages/ybops-0.4-py3.6.egg/ybops/cloud/gcp/method.py”, line 70, in run_ansible_create
self.cloud.create_instance(args, server_type, can_ip_forward, machine_image, ssh_keys)
File “/opt/yugabyte/devops/venv/lib64/python3.6/site-packages/ybops-0.4-py3.6.egg/ybops/cloud/gcp/cloud.py”, line 87, in create_instance
cloud_subnet_secondary=args.cloud_subnet_secondary)
File “/opt/yugabyte/devops/venv/lib64/python3.6/site-packages/ybops-0.4-py3.6.egg/ybops/cloud/gcp/utils.py”, line 873, in create_instance
body=body).execute(), zone=zone)
File “/opt/yugabyte/devops/venv/lib64/python3.6/site-packages/googleapiclient/_helpers.py”, line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File “/opt/yugabyte/devops/venv/lib64/python3.6/site-packages/googleapiclient/http.py”, line 907, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://compute.googleapis.com/compute/beta/projects/XXXXXXX/zones/us-east1-c/instances?alt=json returned “Invalid value for field ‘resource.disks[1].initializeParams.labels’: ‘’. Cannot specify initializeParams.labels for local SSD.”>.
I have filed an issue to fix this problem and the fix is going to be committed today. For now you can use Storage Type (SSD)
set to Persistent
. It should work.
Thanks @SergeyPotachev. With Persistent SSD it starts the universe but the deployment also fails with the following error (the same enviroment works running the old yugabyte-platform 2.8.1.0-b37):
Failed to execute task {“nodeExporterUser”:“prometheus”,“universeUUID”:“1fdbaf70-1eaa-4e65-8415-d4ac0c9fa519”,“encryptionAtRestConfig”:{“encryptionAtRestEnabled”:false,“opType”:“UNDEFINED”,“type”:“DATA_KEY”},“communicationPorts”:{“masterHttpPort”:7000,“masterRpcPort”:7100,“tserverHttpPort”:9000,“tserverRpcPort”:9100,“redisServerHttpPort”:11000,“redisServerRpcPort”:6379,“yqlServerHttpPort”:12000,“yqlServerRpcPort”:9042,“ysqlServerHttpPort”:13000,“ysqlServerRpcPort”:5433,“nodeExporterPort”:9300},“extraDependencies”:{…, hit error:
Error Failed to create table ‘system_platform.write_read_test’ of type PGSQL_TABLE_TYPE while creating table write_read_test.
When I try to connect to ysql:
ysqlsh
ysqlsh: FATAL: Not found: Table <unknown_table_name> (000033e10000300080000000000004eb) not found in Raft group 00000000000000000000000000000000
another update… “Persistent SSD” and leaving “Enable Systemd Services” works
and after installing without "Enable Systemd Services” selected I was also able to upgrade to use Systemd.