Hi,
I seem to always get into a big python module dependency mess.
With 1.3dev13 and following (see below) modules available
I get
2019-05-07 16:41:53 elasticluster-final.novalocal gc3.elasticluster[4934]
WARNING CryptographyDeprecationWarning: signer and verifier have been
deprecated. Please use sign and verify instead.
No handlers could be found for logger "paramiko.transport"
2019-05-07 16:41:53 elasticluster-final.novalocal gc3.elasticluster[4934]
ERROR Error: from_buffer() cannot return the address of the raw string
within a str or unicode or bytearray object
Traceback (most recent call last):
File "/home/centos/elasticluster_07052019/src/elasticluster/__main__.py",
line 206, in main
return self.params.func()
File
"/home/centos/elasticluster_07052019/src/elasticluster/subcommands.py",
line 91, in __call__
return self.execute()
File
"/home/centos/elasticluster_07052019/src/elasticluster/subcommands.py",
line 475, in execute
cluster.start()
File "/home/centos/elasticluster_07052019/src/elasticluster/cluster.py",
line 492, in start
started_nodes, self.start_timeout, self.ssh_probe_timeout)
File "/home/centos/elasticluster_07052019/src/elasticluster/cluster.py",
line 642, in _gather_node_ip_addresses
timeout=ssh_timeout)
File "/home/centos/elasticluster_07052019/src/elasticluster/cluster.py",
line 1437, in connect
ssh.connect(str(addr), port=port, **extra)
File "/usr/lib/python2.7/site-packages/paramiko/client.py", line 338, in
connect
t.start_client(timeout=timeout)
File "/usr/lib/python2.7/site-packages/paramiko/transport.py", line 499,
in start_client
raise e
TypeError: from_buffer() cannot return the address of the raw string within
a str or unicode or bytearray object
Aborting because of errors: from_buffer() cannot return the address of the
raw string within a str or unicode or bytearray object.
(elasticluster_07052019)[centos@elasticluster-final ~]$ sudo pip freeze
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020.
Please upgrade your Python as Python 2.7 won't be maintained after that
date. A future version of pip will drop support for Python 2.7.
adal==1.0.1
ansible==2.7.8
apache-libcloud==2.3.0
appdirs==1.4.3
asn1crypto==0.24.0
azure==3.0.0
azure-batch==4.1.3
azure-common==1.1.12
azure-cosmosdb-nspkg==2.0.2
azure-cosmosdb-table==1.0.3
azure-datalake-store==0.0.22
azure-eventgrid==0.1.0
azure-graphrbac==0.40.0
azure-keyvault==0.3.7
azure-mgmt==2.0.0
azure-mgmt-advisor==1.0.1
azure-mgmt-applicationinsights==0.1.1
azure-mgmt-authorization==0.30.0
azure-mgmt-batch==5.0.1
azure-mgmt-batchai==0.2.0
azure-mgmt-billing==0.1.0
azure-mgmt-cdn==2.0.0
azure-mgmt-cognitiveservices==2.0.0
azure-mgmt-commerce==1.0.1
azure-mgmt-compute==3.0.1
azure-mgmt-consumption==2.0.0
azure-mgmt-containerinstance==0.3.1
azure-mgmt-containerregistry==1.0.1
azure-mgmt-containerservice==3.0.1
azure-mgmt-cosmosdb==0.3.1
azure-mgmt-datafactory==0.4.0
azure-mgmt-datalake-analytics==0.3.0
azure-mgmt-datalake-nspkg==2.0.0
azure-mgmt-datalake-store==0.3.0
azure-mgmt-devtestlabs==2.2.0
azure-mgmt-dns==1.2.0
azure-mgmt-eventgrid==0.4.0
azure-mgmt-eventhub==1.2.0
azure-mgmt-hanaonazure==0.1.1
azure-mgmt-iothub==0.4.0
azure-mgmt-iothubprovisioningservices==0.1.0
azure-mgmt-keyvault==0.40.0
azure-mgmt-loganalytics==0.1.0
azure-mgmt-logic==2.1.0
azure-mgmt-machinelearningcompute==0.4.1
azure-mgmt-managementpartner==0.1.0
azure-mgmt-marketplaceordering==0.1.0
azure-mgmt-media==0.2.0
azure-mgmt-monitor==0.4.0
azure-mgmt-msi==0.1.0
azure-mgmt-network==1.7.1
azure-mgmt-notificationhubs==1.0.0
azure-mgmt-nspkg==2.0.0
azure-mgmt-powerbiembedded==1.0.0
azure-mgmt-rdbms==0.1.0
azure-mgmt-recoveryservices==0.2.0
azure-mgmt-recoveryservicesbackup==0.1.1
azure-mgmt-redis==5.0.0
azure-mgmt-relay==0.1.0
azure-mgmt-reservations==0.1.0
azure-mgmt-resource==1.2.2
azure-mgmt-scheduler==1.1.3
azure-mgmt-search==1.0.0
azure-mgmt-servermanager==1.2.0
azure-mgmt-servicebus==0.4.0
azure-mgmt-servicefabric==0.1.0
azure-mgmt-sql==0.8.6
azure-mgmt-storage==1.5.0
azure-mgmt-subscription==0.1.0
azure-mgmt-trafficmanager==0.40.0
azure-mgmt-web==0.34.1
azure-nspkg==2.0.0
azure-servicebus==0.21.1
azure-servicefabric==6.1.2.9
azure-servicemanagement-legacy==0.20.6
azure-storage-blob==1.1.0
azure-storage-common==1.1.0
azure-storage-file==1.1.0
azure-storage-nspkg==3.0.0
azure-storage-queue==1.1.0
Babel==2.5.3
backports.ssl-match-hostname==3.4.0.2
bcrypt==3.1.4
boto==2.48.0
cachetools==2.1.0
certifi==2018.4.16
cffi==1.11.2
chardet==3.0.4
Cheetah==2.4.4
click==6.7
cliff==2.12.0
cloud-init==0.7.5
cmd2==0.8.7
coloredlogs==10.0
configobj==4.7.2
configparser==3.5.0
contextlib2==0.5.5
cryptography==2.6.1
debtcollector==1.19.0
decorator==3.4.0
deprecation==2.0.2
dogpile.cache==0.6.5
-e
git://github.com/gc3-uzh-ch/elasticluster.git@74479fe9c070547e9c6cdac375d0e1087b7dcb12#egg=elasticluster
entrypoints==0.2.3
enum34==1.1.6
funcsigs==1.0.2
functools32==3.2.3.post2
future==0.17.1
futures==3.2.0
google-api-python-client==1.7.3
google-auth==1.5.0
google-auth-httplib2==0.0.3
google-compute-engine==2.8.3
httplib2==0.9.2
humanfriendly==4.12.1
idna==2.6
iniparse==0.4
ip-associations-python-novaclient-ext==0.2
ipaddress==1.0.19
IPy==0.75
iso8601==0.1.12
isodate==0.6.0
Jinja2==2.10
jmespath==0.9.3
jsonpatch==1.23
jsonpointer==1.9
jsonschema==2.6.0
keyring==12.2.1
keystoneauth1==3.13.1
kitchen==1.1.1
Markdown==2.4.1
MarkupSafe==1.0
monotonic==1.4
msgpack==0.5.6
msrest==0.5.0
msrestazure==0.4.32
munch==2.3.1
netaddr==0.7.19
netifaces==0.10.6
oauth==1.0.1
oauth2client==4.1.3
oauthlib==2.1.0
openstacksdk==0.13.0
os-client-config==1.29.0
os-diskconfig-python-novaclient-ext==0.1.3
os-networksv2-python-novaclient-ext==0.26
os-service-types==1.2.0
os-virtual-interfacesv2-python-novaclient-ext==0.20
osc-lib==1.10.0
oslo.config==6.2.1
oslo.context==2.21.0
oslo.i18n==3.20.0
oslo.log==3.38.1
oslo.serialization==2.25.0
oslo.utils==3.36.0
packaging==17.1
paramiko==2.4.2
pathlib2==2.3.2
pbr==4.0.2
perf==0.1
Pillow==2.0.0
ply==3.4
policycoreutils-default-encoding==0.1
prettytable==0.7.2
pyasn1==0.4.5
pyasn1-modules==0.2.1
pyCLI==2.0.3
pycparser==2.18
pycrypto==2.6.1
pycurl==7.19.0
Pygments==1.4
pygobject==3.14.0
pygpgme==0.3
pyinotify==0.9.6
PyJWT==1.6.4
pyliblzma==0.5.3
PyNaCl==1.2.1
pyOpenSSL==19.0.0
pyparsing==2.2.0
pyperclip==1.6.2
pyserial==3.4
python-cinderclient==3.6.0
python-dateutil==2.7.3
python-gflags==3.1.2
python-glanceclient==2.11.1
python-keyczar==0.71rc0
python-keystoneclient==3.16.0
python-neutronclient==6.9.0
python-novaclient==9.1.2
pytz==2018.4
pyudev==0.15
pyxattr==0.5.1
PyYAML==3.12
rackspace-auth-openstack==1.3
rackspace-novaclient==2.1
rax-default-network-flags-python-novaclient-ext==0.4.0
rax-scheduled-images-python-novaclient-ext==0.3.1
requests==2.21.0
requests-oauthlib==1.0.0
requestsexceptions==1.4.0
rfc3986==1.1.0
rsa==3.4.2
scandir==1.7
schema==0.6.8
SecretStorage==2.3.1
seobject==0.1
sepolicy==1.1
shade==1.28.0
simplejson==3.13.2
six==1.11.0
stevedore==1.28.0
subprocess32==3.5.2
typing==3.6.4
unicodecsv==0.14.1
uritemplate==3.0.0
urlgrabber==3.10
urllib3==1.22
virtualenv==1.10.1
warlock==1.3.0
wcwidth==0.1.7
wrapt==1.10.11
yum-metadata-parser==1.1.4
On Tuesday, May 7, 2019 at 4:05:25 PM UTC+2, Riccardo Murri wrote:
>
> Hello Maiken,
>
> > 1.3.dev13 does not work with paramiko 2.1.1 (or 2.1.2)
>
> To me, the error seems to come from PyOpenSSL rather than Paramiko
> itself? Paramiko ends up using PyOpenSSL through the `cryptography`
> Python package, so probably the version of all three packages should
> be compared.
>
> I have different installations of ElastiCluster running on Paramiko
> 2.2.1 / cryptography 2.0.3 / PyOpenSSL 17.2.0
> and Paramiko 2.4.2 / cryptography 2.6.1 / pyOpenSSL 17.5.0 and both
> are running fine.
>
> Paramiko 2.1.x dates back to 2016-2017; is there a reason why you want
> to run with such an old version?
>
> Ciao,
> R
>
--
You received this message because you are subscribed to the Google Groups
"elasticluster" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticluster/06f2d227-f2c5-4fb3-bd46-3478a398434c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.