Pyongyang's main ally and trading partner is China, which is irritated by its repeated aggressive actions but rejects suggestions from the United States and others that it could be doing more to rein in its neighbour.