求解决 WARNING: Classic qemu does not support SMP.?

启动安卓虚拟机时显示
Starting emulator for AVD '19'
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
然后屏幕是图片说明

1个回答

: Classic qemu does not support SMP.?
qemu虚拟机图片android
启动安卓虚拟机时显示
Starting emulator for AVD '19'
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
然后屏幕是图片说明

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
启动安卓虚拟机后出来一个窗口不过是黑屏的而且报emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.

启动安卓虚拟机的时候,弹出一个屏幕框,但是是黑屏,并且报 emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored. 屏幕:![图片说明](https://img-ask.csdn.net/upload/201910/05/1570283052_953264.jpg) 救救孩子吧 这是配置: ![图片说明](https://img-ask.csdn.net/upload/201910/06/1570291784_244935.jpg)

安卓 虚拟机启动后不加载任何程序内容自动横屏,无法更改

emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored. 怎么解决

android 创建原生模拟器问题。。。

在创建原生模拟器时候出现以下问题,希望有大神看到能够帮忙解决下,谢谢 Hax is enabled Hax ram_size 0x40000000 HAX is working and emulator runs in fast virt mode. audio: Failed to create voice `goldfish_audio_in' qemu-system-i386.exe: warning: opening audio input failed console on port 5554, ADB on port 5555 emulator: WARNING: UpdateCheck: Failure: Error emulator: WARNING: UpdateCheck: failed to get the latest version, skipping check (current version '25.1.3' emulator: WARNING: ./android/metrics/metrics_reporter_toolbar.cpp:162: Can't upload usage metrics: Error![图片说明](https://img-ask.csdn.net/upload/201707/28/1501213335_440559.jpg)

qemu源码编译,make的时候出这些错,如何解决?

gcc -Wall -O2 -g -fno-strict-aliasing -I. -I/home/virtuoso/virtuoso-master/qemu-0.9.1 -MMD -MP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/virtuoso/virtuoso-master/qemu-0.9.1/slirp -DQEMU_IMG -c -o qemu-img-block-raw-posix.o block-raw-posix.c block-raw-posix.c:242: error: SIGUSR2' undeclared here (not in a function) block-raw-posix.c: In functionqemu_aio_init': block-raw-posix.c:264: error: storage size of 'act' isn't known block-raw-posix.c:268: warning: implicit declaration of function sigfillset' block-raw-posix.c:271: warning: implicit declaration of functionsigaction' block-raw-posix.c:264: warning: unused variable act' block-raw-posix.c: In functionqemu_aio_wait_start': block-raw-posix.c:348: warning: implicit declaration of function sigemptyset' block-raw-posix.c:349: warning: implicit declaration of functionsigaddset' block-raw-posix.c:350: warning: implicit declaration of function sigprocmask' block-raw-posix.c:350: error:SIG_BLOCK' undeclared (first use in this function) block-raw-posix.c:350: error: (Each undeclared identifier is reported only once block-raw-posix.c:350: error: for each function it appears in.) block-raw-posix.c: In function qemu_aio_wait': block-raw-posix.c:364: warning: implicit declaration of functionsigwait' block-raw-posix.c: In function qemu_aio_wait_end': block-raw-posix.c:370: error:SIG_SETMASK' undeclared (first use in this function) Makefile:136: recipe for target 'qemu-img-block-raw-posix.o' failed make: *** [qemu-img-block-raw-posix.o] Error 1

在Android studio运行模拟器时报错Emulator: qemu_ram_alloc_user_backed: call

每次启动模拟器都会报这个错误,刚接触Android开发不知道为啥,有没有大佬解答一下。 ``` package com.example.lenovo.myapplication; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.Handler; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.DisplayMetrics; import android.view.Display; import android.view.View; import android.view.WindowManager; public class MainActivity extends AppCompatActivity { private int zmkuan; int zmGao; //小球的变量 float qiu_size = 16; float qiu_sudu =3; float qiu_shang = 90; float qiuX; float qiuY; //柱子的变量 float zhu_gao ; float zhu_gao_2; float zhu_kaun = 80; float zhu_kaun_2 = 80; float zhuX; float zhuY; float zhuX_2; float zhuY_2; float zhu_sudu; int num = 0;//小球通过柱子数 boolean jieshu = false;//盘孤单小球是否结束 MyGameView myGameView;//为了能在全局访问到这个变量 @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //设置为全屏,固定写法 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN); //使游戏横屏,修改配置文件AndroidMainifest.xml: <activity android:name=".MainActivity" android:screenOrientation="landscape"> //获取游戏视图 MyGameView myGameView = new MyGameView(this); setContentView(myGameView); //获取窗口的一个管理器,固定写法 WindowManager windowManager = getWindowManager(); Display display = windowManager.getDefaultDisplay(); DisplayMetrics metrics = new DisplayMetrics(); display.getMetrics(metrics); //获取屏幕的宽和高 zmkuan = metrics.widthPixels; zmGao = metrics.heightPixels; play(); } public void play(){ jieshu = false; //设置两根柱子的初始位置 zhuX = zmkuan - zhu_kaun; zhuY = 0; zhuX_2 = zmkuan - zhu_kaun_2; zhuY_2 = zmGao; zhu_gao = zmGao/2 - 200; zhu_gao_2 = zmGao -zhu_gao -200; num = 0; zhu_sudu = 5; qiu_sudu = 3.5f; qiu_shang = 90; qiuX = 50; qiuY = zmGao/2; handler.sendEmptyMessage(0x123); } Handler handler = new Handler(){ @Override public void handleMessage(Message msg) { super.handleMessage(msg); if (msg.what == 0x123){ myGameView.invalidate(); } } }; class MyGameView extends View { Paint paint = new Paint(); public MyGameView(Context context) { super(context); } @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); paint.setStyle(Paint.Style.FILL); paint.setAntiAlias(true);//设置抗锯齿 if (jieshu){ //执行游戏结束后的效果 }else { paint.setColor(Color.RED); paint.setTextSize(80); canvas.drawText(num+"",zmkuan/2-10,80,paint); canvas.drawCircle(qiuX, qiuY, qiu_size, paint); //绘制上柱子 paint.setColor(Color.rgb(80,80,200)); canvas.drawRect(zhuX,zhuY,zhuX+zhu_kaun,zhuY+zhu_gao,paint); //绘制下柱子 canvas.drawRect(zhuX_2,zhuY_2,zhuX_2+zhu_kaun_2,zhuY_2+zhu_gao_2,paint); } } } } ``` event log报错信息:![图片说明](https://img-ask.csdn.net/upload/201904/16/1555399509_788338.png)

qemu源码编译,make的时候出这些错,怎么解决呢?

gcc -Wall -O2 -g -fno-strict-aliasing -I. -I/home/virtuoso/virtuoso-master/qemu-0.9.1 -MMD -MP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/virtuoso/virtuoso-master/qemu-0.9.1/slirp -DQEMU_IMG -c -o qemu-img-block-raw-posix.o block-raw-posix.c block-raw-posix.c:242: error: `SIGUSR2' undeclared here (not in a function) block-raw-posix.c: In function `qemu_aio_init': block-raw-posix.c:264: error: storage size of 'act' isn't known block-raw-posix.c:268: warning: implicit declaration of function `sigfillset' block-raw-posix.c:271: warning: implicit declaration of function `sigaction' block-raw-posix.c:264: warning: unused variable `act' block-raw-posix.c: In function `qemu_aio_wait_start': block-raw-posix.c:348: warning: implicit declaration of function `sigemptyset' block-raw-posix.c:349: warning: implicit declaration of function `sigaddset' block-raw-posix.c:350: warning: implicit declaration of function `sigprocmask' block-raw-posix.c:350: error: `SIG_BLOCK' undeclared (first use in this function) block-raw-posix.c:350: error: (Each undeclared identifier is reported only once block-raw-posix.c:350: error: for each function it appears in.) block-raw-posix.c: In function `qemu_aio_wait': block-raw-posix.c:364: warning: implicit declaration of function `sigwait' block-raw-posix.c: In function `qemu_aio_wait_end': block-raw-posix.c:370: error: `SIG_SETMASK' undeclared (first use in this function) Makefile:136: recipe for target 'qemu-img-block-raw-posix.o' failed make: *** [qemu-img-block-raw-posix.o] Error 1

AVD manager虚拟机配置问题

我用Android studio里面的虚拟机报错报这个: Emulator: [123145523011584]:WARNING:./android/base/files/IniFile.cpp:158:Failed to process .ini file /Users/Frank/.android/emu-update-last-check.ini for reading. 有木有大腿知道这是为啥子嘛

Android SDK sh: 1: glxinfo: not found

错误提示如下: sh: 1: glxinfo: not found sh: 1: glxinfo: not found qemu-system-armel: -nand: invalid option 百度的是解决方法是 sudo apt-get install mesa-utils 没用,安装后错误代码变成了 libGL error: unable to load driver: vmwgfx_dri.so libGL error: driver pointer missing libGL error: failed to load driver: vmwgfx libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast X Error of failed request: GLXBadContext Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 54 Current serial number in output stream: 53 libGL error: unable to load driver: vmwgfx_dri.so libGL error: driver pointer missing libGL error: failed to load driver: vmwgfx libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast X Error of failed request: GLXBadContext Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 54 Current serial number in output stream: 53 qemu-system-armel: -nand: invalid option

android studio启动模拟器报错sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: failed to initialize HAX: Invalid argument

10:10 Emulator: Open the vm device error:\\.\hax_vm00, ec:2 10:10 Emulator: Failed to open vm 0 10:10 Emulator: Failed to create HAX VM 10:10 Emulator: No accelerator found. 10:10 Emulator: G:\android_new\sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: failed to initialize HAX: Invalid argument 10:10 Emulator: Process finished with exit code -805306369 (0xCFFFFFFF) 安装android studio之后 启动模拟器,一直报以上错误,按网上的方法找到extras\intel\Hardware_Accelerated_Execution_Manager;并且成功运行intelhaxm-android.exe之后还是不行,求各位大神指点迷津。 这里启动模拟器第一步就失败 报 error:\\.\hax_vm00, ec:2 搞不懂这个是什么异常 还是找不出模拟器启动失败的原因,可能是自己手动关闭了qemu-system的进程导致,实在没法,就在电脑上安装一个android模拟器MuMu,调试的时候连接该模拟器即可。

Android studio 无法启动虚拟机

无法启动,真机也无法启动。求各位帮我解决![图片说明](https://img-ask.csdn.net/upload/201604/10/1460287513_132151.png)

Android 系统启动模拟器出现这个问题怎么解决

``` root@huguang:~/android# emulator emulator: WARNING: system partition size adjusted to match image file (2560 MB > 200 MB) emulator: WARNING: data partition size adjusted to match image file (550 MB > 200 MB) emulator: WARNING: encryption is off libGL error: unable to load driver: vmwgfx_dri.so libGL error: driver pointer missing libGL error: failed to load driver: vmwgfx libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast X Error of failed request: GLXBadContext Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 49 Current serial number in output stream: 48 libGL error: unable to load driver: vmwgfx_dri.so libGL error: driver pointer missing libGL error: failed to load driver: vmwgfx libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 24 (X_GLXCreateNewContext) Value in failed request: 0x0 Serial number of failed request: 33 Current serial number in output stream: 34 QObject::~QObject: Timers cannot be stopped from another thread 段错误 (核心已转储) ``` ---------------- <br> <br> sdk目录好像少了tools目录 ``` root@huguang:~/android/out/host/linux-x86/sdk/sdk/android-sdk_eng.root_linux-x86# ls add-ons documentation.html RELEASE_NOTES.html tests build-tools platforms samples docs platform-tools system-images root@huguang:~/android/out/host/linux-x86/sdk/sdk/android-sdk_eng.root_linux-x86# ```

openstack云主机起不来,具体看下边问题和日志

``` 456 ID 77553db8-8258-4e53-b63c-1e79271ab089 状态 错误 可用域 nova 已创建 2019年4月11日 21:57 从创建以来 0 分钟 主机 - 故障 消息 No valid host was found. There are not enough hosts available. 编码 500 详情 File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 392, in build_instances context, request_spec, filter_properties) File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 436, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 372, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 121, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 158, in call retry=self.retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 470, in send retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 461, in _send raise result 已创建 2019年4月11日 21:57 规格 云主机类型名称 云主机1型 云主机类型ID 8eda3b60-4832-4ab0-8f9a-3ef9604b9b8e 内存 2GB VCPU数量 3 VCPU 磁盘 20GB 临时磁盘 2GB IP地址 外网 10.0.0.109 Sharednet1 192.168.200.111 安全组 default 允许 IPv4 from default 允许 IPv4 icmp from default 允许 IPv4 icmp to 0.0.0.0/0 允许 IPv6 to ::/0 允许 IPv4 to 0.0.0.0/0 允许 IPv6 from default 元数据 密钥对名称 无 镜像名称 CentOS6.5 镜像ID 873a7d1e-16d2-49e3-85c1-60e880253dcc ``` ``` 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [req-4b1cd3d0-1b63-4f3d-a101-482dc9b7cdc2 73392af71b774eae8ec398adf423d560 b9670c01673c47fa8c24e854fdf9f737 - - -] [instance: 77553db8-8258-4e53-b63c-1e79271ab089] Instance failed to spawn 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] Traceback (most recent call last): 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2218, in _build_resources 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] yield resources 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] block_device_info=block_device_info) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2780, in spawn 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] block_device_info=block_device_info) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4924, in _create_domain_and_network 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] xml, pause=pause, power_on=power_on) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4855, in _create_domain 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] guest.launch(pause=pause) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 142, in launch 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] self._encoded_xml, errors='ignore') 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] self.force_reraise() 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] six.reraise(self.type_, self.value, self.tb) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 137, in launch 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] return self._domain.createWithFlags(flags) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 183, in doit 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] result = proxy_call(self._autowrap, f, *args, **kwargs) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 141, in proxy_call 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] rv = execute(f, *args, **kwargs) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 122, in execute 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] six.reraise(c, e, tb) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 80, in tworker 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] rv = meth(*args, **kwargs) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1110, in createWithFlags 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] libvirtError: internal error: qemu unexpectedly closed the monitor: 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] (process:51935): GLib-WARNING **: 06:57:57.413: gmem.c:489: custom memory allocation vtable not supported 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] 2019-04-11T21:57:57.529392Z qemu-kvm: CPU feature arat not found 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] ```

[Openstack] 实例创建成功,但是无法启动,看日志也没有报错

安装的是ocata版,完全按照官网教程安装,能成功创建实例,但是实例启动一直卡在首屏。使用的是cirros镜像,使用其他镜像也是这个样子。新手一枚,求大神指点。 ![实例创建成功](https://img-ask.csdn.net/upload/201704/05/1491373558_34964.png) ![实例运行界面](https://img-ask.csdn.net/upload/201704/05/1491373587_6132.png) 实例配置 ``` <domain type='kvm' id='3'> <name>instance-00000006</name> <uuid>ae16fac3-d418-497a-9959-4f2de116ad87</uuid> <metadata> <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0"> <nova:package version="15.0.0-1.el7"/> <nova:name>test</nova:name> <nova:creationTime>2017-04-04 17:53:38</nova:creationTime> <nova:flavor name="m1.nano"> <nova:memory>64</nova:memory> <nova:disk>1</nova:disk> <nova:swap>0</nova:swap> <nova:ephemeral>0</nova:ephemeral> <nova:vcpus>1</nova:vcpus> </nova:flavor> <nova:owner> <nova:user uuid="c4eadda47b5e41e9940dd418962b0ab8">admin</nova:user> <nova:project uuid="ac2906f775a24cb48b1040c22f7d07ec">admin</nova:project> </nova:owner> <nova:root type="image" uuid="c92a6bae-b1a0-4296-af5c-a6b34189c0eb"/> </nova:instance> </metadata> <memory unit='KiB'>65536</memory> <currentMemory unit='KiB'>65536</currentMemory> <vcpu placement='static'>1</vcpu> <cputune> <shares>1024</shares> </cputune> <resource> <partition>/machine</partition> </resource> <sysinfo type='smbios'> <system> <entry name='manufacturer'>RDO</entry> <entry name='product'>OpenStack Compute</entry> <entry name='version'>15.0.0-1.el7</entry> <entry name='serial'>4dd6358f-1ebd-4634-9f0f-0d26d3dd4993</entry> <entry name='uuid'>ae16fac3-d418-497a-9959-4f2de116ad87</entry> <entry name='family'>Virtual Machine</entry> </system> </sysinfo> <os> <type arch='x86_64' machine='pc-i440fx-rhel7.3.0'>hvm</type> <boot dev='hd'/> <smbios mode='sysinfo'/> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-model'> <model fallback='allow'/> <topology sockets='1' cores='1' threads='1'/> </cpu> <clock offset='utc'> <timer name='pit' tickpolicy='delay'/> <timer name='rtc' tickpolicy='catchup'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/var/lib/nova/instances/ae16fac3-d418-497a-9959-4f2de116ad87/disk'/> <backingStore type='file' index='1'> <format type='raw'/> <source file='/var/lib/nova/instances/_base/3e67c6c692a9b432d2f74fc5bc7c22e35b7e1cfc'/> <backingStore/> </backingStore> <target dev='vda' bus='virtio'/> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <controller type='usb' index='0'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <interface type='bridge'> <mac address='fa:16:3e:9a:3e:07'/> <source bridge='brqf28be70d-9a'/> <target dev='tap3a7df40b-a1'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='file'> <source path='/var/lib/nova/instances/ae16fac3-d418-497a-9959-4f2de116ad87/console.log'/> <target port='0'/> <alias name='serial0'/> </serial> <serial type='pty'> <source path='/dev/pts/1'/> <target port='1'/> <alias name='serial1'/> </serial> <console type='file'> <source path='/var/lib/nova/instances/ae16fac3-d418-497a-9959-4f2de116ad87/console.log'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <input type='tablet' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='keyboard' bus='ps2'> <alias name='input2'/> </input> <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='16384' heads='1' primary='yes'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <stats period='10'/> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </memballoon> </devices> <seclabel type='none' model='none'/> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+107:+107</label> <imagelabel>+107:+107</imagelabel> </seclabel> </domain> ``` 实例运行日志 ``` 2017-04-04 17:53:38.328+0000: starting up libvirt version: 2.0.0, package: 10.el7_3.5 (CentOS BuildSystem <http://bugs.centos.org>, 2017-03-03-02:09:45, c1bm.rdu2.centos.org), qemu version: 2.6.0 (qemu-kvm-ev-2.6.0-28.el7_3.6.1), hostname: openstack2 LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name guest=instance-00000006,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-3-instance-00000006/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off -cpu Haswell-noTSX,+vme,+ds,+ss,+ht,+vmx,+osxsave,+f16c,+rdrand,+hypervisor,+arat,+tsc_adjust,+xsaveopt,+pdpe1gb,+abm -m 64 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid ae16fac3-d418-497a-9959-4f2de116ad87 -smbios 'type=1,manufacturer=RDO,product=OpenStack Compute,version=15.0.0-1.el7,serial=4dd6358f-1ebd-4634-9f0f-0d26d3dd4993,uuid=ae16fac3-d418-497a-9959-4f2de116ad87,family=Virtual Machine' -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-3-instance-00000006/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/ae16fac3-d418-497a-9959-4f2de116ad87/disk,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:9a:3e:07,bus=pci.0,addr=0x3 -add-fd set=2,fd=30 -chardev file,id=charserial0,path=/dev/fdset/2,append=on -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0,bus=usb.0,port=1 -vnc 0.0.0.0:0 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on char device redirected to /dev/pts/1 (label charserial1) warning: host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21] warning: host doesn't support requested feature: CPUID.01H:EDX.ht [bit 28] warning: host doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5] warning: host doesn't support requested feature: CPUID.01H:ECX.osxsave [bit 27] warning: host doesn't support requested feature: CPUID.07H:EBX.erms [bit 9] warning: host doesn't support requested feature: CPUID.80000001H:EDX.pdpe1gb [bit 26] ```

Docker-entrypoint.sh导致使用golang的ARM映像“未找到”

<div class="post-text" itemprop="text"> <p>My problem is that I get an error when running my container on an ARM arch system(RaspberryPI with Raspbian). Image was built on that same Raspberry. </p> <p>This is my <code>dockerfile</code>:</p> <pre><code>FROM arm32v7/golang COPY qemu-arm-static /usr/bin ENV STATUSOK_VERSION 0.1.1 RUN apt-get update \ &amp;&amp; apt-get install -y unzip \ &amp;&amp; wget https://github.com/sanathp/statusok/releases/download/$STATUSOK_VERSION/statusok_linux.zip \ &amp;&amp; unzip statusok_linux.zip \ &amp;&amp; mv ./statusok_linux/statusok /go/bin/StatusOk \ &amp;&amp; rm -rf ./statusok_linux* \ &amp;&amp; apt-get remove -y unzip git \ &amp;&amp; apt-get autoremove -y \ &amp;&amp; apt-get clean \ &amp;&amp; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* VOLUME /config COPY ./docker-entrypoint.sh /docker-entrypoint.sh ENTRYPOINT /docker-entrypoint.sh </code></pre> <p>I'm able to succesfully build this on a RaspberryPI running Raspbian:</p> <pre><code>root@raspberrypi:~/armstatusok# docker build . -t armstatusok Sending build context to Docker daemon 6.656kB Step 1/7 : FROM arm32v7/golang ---&gt; 8bbfdfd01a06 Step 2/7 : COPY qemu-arm-static /usr/bin ---&gt; Using cache ---&gt; 2572fd1e03a0 Step 3/7 : ENV STATUSOK_VERSION 0.1.1 ---&gt; Using cache ---&gt; 25d39a4c6eb5 Step 4/7 : RUN apt-get update &amp;&amp; apt-get install -y unzip &amp;&amp; wget https://github.com/sanathp/statusok/releases/download/$STATUSOK_VERSION/statusok_linux.zip &amp;&amp; unzip statusok_linux.zip &amp;&amp; mv ./statusok_linux/statusok /go/bin/StatusOk &amp;&amp; rm -rf ./statusok_linux* &amp;&amp; apt-get remove -y unzip git &amp;&amp; apt-get autoremove -y &amp;&amp; apt-get clean &amp;&amp; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ---&gt; Using cache ---&gt; bfb1cfa9a985 Step 5/7 : VOLUME /config ---&gt; Using cache ---&gt; 3bfbce28329b Step 6/7 : COPY ./docker-entrypoint.sh /docker-entrypoint.sh ---&gt; Using cache ---&gt; a1795ca4f40c Step 7/7 : ENTRYPOINT /docker-entrypoint.sh ---&gt; Using cache ---&gt; d0ce74911ba3 Successfully built d0ce74911ba3 Successfully tagged armstatusok:latest </code></pre> <p>Next step is to run it, and where I get into trouble:</p> <pre><code>root@raspberrypi:~/armstatusok# docker run --name=armstatusok -v $PWD:/config armstatusok /docker-entrypoint.sh: 1: /docker-entrypoint.sh: /go/bin/StatusOk: not found </code></pre> <p>I went into the container commenting line one of the <code>docker-entrypoint.sh</code> and checked if <code>/go/bin/StatusOk</code> was actually there, and it was.</p> <p>My <code>docker-entrypoint.sh</code>:</p> <pre><code>root@raspberrypi:~/armstatusok# cat docker-entrypoint.sh /go/bin/StatusOk --config /config/config.json </code></pre> <p>Now my question is, does anybody have a clue where to start? I also tested this dockerfile on x86 arch, and there it worked. I only changed the FROM line to the x86 flavour and removed the <code>COPY qemu-arm-static /usr/bin</code> since that line is there to make it work on ARM arch, according to documentation.</p> </div>

notification无法显示

按照第一行代码打的notification,不知道那里错了(水平太低),系统是ubuntu ``` package com.example.unit_8; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.NotificationCompat; import android.app.Notification; import android.app.NotificationManager; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatActivity implements View.OnClickListener{ private Button Send_notice; private NotificationManager notificationManager; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Send_notice = (Button) findViewById(R.id.send_notice); Send_notice.setOnClickListener(this); } @Override public void onClick(View v) { switch (v.getId()){ case R.id.send_notice: notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); Notification notification = new NotificationCompat.Builder(this,"default") .setContentTitle("this is title") .setContentText("this is text") .setSmallIcon(R.mipmap.ic_launcher).build(); notificationManager.notify(1,notification); Log.i("msg","R.id.send_notice"); break; default: break; } } } ``` ``` ``` ``` 这个是log信息 2019-10-13 17:07:18.253 28995-28995/? I/.example.unit_: Not late-enabling -Xcheck:jni (already on) 2019-10-13 17:07:18.283 28995-28995/? E/.example.unit_: Unknown bits set in runtime_flags: 0x8000 2019-10-13 17:07:18.288 28995-28995/? W/.example.unit_: Unexpected CPU variant for X86 using defaults: x86 2019-10-13 17:07:18.497 28995-28995/com.example.unit_8 W/.example.unit_: JIT profile information will not be recorded: profile file does not exits. 2019-10-13 17:07:18.498 28995-28995/com.example.unit_8 I/chatty: uid=10142(com.example.unit_8) identical 10 lines 2019-10-13 17:07:18.498 28995-28995/com.example.unit_8 W/.example.unit_: JIT profile information will not be recorded: profile file does not exits. 2019-10-13 17:07:18.504 28995-28995/com.example.unit_8 I/InstantRun: starting instant run server: is main process 2019-10-13 17:07:18.523 28995-28995/com.example.unit_8 W/RenderThread: type=1400 audit(0.0:186): avc: denied { write } for name="property_service" dev="tmpfs" ino=7189 scontext=u:r:untrusted_app:s0:c142,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 2019-10-13 17:07:18.540 28995-29016/com.example.unit_8 D/libEGL: Emulator has host GPU support, qemu.gles is set to 1. 2019-10-13 17:07:18.541 28995-29016/com.example.unit_8 W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied) 2019-10-13 17:07:18.603 28995-29016/com.example.unit_8 D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so 2019-10-13 17:07:18.604 28995-29016/com.example.unit_8 D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so 2019-10-13 17:07:18.617 28995-29016/com.example.unit_8 D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so 2019-10-13 17:07:18.695 28995-28995/com.example.unit_8 W/.example.unit_: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed) 2019-10-13 17:07:18.695 28995-28995/com.example.unit_8 W/.example.unit_: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed) 2019-10-13 17:07:18.849 28995-29014/com.example.unit_8 D/HostConnection: HostConnection::get() New Host Connection established 0xd753b9a0, tid 29014 2019-10-13 17:07:18.855 28995-29014/com.example.unit_8 D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2 2019-10-13 17:07:18.874 28995-29014/com.example.unit_8 W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... 2019-10-13 17:07:18.876 28995-29014/com.example.unit_8 D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 0 0 2019-10-13 17:07:18.876 28995-29014/com.example.unit_8 D/EGL_emulation: eglCreateContext: 0xe2c1c180: maj 2 min 0 rcv 2 2019-10-13 17:07:18.877 28995-29014/com.example.unit_8 D/EGL_emulation: eglMakeCurrent: 0xe2c1c180: ver 2 0 (tinfo 0xe2cfded0) 2019-10-13 17:07:18.942 28995-29014/com.example.unit_8 W/Gralloc3: mapper 3.x is not supported 2019-10-13 17:07:18.948 28995-29014/com.example.unit_8 D/HostConnection: createUnique: call 2019-10-13 17:07:18.950 28995-29014/com.example.unit_8 D/HostConnection: HostConnection::get() New Host Connection established 0xd753d110, tid 29014 2019-10-13 17:07:18.969 28995-29014/com.example.unit_8 D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2 2019-10-13 17:07:18.969 28995-29014/com.example.unit_8 D/eglCodecCommon: allocate: Ask for block of size 0x1000 2019-10-13 17:07:18.969 28995-29014/com.example.unit_8 D/eglCodecCommon: allocate: ioctl allocate returned offset 0x3ff801000 size 0x2000 2019-10-13 17:07:19.005 28995-29014/com.example.unit_8 D/EGL_emulation: eglMakeCurrent: 0xe2c1c180: ver 2 0 (tinfo 0xe2cfded0) 2019-10-13 17:07:19.012 28995-29014/com.example.unit_8 D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 0 2019-10-13 17:07:34.632 28995-28995/com.example.unit_8 I/msg: R.id.send_notice

用乌班图安装qemu无法加载x86系统

我已经安装了glib zlib libtool但仍然会出现Disabling libtool due to broken toolchain support的提示,虽然并不影响qemu的安装,但安装完后再qemu上加载x86系统时总是会出现 Error: Couldn't find a working QEMU executable. *** Is the directory containing the qemu binary in your PATH *** or have you tried setting the QEMU variable in conf/env.mk? *** /bin/sh: 1: -nographic: not found hda obj/kern/kernel.img -serial mon:stdio -gdb tcp::26000 make: hda: Command not found GNUmakefile:156: recipe for target 'qemu' failed make: [qemu] Error 127 (ignored)

openstack创建实例成功但是启动实例报错

以下是nova报错详情: ``` /var/log/nova/nova-compute.log:2020-02-11 08:43:18.893 1327 ERROR nova.virt.libvirt.guest [req-ecfa9ec9-82fd-42dd-838f-ff5938af32e7 a7756266208f439bbb8324fb22853932 e7af6fe8f68647ab8010beaa7cb440ed - - -] Error launching a defined domain with XML: <domain type='kvm'> /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [req-ecfa9ec9-82fd-42dd-838f-ff5938af32e7 a7756266208f439bbb8324fb22853932 e7af6fe8f68647ab8010beaa7cb440ed - - -] [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] Instance failed to spawn /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] Traceback (most recent call last): /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2218, in _build_resources /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] except Exception: /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] # saved in that function to prevent races. /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2779, in spawn /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] block_device_info=block_device_info) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4923, in _create_domain_and_network /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] xml, pause=pause, power_on=power_on) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4854, in _create_domain /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] guest.launch(pause=pause) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 142, in launch /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] self._encoded_xml, errors='ignore') /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] self.force_reraise() /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] six.reraise(self.type_, self.value, self.tb) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 137, in launch /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] return self._domain.createWithFlags(flags) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 186, in doit /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] result = proxy_call(self._autowrap, f, *args, **kwargs) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 144, in proxy_call /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] rv = execute(f, *args, **kwargs) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 125, in execute /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] six.reraise(c, e, tb) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 83, in tworker /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] rv = meth(*args, **kwargs) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1110, in createWithFlags /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] libvirtError: 内部错误:qemu unexpectedly closed the monitor: 2020-02-11T00:43:18.668387Z qemu-kvm: -drive file=/var/lib/nova/instances/a26fb462-a721-45eb-8eaa-776ec5da3b23/disk,format=qcow2,if=none,id=drive-virtio-disk0,cache=none: Could not open '/var/lib/nova/instances/a26fb462-a721-45eb-8eaa-776ec5da3b23/disk': Permission denied /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [req-ecfa9ec9-82fd-42dd-838f-ff5938af32e7 a7756266208f439bbb8324fb22853932 e7af6fe8f68647ab8010beaa7cb440ed - - -] [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] Unexpected build failure, not rescheduling build. /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] Traceback (most recent call last): /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1926, in _do_build_and_run_instance /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2116, in _build_and_run_instance /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] exception.ImageNotActive, /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128) /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] ``` dashboard报错: ![图片说明](https://img-ask.csdn.net/upload/202002/11/1581385833_715215.png) ![图片说明](https://img-ask.csdn.net/upload/202002/11/1581385890_574951.png) 网上说了很多办法都没有用,个人初学小白,有没有路过的大神指点一二。万分感谢!

虚拟机安装MS-DOS不可恢复性错误vcpu-0 在安装目录vmware.log文件中

![图片说明](https://img-ask.csdn.net/upload/201509/12/1442040667_591582.png) 虚拟机安装MS-DOS boot设置从硬盘启动后出现,不可恢复性错误vcpu-0 在安装目录vmware.log文件中

启动arm虚拟机,执行启动脚本时出现错误

./mini2440_start.sh Starting in . ./../arm-softmmu/qemu-system-arm -M mini2440 -serial stdio -mtdblock ./mini2440_nand128.bin -show-cursor -usb -usbdevice keyboard -usbdevice mouse -kernel uImage -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=./qemu-ifup,downscript=./qemu-ifdown -monitor telnet::5555,server,nowait TUNSETIFF: Device or resource busy mini2440_init: Boot mode: NAND S3C: CLK=240 HCLK=240 PCLK=240 UCLK=57 QEMU: ee24c08_init DM9000: INIT QEMU MAC : 52:54:00:12:34:56 QEMU mini2440_reset: loaded default u-boot from NAND QEMU mini2440_reset: loaded override u-boot (size 3b800) QEMU mini2440_reset: loaded uImage (size 1f7000) ./mini2440_start.sh: 行 34: 9997 浮点数例外 (核心已转储) $cmd ``` ```

程序员的兼职技能课

程序员的兼职技能课

为linux系统设计一个简单的二级文件系统

实验目的: 通过一个简单多用户文件系统的设计,加深理解文件系统的内部功能及内部实现。 实验要求: 为linux系统设计一个简单的二级文件系统。要求做到以下几点: (1)可以实现下列几条命令(至少4条)

CCNA+HCNA+wireshark抓包综合网工技能提升套餐

本套餐包含思科路由交换CCNA,部分CCNP核心,华为HCNA以及wireshark抓包等类容,旨在培养具有综合能力的网络工程师。

董付国老师Python全栈学习优惠套餐

购买套餐的朋友可以关注微信公众号“Python小屋”,上传付款截图,然后领取董老师任意图书1本。

成年人用得到的6款资源网站!各个都是宝藏,绝对让你大饱眼福!

不管是学习还是工作,我们都需要一些资源帮助我们有效地解决实际问题。 很多人找资源只知道上百度,但是你们知道吗,有的资源是百度也搜索不出来的,那么今天小编就给大家介绍几款好用的资源网站,大家赶紧收入囊中吧! 1.网盘007 https://wangpan007.com/ 一款全能的资源搜索网站!只需要输入关键字,就能获得你想要的视频、音乐、压缩包等各种资源,网上...

矿车轴载荷计算方法的比较及选用

针对矿车轴的弯曲损坏,分析了固定式矿车车轴的受力,并对力叠加法以及当量负荷法2种计算方法进行了分析和比较,认为应采用当量负荷法进行车轴的设计计算。

Python数据清洗实战入门

Python数据清洗实战入门

C/C++跨平台研发从基础到高阶实战系列套餐

一 专题从基础的C语言核心到c++ 和stl完成基础强化; 二 再到数据结构,设计模式完成专业计算机技能强化; 三 通过跨平台网络编程,linux编程,qt界面编程,mfc编程,windows编程,c++与lua联合编程来完成应用强化 四 最后通过基于ffmpeg的音视频播放器,直播推流,屏幕录像,

Polar编码matlab程序

matlab实现的Polar codes源程序

2019全国大学生数学建模竞赛C题原版优秀论文

2019全国大学生数学建模竞赛C题原版优秀论文,PDF原版论文,不是图片合成的,是可编辑的文字版。共三篇。 C044.pdf C137.pdf C308.pdf

Linux常用命令大全(非常全!!!)

Linux常用命令大全(非常全!!!) 最近都在和Linux打交道,感觉还不错。我觉得Linux相比windows比较麻烦的就是很多东西都要用命令来控制,当然,这也是很多人喜欢linux的原因,比较短小但却功能强大。我将我了解到的命令列举一下,仅供大家参考: 系统信息 arch 显示机器的处理器架构 uname -m 显示机器的处理器架构 uname -r 显示正在使用的内核版本 d...

Linux下聊天室实现(基于C)

在linux下的基于TCP/IP,采用socket通信的聊天室,实现进入聊天室,进行多人群聊,指定人进行私聊,群主管理员功能,颗进行禁言,提出群聊等操作。个人账号可修改昵称或者修改密码,还可进行找回密

一个较完整的Qt用户登录界面设计

一个较完整的Qt用户登录界面,稍微移植可用,用sqlite数据库存储用户名和密码,具有增加和删除用户的功能,开发环境为ubuntu16.04+Qt5.6.1,win7下程序也编译可用。贡献出来,共同学

机器学习初学者必会的案例精讲

机器学习初学者必会的案例精讲

【C语言】贪吃蛇游戏代码(Visual C++6.0实现)

本游戏代码参考《C语言项目开发全程实录(第二版)》第六章。代码已在Visual C++6.0环境下编译测试通过,可在VC++6.0编译器中导入工程编译运行查看效果,或者也可以直接运行Release或D

Android小项目——新闻APP(源码)

Android小项目——新闻APP(源码),一个很简单的可以练手的Android Demo Ps:下载之前可以先看一下这篇文章——https://blog.csdn.net/qq_34149526/a

网络工程师小白入门--【思科CCNA、华为HCNA等网络工程师认证】

网络工程师小白入门--【思科CCNA、华为HCNA等网络工程师认证】

Android音视频开发全套

Android平台音视频开发全套,涉及:FFmpeg软解码解码、Mediacodec硬解码编码、Openssl音频播放、OpenGL ES视频渲染、RTMP推流等核心重要知识点。

YOLOv3目标检测实战:训练自己的数据集

YOLOv3目标检测实战:训练自己的数据集

2019 Python开发者日-培训

2019 Python开发者日-培训

2019 AI开发者大会

2019 AI开发者大会

Windows版YOLOv4目标检测实战:训练自己的数据集

Windows版YOLOv4目标检测实战:训练自己的数据集

4小时玩转微信小程序——基础入门与微信支付实战

4小时玩转微信小程序——基础入门与微信支付实战

因为看了这些书,我大二就拿了华为Offer

四年了,四年,你知道大学这四年我怎么过的么?

Python可以这样学(第四季:数据分析与科学计算可视化)

Python可以这样学(第四季:数据分析与科学计算可视化)

我说我不会算法,阿里把我挂了。

不说了,字节跳动也反手把我挂了。

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

YOLOv3目标检测实战系列课程

《YOLOv3目标检测实战系列课程》旨在帮助大家掌握YOLOv3目标检测的训练、原理、源码与网络模型改进方法。 本课程的YOLOv3使用原作darknet(c语言编写),在Ubuntu系统上做项目演示。 本系列课程包括三门课: (1)《YOLOv3目标检测实战:训练自己的数据集》 包括:安装darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 (2)《YOLOv3目标检测:原理与源码解析》讲解YOLOv1、YOLOv2、YOLOv3的原理、程序流程并解析各层的源码。 (3)《YOLOv3目标检测:网络模型改进方法》讲解YOLOv3的改进方法,包括改进1:不显示指定类别目标的方法 (增加功能) ;改进2:合并BN层到卷积层 (加快推理速度) ; 改进3:使用GIoU指标和损失函数 (提高检测精度) ;改进4:tiny YOLOv3 (简化网络模型)并介绍 AlexeyAB/darknet项目。

DirectX修复工具V4.0增强版

DirectX修复工具(DirectX Repair)是一款系统级工具软件,简便易用。本程序为绿色版,无需安装,可直接运行。 本程序的主要功能是检测当前系统的DirectX状态,如果发现异常则进行修复

C++语言基础视频教程

C++语言基础视频教程

相关热词 c# dbml文件 修改 c#遍历tree c# 能够控制单片机 c#对象写入数据库 c# 添加activex c#2005 json c# 数据库在云端 c# 字符串移位加密 c#禁用滚轮 c#实体类list去重复
立即提问