I opened a case on this and it turns out there is an issue with the
mksysb image in the ISO you download.?? I downloaded the iso in December
and had done about 12 upgrades with no issue till this month.
Below is the summary they sent me but basically after 3 months that
mksysb image causes this issue.
Anyway, IBM provided me with ifixes but they are source level specific
so you will need to tell them what the version is you are migrating
from.?? The apar they sent me to look at is IJ50326
Below is the link but for some reason it is not working right now
https://www.ibm.com/support/pages/apar/IJ50326SUMMARY:
The problem is that with VIOS 3.1 and earlier, there were no limitation
on password age, and some customers had a padmin password set without
expiration.
But moving to VIOS 4.1 (and underlying AIX 7.3) new default security
rules applies and now user as a default :
maxage=13 maxexpired=4
(it was "maxage=0 maxexpired=-1" in 3.1).
It appears, that "lastupdate" value for padmin is a copy of the
lastupdate value from root user in mksysb image.
On 3/15/2024 1:05 AM, Luke February via IBM TechXchange Community wrote:
> Hi Nicolae
>
>
> Thanks so much for the response I will remember this should I encounter something similar in future. I ended doing a fresh install of VIOS4.1 using NIM with the mksysb images.
>
>
>
>
>
> Regards
>
>
> Luke
>
>
> ------------------------------
> Luke February
> ------------------------------
> -------------------------------------------
> Original Message:
> Sent: Tue March 12, 2024 06:03 AM
> From: Nicolae Chirea
> Subject: VIOSUpgrade from 3.1.4.31 to 4.1.0.0 (Login issues)
>
>
> Hi Luke,
>
> Faced the same problem - solved by running vios commands from HMC:
> chuser -attr maxage=0 padmin
> chuser -attr maxexpired=-1 padmin
>
>
>
>
>
> ------------------------------
> Nicolae Chirea
> System Architect
> Seidor Iberia
> Madrid/Spain
> ------------------------------
>
> Original Message:
> Sent: Thu March 07, 2024 08:17 AM
> From: Luke February
> Subject: VIOSUpgrade from 3.1.4.31 to 4.1.0.0 (Login issues)
>
>
> Hi All
>
> Hoping you can assist or point me in the right direction.
>
> I'm having some strange login issues after upgrading VIOS3.1 ==> VIOS4.1
>
> I've downloaded the software via (ESS) IBM Entitled Systems Support
>
> ISO, Virtual I/O Server v4.1.0.0 DVD (11/2023)
> Virtual_IO_Server_Base_Install_4.1.0.0_DVD_112023_LCD8293900.iso
>
>
>
> 1) Mount VIOS4.1_DVD
>
> 2) Merge the 2x mksysb Images into 1 (usr/sys/inst.images/mksysb_image & usr/sys/inst.images/mksysb_image2)
>
> 3) Assign new Disk
>
> 4) Run VIOSUPGRADE Tool/Command
>
>
>
> ###############################
> VIOSUPGRADE TOOL
>
>
> $ viosupgrade -l -i /home/padmin/mksysb_vios4 -a hdisk0
>
> Welcome to viosupgrade tool.
> Operation triggered for given node(s).
>
>
> Broadcast message from root@kadc-vios2 (pts/0) at 10:17:13 ...
>
> WARNING!!! VIOS Upgrade operation is in progress. Kindly Refrain from making any configuration changes...
>
> Please wait for completion..
> Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'.
>
> Verifying whether the MPIO software(s) is installed on the VIOS.
> Verification of the MPIO software(s) is successful.
> Initiating VIOS configuration backup..
> VIOS configuration backup successful.
> Migration upgrade request initiated.
> Warning: User LV(s) 'dvd_iso' created on rootvg will not be preserved.
> Enter 'Y' to continue or 'N' to abort the viosupgrade.
> If no option is entered within 60 seconds, the operation will continue..
> Y
> Initiating installation on alternate disk(s)..
> Migration of contents to new rootvg initiated.
> Installation on alternate disk(s) successful.
> Copying files to altinst_rootvg.
> Waking up altinst_rootvg successful.
> --------------------------------------------------
> --------------------------------------------------
>
> Thu Mar 7 10:21:19 2024
>
> Summary of migrated files.
> --------------------------------------------------
>
> List of system files migrated successfully:
> --------------------------------------------------
> /var/vio/VMLibrary
> /home/padmin/.ssh/id_rsa
> /home/padmin/.ssh/id_rsa.pub
> /home/padmin/.ssh/authorized_keys
> /etc/ssh/ssh_host_dsa_key
> /etc/ssh/ssh_host_dsa_key.pub
> /etc/ssh/ssh_host_ecdsa_key
> /etc/ssh/ssh_host_ecdsa_key.pub
> /etc/ssh/ssh_host_ed25519_key
> /etc/ssh/ssh_host_ed25519_key.pub
> /etc/ssh/ssh_host_rsa_key
> /etc/ssh/ssh_host_rsa_key.pub
> /etc/ssh/sshd_config
> /etc/security/passwd ( padmin only )
> /etc/tunables/nextboot
>
> List of system files merged successfully:
> --------------------------------------------------
> /var/spool/cron/crontabs/root
>
> Note : Backup of migrated files of old vg and new vg will be in '/home/padmin/viosupg_backup'
> with extensions '_src.viosupg' and '_dest.viosupg' respectively.
> VIOS will be rebooted after '60' seconds to boot from the newly installed disk.
>
> Press Ctrl + c to terminate.
>
> VIOS metadata restore (viosbr -restore) will be automatically resumed
> after the reboot.
> VIOS may be rebooted once during this restore process. Refrain from making
> any changes to the VIOS virtual configurations during the restore process.
> You can verify the restore status using 'viosupgrade -l -q' command and
> resume your operation after the completion of the restore process.
>
>
> A message 'Upgrade process is completed successfully' or
> 'Upgrade process is completed with failures' will be displayed on the console on newvg
> to indicate the status of viosupgrade.
> Run 'viosupgrade -l -q' to know more on the status.
>
> ################################################################
>
>
>
> system boots up onto new hdisk0 and gives me the normal login prompt.
>
> I am however not able to login as root or padmin and get an error about password being expired and to see the Administrator...but I am the Administrator LOL
>
>
>
> anyone experience the same issues ?
>
>
>
> Regards
>
> Luke
>
>
>
> ------------------------------
> Luke February
> ------------------------------
>
>
> Reply to Sender :
https://community.ibm.com/community/user/eGroups/PostReply?GroupId=6031&MID=401703&SenderKey=539385df-f7dc-4e9d-b6bf-018dfe1fdad7>
> Reply to Discussion :
https://community.ibm.com/community/user/eGroups/PostReply?GroupId=6031&MID=401703>
>
>
> You are subscribed to "Power" as
jaqui@circle4.com. To change your subscriptions, go to
http://community.ibm.com/community/user/preferences?section=Subscriptions. To unsubscribe from this community discussion, go to
http://community.ibm.com/HigherLogic/eGroups/Unsubscribe.aspx?UserKey=c0263b42-f197-4fa8-92d0-365a6e93806e&sKey=KeyRemoved&GroupKey=d194e7bf-8144-442e-98d8-107a91c7457a.
Original Message:
Sent: 3/15/2024 2:06:00 AM
From: Luke February
Subject: RE: VIOSUpgrade from 3.1.4.31 to 4.1.0.0 (Login issues)
Hi Nicolae
Thanks so much for the response I will remember this should I encounter something similar in future. I ended up doing a fresh install of VIOS4.1 using NIM with the mksysb images.
Regards
Luke
------------------------------
Luke February
------------------------------
Original Message:
Sent: Tue March 12, 2024 06:03 AM
From: Nicolae Chirea
Subject: VIOSUpgrade from 3.1.4.31 to 4.1.0.0 (Login issues)
Hi Luke,
Faced the same problem - solved by running vios commands from HMC:
chuser -attr maxage=0 padmin
chuser -attr maxexpired=-1 padmin
------------------------------
Nicolae Chirea
System Architect
Seidor Iberia
Madrid/Spain
Original Message:
Sent: Thu March 07, 2024 08:17 AM
From: Luke February
Subject: VIOSUpgrade from 3.1.4.31 to 4.1.0.0 (Login issues)
Hi All
Hoping you can assist or point me in the right direction.
I'm having some strange login issues after upgrading VIOS3.1 ==> VIOS4.1
I've downloaded the software via (ESS) IBM Entitled Systems Support
ISO, Virtual I/O Server v4.1.0.0 DVD (11/2023)
Virtual_IO_Server_Base_Install_4.1.0.0_DVD_112023_LCD8293900.iso
1) Mount VIOS4.1_DVD
2) Merge the 2x mksysb Images into 1 (usr/sys/inst.images/mksysb_image & usr/sys/inst.images/mksysb_image2)
3) Assign new Disk
4) Run VIOSUPGRADE Tool/Command
###############################
VIOSUPGRADE TOOL
$ viosupgrade -l -i /home/padmin/mksysb_vios4 -a hdisk0
Welcome to viosupgrade tool.
Operation triggered for given node(s).
Broadcast message from root@kadc-vios2 (pts/0) at 10:17:13 ...
WARNING!!! VIOS Upgrade operation is in progress. Kindly Refrain from making any configuration changes...
Please wait for completion..
Upgrading from ioslevel '3.1.4.31' to '4.1.0.00'.
Verifying whether the MPIO software(s) is installed on the VIOS.
Verification of the MPIO software(s) is successful.
Initiating VIOS configuration backup..
VIOS configuration backup successful.
Migration upgrade request initiated.
Warning: User LV(s) 'dvd_iso' created on rootvg will not be preserved.
Enter 'Y' to continue or 'N' to abort the viosupgrade.
If no option is entered within 60 seconds, the operation will continue..
Y
Initiating installation on alternate disk(s)..
Migration of contents to new rootvg initiated.
Installation on alternate disk(s) successful.
Copying files to altinst_rootvg.
Waking up altinst_rootvg successful.
--------------------------------------------------
--------------------------------------------------
Thu Mar 7 10:21:19 2024
Summary of migrated files.
--------------------------------------------------
List of system files migrated successfully:
--------------------------------------------------
/var/vio/VMLibrary
/home/padmin/.ssh/id_rsa
/home/padmin/.ssh/id_rsa.pub
/home/padmin/.ssh/authorized_keys
/etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_host_dsa_key.pub
/etc/ssh/ssh_host_ecdsa_key
/etc/ssh/ssh_host_ecdsa_key.pub
/etc/ssh/ssh_host_ed25519_key
/etc/ssh/ssh_host_ed25519_key.pub
/etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub
/etc/ssh/sshd_config
/etc/security/passwd ( padmin only )
/etc/tunables/nextboot
List of system files merged successfully:
--------------------------------------------------
/var/spool/cron/crontabs/root
Note : Backup of migrated files of old vg and new vg will be in '/home/padmin/viosupg_backup'
with extensions '_src.viosupg' and '_dest.viosupg' respectively.
VIOS will be rebooted after '60' seconds to boot from the newly installed disk.
Press Ctrl + c to terminate.
VIOS metadata restore (viosbr -restore) will be automatically resumed
after the reboot.
VIOS may be rebooted once during this restore process. Refrain from making
any changes to the VIOS virtual configurations during the restore process.
You can verify the restore status using 'viosupgrade -l -q' command and
resume your operation after the completion of the restore process.
A message 'Upgrade process is completed successfully' or
'Upgrade process is completed with failures' will be displayed on the console on newvg
to indicate the status of viosupgrade.
Run 'viosupgrade -l -q' to know more on the status.
################################################################
system boots up onto new hdisk0 and gives me the normal login prompt.
I am however not able to login as root or padmin and get an error about password being expired and to see the Administrator...but I am the Administrator LOL
anyone experience the same issues ?
Regards
Luke
------------------------------
Luke February
------------------------------