During undercloud install getting "Error unpacking rpm package kernel-3.10.0-1062.1.2.el7.x86_64"
Issue
-
Seeing the following error with both
yum update
and when runningopenstack undercloud install
. -
sudo yum update
returns the following:
[stack@undercloud-0-rhosp10 ~]$ sudo yum update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-1062.1.2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================
Installing:
kernel x86_64 3.10.0-1062.1.2.el7 Nokia_rhel7_server 30 M
Transaction Summary
==============================================================================================================================================================================
Install 1 Package
Total download size: 30 M
Installed size: 64 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
kernel-3.10.0-1062.1.2.el7.x86_64.rpm | 30 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-3.10.0-1062.1.2.el7.x86_64 1/1
Error unpacking rpm package kernel-3.10.0-1062.1.2.el7.x86_64
error: unpacking of archive failed on file /lib/modules/3.10.0-1062.1.2.el7.x86_64/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko.xz;5d9640eb: cpio: read
Verifying : kernel-3.10.0-1062.1.2.el7.x86_64 1/1
Failed:
kernel.x86_64 0:3.10.0-1062.1.2.el7
Complete!
openstack undercloud install
:
[stack@undercloud-0-rhosp10 ~]$ openstack undercloud install
Logging to /home/stack/.instack/install-undercloud.log
Checking for a FQDN hostname...
Static hostname detected as osp10-director-vn11.ims.net
Transient hostname detected as osp10-director-vn11.ims.net
sudo failed: /usr/bin/chown: invalid user: âironic:ironicâ
Running yum update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-1062.1.2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
kernel x86_64 3.10.0-1062.1.2.el7 Nokia_rhel7_server 30 M
Transaction Summary
================================================================================
Install 1 Package
Total download size: 30 M
Installed size: 64 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kernel-3.10.0-1062.1.2.el7.x86_64 1/1Error unpacking rpm package kernel-3.10.0-1062.1.2.el7.x86_64
error: unpacking of archive failed on file /lib/modules/3.10.0-1062.1.2.el7.x86_64/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko.xz;5d964102: cpio: read
Verifying : kernel-3.10.0-1062.1.2.el7.x86_64 1/1
Failed:
kernel.x86_64 0:3.10.0-1062.1.2.el7
Complete!
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1286, in install
_run_yum_update(instack_env)
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1018, in _run_yum_update
_run_live_command(args, instack_env, 'yum-update')
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 524, in _run_live_command
raise RuntimeError('%s failed. See log for details.' % name)
RuntimeError: yum-update failed. See log for details.
Command 'instack-install-undercloud' returned non-zero exit status 1
Environment
- Red Hat OpenStack Platform 10.0 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.