Error unicode encoder ascii with cinder when trying to launch an instance
Hello My env is
- 3 nodes (controller, network, compute)
- the hypervisor is xenserver
- cinder is installed on controller node
- my cinder my configuration for backend is
[lvm] volume_backend_name=lvm volume_driver=cinder.volume.drivers.lvm.LVMVolumeDriver iscsi_ip_address=controller iscsi_protocol=iscsi iscsi_helper=lioadm volume_group=cinder-volumes volumes_dir=/var/lib/cinder/volumes
i try to lauchn instances and get error at block device mapping step. When i look at the volume log of cinder i get
sudo cinder-rootwrap /etc/cinder/rootwrap.conf cinder-rtstool create /dev/cinder-volumes/volume-1fd8e239-7cf7-4607-9213-ca7d1c5831b3 iqn.2010-10.org.openstack:volume-1fd8e239-7cf7-4607-9213-ca7d1c5831b3 fNuAoqyQGh6dFiBYRKTn aSRMHhkRUDzds5iG False -p3260 -acontroller
> ERROR cinder.volume.targets.lio Stderr: u'Traceback (most recent call last):\n File "/bin/cinder-rtstool", line 10, in <module>\n sys.exit(main())\n File "/usr/lib/python2.7/site-packages/cinder/cmd/rtstool.py", line 287, in main\n **optional_args)\n File "/usr/lib/python2.7/site-packages/cinder/cmd/rtstool.py", line 92, in create\n % {\'msg_type\': msg_type, \'port\': portals_port, \'ip\': ip})\nUnicodeEncodeError: \'ascii\' codec can\'t encode character u\'\\xe9\' in position 10: ordinal not in range(128)\n'
When i try to launch an instance qithout creating a volume i got this error on nova-compute.log
Cannot find SR of content-type ISO
But i do have a NFS ISO on my xenserver hypervisor
Hello for now i do not fix the issues about attaching volume. For the second one i find that even if got a SR NFS ISO on xenserver i need to update one setting to
other-config:i18n-key=local-storage-iso
and you can do that withxe sr-param-set uuid=*UUID* other-config:i18n-key=local-storage-iso
To retrive ur uuid you can do
xe sr-list
and copy the uuid of your nfs iso storage. Now i'm facing another issues to launch the instances'XENAPI_PLUGIN_FAILURE', 'network_config', 'PluginError', 'add bridge failed: Package not installed
If someone can help ... and about that cinder ascii bug.thk