Got the following error during a DBSystem upgrade from 19.18 to 19.19:
[root@odapdbc01 ~]# odacli update-server -v 19.19.0.0.0
DCS-10037:System is not yet provisioned.
The issue is documented in the MOS 2919455:
cd /u01/app/18.0.0.0/grid/bin
chown grid:oinstall osdbagrp
odacli update-registry -n system -f
<check that the job complete successfully>
chown root:oinstall osdbagrp
Then verify that the status of the system is ‘configured’:
[root@odapdbc01 bin]# /opt/oracle/dcs/mysql/bin/mysql --defaults-file=/opt/oracle/dcs/mysql/etc/mysqldb.cnf
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 86
Server version: 8.0.32-commercial MySQL Enterprise Server - Commercial
Copyright (c) 2000, 2023, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use dcsagentdb
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select name,status from SysInstance;
+------+------------+
| name | status |
+------+------------+
| odap | Configured |
+------+------------+
1 row in set (0.00 sec)
mysql>
So that, now, the command can be executed in force mode:
[root@odapdbc01 ~]# odacli update-server -v 19.19.0.0.0