[Bug 1534655] [NEW] Autoscaling auth failure in OpenStack Kilo 2015.1.2

2016-01-15 Thread Jakub Pavlik
Public bug reported:

We upgraded environment to OpenStack Kilo 2015.1.2 and then we cannot
use heat autoscaling feature anymore.

Keystone version 1:2015.1.2-0ubuntu2~cloud0
Heat version 2015.1.2-0ubuntu1~cloud0

- First we hit authentication failure on ec2tokens heat-api-cfn.log

2016-01-15 14:21:07.505 6590 INFO heat.api.aws.ec2token [-] Checking AWS 
credentials..
2016-01-15 14:21:07.507 6590 INFO heat.api.aws.ec2token [-] AWS credentials 
found, checking against keystone.
2016-01-15 14:21:07.509 6590 INFO heat.api.aws.ec2token [-] Authenticating with 
http://10.200.26.10:5000/ec2tokens
2016-01-15 14:21:07.533 6590 INFO heat.api.aws.ec2token [-] AWS authentication 
failure.
2016-01-15 14:21:07.535 6590 INFO eventlet.wsgi.server [-] 10.200.26.11 - - 
[15/Jan/2016 14:21:07] "POST 
/v1/signal/arn%3Aopenstack%3Aheat%3A%3A4a28da719dc64deb9d1d5cfa770bbca2%3Astacks%2Fheat_autoscale_cpu_vpc20%2F3a268b22-d436-4cf8-9088-8418702be09a%2Fresources%2Fserver_scaleup_policy?Timestamp=2016-01-15T13%3A14%3A22Z=HmacSHA256=f042045aabc74728a49059a4c52226bf=2=GomCM13riX1UYu3OpJZ3ERXpfekHkmeACA4DznTL6g8%3D
 HTTP/1.1" 403 301 0.031258

We applied patch to keystone  https://bugs.launchpad.net/openstack-
ansible/+bug/1515485
https://git.openstack.org/cgit/openstack/keystone/commit/?id=f66badae63b1544c3bcc83e0c1afc8e9cdc71bab

Then we hit error on python-novaclient auth boot during autoscaling
heat-engine.log

2016-01-15 06:43:05.836 11301 ERROR heat.engine.stack 
[req-fd1fd187-1be5-489a-803b-8c08e491ebd4 - 4a28da719dc64deb9d1d5cfa770bbca2] 
Exception: (NotFound(),)
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack Traceback (most recent 
call last):
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/heat/engine/stack.py", line 593, in validate
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack result = 
res.validate()
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/heat/engine/resources/openstack/nova/server.py",
 line 1254, in validate
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack limits = 
self.client_plugin().absolute_limits()
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/heat/engine/clients/os/nova.py", line 439, in 
absolute_limits
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack limits = 
self.client().limits.get()
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/novaclient/v2/limits.py", line 100, in get
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack return 
self._get("/limits%s" % query_string, "limits")
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/novaclient/base.py", line 147, in _get
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack _resp, body = 
self.api.client.get(url)
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 440, in get
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack return 
self._cs_request(url, 'GET', **kwargs)
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 427, in 
_cs_request
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack self.authenticate()
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 569, in 
authenticate
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack 
self._v2_auth(auth_url)
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 634, in _v2_auth
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack return 
self._authenticate(url, body)
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 647, in 
_authenticate
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack **kwargs)
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 392, in 
_time_request
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack resp, body = 
self.request(url, method, **kwargs)
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack   File 
"/usr/lib/python2.7/dist-packages/novaclient/client.py", line 386, in request
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack raise 
exceptions.from_response(resp, body, url, method)
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack NotFound: The resource 
could not be found. (HTTP 404)
2016-01-15 06:43:05.836 11301 TRACE heat.engine.stack 
2016-01-15 06:43:05.838 11301 INFO heat.engine.stack 
[req-fd1fd187-1be5-489a-803b-8c08e491ebd4 - 4a28da719dc64deb9d1d5cfa770bbca2] 
Failed to validate: The resource could not be found. (HTTP 404)


It was caused by bad auth_url argument passed into novaclient - 

[Bug 1240049] Re: multipath udev rules problem

2015-08-14 Thread Jakub Pavlik
I can confirm that multipath 0.5.0-7ubuntu3 resolved the issue. We had
to built it for trusty 14.04.3 from willy.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1240049

Title:
  multipath udev rules problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1240049/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1032550] Re: [multipath] failed to get sysfs information

2015-01-07 Thread Jakub Pavlik
I can confirm this issue at

root@cpt151:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 14.04.1 LTS
Release:14.04
Codename:   trusty


root@cpt151:~# dpkg -s multipath-tools
Package: multipath-tools
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 626
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: amd64
Version: 0.4.9-3ubuntu7.2
Depends: libaio1 (= 0.3.106-8), libc6 (= 2.14), libdevmapper1.02.1 (= 
2:1.02.36), libreadline6 (= 6.0), udev ( 136-1), initscripts (= 2.85-16), 
kpartx (= 0.4.9-3ubuntu7.2), lsb-base (= 3)
Suggests: multipath-tools-boot
Conflicts: multipath-tools-boot (= 0.4.8+git0.761c66f-2~), 
multipath-tools-initramfs (= 1.0.1)
Conffiles:
 /etc/init.d/multipath-tools-boot e3b1a4949a282ceeda254c185f780002
 /etc/init.d/multipath-tools b0f5ff36184c823ec91ffd8b36133949
Description: maintain multipath block device access
 These tools are in charge of maintaining the disk multipath device maps and
 react to path and map events.
 .
 If you install this package you may have to change the way you address block
 devices. See README.Debian for details.
Homepage: http://christophe.varoqui.free.fr/
Original-Maintainer: Debian LVM Team 
pkg-lvm-maintain...@lists.alioth.debian.org

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1032550

Title:
  [multipath]  failed to get sysfs information

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1032550/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs