[
https://issues.apache.org/jira/browse/MESOS-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623330#comment-14623330
]
haosdent commented on MESOS-2356:
---------------------------------
mesos use [] to represent the arrays in attributes, such as [10000-20000,
30000-50000].
> mesos-slave dont start if attributes contain square bracket
> -----------------------------------------------------------
>
> Key: MESOS-2356
> URL: https://issues.apache.org/jira/browse/MESOS-2356
> Project: Mesos
> Issue Type: Bug
> Components: slave
> Affects Versions: 0.21.1
> Reporter: Bhuvan Arumugam
>
> we use {{FACTER_productname}} as one of attribute. The IBM servers contain
> square bracket {{[]}} in product name, likely that's the default product name
> defined in BIOS fo these servers; and mesos-slave don't like it.
> mesos-slave fail to come up with this error:
> {code}
> F0213 21:55:10.496964 65277 attributes.cpp:115] Failed to parse attribute
> hardware_model text System x3550 M3 -[7944AC1]- error Unexpected '[' found
> {code}
> {code}
> # facter productname
> System x3550 M3 -[7944AC1]-
> {code}
> it's not uncommon to use productname as one of slave attributes. mesos-slave
> shouldn't complain about it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)