【openstack】问题记录:error: you need to load the kernel first【已解决】】

简介: 【openstack】问题记录:error: you need to load the kernel first【已解决】】

前言


昨天在机房服务器上安装完openstack之后,出现了一个让我郁闷的错误:过五关斩六将,历经千辛万苦,终于把环境搭建完成了,创建虚拟机时竟然又出现了一个之前从来没有遇见的问题:

1.webp.jpg


正文


error: cannot allocate kernel buffer
error: you need to need to load the kernel first
Press any key to continue...


乍一看:怎么操作系统核心加载不起来?结果还真在互联网上搜到了答案:

Hi cally725,
I too faced same issue.
Major reason for this is the RAM allocation to instance.
Kindly check how much ram is used in instance Flavor.
just a quick hint, if this is related:
  Normally while creating flavor, we specify "--ram 4", but it is not 4 GB rather 4 MB.


中文意思是:给你个小提示,如果有关联的话:
通常在创建实例类型时,我们指定“—ram 4”,但它不是4 GB,而是4 MB。

于是我回过头来看了下自己创建的实例类型:


2.webp.jpg


发现还真有一个:4MB,顿时哭笑不得——也确实难为操作系统了,我就分配了4MB的内存装操作系统,哈哈哈!

目录
相关文章
|
8月前
|
Docker 容器
Docker错误:inotify_add_watch(7, /dev/dm-4, 10) failed: No such file or directory
Docker错误:inotify_add_watch(7, /dev/dm-4, 10) failed: No such file or directory
149 1
|
10月前
|
网络协议
VFS: Cannot open root device "nfs" or unknown-block(0,255)错误解决
VFS: Cannot open root device "nfs" or unknown-block(0,255)错误解决
243 0
|
Linux
LINUX虚拟机安装增强功能时报错: Kernel headers not found for target kernel. Please install them and execute
LINUX虚拟机安装增强功能时报错: Kernel headers not found for target kernel. Please install them and execute
273 0
|
Linux
Linux 执行partprobe命令时遇到Unable to open /dev/sr0 read-write (Read-only file system)
在使用fdisk创建分区时,我们会使用partprobe命令可以使kernel重新读取分区信息,从而避免重启系统,但是有时候会遇到下面错误信息“Warning: Unable to open /dev/sr0 read-write (Read-only file system).
3201 0
|
安全 Linux
Linux - 修改系统的max open files、max user processes(附ulimit的使用方法)
Linux - 修改系统的max open files、max user processes(附ulimit的使用方法)目录 1 问题说明2 修改max open files3 修改max user processes4 附录: ulimit命令说明1 问题说明Linux 系统默认的max ope...
4648 0