发起问题

erik-stephens 的档案 - activity

2020-06-09 06:12:17 -0500 获得奖牌  著名问题 (source)
2020-06-09 06:12:17 -0500 获得奖牌  热门的问题 (source)
2017-04-07 03:28:45 -0500 获得奖牌  著名问题 (source)
2017-03-01 15:44:41 -0500 获得奖牌  受欢迎的问题 (source)
2017-03-01 15:44:41 -0500 获得奖牌  热门的问题 (source)
2016-12-14 02:00:58 -0500 获得奖牌  受欢迎的问题 (source)
2016-09-29 20:04:37 -0500 回答问题 ironic dd failed during deployment

Only thing that stands out is 911 out of 912 records out. If consistently fails there, then maybe that's a clue.

2016-09-28 02:56:56 -0500 问了问题 Ways to debug deploy image?

I'm able to boot a bare metal instance to its deploy image (the recommended coreos one). There is a small window where I can ssh to the instance. It's failing to attach iscsi volume:

ironic.drivers.modules.agent_base_vendor Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf dd if=/dev/zero of=/dev/disk/by-path/ip-10.42.42.12:3260-iscsi-iqn.2008-10.org.openstack:f677f1de-91f4-4451-8663-d1f53ebf31bd-lun-1 bs=512 count=36

It shuts down shortly after. Short of building a custom deploy image, is there something I can do to keep the machine from shutting down so I can trouble-shoot? Thanks!

2016-09-28 02:56:56 -0500 问了问题 Unable to enroll ironic node (ExactRamFilter)

When trying to launch the bare metal instance:

nova boot --flavor ironic --image my-image --nic net-name=mgmt i1

I see this in the nova logs:

2016-09-27 17:47:17.593 15523 INFO nova.filters [req-af43b9ac-ae1b-4cb2-9a85-deb491edb84e 404af861dff4497a85900624beb55548 0b3f521d0576430a9e26a28ba102db61 - - -] Filter ExactRamFilter returned 0 hosts
2016-09-27 17:47:17.594 15523 INFO nova.filters [req-af43b9ac-ae1b-4cb2-9a85-deb491edb84e 404af861dff4497a85900624beb55548 0b3f521d0576430a9e26a28ba102db61 - - -] Filtering removed all hosts for the request with instance ID 'c996f7d7-fd9b-444d-917f-d9b20c13b889'. Filter results: ['RetryFilter: (start: 1, end: 1)', 'AvailabilityZoneFilter: (start: 1, end: 1)', 'ComputeFilter: (start: 1, end: 1)', 'ComputeCapabilitiesFilter: (start: 1, end: 1)', 'ImagePropertiesFilter: (start: 1, end: 1)', 'ExactRamFilter: (start: 1, end: 0)']

The amount of available memory matches the flavor. What am I doing wrong? Thanks!

$ nova flavor-show ironic
+----------------------------+--------------------------------------+
| Property                   | Value                                |
+----------------------------+--------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                |
| OS-FLV-EXT-DATA:ephemeral  | 10                                   |
| disk                       | 100                                  |
| extra_specs                | {}                                   |
| id                         | 30eb703c-4e23-4524-a323-c33076576414 |
| name                       | ironic                               |
| os-flavor-access:is_public | False                                |
| ram                        | 12288                                |
| rxtx_factor                | 1.0                                  |
| swap                       |                                      |
| vcpus                      | 8                                    |
+----------------------------+--------------------------------------+

$ ironic --json node-show n2 | jq '{provision_state,power_state,properties,instance_info}'
{
  "provision_state": "available",
  "power_state": "power off",
  "properties": {
    "memory_mb": 12288,
    "cpu_arch": "x86_64",
    "local_gb": 100,
    "cpus": 8
  },
  "instance_info": {
    "ramdisk": "03c11a2a-1c34-41b0-99f6-03087de77a2c",
    "kernel": "c38e420f-98c3-49ce-9f65-2a2d9e65a691",
    "root_gb": 10,
    "image_source": "27f20cea-7cdb-4879-b119-050b783112e5"
  }
}

I tried with various ram allocation settings (the default of 0.0, 1.0):

$ grep ram_allocation_ratio /etc/nova/nova.conf
#ram_allocation_ratio=0.0
ram_allocation_ratio=1.0
2016-09-27 11:12:51 -0500 获得奖牌  粉丝