Ask Your Question

novainfinite's profile - activity

2019-04-21 08:54:26 -0500 received badge  Famous Question (source)
2019-04-08 01:22:28 -0500 received badge  Popular Question (source)
2019-04-08 01:22:28 -0500 received badge  Notable Question (source)
2019-04-08 00:54:53 -0500 received badge  Notable Question (source)
2019-04-07 12:34:36 -0500 received badge  Popular Question (source)
2019-04-07 12:34:28 -0500 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 -0500 received badge  Popular Question (source)
2019-04-02 07:44:06 -0500 received badge  Notable Question (source)
2019-04-02 07:42:41 -0500 received badge  Notable Question (source)
2019-03-31 10:24:41 -0500 received badge  Famous Question (source)
2019-03-28 09:36:59 -0500 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 -0500 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 -0500 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 -0500 received badge  Popular Question (source)
2019-03-19 08:18:31 -0500 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 -0500 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 -0500 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 -0500 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 -0500 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 -0500 answered a question How to install software in openstack vm instance using scripts?

you can use heat

2019-02-09 04:31:51 -0500 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 -0500 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 -0500 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'
2019-02-07 06:36:15 -0500 received badge  Popular Question (source)
2019-02-07 03:39:21 -0500 commented question there is no disk available

if you do not have cinder do not make volume

2019-02-06 11:46:25 -0500 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 -0500 received badge  Popular Question (source)
2019-02-05 07:46:31 -0500 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 -0500 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'

what document do you try?

2019-02-05 05:34:09 -0500 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 -0500 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

2019-02-05 05:32:56 -0500 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'

i try newton and rocky version none of them work

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

as i research alot i find out you should install pacemaker to hostmonitor

2019-02-05 05:31:51 -0500 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'

the document in github is awful there is no other document about it

2019-02-05 05:30:52 -0500 commented question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'

hopfully i find someone want install masakari masakari is awful i spend a lot of time to install it but i can not every one who suggest masakari in this site does not try it and just read about it

2019-02-05 05:29:08 -0500 edited question openstack masakari, AttributeError: 'Connection' object has no attribute 'instance_ha'

I want to make instance HA for my Openstack instance with Masakari project which I installed masakari-api and masakari-engine on Controller nodes and masakari-processmonitor,masakari-instancemonitor and masakari-hostmonitor on Compute nodes but when I am going to test failed openstack-nova-compte service to test instance HA I get this error:

2019-02-02T10:10:03.782541+03:30 c2 masakari-processmonitor: Command: systemctl restart openstack-nova-compute.service
2019-02-02T10:10:03.782972+03:30 c2 masakari-processmonitor: Exit code: 1
2019-02-02T10:10:03.783363+03:30 c2 masakari-processmonitor: Stdout: u''
2019-02-02T10:10:03.783785+03:30 c2 masakari-processmonitor: Stderr: u'Job for openstack-nova-compute.service failed because the control process exited with error code. See "systemctl status openstack-nova-compute.service" and "journalctl -xe" for details.\n': ProcessExecutionError: Unexpected error while running command.
2019-02-02T10:10:08.776654+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.775 115036 INFO masakarimonitors.ha.masakari [-] **Send a notification**. {'notification': {'hostname': '<my_domain_name>', 'type': 'PROCESS', 'payload': {'process_name': '/usr/bin/nova-compute', 'event': 'STOPPED'}, 'generated_time': datetime.datetime(2019, 2, 2, 6, 40, 8, 774997)}}
2019-02-02T10:10:08.780948+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process [-] Exception caught: 'Connection' object has no attribute 'instance_ha': AttributeError: 'Connection' object has no attribute 'instance_ha'
2019-02-02T10:10:08.781513+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process Traceback (most recent call last):
2019-02-02T10:10:08.782106+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process   File "/usr/lib/python2.7/site-packages/masakarimonitors/processmonitor/process.py", line 75, in main
2019-02-02T10:10:08.782882+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process     self.process_handler.restart_processes(down_process_list)
2019-02-02T10:10:08.783546+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process   File "/usr/lib/python2.7/site-packages/masakarimonitors/processmonitor/process_handler/handle_process.py", line 203, in restart_processes
2019-02-02T10:10:08.784149+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process     event)
2019-02-02T10:10:08.784772+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process   File "/usr/lib/python2.7/site-packages/masakarimonitors/ha/masakari.py", line 60, in send_notification
2019-02-02T10:10:08.785349+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process     client = self._make_client()
2019-02-02T10:10:08.785902+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process   File "/usr/lib/python2.7/site-packages/masakarimonitors/ha/masakari.py", line 43, in _make_client
2019-02-02T10:10:08.786500+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process     return conn.instance_ha
2019-02-02T10:10:08.786998+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process AttributeError: 'Connection' object has no attribute 'instance_ha'
2019-02-02T10:10:08.787561+03:30 c2 masakari-processmonitor: 2019-02-02 10:10:08.778 115036 ERROR masakarimonitors.processmonitor.process

I check my connection to controller nodes and compute node, all of them is OK. I check the Rabbitmq queues and it has masakari ... (more)

2019-02-05 05:28:01 -0500 commented question magnum storage

i use fedora 27

2019-02-04 19:43:10 -0500 commented question magnum storage

the 20 G divided in 1 and 19 G

2019-02-04 19:42:41 -0500 commented question magnum storage

yes i set os-distro

2019-02-04 18:52:12 -0500 commented question magnum storage

i read all the log in magnum and heat and the log in fedora but nothing help

2019-02-04 18:51:40 -0500 commented question magnum storage

my flavor has 20 gig storage and 2 vcpu and 4 gig ram the point is that it seprate one gig for /boot and 19 gig for the second storage i an not find what configuration set one gig for /boot

2019-02-04 18:15:36 -0500 commented question magnum network

thanks sir

2019-02-04 15:00:58 -0500 commented question Magnum not creating serviceaccount 'default'?

can you show your magnum.conf and heat.conf i realy appreciated

2019-02-04 15:00:18 -0500 commented question Magnum not creating serviceaccount 'default'?

how do you create cluster i recieve several error that there is there is not enough free space in volume group atomicos to create data volume of size min_data_size=2g.

or the minion does not start

2019-02-04 13:11:26 -0500 asked a question magnum network

the magnum document create vxlan for network can we create provider as external network?

2019-02-04 12:51:24 -0500 asked a question magnum storage

i want to create kubernetes cluster by magnum but every time i see this error

there is not enough free space in volume group atomicos to create data volume of size min_data_size=2g.

after some reseach someone suggest to use overlay after that the error disapear but the master is created but the minion do not spawn and create in openstack i read every line in magnum troubleshout guid but it does not help at all what should i do? thanks for helping

2019-02-04 08:50:26 -0500 edited question cluster failed in magnum

hello
i install magnum on openstack newton. cluster create go to In_progress state and after one hour cluster create failed. in magnum conductor log see below log:

2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall [-] Fixed interval looping call 'magnum.conductor.handlers.cluster_conductor.HeatPoller.poll_and_check' failed <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall Traceback (most recent call last): <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall   File "/usr/lib/python2.7/dist-packages/oslo_service/loopingcall.py", line 136, in _run_loop <br>
2sdasdasd018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall     result = func(*self.args, **self.kw)
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall   File "/usr/lib/python2.7/dist-packages/magnum/conductor/handlers/cluster_conductor.py", line 294, in poll_and_check <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall     stack = self.openstack_client.heat().stacks.get(self.cluster.stack_id) <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall   File "/usr/lib/python2.7/dist-packages/heatclient/v1/stacks.py", line 274, in get  <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall     resp = self.client.get('/stacks/%s' % stack_id, **kwargs)  <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall   File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 287, in get  <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall     return self.client_request("GET", url, **kwargs)  <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall   File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 280, in client_request  <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall     resp, body = self.json_request(method, url, **kwargs)  <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall   File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 269, in json_request  <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall     resp = self._http_request(url, method, **kwargs) <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall   File "/usr/lib/python2.7/dist-packages/heatclient/common/http.py", line 230, in _http_request <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall     % resp.content) <br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall <b>HTTPUnauthorized: ERROR: Authentication failed: Authentication required </b><br>
2018-05-22 18:04:00.808 52273 ERROR oslo.service.loopingcall  <br>
2018-05-22 18:04:17.019 52273 INFO magnum.service.periodic [req-f768594d-e9e1-4a28-b1a1-97f51d8985c0 efb9eea1-b7bd-4b8e-a531-ba3efb7d53a0_428551fb129b41c2b801ad3bdb79f24f - - - -] Sync up cluster with id 5 from CREATE_IN_PROGRESS to CREATE_FAILED.   <br>

it is a critical.... please help me