As stevemar states above, you can cause this error in the openstack client by exporting OS_TOKEN. Even if this is valid (it works with cURL), the client breaks:
$ export OS_TOKEN=xyz
$ openstack server list
__init__() got an unexpected keyword argument 'token'
$ unset OS_TOKEN
$ openstack server list
+--------------------------------------+-------+--------+--------------------------------------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+-------+--------+--------------------------------------------------------+
| c3ee781d-bda8-4bfb-95e9-50d6e5b8820d | test1 | ACTIVE | private=10.0.0.3, fd47:d64b:f3e1:0:f816:3eff:fe41:a88a |
+--------------------------------------+-------+--------+--------------------------------------------------------+
As stevemar states above, you can cause this error in the openstack client by exporting OS_TOKEN. Even if this is valid (it works with cURL), the client breaks:
$ export OS_TOKEN=xyz ------- ------- ------- ------- ------- -+----- --+---- ----+-- ------- ------- ------- ------- ------- ------- ------- -----+ ------- ------- ------- ------- ------- -+----- --+---- ----+-- ------- ------- ------- ------- ------- ------- ------- -----+ bda8-4bfb- 95e9-50d6e5b882 0d | test1 | ACTIVE | private=10.0.0.3, fd47:d64b: f3e1:0: f816:3eff: fe41:a88a | ------- ------- ------- ------- ------- -+----- --+---- ----+-- ------- ------- ------- ------- ------- ------- ------- -----+
$ openstack server list
__init__() got an unexpected keyword argument 'token'
$ unset OS_TOKEN
$ openstack server list
+--
| ID | Name | Status | Networks |
+--
| c3ee781d-
+--