[openstack-community] Unable to configure CPU's feature
Hi, When I created a virtual machine, an error occurred after booting: No valid host was found. I check a tutorials online: 1. https://specs.openstack.org/openstack/nova-specs/specs/train/implemented/cpu... 2. https://specs.openstack.org/openstack/nova-specs/specs/train/implemented/cpu... a . cat /proc/cpuinfo (View the host's flag) fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,ht,syscall,nx,mmxext,fxsr_opt,pdpe1gb,rdtscp,lm,rep_good,nopl,cpuid,extd_apicid,tsc_known_freq,pni,pclmulqdq,ssse3,fma,cx16,sse4_1,sse4_2,x2apic,movbe,popcnt,aes,xsave,avx,f16c,rdrand,hypervisor,lahf_lm,cmp_legacy,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,topoext,ibpb,vmmcall,fsgsbase,bmi1,avx2,smep,bmi2,rdseed,adx,smap,clflushopt,sha_ni,xsaveopt,xsavec,xgetbv1,arat b . I modified the nova.conf [libvirt] cpu_mode = custom cpu_models = SandyBridge,IvyBridge,Haswell,Broadwell c .I modified the flavor |trait:HW_CPU_X86_AVX='required',trait:HW_CPU_X86_AVX2='required' | d . openstack server create When I started the instance, an error occurred e . openstack server show vm9 I read the error message in the log, and we think there are several errors that may cause the problem. (1) #033[00;32mDEBUG oslo_db.sqlalchemy.engines [#033[01;36mNone req-ece4576e-8e7a-4138-8e1f-2ad07a156bed #033[00;36madmin admin#033[00;32m] #033[01;35m#033[00;32mMySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION#033[00m #033[00;33m{{(pid=19733) _check_effective_sql_mode /usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py:307}}#033[00m#033[00m (2) #033[00;32mDEBUG oslo_service.service [#033[00;36m-#033[00;32m] #033[01;35m#033[00;32moslo_versionedobjects.fatal_exception_format_errors = False#033[00m #033[00;33m{{(pid=20154) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2585}}#033[00m#033[00m (3) #033[00;32mDEBUG nova.api.openstack.wsgi_app [#033[00;36m-#033[00;32m] #033[01;35m#033[00;32moslo_versionedobjects.fatal_exception_format_errors = False#033[00m #033[00;33m{{(pid=19733) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2585}}#033[00m#033[00m (4) Nov 13 16:56:07 nuaa neutron-dhcp-agent[19899]: #033[00;32mDEBUG oslo.privsep.daemon [#033[00;36m-#033[00;32m] #033[01;35m#033[00;32mprivsep: reply[139853316871344]: (4, ({'family': 2, 'dst_len': 0, 'proto': 4, 'tos': 0, 'header': {'stats': (0, 0, 0), 'pid': 20824, 'length': 52, 'flags': 2, 'error': None, 'type': 24, 'sequence_number': 255}, 'scope': 0, 'flags': 0, 'attrs': [['RTA_TABLE', 254], ['RTA_GATEWAY', '10.0.0.1'], ['RTA_OIF', 16]], 'src_len': 0, 'table': 254, 'type': 1, 'event': 'RTM_NEWROUTE'}, {'family': 2, 'dst_len': 26, 'proto': 2, 'tos': 0, 'header': {'stats': (0, 0, 0), 'pid': 20824, 'length': 60, 'flags': 2, 'error': None, 'type': 24, 'sequence_number': 255}, 'scope': 253, 'flags': 0, 'attrs': [['RTA_TABLE', 254], ['RTA_DST', '10.0.0.0'], ['RTA_PREFSRC', '10.0.0.2'], ['RTA_OIF', 16]], 'src_len': 0, 'table': 254, 'type': 1, 'event': 'RTM_NEWROUTE'}))#033[00m #033[00;33m{{(pid=20482) _call_back /usr/local/lib/python2.7/dist-packages/oslo_privsep/daemon.py:511}}#033[00m#033[00m (5) Nov 13 16:56:06 nuaa dnsmasq[20819]: FAILED to start up Basic Env informations: 1. Ubuntu18.04 2. Openstack(train) Could you provide me with some help, thank you! ======================================================= Best regards with you, IreLia
participants (1)
-
irelia