Ask Your Question

yasin lachiny's profile - activity

2019-12-11 01:56:14 -0600 received badge  Taxonomist
2019-11-15 14:27:05 -0600 received badge  Famous Question (source)
2019-10-13 07:31:04 -0600 received badge  Notable Question (source)
2019-08-22 18:37:20 -0600 received badge  Nice Answer (source)
2019-08-22 10:54:35 -0600 received badge  Famous Question (source)
2019-08-06 02:40:25 -0600 received badge  Notable Question (source)
2019-08-06 02:37:14 -0600 received badge  Notable Question (source)
2019-08-06 02:36:34 -0600 received badge  Notable Question (source)
2019-07-27 23:34:22 -0600 received badge  Famous Question (source)
2019-07-16 08:38:34 -0600 received badge  Famous Question (source)
2019-06-30 03:18:36 -0600 received badge  Civic Duty (source)
2019-06-19 13:02:08 -0600 received badge  Popular Question (source)
2019-05-30 12:23:37 -0600 received badge  Famous Question (source)
2019-05-30 12:23:37 -0600 received badge  Notable Question (source)
2019-05-18 02:38:00 -0600 received badge  Famous Question (source)
2019-05-15 03:37:46 -0600 received badge  Famous Question (source)
2019-04-21 08:54:26 -0600 received badge  Famous Question (source)
2019-04-08 01:22:28 -0600 received badge  Notable Question (source)
2019-04-08 01:22:28 -0600 received badge  Popular Question (source)
2019-04-08 00:54:53 -0600 received badge  Notable Question (source)
2019-04-07 12:34:36 -0600 received badge  Popular Question (source)
2019-04-07 12:34:28 -0600 marked best answer how i can run kubectl get pods in controller?

i install magnum in rocky (https://docs.openstack.org/magnum/lat...) after that i run

$ mkdir -p ~/clusters/kubernetes-cluster
$ $(openstack coe cluster config kubernetes-cluster --dir ~/clusters/kubernetes-cluster)
export KUBECONFIG=/home/user/clusters/kubernetes-cluster/config

that is every thing ok until now but when i run

kubectl -n kube-system get po
**controller does not understand kebectl
Command 'kubectl' not found, but can be installed with:

snap install kubectl**

it is obvios that i do not install kuberneties in my controller because the container should run in vm like fedora

so should i install kubernetis on controller? if yes why it is neede if no why should i install kubernetis in a controller that does not create pod and how controller understand the pod of vm in compute

2019-04-02 09:28:33 -0600 received badge  Popular Question (source)
2019-04-02 07:44:06 -0600 received badge  Notable Question (source)
2019-04-02 07:42:41 -0600 received badge  Notable Question (source)
2019-03-31 10:24:41 -0600 received badge  Famous Question (source)
2019-03-28 09:36:59 -0600 edited question how to Rocky ceilometer memory mteric add memory_util

I want to add a memory_util entry to ceilometer mteric

Set the following in the pipline

---
sources:
    - name: memory_source
      meters:
          - "memory"
      sinks:
          - memory_sink

sinks:
    - name: memory_sink
      transformers:
          # - name: "rate_of_change"
          - name: "arithmetic"
            parameters:
              target:
                name: "memory_util"
                unit: "%"
                type: "gauge"
                expr: "100 * $ (memory.usage) / $ (memory)"
      publishers:
          - gnocchi: //? filter_project = service & archive_policy = low


# openstack metric resource show c07c4a5f-ec72-4408-adc2-65ee61e1dd66
+-----------------------+---------------------------------------------------------------------+
| Field                 | Value                                                               |
+-----------------------+---------------------------------------------------------------------+
| created_by_project_id | f3838be522bb420fa6cd67e48605596e                                    |
| created_by_user_id    | a4476a5e40444737818df68dc74dc292                                    |
| creator               | a4476a5e40444737818df68dc74dc292:f3838be522bb420fa6cd67e48605596e   |
| ended_at              | None                                                                |
| id                    | c07c4a5f-ec72-4408-adc2-65ee61e1dd66                                |
| metrics               | compute.instance.booting.time: fc5d8019-1a0f-408f-8ebe-7dc0ee3952cd |
|                       | cpu.delta: cf091598-5c9e-4d85-a68d-586ec0d328b4                     |
|                       | cpu: 2c6d6196-26a9-4899-b4f7-623377fbc66f                           |
|                       | cpu_util: 4c3d2adb-85e0-417e-b6fd-f04a18ea3507                      |
|                       | disk.ephemeral.size: e2f28415-518d-4147-b17c-0476603df295           |
|                       | disk.root.size: 2ed8f6fe-d3bc-47b5-a97b-7aa2c75273f6                |
|                       | memory.usage: 219de05b-0ce9-46a3-aace-fcddb1d0821c                  |
|                       | memory: 0426c06e-89eb-43ee-a6d5-88b73060b39b                        |
|                       | vcpus: 33d52da2-1419-4e15-a580-fcbc52562ee7                         |
| original_resource_id  | c07c4a5f-ec72-4408-adc2-65ee61e1dd66                                |
| project_id            | d65df3524a3441f5abec30759747ed1d                                    |
| revision_end          | None                                                                |
| revision_start        | 2019-03-28T08:00:18.005180+00:00                                    |
| started_at            | 2019-03-28T07:22:04.863213+00:00                                    |
| type                  | instance                                                            |
| user_id               | abb8637a7b014fe1a62d7ec5bb4ed84a                                    |
+-----------------------+---------------------------------------------------------------------+

edit to "/etc/ceilometer/gnocchi_resources.yaml"
  - resource_type: instance
    metrics:
      memory:
      memory.usage:
      memory.util:

And restart the ceilometer gnocchi service

How do I add memory pct mteric?

2019-03-28 09:36:19 -0600 asked a question openstack as loadbalancer for kubernetes

I want to use openstack as load balancer for my kubernetes but i do not know how can i do that?

2019-03-24 09:07:54 -0600 edited question Error when creating ubuntu 16.04 iso image on openstack queen in dashboard

I am installing openstack queen on KVM i have 2 guest i.e controller and compute node now every thing installed successfully and i checked the status of glance,nova,neutron etc all are active now when i create the ubuntu-16.04 iso image on dashboard it will take time to upload after that it will give me this notification error on the top

<html><head> <title>500 Internal Server Error</title> </head><body>

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.


Apache/2.4.18 (Ubuntu) Server at 172.16.0.159 Port 80
</body></html>

Sorry i don't have 10 points to upload the image so tell me what is the issue please.

root@controller:~# cat /var/log/apache2/error.log
[Sat Mar 23 07:35:05.068145 2019] [wsgi:warn] [pid 3634:tid 140259006683008] mod_wsgi: Compiled for Python/2.7.11.
[Sat Mar 23 07:35:05.068181 2019] [wsgi:warn] [pid 3634:tid 140259006683008] mod_wsgi: Runtime using Python/2.7.12.
[Sat Mar 23 07:35:05.073528 2019] [mpm_event:notice] [pid 3634:tid 140259006683008] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0 Python/2.7.12 configured -- resuming normal operations
[Sat Mar 23 07:35:05.073584 2019] [core:notice] [pid 3634:tid 140259006683008] AH00094: Command line: '/usr/sbin/apache2'
[Sat Mar 23 14:19:30.138599 2019] [wsgi:error] [pid 19012:tid 140258826946304] INFO openstack_auth.views Logging out user "".
[Sat Mar 23 14:19:41.613626 2019] [wsgi:error] [pid 19012:tid 140258902480640] INFO openstack_auth.plugin.base Attempted scope to domain Default failed, will attemptto scope to another domain.
[Sat Mar 23 14:19:41.876259 2019] [wsgi:error] [pid 19012:tid 140258902480640] INFO openstack_auth.forms Login successful for user "admin" using domain "Default", remote address 172.16.0.91.
[Sat Mar 23 10:19:42.592784 2019] [authz_core:error] [pid 19146:tid 140258674935552] [client 172.16.0.91:58465] AH01630: client denied by server configuration: /usr/bin/keystone-wsgi-public, referer: http://172.16.0.159/horizon/auth/login/
[Sat Mar 23 11:19:58.182712 2019] [wsgi:error] [pid 19146:tid 140258658150144] (9)Bad file descriptor: [client 172.16.0.91:58490] mod_wsgi (pid=19146): Unable to get bucket brigade for request., referer: http://172.16.0.159/horizon/admin/images
[Sat Mar 23 15:19:58.202089 2019] [wsgi:error] [pid 19012:tid 140258826946304] ERROR django.request Internal Server Error: /horizon/api/glance/images/
[Sat Mar 23 15:19:58.202164 2019] [wsgi:error] [pid 19012:tid 140258826946304] Traceback (most recent call last):
[Sat Mar 23 15:19:58.202172 2019] [wsgi:error] [pid 19012:tid 140258826946304]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in ...
(more)
2019-03-20 10:17:59 -0600 received badge  Popular Question (source)
2019-03-19 08:18:31 -0600 commented answer Why we choose OpenStack cloud platform to build a private cloud ?

the service goes down by no result

2019-03-05 01:08:22 -0600 answered a question How to resize VM root partition

i search a lot i can not find a way at last i use ceph and ceph storage do it for me

2019-03-04 12:16:26 -0600 answered a question turn off controllers node

no they are ok but you can not make another vm no one use selfservice and if you use provider nothing happen to your network i test it

2019-02-27 11:21:40 -0600 commented answer Why we choose OpenStack cloud platform to build a private cloud ?

openstack is not stable and it is so hard to connect it to esxi

2019-02-23 11:38:09 -0600 answered a question Why we choose OpenStack cloud platform to build a private cloud ?

i search a lot and the answer is nothing

some one say it has api or it is free but those thing nothing important beacause esxi has api and so simple

2019-02-15 10:49:03 -0600 answered a question How to install software in openstack vm instance using scripts?

you can use heat

2019-02-09 04:31:51 -0600 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'

what version of openstack do you use

2019-02-09 04:28:12 -0600 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'

what document do you try for pacemaker and masakari?

2019-02-09 04:25:55 -0600 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'
2019-02-07 06:36:15 -0600 received badge  Popular Question (source)
2019-02-07 03:39:21 -0600 commented question there is no disk available

if you do not have cinder do not make volume

2019-02-06 11:46:25 -0600 commented answer What interface do I assign physical_interface_mappings for provider network?

so all traffic throw controller and no way to solve it beacuse the router is in controller

2019-02-06 06:07:40 -0600 received badge  Popular Question (source)
2019-02-05 07:46:31 -0600 answered a question What interface do I assign physical_interface_mappings for provider network?

if you use provider all traffic go throw provider if you use selfservice all traffic go throw controller i test it and i think selfservice is useless and we should use provider

2019-02-05 05:35:03 -0600 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'

what document do you try?

2019-02-05 05:34:09 -0600 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'

if you find someway i have been glade to share with me

2019-02-05 05:33:42 -0600 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'

i do not know why openstack do not care about high available vm