[ClusterLabs] Question about fence-agents-compute

Adam Spiers aspiers at suse.com
Mon Oct 12 15:16:16 UTC 2015


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




More information about the Users mailing list