Ask Your Question

nicholas666's profile - activity

2020-01-15 03:46:44 -0600 answered a question Volume node info collection broken.

There was a problem with the configuration of the storage in cinder.conf. You need to configure 'enabled_backends=lvm-1' .And configure storage info like this:

[lvm-1] iscsi_helper = lioadm volume_group = cinder-volume iscsi_ip_address = volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver volumes_dir = /var/lib/cinder/volumes iscsi_protocol = iscsi volume_backend_name = lvm

2020-01-13 04:33:30 -0600 answered a question gnocchi measures empty

You can check the ceilometer/polling.yaml configuration file. like this `--- sources: - name: instance_pollster interval: {{ ceilometer_instance_interval }} meters: - cpu - memory.usage - network.incoming.bytes - network.outgoing.bytes - - disk.device.write.bytes

- name: hardware_pollster
  interval: {{ ceilometer_host_interval }}
    - hardware.system_stats.cpu.idle
    - hardware.memory.used
    - hardware.disk.write.bytes
    - snmp://
    - snmp://`

for instacne if the 'meters' are configured? for hardware if the 'resources' are configured?

2020-01-13 00:26:13 -0600 received badge  Enthusiast
2019-12-16 21:45:32 -0600 commented question How to solve kolla-ansible -i ./all-in-one deploy shows fail status

Is it configured in your profile [neutron-lbaas-agent:children] neutron

Or you've configured the wrong node name

2019-12-16 21:40:17 -0600 answered a question openstack Cannot attach volume to instances

从你的日志看,你应该是使用了cinder driver 对接了存储设备,存储设备通过iscsi将创建好的lun 挂载到宿主机上。我觉得你是在cinder.conf 里配置了 backend相关的东西,比如连接存储的ip 密码,所以你可以正常创建cinder volume实际是调用存储api创建了lun。但是涉及到卷挂载时需要先从存储设备挂载lun到目标宿主机上。你应该检查存储和你宿主机的连线以及宿主机上iscsi相关配置。

2019-12-16 21:40:17 -0600 answered a question 从镜像创建云主机失败

openstack help openstack server create 看下你的openstack client 是不是不支持 --block-device 参数。

2019-12-16 21:40:17 -0600 answered a question cinder在创建虚拟机时报错

cinder 从镜像创建卷。新把镜像下载到/var/lib/cinder/conversion/ 然后调用qemu-img convert 去转换磁盘格式

qemu-img convert -O raw -f qcow2 /var/lib/cinder/conversion/tmpNlpj3sopenstack-cinder@nfs /var/lib/cinder/mnt/c4634b0491d8c4252d4cd3d8065de876/volume-b2a9d458-ce8d-426f-8c5e-28d8a470c491

日志中出现的这个错误Failed to lock byte 100。是你在使用 NFS or GlusterFS 时qemu的一个错误。 (Qemu Aborted (core dumped) for 'qemu-kvm: Failed to lock byte 100' when remote NFS or GlusterFS volume stopped during the block mirror(or block commit/stream) process) 参考:

2019-12-16 21:40:17 -0600 answered a question nova控制节点,发现不了compute

nova-comute服务通过RPC调用将主机信息和虚拟机管理器信息上报给nova-scheduler,通过这种方式发现新的计算服务。 检查下MQ的相关配置。 ( (

2019-12-16 21:40:17 -0600 answered a question Error creating volume from image

Can't find this image. You can use glance image-list check this image id. glance-api.conf check [glance_store] in configuration. Make sure the image is there.

2019-12-16 21:40:17 -0600 commented answer Adding an iso to instance launch

Yes, I've done this before, but the important thing to note is that the migration and ceilometer will collect this hda device.You can use libvirt python sdk instead of virsh commands.

2019-12-13 05:35:45 -0600 answered a question Heat创建stack时报错:'NoneType' object has no attribute 'rstrip'


u 'Parameters': {
    u 'KeyName': {
        u 'Type': u 'String',
        u 'Description': u 'Name of an existing EC2 KeyPair to enable SSH access to the instance'

KeyName 类型为String。但实际你传递的参数

u 'Properties': {
            u 'UserData': {
                u 'Fn::Base64': u '80'
            u 'KeyName': {
                u 'Ref': u 'KeyName'
            u 'InstanceType': u 'm1.small',
            u 'ImageId': u '0cec3084-02ca-4e3a-ba32-e0609cbafa10'


2019-12-13 05:35:45 -0600 answered a question nova控制节点找不到nova-compute

nova-comute服务通过RPC调用将主机信息和虚拟机管理器信息上报给nova-scheduler,通过这种方式发下新的计算服务。 检查下MQ的相关配置。

2019-12-13 05:35:45 -0600 answered a question Adding an iso to instance launch

If you use KVM you can use " virsh attach-disk instance-uuid XXX.iso hda --sourcetype block --driver qemu --subdriver raw --type cdrom" to attach a iso with cdrom.

if don't have hda dev . you can change nova/virt/libvirt/

    cd_cfg = vconfig.LibvirtConfigGuestDisk()
    cd_cfg.driver_name = 'qemu'
    cd_cfg.source_device = 'cdrom'
    cd_cfg.driver_format = 'raw'
    cd_cfg.driver_cache = 'none'
    cd_cfg.target_bus = 'ide'
    cd_cfg.target_dev = 'hda'
    cd_cfg.root_name = 'disk'
    cd_cfg.source_type = 'file'
    cd_cfg.source_path = ''

also you can modify KVM xml boot dev = 'cdrom' to change order

<boot dev="hd" />
<smbios mode="sysinfo" />
</os> (link text)

2019-12-13 02:49:35 -0600 answered a question How to change the default port for vnc?

You may have underconfigured novncproxy_port

novncproxy_host = $my_ip novncproxy_port = 6080 server_listen = $my_ip server_proxyclient_address = $my_ip novncproxy_base_url = https://$my_ip:6080/vnc_auto.html

2019-12-13 02:49:35 -0600 answered a question Sahara cluster failed to start - Operation timed out after 300 second(s)

ssh_remote VM(instance) to execute 'sudo su - -c "mkdir /tmp/oozielib && ' time out。 It's seems to be a need for communication between the management network and the business network. or use floating ip can perform ssh_remote execute。

2019-12-13 02:49:35 -0600 answered a question magnum create cluster volumeType error

Hi, you can option in /etc/magnum/magnum.conf default_docker_volume_type for your cinder volume type. Or use openstack coe cluster template create with --labels docker_volume_type=your cinder volume type . (