Bug 1782043

Summary: [OSP 17] LibguestfsCannotReadKernel raised as installed kernel within nova-compute container does not match the running host kernel.
Product: Red Hat OpenStack Reporter: chrisbro <chrisbro>
Component: openstack-novaAssignee: Rajesh Tailor <ratailor>
Status: CLOSED ERRATA QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: dasmith, eglynn, jhakimra, kchamart, lyarwood, rcernin, sbauza, sgordon, vromanso
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-23.2.1-0.20220606130355.68cad8f.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1803110 (view as bug list) Environment:
Last Closed: 2022-09-21 12:09:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1803110, 1803133    

Description chrisbro@redhat.com 2019-12-11 04:01:48 UTC
Description of problem:
Unable to inject admin password into a Nova instance via adminPass - results in an error

Version-Release number of selected component (if applicable):
Openstack 13

How reproducible:

Steps to Reproduce:
1.Edit `/var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf` on all computes 
  add in  `inject_password=true ` & `inject_partition=true`
  restart nova 
2. Spawn Instance 
 
3. 

Error we're getting: 
~~~
2019-12-06 00:21:18.682 1 INFO nova.virt.libvirt.driver [req-946c20f7-ee45-4ac0-a7d1-2ce3c05016a4 b5d983d2c1944c06b28217eaaffa8abf 4046bc0a2c6345c9ab239caf5404dc2a - default default] [instance: b1f471bd-6095-4bd4-b7ab-b6d65657c432] Creating image
2019-12-06 00:21:20.081 1 WARNING nova.virt.disk.api [req-946c20f7-ee45-4ac0-a7d1-2ce3c05016a4 b5d983d2c1944c06b28217eaaffa8abf 4046bc0a2c6345c9ab239caf5404dc2a - default default] Ignoring error injecting data into image <LocalFileImage:{'path': u'/var/lib/nova/instances/b1f471bd-6095-4bd4-b7ab-b6d65657c432/disk', 'format': 'qcow2'}> (Please change permissions on /boot/vmlinuz-3.10.0-957.5.1.el7.x86_64 to 0x644): LibguestfsCannotReadKernel: Please change permissions on /boot/vmlinuz-3.10.0-957.5.1.el7.x86_64 to 0x644)
~~~


Actual results:
root password is not set on the instances

Expected results:


Additional info:

Comment 13 errata-xmlrpc 2022-09-21 12:09:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:6543