2017-05-06 16:59:09 |
Lajos Gerecs |
description |
Hi All,
I am trying to run VMTP according to these instructions:
http://vmtp.readthedocs.io/en/latest/quickstart_pip.html
I get this error:
(vmtpenv) root@node-1:/home/ubuntu# vmtp -d -c vmtp.cfg -r adminrc -p secret --protocol T --json test.json
2017-05-06 16:46:50,575 INFO Using http://controller:35357/v3
2017-05-06 16:46:50,576 INFO VM public key: /home/ubuntu/cloud.key.pub
2017-05-06 16:46:50,576 INFO VM private key: /home/ubuntu/cloud.key
/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py:142: UserWarning: Using keystoneclient sessions has been deprecated. Please update your software to use keystoneauth1.
warnings.warn('Using keystoneclient sessions has been deprecated. '
2017-05-06 16:46:51,438 ERROR Traceback (most recent call last):
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/vmtp.py", line 464, in run
self.setup()
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/vmtp.py", line 217, in setup
self.image_instance = self.comp.find_image(self.config.image_name)
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/compute.py", line 34, in find_image
image = self.novaclient.images.find(name=image_name)
AttributeError: 'Client' object has no attribute 'images'
The images attribute is not present in python-novaclient version 8.0. See:
https://github.com/openstack/python-novaclient/commit/41f66d15aa83004d5b26f7d510b19cd8c4b39e8b#diff-44e279ea2e50d3bb91894688e57c02f8L156
Solution:
pip install python-novaclient==7.1.0 |
Hi All,
I am trying to run VMTP according to these instructions:
http://vmtp.readthedocs.io/en/latest/quickstart_pip.html
I get this error:
(vmtpenv) root@node-1:/home/ubuntu# vmtp -d -c vmtp.cfg -r adminrc -p secret --protocol T --json test.json
2017-05-06 16:46:50,575 INFO Using http://controller:35357/v3
2017-05-06 16:46:50,576 INFO VM public key: /home/ubuntu/cloud.key.pub
2017-05-06 16:46:50,576 INFO VM private key: /home/ubuntu/cloud.key
/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py:142: UserWarning: Using keystoneclient sessions has been deprecated. Please update your software to use keystoneauth1.
warnings.warn('Using keystoneclient sessions has been deprecated. '
2017-05-06 16:46:51,438 ERROR Traceback (most recent call last):
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/vmtp.py", line 464, in run
self.setup()
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/vmtp.py", line 217, in setup
self.image_instance = self.comp.find_image(self.config.image_name)
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/compute.py", line 34, in find_image
image = self.novaclient.images.find(name=image_name)
AttributeError: 'Client' object has no attribute 'images'
The images attribute is not present in python-novaclient version 8.0. See:
https://github.com/openstack/python-novaclient/commit/41f66d15aa83004d5b26f7d510b19cd8c4b39e8b#diff-44e279ea2e50d3bb91894688e57c02f8L156
Workaroud:
pip install python-novaclient==7.1.0 |
|
2017-05-06 16:59:45 |
Lajos Gerecs |
description |
Hi All,
I am trying to run VMTP according to these instructions:
http://vmtp.readthedocs.io/en/latest/quickstart_pip.html
I get this error:
(vmtpenv) root@node-1:/home/ubuntu# vmtp -d -c vmtp.cfg -r adminrc -p secret --protocol T --json test.json
2017-05-06 16:46:50,575 INFO Using http://controller:35357/v3
2017-05-06 16:46:50,576 INFO VM public key: /home/ubuntu/cloud.key.pub
2017-05-06 16:46:50,576 INFO VM private key: /home/ubuntu/cloud.key
/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py:142: UserWarning: Using keystoneclient sessions has been deprecated. Please update your software to use keystoneauth1.
warnings.warn('Using keystoneclient sessions has been deprecated. '
2017-05-06 16:46:51,438 ERROR Traceback (most recent call last):
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/vmtp.py", line 464, in run
self.setup()
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/vmtp.py", line 217, in setup
self.image_instance = self.comp.find_image(self.config.image_name)
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/compute.py", line 34, in find_image
image = self.novaclient.images.find(name=image_name)
AttributeError: 'Client' object has no attribute 'images'
The images attribute is not present in python-novaclient version 8.0. See:
https://github.com/openstack/python-novaclient/commit/41f66d15aa83004d5b26f7d510b19cd8c4b39e8b#diff-44e279ea2e50d3bb91894688e57c02f8L156
Workaroud:
pip install python-novaclient==7.1.0 |
Hi All,
I am trying to run VMTP according to these instructions:
http://vmtp.readthedocs.io/en/latest/quickstart_pip.html
I get this error:
(vmtpenv) root@node-1:/home/ubuntu# vmtp -d -c vmtp.cfg -r adminrc -p secret --protocol T --json test.json
2017-05-06 16:46:50,575 INFO Using http://controller:35357/v3
2017-05-06 16:46:50,576 INFO VM public key: /home/ubuntu/cloud.key.pub
2017-05-06 16:46:50,576 INFO VM private key: /home/ubuntu/cloud.key
/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/keystoneauth1/adapter.py:142: UserWarning: Using keystoneclient sessions has been deprecated. Please update your software to use keystoneauth1.
warnings.warn('Using keystoneclient sessions has been deprecated. '
2017-05-06 16:46:51,438 ERROR Traceback (most recent call last):
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/vmtp.py", line 464, in run
self.setup()
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/vmtp.py", line 217, in setup
self.image_instance = self.comp.find_image(self.config.image_name)
File "/home/ubuntu/vmtpenv/local/lib/python2.7/site-packages/vmtp/compute.py", line 34, in find_image
image = self.novaclient.images.find(name=image_name)
AttributeError: 'Client' object has no attribute 'images'
The images attribute is not present in python-novaclient version 8.0. See:
https://github.com/openstack/python-novaclient/commit/41f66d15aa83004d5b26f7d510b19cd8c4b39e8b#diff-44e279ea2e50d3bb91894688e57c02f8L156
Workaround:
pip install python-novaclient==7.1.0
Thanks,
Lajos |
|