<div>3ks for your reply. But where to add [sahara]?</div><div>is nova.conf?</div><div>Can you detail it?  thanks.</div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Qiming Teng";<tengqim@linux.vnet.ibm.com>;</div><div><b>发送时间:</b> 2016年7月27日(星期三) 上午9:34</div><div><b>收件人:</b> "OpenStack Development Mailing List (not for usage questions)"<openstack-dev@lists.openstack.org>; <wbr></div><div></div><div><b>主题:</b> Re: [openstack-dev] [Sahara] Error launching a defined domain withXML</div></div><div><br></div>This should add a [sahara] tag at subject line.<br><br>- Qiming<br><br>On Tue, Jul 26, 2016 at 05:46:25PM +0800, 云淡风轻 wrote:<br>> hi ,<br>> <br>> when create cluster with sahara 4.0.0 in M version ,using command line:<br>> <br>> <br>> $      time openstack dataprocessing cluster create --json my_cluster_create_default.json<br>> +----------------------------+--------------------------------------+<br>> | Field                      | Value                                |<br>> +----------------------------+--------------------------------------+<br>> | Anti affinity              |                                      |<br>> | Cluster template id        | b7e8f1b5-1aff-4baf-977b-3ef74d4326cf |<br>> | Description                | None                                 |<br>> | Id                         | 47ac6404-8fc0-4d3c-b8eb-0f3a2b9e1b2c |<br>> | Image                      | b3e899c4-a282-4337-a084-50ca0454535e |<br>> | Is protected               | False                                |<br>> | Is public                  | False                                |<br>> | Is transient               | False                                |<br>> | Name                       | my-cluster-default-1                 |<br>> | Neutron management network | 3aaa392b-af4d-4f70-9e2e-1b71a965ff7d |<br>> | Node groups                | master:1, worker:1                   |<br>> | Plugin name                | vanilla                              |<br>> | Status                     | Validating                           |<br>> | Use autoconfig             | True                                 |<br>> | User keypair id            | my_stack                             |<br>> | Version                    | 2.7.1                                |<br>> +----------------------------+--------------------------------------+<br>> $      nova list<br>> +--------------------------------------+-------------------------------+--------+------------+-------------+----------+<br>> | ID                                   | Name                          | Status | Task State | Power State | Networks |<br>> +--------------------------------------+-------------------------------+--------+------------+-------------+----------+<br>> | 4e3fdb6c-6805-447c-b01d-c4cb0fc1ca87 | my-cluster-default-1-master-0 | BUILD  | scheduling | NOSTATE     |          |<br>> | 95dd207b-6047-416c-a95f-6d08aa0c6409 | my-cluster-default-1-worker-0 | BUILD  | scheduling | NOSTATE     |          |<br>> +--------------------------------------+-------------------------------+--------+------------+-------------+----------+<br>> <br>> <br>> <br>> <br>> an error occur :<br>> <br>> <br>> log in nova-compute.log<br>> 2016-07-25 18:09:47.440 37208 INFO nova.compute.resource_tracker [req-8ce86863-8324-4dc3-93bf-a997d3512ab1 - - - - -] Auditing locally available compute resources for node localhost.localdomain<br>> 2016-07-25 18:09:47.767 37208 WARNING nova.virt.libvirt.driver [req-8ce86863-8324-4dc3-93bf-a997d3512ab1 - - - - -] couldn't obtain the vcpu count from domain id: af17e813-fe6d-4769-b7d3-17369afd7313, exception: Requested operation is not valid: cpu affinity is not supported<br>> 2016-07-25 18:09:47.768 37208 WARNING nova.virt.libvirt.driver [req-8ce86863-8324-4dc3-93bf-a997d3512ab1 - - - - -] couldn't obtain the vcpu count from domain id: eaa076c0-2930-4257-8fd7-e36033c4e86c, exception: Requested operation is not valid: cpu affinity is not supported<br>> 2016-07-25 18:10:41.136 37208 ERROR nova.virt.libvirt.guest [req-14a51b87-4b95-4b80-a042-193df77278bb 7fff70fbbf83441a9b3c4d91a5613825 6cb156a82d0f486a9f50132be9438eb6 - - -] Error launching a defined domain with XML: <domain type='qemu'><br>>   <name>instance-000000e3</name><br>> <br>> <br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [req-14a51b87-4b95-4b80-a042-193df77278bb 7fff70fbbf83441a9b3c4d91a5613825 6cb156a82d0f486a9f50132be9438eb6 - - -] [instance: af17e813-fe6d-4769-b7d3-17369afd7313] Instance failed to spawn<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313] Traceback (most recent call last):<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2218, in _build_resources<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     yield resources<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     block_device_info=block_device_info)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2768, in spawn<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     block_device_info=block_device_info)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4903, in _create_domain_and_<br>> network<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     xml, pause=pause, power_on=power_on)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4834, in _create_domain<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     guest.launch(pause=pause)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 142, in launch<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     self._encoded_xml, errors='ignore')<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     self.force_reraise()<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     six.reraise(self.type_, self.value, self.tb)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 137, in launch<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     return self._domain.createWithFlags(flags)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 183, in doit<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     result = proxy_call(self._autowrap, f, *args, **kwargs)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 141, in proxy_call<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     rv = execute(f, *args, **kwargs)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 122, in execute<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     six.reraise(c, e, tb)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 80, in tworker<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     rv = meth(*args, **kwargs)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1059, in createWithFlags<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313] libvirtError: monitor socket did not show up: No such file or directory<br>> 2016-07-25 18:10:41.259 37208 ERROR nova.compute.manager [instance: af17e813-fe6d-4769-b7d3-17369afd7313] <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> with:<br>> <br>> <br>> check     虚拟化Intel VT-x/EPT 或AMD-V/RVI(V)<br>> <br>> <br>> AND:<br>> <br>> <br>> $      neutron net-list<br>> +--------------------------------------+---------+------------------------------------------------------+<br>> | id                                   | name    | subnets                                              |<br>> +--------------------------------------+---------+------------------------------------------------------+<br>> | 3aaa392b-af4d-4f70-9e2e-1b71a965ff7d | private | 7cd8341e-9994-4a1d-a46f-22aedfde7bd8 10.0.0.0/24     |<br>> | 9c597886-d439-4fe2-b76b-5338d85aaf37 | public  | 0d7a6c95-3f6a-42ad-9cf8-c96e1d9c3c82 172.24.4.224/28 |<br>> +--------------------------------------+---------+------------------------------------------------------+<br>> <br>> <br>> <br>> $      neutron subnet-list<br>> +--------------------------------------+----------------+-----------------+--------------------------------------------------+<br>> | id                                   | name           | cidr            | allocation_pools                                 |<br>> +--------------------------------------+----------------+-----------------+--------------------------------------------------+<br>> | 7cd8341e-9994-4a1d-a46f-22aedfde7bd8 | private_subnet | 10.0.0.0/24     | {"start": "10.0.0.2", "end": "10.0.0.254"}       |<br>> | 0d7a6c95-3f6a-42ad-9cf8-c96e1d9c3c82 | public_subnet  | 172.24.4.224/28 | {"start": "172.24.4.226", "end": "172.24.4.238"} |<br>> +--------------------------------------+----------------+-----------------+--------------------------------------------------+<br>> <br>> <br>> <br>> $      nova floating-ip-pool-list<br>> +--------+<br>> | name   |<br>> +--------+<br>> | public |<br>> +--------+<br>> <br>> <br>> <br>> $      nova floating-ip-bulk-list<br>> +------------+------------+---------------+--------+-------------+<br>> | project_id | address    | instance_uuid | pool   | interface   |<br>> +------------+------------+---------------+--------+-------------+<br>> | -          | 10.0.0.193 | -             | public | eno16777736 |<br>> | -          | 10.0.0.194 | -             | public | eno16777736 |<br>> | -          | 10.0.0.195 | -             | public | eno16777736 |<br>> | -          | 10.0.0.196 | -             | public | eno16777736 |<br>> ......<br>> | -          | 10.0.0.221 | -             | public | eno16777736 |<br>> | -          | 10.0.0.222 | -             | public | eno16777736 |<br>> +------------+------------+---------------+--------+-------------+<br>> <br>> <br>> <br>> <br>> <br>> #      diff /etc/nova/nova.conf{,.original} -y --suppress-common-lines<br>> default_flavor=m1.tiny                                             <<br>> ram_allocation_ratio=3                                              |        ram_allocation_ratio=1.5<br>> use_neutron=true                                       |        #use_neutron=false<br>> auto_assign_floating_ip=true                                 <<br>> public_interface=eno33554984                                <<br>> flat_network_bridge=br-int                                  <<br>> flat_interface=eno16777736                                  <<br>> network_size=32                                                     <<br>> fixed_range=10.0.0.192/27                                   <<br>> connection = mysql://sahara:openstack@10.0.0.132/nova_api     <<br>> connection = mysql://sahara:openstack@10.0.0.132/nova          <<br>> api_servers=http://10.0.0.132:9292                          |        api_servers=10.0.0.132:9292<br>> admin_user=sahara                                           |<br>> admin_password=openstack                               <<br>> <br>> <br><br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></div>