[ClusterLabs] Antw: Re: Antw: Re: Antw: Pacemaker cannot update configuration from XML file
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Fri May 29 08:35:01 UTC 2015
>>> Nguyen Xuan Hai <hai.nguyenxuan at toshiba-tsdv.com> schrieb am 29.05.2015 um
10:17 in Nachricht <556820AA.6080108 at toshiba-tsdv.com>:
> Please take a look at the attach file. I used this xml file to update
> and I don't know which line(s) probably cause the problem.
> Please help me, thanks so much.
It doesn't look bad, indeed, but maybe you could try to remove those "cli-prefer" constraints.
Alternatively you could try "crm_verify --xml-file file.xml --verbose" and "cibadmin --replace --xml-file your_XML" to use your XML file instead.
>
> On 5/29/2015 3:02 PM, Ulrich Windl wrote:
>>>>> Nguyen Xuan Hai <hai.nguyenxuan at toshiba-tsdv.com> schrieb am 29.05.2015 um
>> 09:45 in Nachricht <556818FF.4020907 at toshiba-tsdv.com>:
>>> Yes, it's a valid XML file. Because I created it by running command:
>>> crm configure save xml <xml_file>
>>> Then I used this file to update.
>> So maybe show the line(s) that probably cause the problem.
>>
>>> On 5/29/2015 2:33 PM, Ulrich Windl wrote:
>>>>>>> Nguyen Xuan Hai <hai.nguyenxuan at toshiba-tsdv.com> schrieb am 29.05.2015 um
>>>> 09:20 in Nachricht <55681320.9080506 at toshiba-tsdv.com>:
>>>>
>>>> [...]
>>>>> AttributeError: 'NoneType' object has no attribute 'keys'
>>>>>
>>>>> How can I update configuration from XML file?
>>>> Starting with a valid XML file?
>>>>
>>>>> Thanks and Best regards,
>>>>> HaiNX
>>>>>
>>>>>
>>>>> --
>>>>> This mail was scanned by BitDefender
>>>>> For more information please visit http://www.bitdefender.com
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>> --
>>> ================================================================
>>> * Nguyen Xuan Hai (Mr.)
>>> * Software Engineer
>>> * Toshiba Software Development (Vietnam) Co.,Ltd
>>> * 519 Kim Ma street, Ba Dinh District, Hanoi, Vietnam
>>> * tel: +84-4-2220 8801 (Ext. 188)
>>> * e-mail: hai.nguyenxuan at toshiba-tsdv.com
>>> ================================================================
>>> Note: This e-mail message may contain personal information or confidential
>>> information.
>>> If you are not the addressee of this message, please delete this message and
>>> kindly notify the sender as soon as possible -
>>> do not copy, use, or disclose this message.
>>> ================================================================
>>>
>>>
>>> --
>>> This mail was scanned by BitDefender
>>> For more information please visit http://www.bitdefender.com
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>
> --
> ================================================================
> * Nguyen Xuan Hai (Mr.)
> * Software Engineer
> * Toshiba Software Development (Vietnam) Co.,Ltd
> * 519 Kim Ma street, Ba Dinh District, Hanoi, Vietnam
> * tel: +84-4-2220 8801 (Ext. 188)
> * e-mail: hai.nguyenxuan at toshiba-tsdv.com
> ================================================================
> Note: This e-mail message may contain personal information or confidential
> information.
> If you are not the addressee of this message, please delete this message and
> kindly notify the sender as soon as possible -
> do not copy, use, or disclose this message.
> ================================================================
More information about the Users
mailing list