Hi Vladislav, On Fri, Jul 12, 2013 at 01:48:34PM +0300, Vladislav Bogdanov wrote: > Hi, > > I wanted to add new node into CIB "in advance", before it is powered on > (to power it on in a standby mode while cl#5169 is not implemented). > > So, I did > ====== > [root@vd01-a tmp]# cat >u > node $id="4" vd01-d \ > attributes standby="on" virtualization="true" > [root@vd01-a tmp]# crm configure load update u > ERROR: 4: invalid object id > ======
According to the w3c recommendation, an id cannot start with a digit. However, I missed that node ids are actually defined as text. The test for node ids is now relaxed. > Exactly the same syntax is accepted for already-known node. The id test happens only for cli snippets. It is assumed that the XML has already been validated. Thanks, Dejan > this is corosync-2.3.1 with nodelist/udpu, pacemaker master and crmsh tip. > > Vladislav > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
