[openstack-dev] [kilo-devstack] [disk-usage]

Sean Dague sean at dague.net
Thu Sep 10 11:05:23 UTC 2015


disk = 0 does not mean there is no disk. It means the disk image won't
be expanded to a larger size. The disk used will be whatever your image
size is.

	-Sean

On 09/10/2015 06:54 AM, Abhishek Talwar wrote:
> Hi Folks,
> 
> 
> I have installed devstack kilo version of OpenStack and created an
> instance on it with flavor *“m1.nano”* that gives a disk of 0 to your
> instance.
> 
> But while checking disk usage of the instance using *“disk.usage”* meter
> it gives the output to be greater than 0 so how is it possible ?
> 
> 
> *stack at abhishek:/opt/stack/ceilometer$ nova show
> e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa *
> 
> +--------------------------------------+----------------------------------------------------------------+
> 
> 
> | Property | Value |
> 
> +--------------------------------------+----------------------------------------------------------------+
> 
> 
> | OS-DCF:diskConfig | AUTO |
> 
> | OS-EXT-AZ:availability_zone | nova |
> 
> | OS-EXT-SRV-ATTR:host | tcs-HP-Compaq-Elite-8300-SFF |
> 
> | OS-EXT-SRV-ATTR:hypervisor_hostname | tcs-HP-Compaq-Elite-8300-SFF |
> 
> | OS-EXT-SRV-ATTR:instance_name | instance-00000002 |
> 
> | OS-EXT-STS:power_state | 1 |
> 
> | OS-EXT-STS:task_state | - |
> 
> | OS-EXT-STS:vm_state | active |
> 
> | OS-SRV-USG:launched_at | 2015-09-10T05:24:19.000000 |
> 
> | OS-SRV-USG:terminated_at | - |
> 
> | accessIPv4 | |
> 
> | accessIPv6 | |
> 
> | config_drive | True |
> 
> | created | 2015-09-10T05:24:10Z |
> 
> | flavor | m1.nano (42) |
> 
> | hostId | 4a3e03e0a89fbf3790a1b1cd59b1b10acbaad6aa31a4361996d52440 |
> 
> | id | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa |
> 
> | image | cirros-0.3.2-x86_64-uec (221c46b3-9619-485e-8f60-0e1a363fc0e5) |
> 
> | key_name | - |
> 
> | metadata | {} |
> 
> | name | vmssasa |
> 
> | os-extended-volumes:volumes_attached | [] |
> 
> | progress | 0 |
> 
> | public network | 172.24.4.4 |
> 
> | security_groups | default |
> 
> | status | ACTIVE |
> 
> | tenant_id | 5f4f5ee531a441d7bb3830529e611c7d |
> 
> | updated | 2015-09-10T05:24:19Z |
> 
> | user_id | d04b218204414a1891646735befd449c |
> 
> +--------------------------------------+----------------------------------------------------------------+
> 
> 
> 
> 
> 
> *stack at abhishek:/opt/stack/ceilometer$ nova flavor-show m1.nano *
> 
> +----------------------------+---------+
> 
> | Property | Value |
> 
> +----------------------------+---------+
> 
> | OS-FLV-DISABLED:disabled | False |
> 
> | OS-FLV-EXT-DATA:ephemeral | 0 |
> 
> | disk | 0 |
> 
> | extra_specs | {} |
> 
> | id | 42 |
> 
> | name | m1.nano |
> 
> | os-flavor-access:is_public | True |
> 
> | ram | 64 |
> 
> | rxtx_factor | 1.0 |
> 
> | swap | |
> 
> | vcpus | 1 |
> 
> +----------------------------+---------+
> 
> 
> *stack at abhishek:/opt/stack/ceilometer$ ceilometer sample-list -m
> 'cpu_util' -q "resource_id=e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa"*
> 
> +--------------------------------------+------------+-------+------------+------+---------------------+
> 
> 
> | Resource ID | Name | Type | Volume | Unit | Timestamp |
> 
> +--------------------------------------+------------+-------+------------+------+---------------------+
> 
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T10:30:54 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T10:20:54 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T10:10:54 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T10:00:54 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T09:48:25 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T09:38:25 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T09:21:42 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T09:11:42 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T09:01:42 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T08:51:42 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T08:41:42 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T08:31:42 |
> 
> | e3fd6b56-25df-4498-aa9d-8d9af3dfb4fa | disk.usage | gauge | 11112448.0
> | B | 2015-09-10T08:21:42 |
> 
> 
> 
> +--------------------------------------+------------+-------+------------+------+---------------------+
> 
> 
> 
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
> 
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 


-- 
Sean Dague
http://dague.net



More information about the OpenStack-dev mailing list