Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ########################################################
- overcloiud-full update done after the ramdisk is generated
- ########################################################
- *Replace the existing ramdisk image
- virt-customize -a overcloud-full.qcow2 --run-command 'rm /boot/initramfs-3.10.0-327.10.1.el7.x86_64.img'
- virt-copy-in -a overcloud-full.qcow2 initramfs-3.10.0-327.10.1.el7.x86_64.img /boot/.
- *Contents of the /etc/default/grub in the overcloud image has this
- ><fs> cat /etc/default/grub
- GRUB_TIMEOUT=5
- GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
- GRUB_DEFAULT=saved
- GRUB_DISABLE_SUBMENU=true
- GRUB_TERMINAL_OUTPUT="console"
- GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8 crashkernel=auto rhgb quiet rd.iscsi.ibft=1 rd.iscsi.firmware=1"
- GRUB_DISABLE_RECOVERY="true"
- ><fs>
- * Regenerate the grub.cfg in overcloud full
- virt-customize -a overcloud-full.qcow2 --run-command '/usr/sbin/grub2-mkconfig > /boot/grub2/grub.cfg'
- ########################################################
- ramdisk update
- ########################################################
- [stack@undercloud ~]$ ssh [email protected]
- The authenticity of host '172.16.0.25 (172.16.0.25)' can't be established.
- ECDSA key fingerprint is cc:f6:e4:00:26:9a:17:bb:bf:e0:78:58:6d:ac:1e:f6.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '172.16.0.25' (ECDSA) to the list of known hosts.
- [heat-admin@overcloud-cephstorage-0 ~]$
- [heat-admin@overcloud-cephstorage-0 ~]$ sudo dracut -f -v -N
- Executing: /sbin/dracut -f -v -N
- dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
- dracut module 'dmraid' will not be installed, because command 'dmraid' could not be found!
- dracut module 'cifs' will not be installed, because command 'mount.cifs' could not be found!
- dracut module 'fcoe' will not be installed, because command 'dcbtool' could not be found!
- dracut module 'fcoe' will not be installed, because command 'fipvlan' could not be found!
- dracut module 'fcoe' will not be installed, because command 'lldpad' could not be found!
- dracut module 'fcoe' will not be installed, because command 'fcoemon' could not be found!
- dracut module 'fcoe' will not be installed, because command 'fcoeadm' could not be found!
- dracut module 'fcoe-uefi' will not be installed, because command 'dcbtool' could not be found!
- dracut module 'fcoe-uefi' will not be installed, because command 'fipvlan' could not be found!
- dracut module 'fcoe-uefi' will not be installed, because command 'lldpad' could not be found!
- dracut module 'nbd' will not be installed, because command 'nbd-client' could not be found!
- *** Including module: bash ***
- *** Including module: modsign ***
- *** Including module: nss-softokn ***
- *** Including module: i18n ***
- *** Including module: network ***
- *** Including module: ifcfg ***
- *** Including module: drm ***
- *** Including module: plymouth ***
- *** Including module: btrfs ***
- *** Including module: crypt ***
- *** Including module: dm ***
- Skipping udev rule: 64-device-mapper.rules
- Skipping udev rule: 60-persistent-storage-dm.rules
- Skipping udev rule: 55-dm.rules
- *** Including module: kernel-modules ***
- *** Including module: lvm ***
- Skipping udev rule: 64-device-mapper.rules
- Skipping udev rule: 56-lvm.rules
- Skipping udev rule: 60-persistent-storage-lvm.rules
- *** Including module: mdraid ***
- Skipping udev rule: 64-md-raid.rules
- *** Including module: multipath ***
- Skipping udev rule: 40-multipath.rules
- *** Including module: qemu ***
- *** Including module: qemu-net ***
- *** Including module: iscsi ***
- *** Including module: nfs ***
- *** Including module: resume ***
- *** Including module: rootfs-block ***
- *** Including module: terminfo ***
- *** Including module: udev-rules ***
- Skipping udev rule: 91-permissions.rules
- *** Including module: virtfs ***
- *** Including module: biosdevname ***
- *** Including module: systemd ***
- *** Including module: usrmount ***
- *** Including module: base ***
- *** Including module: fs-lib ***
- *** Including module: shutdown ***
- *** Including modules done ***
- *** Installing kernel module dependencies and firmware ***
- *** Installing kernel module dependencies and firmware done ***
- *** Resolving executable dependencies ***
- *** Resolving executable dependencies done***
- *** Hardlinking files ***
- *** Hardlinking files done ***
- *** Stripping files ***
- *** Stripping files done ***
- *** Generating early-microcode cpio image ***
- *** Constructing GenuineIntel.bin ****
- *** Store current command line parameters ***
- *** Creating image file ***
- *** Creating image file done ***
- [heat-admin@overcloud-cephstorage-0 ~]$ ls -a;l
- . .. .bash_logout .bash_profile .bashrc .ssh
- -bash: l: command not found
- [heat-admin@overcloud-cephstorage-0 ~]$ ls -al
- total 12
- drwx------. 3 heat-admin heat-admin 70 Mar 6 10:53 .
- drwxr-xr-x. 3 root root 23 Mar 6 10:53 ..
- -rw-r--r--. 1 heat-admin heat-admin 18 Jul 8 2015 .bash_logout
- -rw-r--r--. 1 heat-admin heat-admin 193 Jul 8 2015 .bash_profile
- -rw-r--r--. 1 heat-admin heat-admin 231 Jul 8 2015 .bashrc
- drwx------. 2 heat-admin heat-admin 28 Mar 6 10:53 .ssh
- [heat-admin@overcloud-cephstorage-0 ~]$ cd /b
- bin/ boot/
- [heat-admin@overcloud-cephstorage-0 ~]$ cd /boot/
- [heat-admin@overcloud-cephstorage-0 boot]$ ls -al
- total 129948
- dr-xr-xr-x. 4 root root 4096 Apr 8 14:46 .
- drwxr-xr-x. 17 root root 4096 Feb 16 22:24 ..
- -rw-r--r--. 1 root root 126431 Jan 23 09:58 config-3.10.0-327.10.1.el7.x86_64
- drwxr-xr-x. 2 root root 4096 Feb 16 22:07 extlinux
- drwx------. 6 root root 104 Mar 6 10:51 grub2
- -rw-r--r--. 1 root root 40795539 Feb 16 21:13 initramfs-0-rescue-445c4ae734d94ea58c40016ce52e6388.img
- -rw-r--r--. 1 root root 46591642 Apr 8 14:47 initramfs-3.10.0-327.10.1.el7.x86_64.img
- -rw-r--r--. 1 root root 15883913 Mar 6 10:55 initramfs-3.10.0-327.10.1.el7.x86_64kdump.img
- -rw-------. 1 root root 15512486 Feb 16 21:11 initramfs-3.10.0-327.el7.x86_64.img
- -rw-r--r--. 1 root root 601664 Feb 16 21:11 initrd-plymouth.img
- -rw-r--r--. 1 root root 252630 Jan 23 10:00 symvers-3.10.0-327.10.1.el7.x86_64.gz
- -rw-------. 1 root root 2963279 Jan 23 09:58 System.map-3.10.0-327.10.1.el7.x86_64
- -rwxr-xr-x. 1 root root 5153184 Feb 16 21:14 vmlinuz-0-rescue-445c4ae734d94ea58c40016ce52e6388
- -rwxr-xr-x. 1 root root 5153184 Jan 23 09:58 vmlinuz-3.10.0-327.10.1.el7.x86_64
- -rw-r--r--. 1 root root 171 Jan 23 09:58 .vmlinuz-3.10.0-327.10.1.el7.x86_64.hmac
- [heat-admin@overcloud-cephstorage-0 boot]$ cd /root/
- -bash: cd: /root/: Permission denied
- [heat-admin@overcloud-cephstorage-0 boot]$ ls -al
- total 129948
- dr-xr-xr-x. 4 root root 4096 Apr 8 14:46 .
- drwxr-xr-x. 17 root root 4096 Feb 16 22:24 ..
- -rw-r--r--. 1 root root 126431 Jan 23 09:58 config-3.10.0-327.10.1.el7.x86_64
- drwxr-xr-x. 2 root root 4096 Feb 16 22:07 extlinux
- drwx------. 6 root root 104 Mar 6 10:51 grub2
- -rw-r--r--. 1 root root 40795539 Feb 16 21:13 initramfs-0-rescue-445c4ae734d94ea58c40016ce52e6388.img
- -rw-r--r--. 1 root root 46591642 Apr 8 14:47 initramfs-3.10.0-327.10.1.el7.x86_64.img
- -rw-r--r--. 1 root root 15883913 Mar 6 10:55 initramfs-3.10.0-327.10.1.el7.x86_64kdump.img
- -rw-------. 1 root root 15512486 Feb 16 21:11 initramfs-3.10.0-327.el7.x86_64.img
- -rw-r--r--. 1 root root 601664 Feb 16 21:11 initrd-plymouth.img
- -rw-r--r--. 1 root root 252630 Jan 23 10:00 symvers-3.10.0-327.10.1.el7.x86_64.gz
- -rw-------. 1 root root 2963279 Jan 23 09:58 System.map-3.10.0-327.10.1.el7.x86_64
- -rwxr-xr-x. 1 root root 5153184 Feb 16 21:14 vmlinuz-0-rescue-445c4ae734d94ea58c40016ce52e6388
- -rwxr-xr-x. 1 root root 5153184 Jan 23 09:58 vmlinuz-3.10.0-327.10.1.el7.x86_64
- -rw-r--r--. 1 root root 171 Jan 23 09:58 .vmlinuz-3.10.0-327.10.1.el7.x86_64.hmac
- [heat-admin@overcloud-cephstorage-0 boot]$ sudo cd /root
- [heat-admin@overcloud-cephstorage-0 boot]$ ls
- config-3.10.0-327.10.1.el7.x86_64
- extlinux
- grub2
- initramfs-0-rescue-445c4ae734d94ea58c40016ce52e6388.img
- initramfs-3.10.0-327.10.1.el7.x86_64.img
- initramfs-3.10.0-327.10.1.el7.x86_64kdump.img
- initramfs-3.10.0-327.el7.x86_64.img
- initrd-plymouth.img
- symvers-3.10.0-327.10.1.el7.x86_64.gz
- System.map-3.10.0-327.10.1.el7.x86_64
- vmlinuz-0-rescue-445c4ae734d94ea58c40016ce52e6388
- vmlinuz-3.10.0-327.10.1.el7.x86_64
- [heat-admin@overcloud-cephstorage-0 boot]$ ls -al
- total 129948
- dr-xr-xr-x. 4 root root 4096 Apr 8 14:46 .
- drwxr-xr-x. 17 root root 4096 Feb 16 22:24 ..
- -rw-r--r--. 1 root root 126431 Jan 23 09:58 config-3.10.0-327.10.1.el7.x86_64
- drwxr-xr-x. 2 root root 4096 Feb 16 22:07 extlinux
- drwx------. 6 root root 104 Mar 6 10:51 grub2
- -rw-r--r--. 1 root root 40795539 Feb 16 21:13 initramfs-0-rescue-445c4ae734d94ea58c40016ce52e6388.img
- -rw-r--r--. 1 root root 46591642 Apr 8 14:47 initramfs-3.10.0-327.10.1.el7.x86_64.img
- -rw-r--r--. 1 root root 15883913 Mar 6 10:55 initramfs-3.10.0-327.10.1.el7.x86_64kdump.img
- -rw-------. 1 root root 15512486 Feb 16 21:11 initramfs-3.10.0-327.el7.x86_64.img
- -rw-r--r--. 1 root root 601664 Feb 16 21:11 initrd-plymouth.img
- -rw-r--r--. 1 root root 252630 Jan 23 10:00 symvers-3.10.0-327.10.1.el7.x86_64.gz
- -rw-------. 1 root root 2963279 Jan 23 09:58 System.map-3.10.0-327.10.1.el7.x86_64
- -rwxr-xr-x. 1 root root 5153184 Feb 16 21:14 vmlinuz-0-rescue-445c4ae734d94ea58c40016ce52e6388
- -rwxr-xr-x. 1 root root 5153184 Jan 23 09:58 vmlinuz-3.10.0-327.10.1.el7.x86_64
- -rw-r--r--. 1 root root 171 Jan 23 09:58 .vmlinuz-3.10.0-327.10.1.el7.x86_64.hmac
- [heat-admin@overcloud-cephstorage-0 boot]$ date
- Fri Apr 8 15:04:42 UTC 2016
- [heat-admin@overcloud-cephstorage-0 boot]$ pwd
- /boot
- [heat-admin@overcloud-cephstorage-0 boot]$ lsinitrd initramfs-3.10.0-327.10.1.el7.x86_64
- initramfs-3.10.0-327.10.1.el7.x86_64 does not exist
- Usage: lsinitrd [options] [<initramfs file> [<filename> [<filename> [...] ]]]
- Usage: lsinitrd [options] -k <kernel version>
- -h, --help print a help message and exit.
- -s, --size sort the contents of the initramfs by size.
- -m, --mod list modules.
- -f, --file <filename> print the contents of <filename>.
- -k, --kver <kernel version> inspect the initramfs of <kernel version>.
- [heat-admin@overcloud-cephstorage-0 boot]$ lsinitrd initramfs initramfs-3.10.0-327.10.1.el7.x86_64
- initramfs does not exist
- Usage: lsinitrd [options] [<initramfs file> [<filename> [<filename> [...] ]]]
- Usage: lsinitrd [options] -k <kernel version>
- -h, --help print a help message and exit.
- -s, --size sort the contents of the initramfs by size.
- -m, --mod list modules.
- -f, --file <filename> print the contents of <filename>.
- -k, --kver <kernel version> inspect the initramfs of <kernel version>.
- [heat-admin@overcloud-cephstorage-0 boot]$ lsinitrd -m initramfs initramfs-3.10.0-327.10.1.el7.x86_64
- initramfs does not exist
- Usage: lsinitrd [options] [<initramfs file> [<filename> [<filename> [...] ]]]
- Usage: lsinitrd [options] -k <kernel version>
- -h, --help print a help message and exit.
- -s, --size sort the contents of the initramfs by size.
- -m, --mod list modules.
- -f, --file <filename> print the contents of <filename>.
- -k, --kver <kernel version> inspect the initramfs of <kernel version>.
- [heat-admin@overcloud-cephstorage-0 boot]$ lsinitrd -m initramfs initramfs-3.10.0-327.10.1.el7.x86_64.img
- initramfs does not exist
- Usage: lsinitrd [options] [<initramfs file> [<filename> [<filename> [...] ]]]
- Usage: lsinitrd [options] -k <kernel version>
- -h, --help print a help message and exit.
- -s, --size sort the contents of the initramfs by size.
- -m, --mod list modules.
- -f, --file <filename> print the contents of <filename>.
- -k, --kver <kernel version> inspect the initramfs of <kernel version>.
- [heat-admin@overcloud-cephstorage-0 boot]$ lsinitrd -m initramfs-3.10.0-327.10.1.el7.x86_64.img Image: initramfs-3.10.0-327.10.1.el7.x86_64.img: 45M
- ========================================================================
- Early CPIO image
- ========================================================================
- drwxr-xr-x 3 root root 0 Apr 8 14:46 .
- -rw-r--r-- 1 root root 2 Apr 8 14:46 early_cpio
- drwxr-xr-x 3 root root 0 Apr 8 14:46 kernel
- drwxr-xr-x 3 root root 0 Apr 8 14:46 kernel/x86
- drwxr-xr-x 2 root root 0 Apr 8 14:46 kernel/x86/microcode
- -rw-r--r-- 1 root root 662528 Apr 8 14:46 kernel/x86/microcode/GenuineIntel.bin
- ========================================================================
- Version: dracut-033-360.el7_2
- dracut modules:
- bash
- modsign
- nss-softokn
- i18n
- network
- ifcfg
- drm
- plymouth
- btrfs
- crypt
- dm
- kernel-modules
- lvm
- mdraid
- multipath
- qemu
- qemu-net
- iscsi
- nfs
- resume
- rootfs-block
- terminfo
- udev-rules
- virtfs
- biosdevname
- systemd
- usrmount
- base
- fs-lib
- shutdown
- ========================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement