Ask Your Question

lelunicu's profile - activity

2019-03-08 08:53:34 -0500 commented question ceph block size

every i/o is broken down in blocks and each block is written in a ceph node.this block will be then copied to the rest of the ceph node?

2019-02-21 04:42:43 -0500 received badge  Popular Question (source)
2019-02-06 03:24:25 -0500 asked a question ceph block size

hi, when an application within a VM write to ceph cluster then every block written is broken by ceph (OSD) in smaller parts and is written -stripe accross the ceph nodes. right? by doing this the read and write will be faster than using normal block. right? tnx

2019-02-06 02:39:29 -0500 received badge  Popular Question (source)
2019-02-05 02:53:06 -0500 commented answer ceph node recover block

ceph file system is on top of btrfs xfs so on?in ceph node is compulsory to have ceph file system?

2019-02-04 05:13:19 -0500 asked a question ceph node recover block

hi, when i write an image in a ceph cluster -then this image will be copied in every ceph cluster node? if a block of this image will become bad in time then this block will be replaced with a good block? or we must have btrs on mirror on every cluster node to execute the above? tnx

2019-01-30 20:04:03 -0500 received badge  Popular Question (source)
2019-01-29 05:42:21 -0500 received badge  Popular Question (source)
2019-01-29 05:42:16 -0500 received badge  Popular Question (source)
2019-01-29 05:24:47 -0500 asked a question compute instance

hi, i like to clarify how a VM (instance) is launched on compute.

when a instance is launched then in the memory is created vcpu,vnic so on coresponding to this VM.Then nova will boot the image using ceph?

tnx

2019-01-29 04:45:22 -0500 asked a question undercloud install

hi, i try to install undercloud- stack@undercloud ~]$ openstack undercloud install Invalid local_interface specified. eth1 is not available. An error occurred during configuration validation, please check your host configuration and try again. Error message: Invalid local_interface specified. eth1 is not available. ip a ens33: <broadcast,multicast,up,lower_up> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:0c:29:3a:68:54 brd ff:ff:ff:ff:ff:ff inet 192.168.42.133/24 brd 192.168.42.255 scope global dynamic ens33 valid_lft 1667sec preferred_lft 1667sec inet6 fe80::20c:29ff:fe3a:6854/64 scope link valid_lft forever preferred_lft forever ens34: <broadcast,multicast> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 00:0c:29:3a:68:5e brd ff:ff:ff:ff:ff:ff

more undercloud.conf [undercloud_public_host] local_ip = 192.168.42.190/24 undercloud_public_vip = 192.168.42.90 undercloud_admin_vip = 192.168.42.91 local_interface = ens34 network_cidr = 192.168.42.0/24 network_gateway = 192.168.42.2 inspection_iprange = 192.168.42.160,192.168.42.199

tail install-undercloud.log 2019-01-29 07:42:41.872 10169 INFO tripleoclient.v1.undercloud_preflight.UndercloudSetup [ ] Checking Deprecated now invalid options... 2019-01-29 07:42:41.872 10169 INFO tripleoclient.v1.undercloud_preflight.UndercloudSetup [ ] Checking Networking values... 2019-01-29 07:42:41.872 10169 INFO tripleoclient.v1.undercloud_preflight.UndercloudSetup [ ] Checking Subnet "ctlplane-subnet" is in CIDR... 2019-01-29 07:42:41.873 10169 INFO tripleoclient.v1.undercloud_preflight.UndercloudSetup [ ] Checking DHCP range is in subnet "ctlplane-subnet"... 2019-01-29 07:42:41.873 10169 INFO tripleoclient.v1.undercloud_preflight.UndercloudSetup [ ] Checking Inspection range for subnet "ctlplane-subnet"... 2019-01-29 07:42:41.873 10169 INFO tripleoclient.v1.undercloud_preflight.UndercloudSetup [ ] Checking IP addresses... 2019-01-29 07:42:41.873 10169 INFO tripleoclient.v1.undercloud_preflight.UndercloudSetup [ ] Checking Network interfaces... 2019-01-29 07:42:41.874 10169 ERROR tripleoclient.v1.undercloud_preflight.UndercloudSetup [ ] Invalid local_interface specified. eth1 is not available. 2019-01-29 07:42:41.874 10169 ERROR tripleoclient.v1.undercloud_preflight.UndercloudSetup [ ] An error occurred during configuration validation, please check your host configuration and try again. Error message: Invalid local_interface specified. eth1 is not available.

2019-01-29 04:35:18 -0500 asked a question overcloud undercloud

hi, just to understand.

all undercloud instances run on director.yes? the overcloud instances run on compute so on.the provision network is used by undercloud to create new undercloud (compute so on) or overcloud instance(nova so on).yes? the undercloud instances run outside overcloud in director.yes? overcloud or undercloud instances not run in VM.yes? they run in docker containers? tnx

2019-01-28 07:29:19 -0500 commented answer openstack heat

a last thing. undercloud and overcloud services not run in VMs.right?nova heat so on not run in VMs. then in what isolated environment they run? tnx

2019-01-28 04:38:46 -0500 commented answer openstack heat

With openstack client installed you have all the overcloud command like nova neutron so on.right? If i like then to interact with nova -compute -i must install nova client after i installed openstack client.right? tnx

2019-01-28 04:23:15 -0500 received badge  Popular Question (source)
2019-01-28 00:13:04 -0500 received badge  Notable Question (source)
2019-01-26 06:29:49 -0500 received badge  Popular Question (source)
2019-01-25 11:12:27 -0500 received badge  Editor (source)
2019-01-25 11:12:04 -0500 asked a question openstack heat

hi, i like to know from where i must launch nova instance(run in compute) or launch a bare metal instance(compute so on).

from director or from controller? heat dashboard run in controller or in director? tnx

2019-01-25 06:54:30 -0500 asked a question openstack launch

hi, i tried to lauch a instance->openstack stack create -t y.yaml y more y.yaml

heat_template_version: 2013-05-23

parameters:
  key_name:
    type: string
    default: y
    description: Name of an existing key pair to use for the instance
  flavor:
    type: string
    description: Instance type for the instance to be created
    default: y
  image:
    type: string
    default: test9
    description: ID or name of the image to use for the instance
  NetID:
    type: string
    default: default
    description: Network ID to use for the instance

resources:
  my_instance:
    type: OS::Nova::Server
    properties:
      name: My Cirros Instance
      image: { get_param: image }
      flavor: { get_param: flavor }
      key_name: { get_param: key_name}
      networks:
      - network: { get_param: NetID }

 openstack stack show y
+-----------------------+-----------------------------------------------------------------------------------------------------------------+
| Field                 | Value                                                                                                           |
+-----------------------+-----------------------------------------------------------------------------------------------------------------+
| id                    | 040df6f3-3d10-4ad6-aad2-fb0946a11eb7                                                                            |
| stack_name            | y                                                                                                               |
| description           | No description                                                                                                  |
| creation_time         | 2019-01-25T12:14:41Z                                                                                            |
| updated_time          | None                                                                                                            |
| stack_status          | CREATE_FAILED                                                                                                   |
| stack_status_reason   | Resource CREATE failed: ResourceInError: resources.my_instance: Went to status ERROR due to "Message: No valid  |
|                       | host was found. There are not enough hosts available.


more nova-compute.log|grep Error
2019-01-25 04:17:02.509 6294 DEBUG neutronclient.v2_0.client [req-3d20959e-8e9a-45d0-9840-2ad56f99d5ef - - - - -] GET call to neutron for https://192.168.100.16:13696/v2.0/networks.json?id=9fef22dd-1031-424b-85be-5ab60dad45af used request id req-840ad1a5-8e5b-4892-9bae-db0202c0324a _append_request_id /usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py:128
2019-01-25 04:17:02.513 6294 DEBUG neutronclient.v2_0.client [req-3d20959e-8e9a-45d0-9840-2ad56f99d5ef - - - - -] Error message: {"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"} _handle_fault_response /usr/lib/python2.7/site-packages/neutronclient/v2_0/client.p

The image is compatible with everything in compute node.in compute node are enough resources.

2019-01-25 05:25:14 -0500 asked a question resource launch

hi, when i create an instance is better to create it with - openstack server create or

-openstack stack create? tnx

2019-01-23 11:23:37 -0500 commented answer openstack undercloud

so from the same image let`s say we launch 9 images-that are identical.then we configure 2 of them as compute 2 of them as ceph so on.yes? or at the moment we launch an instance from an image -we lauch it with different parameters->based on those parameters we obtain compute or ceph or so on.yes?

2019-01-23 11:23:37 -0500 commented answer instance undercloud

certain instances communicate by network1 other by network2-supposing we have network1 and networks defined. can be baremetal instances or overcloud instances.yes?tnx openvswitch is used in openstack because is very flexible-mean the vlan can be created very easy.yes?

2019-01-23 04:43:15 -0500 asked a question openstack undercloud

hi, i seen that every compute controller ceph instance within undercloud is launched from the same image-overcloud-full.How can be launched those different instances from the same image?

openstack server list +--------------------------------------+-------------------------+--------+-------------------------+----------------+ | ID | Name | Status | Networks | Image Name | +--------------------------------------+-------------------------+--------+-------------------------+----------------+ | 349c6113-9958-44ff-8e0c-58699f34f7da | overcloud-compute-2 | ACTIVE | ctlplane=192.168.100.33 | overcloud-full | | b0a32653-6c11-4cd6-849f-05e44bdcfd19 | overcloud-controller-2 | ACTIVE | ctlplane=192.168.100.47 | overcloud-full | | 96e085d7-0e76-4b1f-a3e1-0a598f793b12 | overcloud-compute-3 | ACTIVE | ctlplane=192.168.100.37 | overcloud-full | | 887ca413-17d5-4e2a-9e4e-74a54b968551 | overcloud-controller-1 | ACTIVE | ctlplane=192.168.100.36 | overcloud-full | | 3a577b30-9c10-4c37-b15f-d6f9cdb24376 | overcloud-controller-0 | ACTIVE | ctlplane=192.168.100.44 | overcloud-full

2019-01-23 04:43:15 -0500 asked a question instance undercloud

hi, in openstack- controller compute so on are instances launched in undercloud? in every of those instances run certain cloud instances-nova neutron so on? tnx

2019-01-23 01:27:17 -0500 received badge  Enthusiast
2019-01-22 14:51:49 -0500 asked a question openstack instance

hi, openstack server list +--------------------------------------+-------------------------+--------+-------------------------+----------------+ | ID | Name | Status | Networks | Image Name | +--------------------------------------+-------------------------+--------+-------------------------+----------------+ | 349c6113-9958-44ff-8e0c-58699f34f7da | overcloud-compute-2 | ACTIVE | ctlplane=192.168.100.33 | overcloud-full | | b0a32653-6c11-4cd6-849f-05e44bdcfd19 | overcloud-controller-2 | ACTIVE | ctlplane=192.168.100.47 | overcloud-full | | 96e085d7-0e76-4b1f-a3e1-0a598f793b12 | overcloud-compute-3 | ACTIVE | ctlplane=192.168.100.37 | overcloud-full | | 887ca413-17d5-4e2a-9e4e-74a54b968551 | overcloud-controller-1 | ACTIVE | ctlplane=192.168.100.36 | overcloud-full | | 3a577b30-9c10-4c37-b15f-d6f9cdb24376 | overcloud-controller-0 | ACTIVE | ctlplane=192.168.100.44 | overcloud-full | | 7d5d5d29-c82a-4082-9fa3-757a76bc262b | overcloud-compute-0 | ACTIVE | ctlplane=192.168.100.35 | overcloud-full | | 706ded51-bb9f-473e-a79e-3501906f4bab | overcloud-compute-1 | ACTIVE | ctlplane=192.168.100.32 | overcloud-full | | 11a8b77b-1ff7-4856-88da-7ef91d155154 | overcloud-cephstorage-0 | ACTIVE | ctlplane=192.168.100.41 | overcloud-full | | 513a76d7-47a5-4b8a-bbb2-e12b9899a48f | overcloud-cephstorage-2 | ACTIVE | ctlplane=192.168.100.40 | overcloud-full | | 954f42e3-1951-44c0-bf3c-1226f865b48c | overcloud-cephstorage-1 | ACTIVE | ctlplane=192.168.100.39 | overcloud-full | +--------------------------------------+-------------------------+--------+-------------------------+-----

then openstack server show overcloud-controller-2 OS-EXT-SRV-ATTR:instance_name | instance-000002d7

i like to understand in what server(controller or director or elsewhere) run this instance-000002d7. this not run in any compute virsh list

Id Name State

5 instance-0000018b running 11 instance-000001b7 running 12 instance-000001c6 running 13 instance-000001d2

is there any command to see instance-000002d7 like in a compute? I like to understand in what physical serverr run each overcloud-controller-0 to 3 overcloud-compute-0 to 3 so on. tnx

2019-01-22 07:23:08 -0500 asked a question need clarify

hi, just to clarify things. in openstack we must configure compute as ceph client if we use ceph? we must configure compute as glance client? the cinder role is to create volumes and to boot from images an instance? nova glance so on talk using nova-api glance-api so on? tnx

2019-01-22 07:23:08 -0500 asked a question openstack neutron

hi, openstack network list uses in background the command neutron net-list openstack image list uses glance image-list? tnx

2019-01-22 05:43:59 -0500 commented answer openstack server

can i use nova-manage logs errors to detect those errors?

2019-01-22 03:57:53 -0500 asked a question openstack boot

hi, nova boot --flavor compute --image y --key-name y --nic net-id=a2e384a5-c699-4f1c-a558-2e0aeee04d20 y nova show y

"No valid host was found. There are not enough hosts available.

virt-host-validate QEMU: Checking if IOMMU is enabled by kernel : WARN (IOMMU appears to be disabled in kernel. Add intel_iommu=on to kernel cmd

2019-01-22 03:57:53 -0500 asked a question openstack server

hi, i try to launch:

openstack server create --flavor y --image y --nic net-id=external --security-group default --key-name y y9
openstack server show y9
| OS-EXT-SRV-ATTR:instance_name        | instance-000002fe                               
| fault                                | {u'message': u'No valid host was found. There are not enough hosts available.', u'code': 500,

where

openstack flavor show y
+----------------------------+--------------------------------------+
| Field                      | Value                                |
+----------------------------+--------------------------------------+
| OS-FLV-DISABLED:disabled   | False                                |
| OS-FLV-EXT-DATA:ephemeral  | 0                                    |
| access_project_ids         | None                                 |
| disk                       | 10                                   |
| id                         | bbacb163-d9b8-4efe-acd9-c18334f7941f |
| name                       | y                                    |
| os-flavor-access:is_public | True                                 |
| properties                 |                                      |
| ram                        | 512                                  |
| rxtx_factor                | 1.0                                  |
| swap                       |                                      |
| vcpus                      | 2                                    |
+----------------------------+------------------------------------
openstack image show y
+------------------+--------------------------------------+
| Field            | Value                                |
+------------------+--------------------------------------+
| checksum         | 5dd393eca8de6e61d1cdb8b7ec3852e8     |
| container_format | bare                                 |
| created_at       | 2019-01-22T07:58:16.000000           |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | a6f914aa-eefe-477f-b9ee-ef05953c3f3c |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | y                                    |
| owner            | 31b1b76a0163418f9d5556836f44f67d     |
| properties       |                                      |
| protected        | False                                |
| size             | 2747006976                           |
| status           | active                               |
| updated_at       | 2019-01-22T07:58:36.000000           |
| virtual_size     | None                                 |
+------------------+-----------------------------------
openstack keypair show y
+-------------+-------------------------------------------------+
| Field       | Value                                           |
+-------------+-------------------------------------------------+
| created_at  | 2019-01-21T08:05:30.000000                      |
| deleted     | False                                           |
| deleted_at  | None                                            |
| fingerprint | 54:0f:2b:1f:1d:8a:1f:24:49:07:ef:8a:77:80:2d:15 |
| id          | 2                                               |
| name        | y                                               |
| updated_at  | None                                            |
| user_id     | 3f93876ec2104c828bb47110b6fecf82                |
+-------------+-------------------------------------------

i changed in /etc/nova/nova.conf

openstack-config --set /etc/nova/nova.conf DEFAULT compute_driver libvirt.LibvirtDriver
openstack-config --set /etc/nova/nova.conf libvirt virt_type kvm

then i tried again ->the same error then changed kvm with qemu ->the same.

2019-01-21 15:42:07 -0500 commented answer qcow create new image

hi, the yy is a copy of test.qcow2 or yy is a simple name that point to test.qcow2?

2019-01-21 09:37:37 -0500 asked a question qcow create new image

hi, when i create an image openstack image create --disk-format=qcow2 --file=test.qcow2 yy then i obtain a openstack image yy. By creating this yy from test.qcow2 the content of test.qcow2 will be altered?Or only the yy will be created by coping the content of test.qcow2 in yy? tnx

2019-01-21 09:37:36 -0500 asked a question openstack instance

hi, in openstack we have

openstack server list

overcloud-compute-2 ctlplane=192.168.100.33 overcloud-controller-2 ctlplane=192.168.100.47

Why in openstack the compute controller roles are instances? Why the real IP address of compute node is different from the IP address of the server designed as compute? tnx

2019-01-17 09:19:38 -0500 received badge  Popular Question (source)
2019-01-16 10:05:49 -0500 asked a question vm reboot in openstack

hi, when i must use soft and hard reboot? in the case when the application that run into VM hang or if the VM hang? I must try first to soft reboot and if nor work to try hard reboot? with nova reboot id_of_vm

i can use virsh shutdown id or kill.right? tnx

2019-01-16 07:01:46 -0500 commented answer openstack usage

hi, the openstack overcloud services-nova,glance,neutron,so on are deployed from director.right? if i create VM guest in compute with virt-install than this guest will not be seen horizon.right? tnx

2019-01-15 09:08:51 -0500 answered a question openstack usage

hi, in compute node virsh list

Id Name State

10 instance-000001ba running 11 instance-000001c0 running 12 instance-000001d8 running 13 instance-000001db running

ps -ef|grep qemu qemu 859189 1 1 2018 ? 18:35:24 /usr/libexec/qemu-kvm -name guest=instance-000001ba with top i look to see the pid= 859189 right?

what show the below? nova-manage vm list|more Option "rpc_backend" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. instance node type state launched image kernel ramdisk project user zone index test2 overcloud-compute-0.localdomain m1.nano active 2018-11-08 01:42:24+00:00 9ebe3091-e6e0-4e57-8796-53f6e666fc2d bffe43fc4b3a4c12b1aedd6e7196ac04 500c3796d2bb4586be85029af0dbcac4 nova

what is with this image 9ebe3091-e6e0-4e57-8796-53f6e666fc2d ? the local images are ls /var/lib/libvirt/qemu.right? channel domain-10-instance-000001ba domain-11-instance-000001c0 domain-12-instance-000001d8 domain-13-instance-000001db dump nvram ram tnx

2019-01-15 03:17:43 -0500 asked a question openstack usage

hi, i am new in openstack. i like to know how can i find what resources consume every instance from a project from command line in compute.The command must be executed on director? the same what resources consume every compute from command line.executed from director? what command can i execute in compute to see the resource consumed by every instance?with top or other linux commands?I run on rhel 7. tnx.

hi, in compute node virsh list

Id Name State
10 instance-000001ba running 
11 instance-000001c0 running 
12 instance-000001d8 running 
13 instance-000001db running

ps -ef|grep qemu 
qemu 859189 1 1 2018 ? 18:35:24 /usr/libexec/qemu-kvm -name guest=instance-000001ba

with top i look to see the pid= 859189 right?

what show the below?

nova-manage vm list
|more Option "rpc_backend" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 
instance node type state launched image kernel ramdisk project user zone index test2 overcloud-compute-0.localdomain m1.nano active 2018-11-08 01:42:24+00:00 9ebe3091-e6e0-4e57-8796-53f6e666fc2d bffe43fc4b3a4c12b1aedd6e7196ac04 500c3796d2bb4586be85029af0dbcac4 nova

what is with this image 9ebe3091-e6e0-4e57-8796-53f6e666fc2d ? the local images are ls /var/lib/libvirt/qemu.right? channel domain-10-instance-000001ba domain-11-instance-000001c0 domain-12-instance-000001d8 domain-13-instance-000001db dump nvram ram tnx