[MCOL-1139] removemodule pm1 failed when module was AUTO_DISABLED Created: 2018-01-05 Updated: 2022-11-05 Resolved: 2022-11-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hill (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Environment: |
non-root amazon ami with EBS combo 3pm system |
||
| Description |
|
in failover testing, stopped PM1 node after install since it was the master node. pm3 became the master.then tried to remove module pm1 and got an error mcsadmin> getsystemi System 1.1.2 System and Module statuses Component Status Last Status Change Module pm1 AUTO_DISABLED/DEGRADED Fri Jan 5 15:53:44 2018 Active Parent OAM Performance Module is 'pm3' MariaDB ColumnStore Process statuses Process Module Status Last Status Change Process ID ProcessMonitor pm2 ACTIVE Fri Jan 5 15:43:07 2018 15334 ProcessMonitor pm3 ACTIVE Fri Jan 5 15:43:08 2018 14322 Active Alarm Counts: Critical = 2, Major = 1, Minor = 0, Warning = 0, Info = 0 System Storage Configuration Performance Module (DBRoot) Storage Type = external Amazon EC2 Volume Name/Device Name/Amazon Device Name for DBRoot1: vol-072d7d6b55ee398e9, /dev/sdg, /dev/xvdg mcsadmin> removemodule pm1 !!!!! DESTRUCTIVE COMMAND !!!!! This command removes module(s) from the MariaDB ColumnStore System
mcsadmin> ---------------------------------------------------------------------------------------------------------------------- mcsadmin> altersystem-di pm1 This command stops the processing of applications on a Module within the MariaDB ColumnStore System Stopping Modules Successful stop of Modules Disabling Modules mcsadmin> removemodule pm1 !!!!! DESTRUCTIVE COMMAND !!!!! This command removes module(s) from the MariaDB ColumnStore System Removing Module(s) pm1, please wait... Remove Module successfully completed mcsadmin> getst System Storage Configuration Performance Module (DBRoot) Storage Type = external DBRoot IDs unassigned = 1, 3 Amazon EC2 Volume Name/Device Name/Amazon Device Name for DBRoot2: vol-0f2fa799bd8450525, /dev/sdh, /dev/xvdh mcsadmin> |
| Comments |
| Comment by David Hill (Inactive) [ 2018-01-25 ] |
|
I discovered there are a number of issues when pm1 is removed from the system. A number of spots in the OAM code assumes a pm1 exist.. So with this being said, there is a bigger impact on fixing the bug and it should be pushed... the getst issue shown earlyis related to to. also issue where postConfigure will not allow an upgrade because it looks for MdouleIPAddr1-1-3 being populated. if you removemodule pm1, its not and thus postconfigure will fail. there are probably other issues.. |
| Comment by David Hill (Inactive) [ 2018-01-29 ] |
|
Look at addressing this issue by changing a working pm to pm1 went pm1 goes bad.. |
| Comment by David Hill (Inactive) [ 2018-02-01 ] |
|
need to rething the remove pm1 logic |
| Comment by Todd Stoffel (Inactive) [ 2022-11-05 ] |
|
Item is out of date. Closing due to inactivity. If you feel this was done in error please open a new ticket. |