Ask Your Question

Tim's profile - activity

2014-12-01 20:39:48 -0500 received badge  Teacher (source)
2014-12-01 18:17:37 -0500 answered a question Midonet Midostack with DevStack

@cloudssky That correct, if the ip can't be directly determined by ifconfig, then you need to specify it in an env variable. The second issue you're having looks like the classic Horizon allowed_hosts issue. You'll need to specify a whitelist of addresses on which Horizon can be accessed in it's config.

I believe it should be at /etc/openstack-dashboard/local.js or something along these lines.

2014-10-21 14:19:02 -0500 commented answer ImportError: No module named rootwrap.cmd

@tehht I solved it for now by installing the upstream version of oslo.rootwrap from pypy with pip install.

2014-10-21 14:11:25 -0500 commented answer ImportError: No module named rootwrap.cmd

@koolhead17 The bug you linked to does not exist. Could you please update with the solution?

2014-07-18 16:52:02 -0500 commented question Unable to load quantum from configuration file /etc/neutron/api-paste.ini - Icehouse

Strangely, the error I seem to be getting is cannot load '/usr/share/neutron/api-paste.ini`. This does exist and is specified in the /etc/init.d/neutron-server file. Should it be pointing to there and not /etc/neutron/api-paste.ini?

2014-07-18 16:33:02 -0500 commented question Unable to load quantum from configuration file /etc/neutron/api-paste.ini - Icehouse

I'm getting the same error on CentOS 6.5 with RDO running a neutron provider plugin (midonet). My api_paste.ini only contains the [filter:authtoken] section.

2014-06-24 23:44:28 -0500 received badge  Famous Question (source)
2014-05-12 17:57:10 -0500 commented question Devstack installation fails with error Requirement.parse('six<1.4.0'))

I get the same on a production deployment of OpenStack with the following trace: http://hastebin.com/esudubemay.rb

This is in /etc/nova/nova-scheduler.log

2014-05-01 16:58:22 -0500 received badge  Notable Question (source)
2014-05-01 16:58:22 -0500 received badge  Famous Question (source)
2014-04-21 10:08:57 -0500 received badge  Notable Question (source)
2014-04-08 06:14:17 -0500 received badge  Popular Question (source)
2014-04-07 16:50:22 -0500 received badge  Scholar (source)
2014-04-07 16:50:13 -0500 answered a question Keystone 'user' commands fail with `HTTP 500 Internal Server Error`

This comes from mismatched versions of keystone and glance present in the precise universe repos. Enable the Ubuntu Cloud Repository for the correct versions.

2014-04-07 16:10:47 -0500 asked a question Keystone 'user' commands fail with `HTTP 500 Internal Server Error`

I'm running through a Havana install on Ubuntu 12.04 and I am unable to modify users. Most of the keystone commands work, but any command that require modifying the db (such as user-delete or user-role-add) fail with Internal Server Error (HTTP 500).

I'm using MariaDB as the backend. No errors in syslog or query-log.

I do see a lot of rollback queries in the query-log, but I assume that's normal?

 keystone --debug user-role-add --user=glance --tenant=service --role=admin
DEBUG:keystoneclient.session:REQ: curl -i -X POST http://10.204.112.58:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "openstack"}}}'
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 10.204.112.58
DEBUG:requests.packages.urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 None
DEBUG:keystoneclient.session:RESP: [200] CaseInsensitiveDict({'date': 'Mon, 07 Apr 2014 21:16:59 GMT', 'transfer-encoding': 'chunked', 'vary': 'X-Auth-Token', 'content-type': 'application/json'})
RESP BODY: {"access": {"token": {"expires": "2014-04-08T21:16:59Z", "id": "7fcb3d62905347ad8160d244c06fdd19", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "654a42abfa354f1bac6abb82b8a62b88", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.204.112.58:35357/v2.0", "region": "regionOne", "internalURL": "http://10.204.112.58:5000/v2.0", "publicURL": "http://10.204.112.58:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "7a7616fbbcf64f5cbe9be8f0c60498eb", "roles": [{"id": "324aa65afb4e4249a0522a8e117b604e", "name": "admin"}], "name": "admin"}}}

DEBUG:iso8601.iso8601:Parsed 2014-04-08T21:16:59Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'21', 'daydash': u'08', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'59', 'tz_minute': None, 'year': u'2014', 'separator': u'T', 'monthdash': u'04', 'day': None, 'minute': u'16'} with default timezone <iso8601.iso8601.Utc object at 0x1f97b10>
DEBUG:iso8601.iso8601:Got u'2014' for 'year' with default None
DEBUG:iso8601.iso8601:Got u'04' for 'monthdash' with default 1
DEBUG:iso8601.iso8601:Got 4 for 'month' with default 4
DEBUG:iso8601.iso8601:Got u'08' for 'daydash' with default 1
DEBUG:iso8601.iso8601:Got 8 for 'day' with default 8
DEBUG:iso8601.iso8601:Got u'21' for 'hour' with default None
DEBUG:iso8601.iso8601:Got u'16' for 'minute' with default None
DEBUG:iso8601.iso8601:Got u'59' for 'second' with default None
DEBUG:keystoneclient.session:REQ: curl -i -X GET http://10.204.112.58:35357/v2.0/users/glance -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: 7fcb3d62905347ad8160d244c06fdd19"
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 10.204.112.58
DEBUG:requests.packages.urllib3.connectionpool:"GET /v2.0/users/glance HTTP/1.1" 404 None
DEBUG:keystoneclient.session:RESP: [404] CaseInsensitiveDict({'date': 'Mon, 07 Apr 2014 21:16:59 GMT', 'transfer-encoding': 'chunked', 'vary': 'X-Auth-Token', 'content-type': 'application/json'})
RESP BODY: {"error": {"message": "Could not find user: glance", "code": 404, "title": "Not Found"}}

DEBUG:keystoneclient.session:Request returned failure status: 404
DEBUG:iso8601.iso8601:Parsed 2014-04-08T21:16:59Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'21', 'daydash': u'08', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'59', 'tz_minute ...
(more)
2014-03-31 03:59:55 -0500 received badge  Popular Question (source)
2014-03-21 15:25:21 -0500 received badge  Student (source)
2014-03-18 22:50:09 -0500 commented question Changes made to Neutron not being implemented

when you create an instance, check that the neutron client correctly shows a newly created port. You may also want to check the libvirt logs for virtio messages.

2014-03-18 22:47:30 -0500 commented answer after login to the openstack GUI I get an error

Just a note here. The allowed_hosts setting can accept wildcards if you having trouble diagnosing if that's the problem.

2014-03-18 22:46:07 -0500 commented question CentOS KVM unable to integrate with CentOS Controller

They keystone warnings are about the lack of a public endpoint. Can you make sure that your compute host is able to reach the nova endpoints registered in keystone? (curls should work).

2014-03-18 22:42:36 -0500 commented answer Neutron vs Hyper-V 3.0

Keep in mind that Hyper-V networking options will also be able to use Neutron plugins to radically extend feature set depending on plugin used.

2014-03-17 16:49:03 -0500 asked a question Custom Ubuntu Cloud Image using Preseed

I've been building custom CentOS and Fedora images for OpenStack using Kickstart files. I realize that this is largely used because CentOS and Fedora pre-built cloud images are not provided by their maintainers. Even though Ubuntu does provide such images, I would also like to build custom versions of these. Is there a similar process for building these (possibly using virt-install and virt-sysprep)?

Alternatively, I could take the pre-built Ubuntu cloud images and modify them (using something like packer) but it would be nice if there was a parallel process for Debian images as there is for RHEL based images.