The Consumer Price Index rose 2.7 percent from a year ago, as the global trade war started to bite.