Re: [Rdo-list] Tempest_config failure (RDO, Juno, CentOS 7 - heat related?)
by Kaul, Yaniv
Opened https://bugzilla.redhat.com/show_bug.cgi?id=1154633 on the issue.
Y.
> -----Original Message-----
> From: Kaul, Yaniv
> Sent: Sunday, October 19, 2014 5:36 PM
> To: rdo-list(a)redhat.com
> Subject: Tempest_config failure (RDO, Juno, CentOS 7 - heat related?)
>
> Running:
>
>
> [root@lgdrm989 etc]# source ~/keystonerc_admin
> [root@lgdrm989 etc(keystone_admin)]# nova list
> +----+------+--------+------------+-------------+----------+
> | ID | Name | Status | Task State | Power State | Networks |
> +----+------+--------+------------+-------------+----------+
> +----+------+--------+------------+-------------+----------+
>
>
> And then:
>
> [root@lgdrm989 tempest(keystone_admin)]# tools/config_tempest.py --create
> identity.uri $OS_AUTH_URL identity.admin_username $OS_USERNAME
> identity.admin_password $OS_PASSWORD identity.admin_tenant_name
> $OS_TENANT_NAME Traceback (most recent call last):
> File "tools/config_tempest.py", line 639, in <module>
> main()
> File "tools/config_tempest.py", line 132, in main
> create_tempest_users(clients.identity, conf)
> File "tools/config_tempest.py", line 334, in create_tempest_users
> role_name='heat_stack_owner')
> File "tools/config_tempest.py", line 346, in give_role_to_user
> role_id = identity_client.roles.find(name=role_name)
> File "/usr/lib/python2.7/site-packages/keystoneclient/base.py", line 247, in
> find
> raise exceptions.NotFound(404, msg)
> keystoneclient.openstack.common.apiclient.exceptions.NotFound: 404 (HTTP
> 404)
>
>
>
> I do NOT install Heat, perhaps it's related?
>
> [root@lgdrm989 tempest(keystone_admin)]# keystone role-list
> +----------------------------------+----------+
> | id | name |
> +----------------------------------+----------+
> | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ |
> | 8fa13b71c3254144b49f1c499524be0c | admin |
> +----------------------------------+----------+
> [root@lgdrm989 tempest(keystone_admin)]# keystone user-list
> +----------------------------------+--------+---------+------------------+
> | id | name | enabled | email |
> +----------------------------------+--------+---------+------------------+
> | 806cd3634fa94581ac8d20919a86f710 | admin | True | test(a)test.com |
> | 79c6083783584fada7332a6f693e1774 | cinder | True | cinder@localhost |
> | 82daa98d0daa425c909497f9d32c8a07 | demo | True | |
> | 7e079b6e4efc4769bc9648c658780c59 | glance | True | glance@localhost |
> | 7d1a0e4fcd364ca082d2e597c0a34c1a | nova | True | nova@localhost |
> +----------------------------------+--------+---------+------------------+
> root@lgdrm989 tempest(keystone_admin)]# keystone service-list
> +----------------------------------+-----------+-----------+------------------------------+
> | id | name | type | description |
> +----------------------------------+-----------+-----------+------------------------------+
> | 14190e80d56c4176a1d4c60e8563650d | cinder | volume | Cinder
> Service |
> | fc14c944de514eb88b591ce7ff8bb826 | cinder_v2 | volumev2 | Cinder
> Service v2 |
> | 9ac090072dc646af8b261239780aa7c0 | cinderv2 | volumev2 | Cinder
> Service v2 |
> | 2ec4393131904ff3a8cafa5e279f179c | glance | image | Openstack
> Image Service |
> | 8a3a0ac642114f31b0887c128638b3e9 | keystone | identity | OpenStack
> Identity Service |
> | f7ddf444e0a3403ab3f4eede18896191 | nova | compute | Openstack
> Compute Service |
> | 2ce4889813334843ad1c8b3b981d4caf | nova_ec2 | ec2 | EC2
> Service |
> | 7710317d65724318a364cd93cc6d51b2 | novav3 | computev3 | Openstack
> Compute Service v3 |
> +----------------------------------+-----------+-----------+------------------------------+
10 years, 1 month
[Rdo-list] RDO-related Meetups in the coming week (October 20, 2014)
by Rich Bowen
The following are the meetups I'm aware of in the coming week where RDO
enthusiasts will be gathering. If you know of others, please let me
know, and/or add them to http://openstack.redhat.com/Events
If you attend any of these meetups, please take pictures, and send me
some. If you blog about the events (and you should), please send me
that, too.
* Tuesday, October 21 - Sydney -
http://www.meetup.com/Australian-OpenStack-User-Group/events/210190072/
Sydney OpenStack Meetup
* Thursday, October 23 - Helsinki -
http://www.meetup.com/OpenStack-Finland-User-Group/events/203219072/ 3rd
OpenStackFin User Group meetup
* Thursday, October 23 - Seattle -
http://www.meetup.com/OpenStack-Seattle/events/198405682/ OpenStack
Seattle Meetup
* Thursday, October 23 - Pasadena, CA -
http://www.meetup.com/OpenStack-LA/events/211212902/ Under the Hood with
Nova, Libvirt, and KVM
* Thursday, October 23 - Lindon, UT -
http://www.meetup.com/openstack-utah/events/212292712/ OpenStack Utah Meetup
* Friday, October 24 - Pittsburgh, PA -
http://www.meetup.com/openstack-pittsburgh/events/210499422/ OpenStack 101
* Monday, October 27 - Brisbane, Queensland -
http://www.meetup.com/qldjvm/events/213724692/ Red Hat Open Day
And, of course, don't forget that the OpenStack Summit, in Paris, is
just two weeks away! http://openstack.org/summit
--
Rich Bowen - rbowen(a)redhat.com
OpenStack Community Liaison
http://openstack.redhat.com/
10 years, 1 month
[Rdo-list] Tempest_config failure (RDO, Juno, CentOS 7 - heat related?)
by Kaul, Yaniv
Running:
[root@lgdrm989 etc]# source ~/keystonerc_admin
[root@lgdrm989 etc(keystone_admin)]# nova list
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
And then:
[root@lgdrm989 tempest(keystone_admin)]# tools/config_tempest.py --create identity.uri $OS_AUTH_URL identity.admin_username $OS_USERNAME identity.admin_password $OS_PASSWORD identity.admin_tenant_name $OS_TENANT_NAME
Traceback (most recent call last):
File "tools/config_tempest.py", line 639, in <module>
main()
File "tools/config_tempest.py", line 132, in main
create_tempest_users(clients.identity, conf)
File "tools/config_tempest.py", line 334, in create_tempest_users
role_name='heat_stack_owner')
File "tools/config_tempest.py", line 346, in give_role_to_user
role_id = identity_client.roles.find(name=role_name)
File "/usr/lib/python2.7/site-packages/keystoneclient/base.py", line 247, in find
raise exceptions.NotFound(404, msg)
keystoneclient.openstack.common.apiclient.exceptions.NotFound: 404 (HTTP 404)
I do NOT install Heat, perhaps it's related?
[root@lgdrm989 tempest(keystone_admin)]# keystone role-list
+----------------------------------+----------+
| id | name |
+----------------------------------+----------+
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_ |
| 8fa13b71c3254144b49f1c499524be0c | admin |
+----------------------------------+----------+
[root@lgdrm989 tempest(keystone_admin)]# keystone user-list
+----------------------------------+--------+---------+------------------+
| id | name | enabled | email |
+----------------------------------+--------+---------+------------------+
| 806cd3634fa94581ac8d20919a86f710 | admin | True | test(a)test.com |
| 79c6083783584fada7332a6f693e1774 | cinder | True | cinder@localhost |
| 82daa98d0daa425c909497f9d32c8a07 | demo | True | |
| 7e079b6e4efc4769bc9648c658780c59 | glance | True | glance@localhost |
| 7d1a0e4fcd364ca082d2e597c0a34c1a | nova | True | nova@localhost |
+----------------------------------+--------+---------+------------------+
root@lgdrm989 tempest(keystone_admin)]# keystone service-list
+----------------------------------+-----------+-----------+------------------------------+
| id | name | type | description |
+----------------------------------+-----------+-----------+------------------------------+
| 14190e80d56c4176a1d4c60e8563650d | cinder | volume | Cinder Service |
| fc14c944de514eb88b591ce7ff8bb826 | cinder_v2 | volumev2 | Cinder Service v2 |
| 9ac090072dc646af8b261239780aa7c0 | cinderv2 | volumev2 | Cinder Service v2 |
| 2ec4393131904ff3a8cafa5e279f179c | glance | image | Openstack Image Service |
| 8a3a0ac642114f31b0887c128638b3e9 | keystone | identity | OpenStack Identity Service |
| f7ddf444e0a3403ab3f4eede18896191 | nova | compute | Openstack Compute Service |
| 2ce4889813334843ad1c8b3b981d4caf | nova_ec2 | ec2 | EC2 Service |
| 7710317d65724318a364cd93cc6d51b2 | novav3 | computev3 | Openstack Compute Service v3 |
+----------------------------------+-----------+-----------+------------------------------+
10 years, 1 month
[Rdo-list] RHEL OSP 5 neutron controller
by Bill Bartlett
disclaimer: Both openstack on redhat and Foreman are new to me.
I've got the cluster to a state where I'm able to launch instances, but all
of the openstack-related packages are not installing correctly. When
dealing with the neutron-controller, I am having difficulty getting swift
to start. Many other services are up and running, but swift-proxy is
complaining about log handlers which doesn't make much sense to me. Has
anyone seen this and can point me to proper documentation on how to resolve
it?
Thanks,
Bill
My error log looks like this:
<snip>
Oct 17 09:06:16 mac60eb69edd808 puppet-agent[2056]:
(/Stage[main]/Swift::Proxy/Service[swift-proxy]/ensure) ensure changed
'stopped' to 'running'
Oct 17 09:06:16 mac60eb69edd808 proxy-server: Adding required filter dlo to
pipeline at position 3
Oct 17 09:06:16 mac60eb69edd808 proxy-server: Adding required filter
gatekeeper to pipeline at position 0
Oct 17 09:06:16 mac60eb69edd808 proxy-server: Adding required filter
catch_errors to pipeline at position 0
Oct 17 09:06:16 mac60eb69edd808 proxy-server: Pipeline was modified. New
pipeline is "catch_errors gatekeeper healthcheck memcache proxy_logging dlo
keystoneclient.middleware.auth_token:filter_factory keystoneauth
proxy_logging proxy".
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: No handlers could be
found for logger "swift"
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: Traceback (most recent
call last):
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: File
"/usr/bin/swift-proxy-server", line 23, in <module>
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server:
sys.exit(run_wsgi(conf_file, 'proxy-server', default_port=8080, **options))
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: File
"/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 389, in
run_wsgi
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: loadapp(conf_path,
global_conf=global_conf)
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: File
"/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 323, in
loadapp
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: return ctx.create()
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in
create
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: return
self.object_type.invoke(self)
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 207, in
invoke
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: app = filter(app)
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: File
"/usr/lib/python2.7/site-packages/keystoneclient/middleware/auth_token.py",
line 1516, in auth_filter
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: return
AuthProtocol(app, conf)
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: File
"/usr/lib/python2.7/site-packages/keystoneclient/middleware/auth_token.py",
line 486, in __init__
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: if
netaddr.valid_ipv6(auth_host):
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: File
"/usr/lib/python2.7/site-packages/netaddr/strategy/ipv6.py", line 126, in
valid_str
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server: raise
AddrFormatError('Empty strings are not supported!')
Oct 17 09:06:16 mac60eb69edd808 swift-proxy-server:
netaddr.core.AddrFormatError: Empty strings are not supported!
Oct 17 09:06:16 mac60eb69edd808 systemd: openstack-swift-proxy.service:
main process exited, code=exited, status=1/FAILURE
Oct 17 09:06:16 mac60eb69edd808 systemd: Unit openstack-swift-proxy.service
entered failed state.
</snip>
proxy-server.conf
<snip>
# This file is managed by puppet. Do not edit
#
[DEFAULT]
bind_port = 8080
bind_ip = 0.0.0.0
#bind_ip =
workers = 4
user = swift
log_name = swift
log_facility = LOG_LOCAL1
log_level = INFO
log_headers = False
log_address = /dev/log
[pipeline:main]
pipeline = healthcheck cache proxy-logging authtoken keystone proxy-logging
proxy-server
[app:proxy-server]
use = egg:swift#proxy
set log_name = proxy-server
set log_facility = LOG_LOCAL1
set log_level = INFO
set log_address = /dev/log
log_handoffs = true
allow_account_management = true
account_autocreate = true
[filter:authtoken]
log_name = swift
signing_dir = /var/cache/swift
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
auth_host =
auth_port = 35357
auth_protocol = http
auth_uri = http://:5000
# if its defined
admin_tenant_name = services
admin_user = swift
admin_password = r3dapt
delay_auth_decision = 1
cache = swift.cache
include_service_catalog = False
[filter:cache]
use = egg:swift#memcache
memcache_servers = 127.0.0.1:11211
[filter:catch_errors]
use = egg:swift#catch_errors
[filter:healthcheck]
use = egg:swift#healthcheck
[filter:ratelimit]
use = egg:swift#ratelimit
clock_accuracy = 1000
max_sleep_time_seconds = 60
log_sleep_time_seconds = 0
rate_buffer_seconds = 5
account_ratelimit = 0
[filter:proxy-logging]
use = egg:swift#proxy_logging
[filter:keystone]
use = egg:swift#keystoneauth
operator_roles = admin, SwiftOperator
is_admin = true
</snip>
10 years, 1 month
[Rdo-list] how to add repository for the cerfitication test suite
by Wan, Sam
Dear all,
I'm engaged in redhat openstack test.
When I read the user guide, it says to enable the test suite repository with below commands:
subscription-manager repos --enable=rhel-7-server-openstack-5.0-cts-rpms
Seems this does not work on my system:
[root@redhat1 ~]# subscription-manager repos --enable=rhel-7-server-openstack-5.0-cts-rpms
Error: rhel-7-server-openstack-5.0-cts-rpms is not a valid repo ID. Use --list option to see valid repos.
[root@redhat1 ~]#
There's no cts in the repository
[root@redhat1 yum.repos.d]# grep -i cts redhat.repo
[root@redhat1 yum.repos.d]#
Could you please tell me how to add the repository?
Thanks and regards
Sam
10 years, 1 month
[Rdo-list] deployment tools in RDO
by Arkady_Kanevsky@dell.com
For Juno release, which deployment tools will come in each RDO release?
Packstack, Foreman, Staypuft?
Thanks,
Arkady
Arkady Kanevsky, Ph.D.
Director of SW development
Dell ESG
Dell Inc. One Dell Way, MS PS2-47
Round Rock, TX 78682, USA
Phone: 512 723 5264
10 years, 1 month