You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/08/10 21:30:01 UTC

[jira] [Commented] (TC-407) Cannot update a steering type delivery service via API

    [ https://issues.apache.org/jira/browse/TC-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16122370#comment-16122370 ] 

Jeremy Mitchell commented on TC-407:
------------------------------------

This code is supposed to skip the org server requirement check if type is *steering* or any_map

https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/API/Deliveryservice.pm#L1371

can you ensure that the type of DS you are trying to update is truly of type steering? I guess that would mean checking the typeId that is sent in with the request and ensure that it lines up with a steering DS. 

Also, I tried updating a STEERING ds via the api in 2.1.x branch and it seems to work fine.

> Cannot update a steering type delivery service via API
> ------------------------------------------------------
>
>                 Key: TC-407
>                 URL: https://issues.apache.org/jira/browse/TC-407
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops API
>    Affects Versions: 2.1.0
>            Reporter: Joseph Pappano
>            Assignee: Jeremy Mitchell
>
> The API to update a delivery service requires an origin server FQDN. Steering type delivery services to not have one and the api fails with the following error.
> {code}
> {u'alerts': [{u'level': u'error', u'text': u'orgServerFqdn is required'}]}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)