/etc/nova/nova-scheduler.log
2015-06-09 16:33:21.478 22017 INFO nova.scheduler.filter_scheduler [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] Attempting to build 1 instance(s) uuids: [u'9d4d80a0-ba41-4a31-a272-a6a49f3dcabe']
2015-06-09 16:33:21.487 22017 WARNING nova.scheduler.filters.compute_filter [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] (compute2, compute2) ram:3257 disk:87040 io_ops:0 instances:1 has not been heard from in a while
2015-06-09 16:33:21.487 22017 WARNING nova.scheduler.filters.compute_filter [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] (network, network) ram:3257 disk:59392 io_ops:0 instances:0 has not been heard from in a while
2015-06-09 16:33:21.488 22017 WARNING nova.scheduler.filters.compute_filter [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] (compute2-ThinkCentre-M62z, compute2-ThinkCentre-M62z) ram:3257 disk:87040 io_ops:0 instances:0 has not been heard from in a while
2015-06-09 16:33:21.582 22017 INFO nova.scheduler.filter_scheduler [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] Choosing host WeighedHost [host: compute1, weight: 1.0] for instance 9d4d80a0-ba41-4a31-a272-a6a49f3dcabe
2015-06-09 16:33:21.676 22017 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on 192.168.18.190:5672
2015-06-09 16:33:23.558 22017 INFO nova.scheduler.filter_scheduler [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] Attempting to build 1 instance(s) uuids: [u'9d4d80a0-ba41-4a31-a272-a6a49f3dcabe']
2015-06-09 16:33:23.559 22017 ERROR nova.scheduler.filter_scheduler [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] [instance: 9d4d80a0-ba41-4a31-a272-a6a49f3dcabe] Error from last host: compute1 (node compute1): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1379, in _build_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 410, in decorated_function\n return function(self, context, *args, **kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1797, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1794, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2292, in spawn\n write_to_disk=True)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3486, in to_xml\n disk_info, rescue, block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3300, in get_guest_config\n flavor)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config\n _("Unexpected vif_type=%s") % vif_type)\n', u'NovaException: Unexpected vif_type=binding_failed\n']
2015-06-09 16:33:23.565 22017 WARNING nova.scheduler.filters.compute_filter [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] (compute2, compute2) ram:3257 disk:87040 io_ops:0 instances:1 has not been heard from in a while
2015-06-09 16:33:23.566 22017 WARNING nova.scheduler.filters.compute_filter [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] (network, network) ram:3257 disk:59392 io_ops:0 instances:0 has not been heard from in a while
2015-06-09 16:33:23.567 22017 WARNING nova.scheduler.filters.compute_filter [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] (compute2-ThinkCentre-M62z, compute2-ThinkCentre-M62z) ram:3257 disk:87040 io_ops:0 instances:0 has not been heard from in a while
2015-06-09 16:33:23.574 22017 INFO nova.filters [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] Filter ComputeFilter returned 0 hosts
2015-06-09 16:33:23.575 22017 WARNING nova.scheduler.driver [req-0a1934f9-2983-4d96-8410-f2a8747963da c8f956dbaa734f18836628172552645b 6c4ce8dfeeef4788a86d520020a50620] [instance: 9d4d80a0-ba41-4a31-a272-a6a49f3dcabe] Setting instance to ERROR state.
ovs-vsctl 显示
Bridge "br-eth2"
Port "eth2-br-ex"
Interface "eth2-br-ex"
Port "phy-br-eth2"
Interface "phy-br-eth2"
Port "br-eth2"
Interface "br-eth2"
type: internal
Bridge br-int
fail_mode: secure
Port "tapb49c4a78-43"
tag: 4095
Interface "tapb49c4a78-43"
type: internal
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "int-br-eth2"
Interface "int-br-eth2"
Port "int-br-eth1"
Interface "int-br-eth1"
Bridge br-tun
Port "gre-c0a8125b"
Interface "gre-c0a8125b"
type: gre
options: {in_key=flow, local_ip="192.168.18.190", out_key=flow, remote_ip="192.168.18.91"}
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Port "gre-c0a812d1"
Interface "gre-c0a812d1"
type: gre
options: {in_key=flow, local_ip="192.168.18.190", out_key=flow, remote_ip="192.168.18.209"}
Bridge "br-eth1"
Port "eth1-br-ex"
Interface "eth1-br-ex"
Port "phy-br-eth1"
Interface "phy-br-eth1"
Port "br-eth1"
Interface "br-eth1"
type: internal
Bridge br-ex
Port "ex-br-eth1"
Interface "ex-br-eth1"
Port br-ex
Interface br-ex
type: internal
Port "ex-br-eth2"
Interface "ex-br-eth2"
ovs_version: "2.0.2"
当我尝试启动一个实例时,我得到以下信息:
DEBUG (session:195) REQ: curl -g -i -X GET http://controller:35357/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient" INFO (connectionpool:203) 开始新的 HTTP 连接 (1): 控制器 调试(连接池:383)“GET /v2.0 HTTP/1.1”200 614 调试(会话:224)RESP:[200] 内容长度:614 变化:X-Auth-Token 连接:保持活动日期:2015 年 6 月 9 日星期二 11:27:10 GMT 内容类型:application/json x-发行版:Ubuntu RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json" , "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+ xml"}], "id": "v2.0", "links": [{"href": "http://controller:35357/v2.0/", "rel": "self"}, { “href”:“http://docs.openstack.org/api/openstack-identity-service/2.0/content/”,“type”:“text/html”,“rel”:“ describeby”},{“ href": "http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0。pdf”,“类型”:“应用程序/pdf”,“rel”:“描述者”}]}} 调试 (v2:76) 向 http://controller:35357/v2.0/tokens 发出身份验证请求 调试(连接池:383)“POST /v2.0/tokens HTTP/1.1”200 1657 调试 (iso8601:184) 将 2015-06-09T12:27:10Z 解析为 {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'09', 'tz_hour ':无,'月':无,'时区':u'Z','秒':u'10','tz_minute':无,'年':u'2015','分隔符':u'T ', 'monthdash': u'06', 'day': None, 'minute': u'27'} 使用默认时区 http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/images/326ad902-f5a6-4ccc-84e5-0651248efdba -H“用户代理:python-novaclient”-H“接受:应用程序/json”-H“X-Auth-令牌:{SHA1}6881a35ec4df7e87de1fa3152ae912a8795a5738" INFO (connectionpool:203) 开始新的 HTTP 连接 (1): 控制器 调试(连接池:383)“GET /v2/6c4ce8dfeeef4788a86d520020a50620/images/326ad902-f5a6-4ccc-84e5-0651248efdba HTTP/1.1”200 728 调试(会话:224)RESP:[200] 日期:2015 年 6 月 9 日星期二 11:27:11 GMT 连接:keep-alive 内容类型:应用程序/json 内容长度:728 x-compute-request-id:req -e083f293-96a1-4772-ade6-3733be2cbd30 RESP BODY: {"image": {"status": "ACTIVE", "updated": "2015-05-25T16:03:33Z", "links": [{"href": "http://controller: 8774/v2/6c4ce8dfeeef4788a86d520020a50620/images/326ad902-f5a6-4ccc-84e5-0651248efdba", "rel": "self"}, {"href": "http://controller:8774/6c4ce8dfeeef4788a86d520026a9d520026d520026a50s/ 4ccc-84e5-0651248efdba”,“rel”:“书签”},{“href”:“http://controller:9292/6c4ce8dfeeef4788a86d520020a50620/images/326ad902-f5a6-4ccc-84e5-0651248efdba”,“类型”:“ application/vnd.openstack.image", "rel": "alternate"}], "id": "326ad902-f5a6-4ccc-84e5-0651248efdba", "OS-EXT-IMG-SIZE:size": 66294, "姓名”:“cirros-0.3.2-x86_64-disk.img”、“创建”:“2015-05-25T16:03:33Z”、“minDisk”:0、“进度”:100、“minRam”:0、“元数据” “:{}}} 调试 (iso8601:184) 将 2015-06-09T12:27:10Z 解析为 {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'09', 'tz_hour ':无,'月':无,'时区':u'Z','秒':u'10','tz_minute':无,'年':u'2015','分隔符':u'T ', 'monthdash': u'06', 'day': None, 'minute': u'27'} 使用默认时区 http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/flavors?is_public=None -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}6881a35ec4df7e87de1fa3152ae912a8795a5738 " 调试(连接池:383)“GET /v2/6c4ce8dfeeef4788a86d520020a50620/flavors?is_public=None HTTP/1.1”200 1209 调试(会话:224)RESP:[200] 日期:2015 年 6 月 9 日星期二 11:27:11 GMT 连接:keep-alive 内容类型:应用程序/json 内容长度:1209 x-compute-request-id:req -fa0ccd53-ee36-4a63-a864-e4e129ecae70 RESP BODY: {"flavors": [{"id": "1", "links": [{"href": "http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/flavors/1", "rel": “自我”},{“href”:“http://controller:8774/6c4ce8dfeeef4788a86d520020a50620/flavors/1”,“rel”:“书签”}],“名称”:“m1.tiny”},{“id ": "2", "链接": [{"href": "http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/flavors/2", "rel": "self"}, {"href": "http ://controller:8774/6c4ce8dfeeef4788a86d520020a50620/flavors/2", "rel": "bookmark"}], "name": "m1.small"}, {"id": "3", "links": [{ “href”:“http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/flavors/3", "rel": "self"}, {"href": "http://controller:8774/6c4ce8dfeeef4788a86d520020a50620/flavors/3", "rel": "书签“}],“名称”:“m1.medium”},{“id”:“4”,“链接”:[{“href”:“http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/flavors/ 4", "rel": "self"}, {"href": "http://controller:8774/6c4ce8dfeeef4788a86d520020a50620/flavors/4", "rel": "bookmark"}], "name": "m1.大”},{“id”:“5”,“链接”:[{“href”:“http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/flavors/5”,“rel”:“self”}, {"href": "http://controller:8774/6c4ce8dfeeef4788a86d520020a50620/flavors/5", "rel": "bookmark"}], "name": "m1.xlarge"}]} 调试 (iso8601:184) 将 2015-06-09T12:27:10Z 解析为 {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'09', 'tz_hour ':无,'月':无,'时区':u'Z','秒':u'10','tz_minute':无,'年':u'2015','分隔符':u'T ', 'monthdash': u'06', 'day': None, 'minute': u'27'} 使用默认时区 DEBUG (iso8601:140) Got u'2015' for 'year' 默认为 None DEBUG (iso8601:140) Got u'06' for 'monthdash' 默认为 1 DEBUG (iso8601:140) 'month' 得到 6,默认为 6 DEBUG (iso8601:140) Got u'09' for 'daydash' 默认为 1 DEBUG (iso8601:140) 'day' 得到 9,默认为 9 DEBUG (iso8601:140) Got u'12' for 'hour' 默认无 DEBUG (iso8601:140) Got u'27' for 'minute' 默认为 None DEBUG (iso8601:140) Got u'10' for 'second' 默认为 None 调试 (iso8601:184) 将 2015-06-09T12:27:10Z 解析为 {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'09', 'tz_hour ':无,'月':无,'时区':u'Z','秒':u'10','tz_minute':无,'年':u'2015','分隔符':u'T ', 'monthdash': u'06', 'day': None, 'minute': u'27'} 使用默认时区 http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/flavors/1 -H“用户代理:python-novaclient”-H“接受:应用程序/json”-H“X-Auth-Token:{SHA1}6881a35ec4df7e87de1fa3152ae912a8795a5738” 调试(连接池:383)“GET /v2/6c4ce8dfeeef4788a86d520020a50620/flavors/1 HTTP/1.1”200 418 调试(会话:224)RESP:[200] 日期:2015 年 6 月 9 日星期二 11:27:11 GMT 连接:保持活动内容类型:应用程序/json 内容长度:418 x-compute-request-id:req -5565dd95-bd88-4b4a-9b1b-467dfefe7953 RESP BODY: {"flavor": {"name": "m1.tiny", "links": [{"href": "http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/flavors/1", "rel" :“self”},{“href”:“http://controller:8774/6c4ce8dfeeef4788a86d520020a50620/flavors/1”,“rel”:“书签”}],“ram”:512,“OS-FLV-DISABLED:禁用”:假,“vcpus”:1,“交换”:“”,“os-flavor-access:is_public”:真,“rxtx_factor”:1.0,“OS-FLV-EXT-DATA:短暂”:0, “磁盘”:1,“id”:“1”}} 调试 (iso8601:184) 将 2015-06-09T12:27:10Z 解析为 {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'09', 'tz_hour ':无,'月':无,'时区':u'Z','秒':u'10','tz_minute':无,'年':u'2015','分隔符':u'T ', 'monthdash': u'06', 'day': None, 'minute': u'27'} 使用默认时区 'second_fraction':无,'hour':u'12','daydash':u'09','tz_hour':无,'month':无,'timezone':u'Z','second':u '10','tz_minute':无,'year':u'2015','separator':u'T','monthdash':u'06','day':无,'minute':u'27 '} 使用默认时区 DEBUG (iso8601:140) Got u'2015' for 'year' 默认为 None http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth -令牌:{SHA1}6881a35ec4df7e87de1fa3152ae912a8795a5738”-d '{“服务器”:{“名称”:“test_vm_name”,“imageRef”:“326ad902-f5a6-4ccc-84e5-0651248efdba”,“flavorRef”:“1”,“最大计数”:1,“最小计数”:1,“网络”:[{“uuid”:“7129c8fe-eeca-4c5a-8ee2-893366fd7df6”}]}}' 调试(连接池:383)“POST /v2/6c4ce8dfeeef4788a86d520020a50620/servers HTTP/1.1”202 436 调试(会话:224)RESP:[202] 内容长度:436 x-compute-request-id:req-1ecaefaa-f292-4bdf-9e9b-991d626d6b54 连接:保持活动位置:http://controller:8774/ v2/6c4ce8dfeeef4788a86d520020a50620/servers/b37a7c95-d3cf-4309-9125-57bc8297bf8d 日期:2015 年 6 月 9 日星期二 11:27:12 GMT 内容类型:application/json RESP BODY: {"server": {"security_groups": [{"name": "default"}], "OS-DCF:diskConfig": "MANUAL", "id": "b37a7c95-d3cf-4309-9125- 57bc8297bf8d", "链接": [{"href": "http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/servers/b37a7c95-d3cf-4309-9125-57bc8297bf8d", "rel": "self"}, {" href": "http://controller:8774/6c4ce8dfeeef4788a86d520020a50620/servers/b37a7c95-d3cf-4309-9125-57bc8297bf8d", "rel": "书签"}], "adminPass": "tgFtEWfXr6TR"}} 调试 (iso8601:184) 将 2015-06-09T12:27:10Z 解析为 {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'09', 'tz_hour ':无,'月':无,'时区':u'Z','秒':u'10','tz_minute':无,'年':u'2015','分隔符':u'T ', 'monthdash': u'06', 'day': None, 'minute': u'27'} 使用默认时区 http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/servers/b37a7c95-d3cf-4309-9125-57bc8297bf8d -H“用户代理:python-novaclient”-H“接受:应用程序/json”-H“X-Auth-令牌:{SHA1}6881a35ec4df7e87de1fa3152ae912a8795a5738" 调试(连接池:383)“GET /v2/6c4ce8dfeeef4788a86d520020a50620/servers/b37a7c95-d3cf-4309-9125-57bc8297bf8d HTTP/1.1”200 1423 调试(会话:224)RESP:[200] 日期:2015 年 6 月 9 日星期二 11:27:12 GMT 连接:保持活动内容类型:应用程序/json 内容长度:1423 x-compute-request-id:req -b31a9c47-4e45-4831-9f97-b792c71a31ff RESP BODY: {"server": {"status": "BUILD", "updated": "2015-06-09T11:27:12Z", "hostId": "", "OS-EXT-SRV-ATTR:host ": null, "addresses": {}, "links": [{"href": "http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/servers/b37a7c95-d3cf-4309-9125-57bc8297bf8d", "rel" :“自我”},{“href”:“http://controller:8774/6c4ce8dfeeef4788a86d520020a50620/servers/b37a7c95-d3cf-4309-9125-57bc8297bf8d”,“rel”:“书签”}],“key_name”:空,“图像”:{“id”:“326ad902-f5a6-4ccc-84e5-0651248efdba”,“链接”:[{“href”:“http://controller:8774/6c4ce8dfeeef4788a86d520020a50620/images/326ad902-f5a6-4ccc-84e5-0651248efdba", "rel": "书签"}]}, "OS-EXT-STS:task_state": "调度", "OS-EXT-STS:vm_state ": "building", "OS-EXT-SRV-ATTR:instance_name": "instance-0000004a", "OS-SRV-USG:launched_at": null, "OS-EXT-SRV-ATTR:hypervisor_hostname": null, “风味”:{“id”:“1”,“链接”:[{“href”:“http://controller:8774/6c4ce8dfeeef4788a86d520020a50620/flavors/1”,“rel”:“书签”}]}, “id”:“b37a7c95-d3cf-4309-9125-57bc8297bf8d”,“OS-SRV-USG:terminated_at”:null,“OS-EXT-AZ:availability_zone”:“nova”,“user_id”:“c8f956dbaa734f18836628172552645b”,“名称”:“test_vm_name”,“创建”:“2015-06-09T11:27:12Z”,“tenant_id”:“6c4ce8dfeeef4788a86d520020a50620”,“OS-DCF:diskConfig”:“MANUAL”,“扩展卷:volumes_attached:[],“accessIPv4”:“”,“accessIPv6”:“”,“进度”:0,“OS-EXT-STS:power_state”:0,“config_drive”:“”,“元数据”:{}}}“”,“进度”:0,“OS-EXT-STS:power_state”:0,“config_drive”:“”,“元数据”:{}}}“”,“进度”:0,“OS-EXT-STS:power_state”:0,“config_drive”:“”,“元数据”:{}}} 调试 (iso8601:184) 将 2015-06-09T12:27:10Z 解析为 {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'09', 'tz_hour ':无,'月':无,'时区':u'Z','秒':u'10','tz_minute':无,'年':u'2015','分隔符':u'T ', 'monthdash': u'06', 'day': None, 'minute': u'27'} 使用默认时区 DEBUG (iso8601:140) Got u'2015' for 'year' 默认为 None DEBUG (iso8601:140) Got u'06' for 'monthdash' 默认为 1 DEBUG (iso8601:140) 'month' 得到 6,默认为 6 DEBUG (iso8601:140) Got u'09' for 'daydash' 默认为 1 DEBUG (iso8601:140) 'day' 得到 9,默认为 9 DEBUG (iso8601:140) Got u'12' for 'hour' 默认无 DEBUG (iso8601:140) Got u'27' for 'minute' 默认为 None DEBUG (iso8601:140) Got u'10' for 'second' 默认为 None 调试 (iso8601:184) 将 2015-06-09T12:27:10Z 解析为 {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'09', 'tz_hour ':无,'月':无,'时区':u'Z','秒':u'10','tz_minute':无,'年':u'2015','分隔符':u'T ', 'monthdash': u'06', 'day': None, 'minute': u'27'} 使用默认时区 DEBUG (iso8601:140) Got u'2015' for 'year' 默认为 None DEBUG (iso8601:140) Got u'06' for 'monthdash' 默认为 1 DEBUG (iso8601:140) 'month' 得到 6,默认为 6 DEBUG (iso8601:140) Got u'09' for 'daydash' 默认为 1 DEBUG (iso8601:140) 'day' 得到 9,默认为 9 DEBUG (iso8601:140) Got u'12' for 'hour' 默认无 DEBUG (iso8601:140) Got u'27' for 'minute' 默认为 None DEBUG (iso8601:140) Got u'10' for 'second' 默认为 None 调试(会话:195)请求:curl -g -i -X GET http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/flavors/1 -H“用户代理:python-novaclient”-H“接受:应用程序/json " -H "X-Auth-Token: {SHA1}6881a35ec4df7e87de1fa3152ae912a8795a5738" 调试(连接池:383)“GET /v2/6c4ce8dfeeef4788a86d520020a50620/flavors/1 HTTP/1.1”200 418 调试(会话:224)RESP:[200] 日期:2015 年 6 月 9 日星期二 11:27:12 GMT 连接:保持活动内容类型:应用程序/json 内容长度:418 x-compute-request-id:req -4b45e8d2-2c55-4d0e-8ecd-a2cee734a429 RESP BODY: {"flavor": {"name": "m1.tiny", "links": [{"href": "http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/flavors/1", "rel" :“self”},{“href”:“http://controller:8774/6c4ce8dfeeef4788a86d520020a50620/flavors/1”,“rel”:“书签”}],“ram”:512,“OS-FLV-DISABLED:禁用”:假,“vcpus”:1,“交换”:“”,“os-flavor-access:is_public”:真,“rxtx_factor”:1.0,“OS-FLV-EXT-DATA:短暂”:0, “磁盘”:1,“id”:“1”}} 调试 (iso8601:184) 将 2015-06-09T12:27:10Z 解析为 {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'09', 'tz_hour ':无,'月':无,'时区':u'Z','秒':u'10','tz_minute':无,'年':u'2015','分隔符':u'T ', 'monthdash': u'06', 'day': None, 'minute': u'27'} 使用默认时区 DEBUG (iso8601:140) Got u'2015' for 'year' 默认为 None DEBUG (iso8601:140) Got u'06' for 'monthdash' 默认为 1 DEBUG (iso8601:140) 'month' 得到 6,默认为 6 DEBUG (iso8601:140) Got u'09' for 'daydash' 默认为 1 DEBUG (iso8601:140) 'day' 得到 9,默认为 9 DEBUG (iso8601:140) Got u'12' for 'hour' 默认无 DEBUG (iso8601:140) Got u'27' for 'minute' 默认为 None DEBUG (iso8601:140) Got u'10' for 'second' 默认为 None 调试 (iso8601:184) 将 2015-06-09T12:27:10Z 解析为 {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'09', 'tz_hour ':无,'月':无,'时区':u'Z','秒':u'10','tz_minute':无,'年':u'2015','分隔符':u'T ', 'monthdash': u'06', 'day': None, 'minute': u'27'} 使用默认时区 DEBUG (iso8601:140) Got u'2015' for 'year' 默认为 None DEBUG (iso8601:140) Got u'06' for 'monthdash' 默认为 1 DEBUG (iso8601:140) 'month' 得到 6,默认为 6 DEBUG (iso8601:140) Got u'09' for 'daydash' 默认为 1 DEBUG (iso8601:140) 'day' 得到 9,默认为 9 DEBUG (iso8601:140) Got u'12' for 'hour' 默认无 DEBUG (iso8601:140) Got u'27' for 'minute' 默认为 None DEBUG (iso8601:140) Got u'10' for 'second' 默认为 None 调试(会话:195)请求:curl -g -i -X GET http://controller:8774/v2/6c4ce8dfeeef4788a86d520020a50620/images/326ad902-f5a6-4ccc-84e5-0651248efdba -H“用户代理:python-novaclient” -H“接受:应用程序/json”-H“X-Auth-Token:{SHA1}6881a35ec4df7e87de1fa3152ae912a8795a5738” 调试(连接池:383)“GET /v2/6c4ce8dfeeef4788a86d520020a50620/images/326ad902-f5a6-4ccc-84e5-0651248efdba HTTP/1.1”200 728 调试(会话:224)RESP:[200] 日期:2015 年 6 月 9 日星期二 11:27:12 GMT 连接:keep-alive 内容类型:应用程序/json 内容长度:728 x-compute-request-id:req -45b27af5-07b8-4309-bd48-0b62dfc0770d RESP BODY: {"image": {"status": "ACTIVE", "updated": "2015-05-25T16:03:33Z", "links": [{"href": "http://controller: 8774/v2/6c4ce8dfeeef4788a86d520020a50620/images/326ad902-f5a6-4ccc-84e5-0651248efdba", "rel": "self"}, {"href": "http://controller:8774/6c4ce8dfeeef4788a86d520026a9d520026d520026a50s/ 4ccc-84e5-0651248efdba”,“rel”:“书签”},{“href”:“http://controller:9292/6c4ce8dfeeef4788a86d520020a50620/images/326ad902-f5a6-4ccc-84e5-0651248efdba”,“类型”:“ application/vnd.openstack.image", "rel": "alternate"}], "id": "326ad902-f5a6-4ccc-84e5-0651248efdba", "OS-EXT-IMG-SIZE:size": 66294, "姓名”:“cirros-0.3.2-x86_64-disk.img”、“创建”:“2015-05-25T16:03:33Z”、“minDisk”:0、“进度”:100、“minRam”:0、“元数据” “:{}}} +----------------------------+---------- -------------------------------------------------- ---------+ | 物业 | 价值 | +----------------------------+---------- -------------------------------------------------- ---------+ | 操作系统-DCF:磁盘配置 | 手册 | | OS-EXT-AZ:availability_zone | 新星 | | OS-EXT-SRV-ATTR:主机 | - | | OS-EXT-SRV-ATTR:hypervisor_hostname | - | | OS-EXT-SRV-ATTR:instance_name | 实例-0000004a | | OS-EXT-STS:power_state | 0 | | OS-EXT-STS:task_state | 调度 | | OS-EXT-STS:vm_state | 建设| | OS-SRV-USG:launched_at | - | | OS-SRV-USG:terminate_at | - | | 访问IPv4 | | | 访问IPv6 | | | 管理员通行证 | tgFtEWfXr6TR | | 配置驱动器 | | | 创建 | 2015-06-09T11:27:12Z | | 风味 | m1.小 (1) | | 主机 ID | | | 编号 | b37a7c95-d3cf-4309-9125-57bc8297bf8d | | 图片 | cirros-0.3.2-x86_64-disk.img (326ad902-f5a6-4ccc-84e5-0651248efdba) | | 键名 | - | | 元数据 | {} | | 姓名 | test_vm_name | | os-extended-volumes:volumes_attached | [] | | 进展 | 0 | | 安全组 | 默认 | | 状态 | 建立 | | 租户 ID | 6c4ce8dfeeef4788a86d520020a50620 | | 更新 | 2015-06-09T11:27:12Z | | 用户 ID | c8f956dbaa734f18836628172552645b | +----------------------------+---------- -------------------------------------------------- ---------+ +----------------------------+---------- ----+--------+------------+-------------+--------- ---------------+ | 身份证 | 姓名 | 状态 | 任务状态 | 电源状态 | 网络 | +----------------------------+---------- ----+--------+------------+-------------+--------- ---------------+ | b37a7c95-d3cf-4309-9125-57bc8297bf8d | test_vm_name | 建立 | 产卵 | 诺州 | 演示网=192.168.18.10 | +----------------------------+---------- ----+--------+------------+-------------+--------- ---------------+
在 nova list 之后,NETWORKS 变为空白,状态变为 ERROR I HAVE APPLIED MANY OF THE SERVICES SUGGESTED PRECIOUSLY 但 NONE ARE WORKING