Ask Your Question

hfamily15's profile - activity

2017-01-10 05:02:03 -0500 received badge  Famous Question (source)
2016-07-14 03:11:16 -0500 received badge  Nice Question (source)
2016-05-03 15:02:38 -0500 received badge  Famous Question (source)
2015-09-23 05:55:33 -0500 received badge  Famous Question (source)
2015-09-23 05:55:33 -0500 received badge  Notable Question (source)
2015-07-08 09:19:02 -0500 received badge  Popular Question (source)
2015-07-07 20:32:55 -0500 asked a question Is it possible to migrate VM to different availability zone?

Hello,

Is it possible to migrate VM to diffrernt availability zone?
If so, should I move VM to different availability zone using vm snapshot and deploying new vm with snapshot like AWS?
And then, How about block storages?(=cinder volumes)?
Can I migrate cinder volumes to different availability zone?
Basically you cannot attach the volume to vm on differnt availability zone.

If I have VM attached cinder volumes, How can i migrate VM to differnt availability zone with cinder volumes?
Thank you very much.

2015-05-27 08:17:04 -0500 received badge  Famous Question (source)
2015-05-06 20:46:16 -0500 received badge  Notable Question (source)
2015-05-05 08:25:19 -0500 received badge  Popular Question (source)
2015-04-30 01:01:03 -0500 asked a question Attach Volume with discard option

Hi, all
I'm trying to test with Juno 2014.2.2
And I saw the new feature for nova.
"Libvirt-Enable support discard option for disk device"
(http://specs.openstack.org/openstack/...)

I tested above feature, It works well with "nova boot" like below.

<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none" discard="unmap"/>
<source file="/opt/openstack/instances/97bc3765-ddf4-4d9a-b0a9-e5f4235b40dc/disk"/>
<target dev="vda" bus="virtio"/>
<alias name="virtio-disk0"/>

</disk>

But in testing attach volume, It didn't work.
I have Thin provisioned cinder-volume so I want attach volume to vm with discard option for reclaim.

How can I use Discard Option on attach-volume.

Thank you in advance.

2015-04-03 10:38:23 -0500 received badge  Notable Question (source)
2015-04-01 22:25:37 -0500 received badge  Good Question (source)
2015-04-01 04:45:32 -0500 received badge  Popular Question (source)
2015-03-31 05:00:08 -0500 asked a question Why third-party ci check is failed after request git review

Hi, I'm trying to bug fix for cinder bug.(https://review.openstack.org/#/c/169124/)
It is first time to fix bug. I cannot understand why third-party ci check is failed on my request git review

should I do anything for git review ? should I create some test code for bug?

One reviewer said me, "I think you should fix the ci problem first" what can I do for fixing the ci problem?

please help me.

Thank you in advance.

2015-03-31 04:53:16 -0500 commented answer how to request code review

Thank you very much. I should check again. Thanks

2015-03-30 20:11:23 -0500 received badge  Notable Question (source)
2015-03-30 13:29:03 -0500 received badge  Popular Question (source)
2015-03-30 10:32:17 -0500 asked a question how to request code review

Hi all I am trying to bug fix. but, I failed to request code review like below

'

# git review <br>
remote: Resolving deltas: 100% (6/6)
remote: Processing changes: refs: 1, done

To ssh://Hahyun@review.openstack.org:29418/openstack/cinder.git ! [remote rejected] HEAD -> refs/publish/master/bug/1433450 (you are not allowed to upload merges) error: failed to push some refs to 'ssh://Hahyun@review.openstack.org:29418/openstack/cinder.git

I have launchpad id, gerrit username, github username etc..

My steps are below:
1) git clone
2) cd cinder
3) git review -s
4) git checkout -b bug/1437794
5) change the code
6) git add [changed file]
7) git commit -a
8) git review

What should I do for bug fix? I cannot understand why "git review" was failed. please someone help me.

thanks in advance.

2015-03-30 10:22:25 -0500 received badge  Famous Question (source)
2015-03-04 05:41:23 -0500 received badge  Popular Question (source)
2015-03-03 16:31:14 -0500 received badge  Enthusiast
2015-03-01 19:33:13 -0500 received badge  Organizer (source)
2015-03-01 19:22:22 -0500 received badge  Editor (source)
2015-03-01 19:18:49 -0500 asked a question disk size of qcow2-image is unexpectable

Hi all.
A strange thing happended in my compute-node.
I have compute-nodes with NFS mounted for Nova instances.

# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 96121612 4416432 86822392 5% /
udev 132033912 4 132033908 1% /dev
tmpfs 52817272 364 52816908 1% /run
none 5120 0 5120 0% /run/lock
none 132043172 0 132043172 0% /run/shm
cgroup 132043172 0 132043172 0% /sys/fs/cgroup
192.168.100.242:/TEST_nova_nfs 419430400 192433600 226996800 46% /opt/openstack/instances

I create VM from vm snapshot image which format is qcow2.
The OS type of Image is Window 7 pro.
And I found that the disk size of VM is strange because the max size of disk is 100GB but current size of disk is 345GB.

Please see below :
root@TEST01H:/opt/openstack/instances/3116cff3-0d1f-4f5b-ab7d-06c9baed6a9a# ls -alh
total 346G
drwxrwxr-x 2 novasvc novasvc 4.0K Feb 25 23:16 .
drwxr-xr-x 199 novasvc novasvc 24K Feb 27 10:50 ..
-rw-rw---- 1 libvirt-qemu kvm 0 Feb 23 19:49 console.log
-rw-r--r-- 1 libvirt-qemu kvm 722G Mar 2 10:08 disk
-rw-r--r-- 1 novasvc novasvc 80 Jan 28 15:25 disk.info
-rw-rw-r-- 1 novasvc novasvc 1.8K Feb 23 19:43 libvirt.xml

# qemu-img info disk *
image: disk
file format: qcow2
*
virtual size: 100G (107374182400 bytes)
disk size: 345G

cluster_size: 65536
backing file: /opt/openstack/instances/_base/db74b6aff4e2f5590b121431afa425a2dba57ad5

is this possible? and I cannot understand how is this thing happended.

Thanks in advance.

2015-02-26 03:56:27 -0500 commented answer cinder emc vnx fc driver : create volume from image

Hi Jay-xu Thank you very much. Your answers were very helpful and I should try to SR-IOV next time. I hope that it works well. if it does, I will let you know about the test result. Thank you.

2015-02-26 03:46:38 -0500 marked best answer cinder emc vnx fc driver : create volume from image

hi, all

I'm testing Cinder (Juno version, 2014.2.1) with emc vnx fc driver. and I want to create volume from image.

I have 1 cinder-volume node (this is a VM). cinder-volume node is on Physical machine that have HBA card and can attach FC device.

In this environment, Is it possible to create volume from image? then, How can cinder-volume node recognize vHBA?

What should I do for this?

please somebody help me.

Thanks alot.

2015-02-26 03:46:38 -0500 received badge  Supporter (source)
2015-02-26 03:46:37 -0500 received badge  Scholar (source)
2015-02-25 23:10:29 -0500 received badge  Famous Question (source)
2015-02-25 16:34:15 -0500 received badge  Notable Question (source)
2015-02-25 12:12:46 -0500 received badge  Popular Question (source)
2015-02-25 08:25:04 -0500 received badge  Nice Question (source)
2015-02-25 07:38:54 -0500 answered a question cinder emc vnx fc driver : create volume from image

Thank you for Answer my question.

I tried and success to create volume with image. But I success with cinder-volume service on Management Host not VM.

I think that deploy cinder-volume on Management Host is not efficient because Hostmachine has too much specs. So, I want to deploy cinder-volume service on VM.

Could you please let me know on following questions -

1) I tried your suggestion about deploying on VM with http://wiki.libvirt.org/page/NPIV_in_... (NPIV in libvirt).

but, there are some problem. first, there is nothing after execute the command "virsh nodedev-list --cap vports". Is there anything missing?

my test environment is below :

OS : ubuntu 14.04 Storage : EMC VNX5400

systool -c fc_host -v

Class = "fc_host"

Class Device = "host1" Class Device path = "/sys/devices/pci0000:40/0000:40:01.0/0000:41:00.0/host1/fc_host/host1" dev_loss_tmo = "45" fabric_name = "0xffffffffffffffff" issue_lip = <store method="" only=""> max_npiv_vports = "254" node_name = "0x20000024ff411282" npiv_vports_inuse = "0" port_id = "0x0000e8" port_name = "0x21000024ff411282" port_state = "Online" port_type = "LPort (private loop)" speed = "8 Gbit" supported_classes = "Class 3" supported_speeds = "1 Gbit, 2 Gbit, 4 Gbit, 8 Gbit" symbolic_name = "QLE2562 FW:v7.01.00 DVR:v8.06.00.08-k" system_hostname = "" tgtid_bind_type = "wwpn (World Wide Port Name)" uevent = vport_create = <store method="" only=""> vport_delete = <store method="" only="">

Device = "host1"
Device path = "/sys/devices/pci0000:40/0000:40:01.0/0000:41:00.0/host1"
  fw_dump             =
  nvram               = "ISP "
  optrom_ctl          = <store method only>
  optrom              =
  reset               = <store method only>
  sfp                 = ""
  uevent              = "DEVTYPE=scsi_host"
  vpd                 = "‚."

Class Device = "host2" Class Device path = "/sys/devices/pci0000:40/0000:40:01.0/0000:41:00.1/host2/fc_host/host2" dev_loss_tmo = "45" fabric_name = "0xffffffffffffffff" issue_lip = <store method="" only=""> max_npiv_vports = "254" node_name = "0x20000024ff411283" npiv_vports_inuse = "0" port_id = "0x0000e8" port_name = "0x21000024ff411283" port_state = "Online" port_type = "LPort (private loop)" speed = "8 Gbit" supported_classes = "Class 3" supported_speeds = "1 Gbit, 2 Gbit, 4 Gbit, 8 Gbit" symbolic_name = "QLE2562 FW:v7.01.00 DVR:v8.06.00.08-k" system_hostname = "" tgtid_bind_type = "wwpn (World Wide Port Name)" uevent = vport_create = <store method="" only=""> vport_delete = <store method="" only="">

Device = "host2"
Device path = "/sys/devices/pci0000:40/0000:40:01.0/0000:41:00.1/host2"
  fw_dump             =
  nvram               = "ISP "
  optrom_ctl          = <store method only>
  optrom              =
  reset               = <store method only>
  sfp                 = ""
  uevent              = "DEVTYPE=scsi_host"
  vpd                 = "‚."

2) Do you have any reference that deploy cinder-volume on VM with FC Driver?

Thank you in adnance.