/tmp/in_target.d/finalise.d/50-dracut-regenerate: ImportError: No module named 'yaml'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
In Progress
|
Undecided
|
Bharat Kunwar |
Bug Description
Dracut regenerate element throws `yaml` dependency error because python3-PyYAML is not installed.
```
2018-03-22 13:44:52.045 | libpng.x86_64 2:1.6.27-1.fc25 os-prober.x86_64 1.74-1.fc25
2018-03-22 13:44:52.045 |
2018-03-22 13:44:52.046 | Completion plugin: Generating completion cache...
2018-03-22 13:44:52.138 | Complete!
2018-03-22 13:44:52.196 | + '[' install == install ']'
2018-03-22 13:44:52.196 | + '[' dnf == dnf ']'
2018-03-22 13:44:52.196 | + dnf mark install grub2-tools grub2
2018-03-22 13:44:52.482 | grub2-tools-
2018-03-22 13:44:52.482 | grub2-1:
2018-03-22 13:44:52.519 | trying grub2-install
2018-03-22 13:44:52.523 | Installing GRUB2...
2018-03-22 13:44:52.540 | Installing for i386-pc platform.
2018-03-22 13:44:57.797 | Installation finished. No error reported.
2018-03-22 13:44:57.891 | Generating grub configuration file ...
2018-03-22 13:44:57.951 | Found linux image: /boot/vmlinuz-
2018-03-22 13:44:57.974 | Found initrd image: /boot/initramfs
2018-03-22 13:44:58.177 | done
2018-03-22 13:44:58.181 | dib-run-parts 50-bootloader completed
2018-03-22 13:44:58.181 | dib-run-parts Running /tmp/in_
2018-03-22 13:44:58.282 | Traceback (most recent call last):
2018-03-22 13:44:58.282 | File "/tmp/in_
2018-03-22 13:44:58.282 | import yaml
2018-03-22 13:44:58.282 | ImportError: No module named 'yaml'
2018-03-22 13:44:59.381 | INFO diskimage_
2018-03-22 13:44:59.381 | INFO diskimage_
2018-03-22 13:44:59.923 | INFO diskimage_
2018-03-22 13:44:59.942 | INFO diskimage_
2018-03-22 13:44:59.965 | Traceback (most recent call last):
2018-03-22 13:44:59.965 | File "/home/
2018-03-22 13:44:59.965 | sys.exit(main())
2018-03-22 13:44:59.965 | File "/home/
2018-03-22 13:44:59.965 | return bdc.main()
2018-03-22 13:44:59.965 | File "/home/
2018-03-22 13:44:59.965 | self.args.func()
2018-03-22 13:44:59.965 | File "/home/
2018-03-22 13:44:59.965 | self.bd.
2018-03-22 13:44:59.965 | File "/home/
2018-03-22 13:44:59.965 | node.umount()
2018-03-22 13:44:59.965 | File "/home/
2018-03-22 13:44:59.965 | exec_sudo(
2018-03-22 13:44:59.965 | File "/home/
2018-03-22 13:44:59.965 | ' '.join(sudo_cmd))
2018-03-22 13:44:59.965 | subprocess.
```
Changed in diskimage-builder: | |
assignee: | nobody → Bharat Kunwar (brtknr) |
Changed in diskimage-builder: | |
status: | New → In Progress |
Change abandoned by Bharat Kunwar (<email address hidden>) on branch: master /review. opendev. org/558497
Review: https:/