Ask Your Question

fedupwithneutron's profile - activity

2019-10-22 19:47:34 -0600 received badge  Famous Question (source)
2019-05-01 05:28:44 -0600 received badge  Notable Question (source)
2019-04-26 13:32:43 -0600 received badge  Popular Question (source)
2018-11-29 18:32:47 -0600 received badge  Notable Question (source)
2018-09-27 23:36:45 -0600 asked a question [trove] Will Trove Queens / Rocky / Github master work with Pike?

The trove IRC is a hopeless place to ask for any help so I will ask here:

Is it possible to run the latest versions of Trove (of Queens/Rocky/from master branch of GitHub) alongside a OpenStack Pike environment?

2018-09-27 03:40:51 -0600 received badge  Famous Question (source)
2018-09-25 07:31:23 -0600 received badge  Popular Question (source)
2018-09-19 23:34:12 -0600 received badge  Scholar (source)
2018-09-19 23:32:43 -0600 received badge  Editor (source)
2018-09-19 23:28:58 -0600 answered a question [trove][pike] Request needs authorization error

Hi Bernd,

Appreciate you being one of the most helpful folks around here! I managed to fix those errors.

What happened was that I was reading through and following devstack trove script on GH in its Pike branch, and somehow later while browsing I accidentally ended up following the instructions from master.

After correcting the configs, trove still gave errors in the logs. It is surprising that a fresh install is not working properly as intended. I had to make corrections myself in the trove code and config to get it running:

https://bugs.launchpad.net/trove/+bug...

https://git.openstack.org/cgit/openst...

https://ask.openstack.org/en/question...

Nobody bothered to fix and release this update as a package for Pike. Grrr..

Writing this as main answer since replying to a comment does not allow me to type this much.

2018-09-19 06:48:32 -0600 commented question [trove][pike] Request needs authorization error

Hi Bernd,

I already executed this command as part of the install process:

# openstack role add --project service --user trove admin
2018-09-19 03:53:59 -0600 asked a question [trove][pike] Request needs authorization error

Hi,

Trove install on OpenStack Pike shows error in logs related to "Manager.publish_exists_event". Has anyone managed to install Trove on Pike without getting this error? Any help would be appreciated. Logs and config included below.

Thank you!

Trove Log:

2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task [-] Error during Manager.publish_exists_event: Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-5dece909-c107-491a-91fc-9eaa8c7b8a91)
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task Traceback (most recent call last):
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/oslo_service/periodic_task.py", line 220, in run_periodic_tasks
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     task(self, context)
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/trove/taskmanager/manager.py", line 433, in publish_exists_event
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     self.admin_context)
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/trove/extensions/mgmt/instances/models.py", line 176, in publish_exist_events
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     notifications = transformer()
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/trove/extensions/mgmt/instances/models.py", line 268, in __call__
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     client=self.nova_client)
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/trove/extensions/mgmt/instances/models.py", line 38, in load_mgmt_instances
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     mgmt_servers = client.servers.list(search_opts={'all_tenants': 1})
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 884, in list
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     "servers")
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 254, in _list
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     resp, body = self.api.client.get(url)
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 288, in get
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     return self.request(url, 'GET', **kwargs)
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 77, in request
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     **kwargs)
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 447, in request
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 192, in request
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task     return self.session.request(url, method, **kwargs)
2018-09-19 16:42:31.337 8681 ERROR oslo_service.periodic_task   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
2018-09-19 ...
(more)
2018-09-17 03:46:03 -0600 received badge  Notable Question (source)
2018-09-16 08:18:13 -0600 received badge  Popular Question (source)
2018-09-16 00:30:42 -0600 commented answer [trove] How to make trove instances connect to rabbitmq

Hi,

Will trove instances have connectivity to the Internet? I am guessing they will, in order to download packages and all. In that case, I can put the public ip of the controller there in the config file you mentioned?

2018-09-15 10:00:40 -0600 asked a question [trove] How to make trove instances connect to rabbitmq

Hi all,

I am trying to install Trove for the first time. The docs say that trove instances should have connectivity to rabbitmq. In my case, the rabbitmq is running in the management network and being used by all other openstack services for message passing.

How can I get this working?

2018-09-11 01:02:53 -0600 commented question [SOLVED][Pike][Octavia] Cannot create LB from Horizon

I never wanted to keep using neutron CLI, but all guides that I read ran the load balancer commands using neutron CLI. I thought I made some mistake, but it wasn't the case. Confirmed the same later in #openstack-lbaas

2018-09-10 01:25:46 -0600 received badge  Notable Question (source)
2018-09-07 19:20:57 -0600 received badge  Popular Question (source)
2018-09-07 03:55:49 -0600 answered a question [SOLVED][Pike][Octavia] Cannot create LB from Horizon

On a fresh server, I installed openstack-octavia-ui and openstack-dashboard from the Queens repo, and it worked perfectly with Pike setup. Load balancers can be created and managed from the dashboard now.

2018-09-06 14:08:38 -0600 asked a question [SOLVED][Pike][Octavia] Cannot create LB from Horizon

RDO Pike Packages:

openstack-dashboard-12.0.3-1.el7.noarch
openstack-neutron-lbaas-ui-3.0.2-1.el7.noarch
openstack-octavia-common-1.0.2-1.el7.noarch
openstack-octavia-worker-1.0.2-1.el7.noarch
openstack-octavia-housekeeping-1.0.2-1.el7.noarch
openstack-octavia-api-1.0.2-1.el7.noarch
python-octavia-1.0.2-1.el7.noarch
openstack-octavia-health-manager-1.0.2-1.el7.noarch

I followed the guide at https://docs.openstack.org/octavia/pi... and successfully installed Octavia in RDO Pike. The only extra step I did was create a service named 'octavia' and also added endpoints of 'load-balancer' type.

Once Octavia started, I was unable to create load balancer using "neutron lbaas-loadbalancer-create .." command as it failed with the error:

Driver error: 'NoneType' object has no attribute 'rstrip' Neutron server returns request_ids: ['req-a355a097-6b4e-44b5-a9dd-f4777b4db299']

However, I then installed python-octaviaclient after which I was able to successfully create Octavia load balancers using "openstack loadbalancer create .." and everything work perfectly - amphora was created fine, round-robin algorithm and monitoring worked great as well.

Questions:

  1. All the examples I see online use neutron command to create octavia load balancers, but I can only create it using "openstack" command (python-octaviaclient). Why is that? Where did I go wrong?

  2. When I create load balancer from Horizon, it also gives me the same error that I get when using neutron CLI. How can I get it working with Octavia?

  3. Was creating service and endpoints a mistake?

  4. https://developer.openstack.org/api-r... says:

During the neutron-lbaas deprecation period a pass-through proxy will be included in neutron to allow requests via neutron and the neutron-lbaas v2 API to continue to function.

If so, then why is the request to create LB not being forwarded to Octavia properly?

Please assist..

2017-04-03 08:20:00 -0600 received badge  Famous Question (source)
2016-08-24 23:57:59 -0600 received badge  Notable Question (source)
2016-08-17 04:23:17 -0600 received badge  Enthusiast
2016-08-15 04:59:33 -0600 received badge  Popular Question (source)
2016-08-12 13:25:59 -0600 received badge  Student (source)
2016-08-12 13:25:50 -0600 answered a question openstack client can't create virtual machine

"nova" is probably using a different API endpoint for glance than "openstack"

2016-08-12 13:25:50 -0600 asked a question Will DVR ever support linuxbridge

Hi,

WIll DVR ever support LinuxBridge? Or will it always remain a OpenvSwitch thing?