Ask Your Question
1

'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128) ERROR WHEN LAUNCHING AN INSTANCE in RDO-Juno

asked 2014-12-06 15:16:01 -0600

Bernhard_Müller_adARTIS gravatar image

No matter how I configure my Juno Installation that I created using RedHat RDO with packstack --allinone, I always get this pesky error when I am launching an instance:

Fault

Message 'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128) Code 500 Details File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2014, in do_build_and_run_instance filter_properties) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2149, in _build_and_run_instance instance_uuid=instance.uuid, reason=six.text_type(e))

I am running this in a single VirtualBox image on a MacBook Pro and gave the Box 2 CPUs and 2GB RAM. All services are started and seem to be running.

What can I do?

edit retag flag offensive close merge delete

Comments

First. Post the name of instance you try to launch ( does it have non printable characters )
Second. Login to mysql as root :-

MariaDB [(none)]> use keystone ;
MariaDB [keystone]> select * from endpoint ;

search for non printable characters

dbaxps gravatar imagedbaxps ( 2014-12-07 09:19:51 -0600 )edit

Add to $HOME/.bashrc :

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
dbaxps gravatar imagedbaxps ( 2014-12-07 09:54:31 -0600 )edit

Please post keystonerc_admin , keystonerc_demo ( suspect for non printable characters )
Finally, any source text or code , which might be edited by you does contain non printable characters.
Hard to believe they were generated on system level. Juno works fine

dbaxps gravatar imagedbaxps ( 2014-12-07 10:27:55 -0600 )edit

2 answers

Sort by » oldest newest most voted
1

answered 2014-12-08 08:17:18 -0600

dbaxps gravatar image

updated 2014-12-08 10:47:56 -0600

Setting debug=True in nova.conf, generated message in German ( non ASCII characters) which meant Internal error: No supported architecture for OS-Type 'hvm' in /var/log/nova/compute.log.
Switching libvirt_type=qemu inside nova.conf, enabled Virtualization support on MacBook Pro && eliminated Unicode issue and brought RDO Juno to working shape. Applied fix is correct per
https://ask.openstack.org/en/question...

edit flag offensive delete link more
0

answered 2014-12-07 12:04:20 -0600

Bernhard_Müller_adARTIS gravatar image

updated 2014-12-08 05:03:13 -0600

Here the contents of the files:

[root@localhost ~]# cat keystonerc_admin export OS_USERNAME=admin export OS_TENANT_NAME=admin export OS_PASSWORD=a6b590b1831c42a7 export OS_AUTH_URL=http://10.0.0.90:5000/v2.0/ export OS_REGION_NAME=RegionOne export PS1='[\u@\h \W(keystone_admin)]\$ '

[root@localhost ~]# cat keystonerc_demo export OS_USERNAME=demo export OS_TENANT_NAME=demo export OS_PASSWORD=7c6fcb7c1da34be3 export OS_AUTH_URL=http://10.0.0.90:5000/v2.0/ export PS1='[\u@\h \W(keystone_demo)]\$ '

The mysql command gives the following:

MariaDB [(none)]> use keystone; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A

edited

Database changed MariaDB [keystone]> select * from endpoint ; +----------------------------------+----------------------------------+-----------+----------------------------------+---------------------------------------------+-------+---------+-----------+ | id | legacy_endpoint_id | interface | service_id | url | extra | enabled | region_id | +----------------------------------+----------------------------------+-----------+----------------------------------+---------------------------------------------+-------+---------+-----------+ | 0b946ce588ec451098f69e99b3397e14 | ebf4e2b245674643bc17131050f93481 | public | 56f0451802324ae590fc6432ab922625 | http://10.0.0.90:5000/v2.0 | {} | 1 | RegionOne | | 0ba5d60c605e45d4b59981f0740d3f25 | 0afad9872a6845078b7b02da32dab8bf | internal | d5af5a8dbd52466c8237be5fe86dab78 | http://10.0.0.90:9696/ | {} | 1 | RegionOne | | 0bfeb07bca4541fd8a887f42e0224bf5 | bf8b20bb571d48c8a8e1d6052541392c | admin | 64b7f7e879944fc0a576e0483d4c3842 | http://10.0.0.90:8774/v2/%(tenant_id)s | {} | 1 | RegionOne | | 117b47f3b1d64ed790a5b12b5efd2260 | bf8b20bb571d48c8a8e1d6052541392c | public | 64b7f7e879944fc0a576e0483d4c3842 | http://10.0.0.90:8774/v2/%(tenant_id)s | {} | 1 | RegionOne | | 1d31345e99494f7f93ffd626c91646ff | ebf4e2b245674643bc17131050f93481 | internal | 56f0451802324ae590fc6432ab922625 | http://10.0.0.90:5000/v2.0 | {} | 1 | RegionOne | | 20306bee5db446bf963d0a2c2f5a527a | 0afad9872a6845078b7b02da32dab8bf | public | d5af5a8dbd52466c8237be5fe86dab78 | http://10.0.0.90:9696/ | {} | 1 | RegionOne | | 232201a6b84d4ad993d9ac120a4141c6 | 1c19cc1c195f4abeac7421aca28a3c92 | admin | 095279e46a514028a46a43abfde9dce1 | http://10.0.0.90:8777 | {} | 1 | RegionOne | | 25d5332b07e64df99e4b26ddbb174638 | 29f736d25bcf479ea659aa30800ec895 | public | 1ef8b71b525840cbb6772ca4d9bbb50d | http://10.0.0.90:8776/v1/%(tenant_id)s | {} | 1 | RegionOne | | 2b33b7c5e7b04097b93122825269a1cc | 0afad9872a6845078b7b02da32dab8bf | admin | d5af5a8dbd52466c8237be5fe86dab78 | http://10.0.0.90:9696/ | {} | 1 | RegionOne | | 424c026156b8486d903feb1d10a66886 | 29f736d25bcf479ea659aa30800ec895 | admin | 1ef8b71b525840cbb6772ca4d9bbb50d | http://10.0.0.90:8776/v1/%(tenant_id)s | {} | 1 | RegionOne | | 4887fdf02fa440a7ad157427fe16b2b4 | e09ef59591a94d6fa59b8b7f27e2b1d6 | admin | d479b554c3434629a5e77072124c7873 | http://10.0.0.90:9292 | {} | 1 | RegionOne | | 4acc551037ae43d2827eaecbae443e89 | 9cdf6a92ce0f418db1edcc0e3beaac5a | admin | 6e159f559ded4acdb5fbd5a1b3373e8d | http://10.0.0.90:8774/v3 | {} | 1 | RegionOne | | 56f08188756e41deb5abc461f9f1be1b | e09ef59591a94d6fa59b8b7f27e2b1d6 | public | d479b554c3434629a5e77072124c7873 | http://10.0.0.90:9292 | {} | 1 | RegionOne | | 5b602312eea54fea9b406b2f2cabc64b | 9cdf6a92ce0f418db1edcc0e3beaac5a | public | 6e159f559ded4acdb5fbd5a1b3373e8d | http://10.0.0.90:8774/v3 | {} | 1 | RegionOne | | 5c0286776b554614845f7e3d68d84720 | 5c69d7be4e354ba599db1f735c13fcb5 | admin | 0af75b504d6a4064a4dd29a656fa7172 | http://10.0.0.90:8080 | {} | 1 | RegionOne | | 5e50def1bf374771912480ad3ab8331d | f213ea0c84914f2db2fe93a9ad0b62b2 | public | 572a39ed67cd4832b52da6fc0da3735c | http://10.0.0.90:8776/v2/%(tenant_id)s | {} | 1 | RegionOne | | 6129fdbfd63b484aa10af1f9b984933c | 1c19cc1c195f4abeac7421aca28a3c92 | public | 095279e46a514028a46a43abfde9dce1 | http://10.0.0.90:8777 | {} | 1 | RegionOne | | 66aa997d12334220a49f26c321dfcdfa | 29f736d25bcf479ea659aa30800ec895 | internal | 1ef8b71b525840cbb6772ca4d9bbb50d | http://10.0.0.90:8776/v1/%(tenant_id)s | {} | 1 | RegionOne | | 6bf7954a83e5423fb48fee2fc4ed5124 | e09ef59591a94d6fa59b8b7f27e2b1d6 | internal | d479b554c3434629a5e77072124c7873 | http://10.0.0.90:9292 | {} | 1 | RegionOne | | 6d24f63224c840b89a56dccdde644d76 | c18b69f2fc9c48f7b6bf5cc93e00cd64 | internal | acae43902ba44302b657217be3f08f00 | http://10.0.0.90:8080/v1/AUTH_%(tenan... | {} | 1 | RegionOne | | 715c30440b7a4a8f87aa1ef9b048a51c | c18b69f2fc9c48f7b6bf5cc93e00cd64 | admin | acae43902ba44302b657217be3f08f00 | http://10.0.0.90:8080/ | {} | 1 | RegionOne | | 77c022d1e4e842dbade46c19433b8fad | 9cdf6a92ce0f418db1edcc0e3beaac5a | internal | 6e159f559ded4acdb5fbd5a1b3373e8d | http://10.0.0.90:8774/v3 | {} | 1 | RegionOne | | 78880facac3440f68505443b0cc65aa9 | b4ac4c9b72c14895a869404a4bd1f00f | public | 79939c40c00743a385c15faa63217a0c | http://10.0.0.90:8773/services/Cloud | {} | 1 | RegionOne | | 7cc506e4155c43e089ca5e19ec0cc21a | f213ea0c84914f2db2fe93a9ad0b62b2 | admin | 572a39ed67cd4832b52da6fc0da3735c | http://10.0.0.90:8776/v2/%(tenant_id)s | {} | 1 | RegionOne | | 924e8659ef224b39aac08e9eb8fa69dd | f213ea0c84914f2db2fe93a9ad0b62b2 | internal | 572a39ed67cd4832b52da6fc0da3735c | http://10.0.0.90:8776/v2/%(tenant_id)s | {} | 1 | RegionOne | | a4953a545c524020aec723f2ac78a04b | 5c69d7be4e354ba599db1f735c13fcb5 | internal | 0af75b504d6a4064a4dd29a656fa7172 | http://10.0.0.90:8080 | {} | 1 | RegionOne | | b8f2c89c740242609fce74ba0ccf3b8b | ebf4e2b245674643bc17131050f93481 | admin | 56f0451802324ae590fc6432ab922625 | http://10.0.0.90:35357/v2.0 | {} | 1 | RegionOne | | cd0f488156e946ea83b665ab75918ec8 | 1c19cc1c195f4abeac7421aca28a3c92 | internal | 095279e46a514028a46a43abfde9dce1 | http://10.0.0.90:8777 | {} | 1 | RegionOne | | cd8dd70a240843f488eeba65afaffb5a | c18b69f2fc9c48f7b6bf5cc93e00cd64 | public | acae43902ba44302b657217be3f08f00 | http://10.0.0.90:8080 ... (more)

edit flag offensive delete link more

Comments

Sorry, run :-

MariaDB [keystone]> select * from endpoint ;
MariaDB [keystone]> select * from service ;
dbaxps gravatar imagedbaxps ( 2014-12-07 12:14:09 -0600 )edit

There is no "s" at the end look my first comment.

dbaxps gravatar imagedbaxps ( 2014-12-07 12:17:01 -0600 )edit

No change so far. The name of my instance is just "test"

Bernhard_Müller_adARTIS gravatar imageBernhard_Müller_adARTIS ( 2014-12-07 13:00:27 -0600 )edit

Please, check ssh keypair ( if created it ), glance image name or cinder volume name. I guess it happened occasionally. It sits somewhere in users input. I have several Juno Clusters on CentOS 7 , never met this error.

dbaxps gravatar imagedbaxps ( 2014-12-07 13:34:46 -0600 )edit

Please, format your answer to make me able read it carefully.

dbaxps gravatar imagedbaxps ( 2014-12-07 13:35:54 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-06 15:16:01 -0600

Seen: 1,790 times

Last updated: Dec 08 '14