Comment 0 for bug 1618662

Revision history for this message
Nikita Koshikov (nkoshikov) wrote :

Steps to reproduce:
1)Deploy env
2)upload to glance image that contains non-asci character
3)Redeploy-changes

Expected result - deployment should succeed

Actual result - deployment fails:

Here is example of image name:

'Ubuntu 14.04\xc2\xa0for KVM VMs with IPv6'

And this is error from ruby:
ruby /etc/puppet/modules/osnailyfacter/modular/astute/upload_cirros.rb

'ascii' codec can't encode character u'\xa0' in position 4943: ordinal not in range(128)
'ascii' codec can't encode character u'\xa0' in position 4943: ordinal not in range(128)
'ascii' codec can't encode character u'\xa0' in position 4943: ordinal not in range(128)
'ascii' codec can't encode character u'\xa0' in position 4943: ordinal not in range(128)
'ascii' codec can't encode character u'\xa0' in position 4943: ordinal not in range(128)
u.rb:95:in `wait_for_glance': Could not get a list of glance images! (RuntimeError)
        from u.rb:162:in `<main>'