[ClusterLabs] Question about fence-agents-compute
Kazunori INOUE
kazunori.inoue3 at gmail.com
Wed Oct 14 10:39:37 UTC 2015
Hi Adam,
Thank you for the reply.
These errors could be evaded by using the latest devel of
fence-agents-compute and fence-agents-common.
Regards,
Kazunori INOUE
2015-10-13 0:16 GMT+09:00 Adam Spiers <aspiers at suse.com>:
> Kazunori INOUE <kazunori.inoue3 at gmail.com> wrote:
>> [VM_db0101]# export OS_USERNAME=demo ; export OS_PASSWORD=demo ;
>> export OS_AUTH_URL=http://10.0.2.11:5000/v2.0 ; export
>> OS_TENANT_NAME=demo
>> [VM_db0101]# nova list
>> +--------------------------------------+-----------+--------+ (snip)
>> | ID | Name | Status |
>> +--------------------------------------+-----------+--------+
>> | 86d1585c-4085-4dbf-9ffe-f1d97c74cc25 | db0101 | ACTIVE |
>> | f1e1b358-dc6f-405a-8db5-0b7ba6d57f29 | db0201 | ACTIVE |
>> +--------------------------------------+-----------+--------+
>>
>> [VM_db0101]# fence_compute --username=demo --password=demo
>> --tenant-name=demo --auth-url=http://10.0.2.11:5000/v2.0 --action=list
>> -v
>> Starting new HTTP connection (1): 10.0.2.11
>> "POST /v2.0/tokens HTTP/1.1" 200 4170
>> Starting new HTTP connection (1): 10.0.2.11
>> "GET /v2/7ea27b4a490b4e92a36bf0aa1a843bd1/os-hypervisors/detail
>> HTTP/1.1" 200 2591
>> Traceback (most recent call last):
>> File "/usr/sbin/fence_compute", line 248, in <module>
>> main()
>> File "/usr/sbin/fence_compute", line 244, in main
>> result = fence_action(None, options, set_power_status,
>> get_power_status, get_plugs_list, None)
>> File "/usr/share/fence/fencing.py", line 771, in fence_action
>> status = status.upper()
>> AttributeError: 'NoneType' object has no attribute 'upper'
>
> This bug was fixed by
>
> https://github.com/ClusterLabs/fence-agents/commit/43e03260c96ba4ac060f515642823768a7f39ad1
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
More information about the Users
mailing list