[MCOL-3446] postconfigure upgrade failed - user running on Amazon AMI not using the Amazon AWS CLI Tools Created: 2019-08-21  Updated: 2023-10-26  Resolved: 2020-04-15

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: David Hill (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

Customer report an postConfigure failure during an upgrade. I was able to reproduce it.

Customer info:

They did initial install using postConfigure like this:

postConfigure -d -qm -pm-ip-addrs $(dig pm1 +short),$(dig pm2 +short) -um-ip-addrs $(dig um1 +short),$(dig um2 +short)

When when they tried to do an upgrade, they got the below error:

postConfigure -u

This is the MariaDB ColumnStore System Configuration and Installation tool.
It will Configure the MariaDB ColumnStore System and will perform a Package
Installation of all of the Servers within the System that is being configured.
:
NOTE: Amazon AWS CLI Tools are installed and allow MariaDB ColumnStore
to create Instances and EBS Volumes

Do you want to have ColumnStore use the Amazon AWS CLI Tools [y,n] >

Error: No IAM Profile with Security Certificates used or AWS CLI Certificate file configured
Check Amazon Install Documenation for additional information, exiting...



 Comments   
Comment by David Hill (Inactive) [ 2019-08-21 ]

I reproduce using a 1 system install

1. launch mcs 1.2.2 ami
run the follow commands:
./postConfigure -d -qm -pm-ip-addrs xxx.xxx.xxx.xxx // private ip of the instance

  1. mcsadmin shutdown y
  2. ./mariadb/columnstore/bin/pre-uninstall --installdir=/home/mysql/mariadb/columnstore
  3. tar zxvf mariadb-columnstore-1.2.2-1-centos7.x86_64.bin.tar.gz
  4. ./mariadb/columnstore/bin/post-install --installdir=/home/mysql/mariadb/columnstore
  5. /home/mysql/mariadb/columnstore/bin/postConfigure -i /home/mysql/mariadb/columnstore -u
Comment by Todd Stoffel (Inactive) [ 2020-04-15 ]

OAM is being deprecated and replaced by an enhanced API and the MaxScale orchestration project.

Generated at Thu Feb 08 02:42:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.