Issuing contrail-logs command fails with the following message:
HTTP error code: 401
The same command was working fine in the previous Contrail versions, because unauthenticated requests to analytics API were allowed. Now HTTP error 401 (unauthorized) is returned.
The solution is to provide admin username and password, as in this example:
root@openstack:~# contrail-logs --admin-user admin --admin-password contrail
2016 Dec 11 23:16:51.672922 openstack [Config:contrail-discovery:0:__default__][SYS_INFO] : discServiceLog:3997 <cl=compute-2:contrail-vrouter-nodemgr,st=Collector> subs service=openstack, assign=2, count=2