{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/4406","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/4406/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/4406/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/4406/events","html_url":"https://github.com/rancher/rancher/issues/4406","id":148431261,"number":4406,"title":"Not able to see container stats , stuck in \"connecting\" state.","user":{"login":"sangeethah","id":4266958,"avatar_url":"https://avatars.githubusercontent.com/u/4266958?v=3","gravatar_id":"","url":"https://api.github.com/users/sangeethah","html_url":"https://github.com/sangeethah","followers_url":"https://api.github.com/users/sangeethah/followers","following_url":"https://api.github.com/users/sangeethah/following{/other_user}","gists_url":"https://api.github.com/users/sangeethah/gists{/gist_id}","starred_url":"https://api.github.com/users/sangeethah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangeethah/subscriptions","organizations_url":"https://api.github.com/users/sangeethah/orgs","repos_url":"https://api.github.com/users/sangeethah/repos","events_url":"https://api.github.com/users/sangeethah/events{/privacy}","received_events_url":"https://api.github.com/users/sangeethah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rancher/rancher/labels/kind/bug","name":"kind/bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rancher/rancher/milestones/63","html_url":"https://github.com/rancher/rancher/milestones/Release%201.1.0-dev1","labels_url":"https://api.github.com/repos/rancher/rancher/milestones/63/labels","id":1674628,"number":63,"title":"Release 1.1.0-dev1","description":"1.1.0-dev1","creator":{"login":"will-chan","id":10134676,"avatar_url":"https://avatars.githubusercontent.com/u/10134676?v=3","gravatar_id":"","url":"https://api.github.com/users/will-chan","html_url":"https://github.com/will-chan","followers_url":"https://api.github.com/users/will-chan/followers","following_url":"https://api.github.com/users/will-chan/following{/other_user}","gists_url":"https://api.github.com/users/will-chan/gists{/gist_id}","starred_url":"https://api.github.com/users/will-chan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-chan/subscriptions","organizations_url":"https://api.github.com/users/will-chan/orgs","repos_url":"https://api.github.com/users/will-chan/repos","events_url":"https://api.github.com/users/will-chan/events{/privacy}","received_events_url":"https://api.github.com/users/will-chan/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":3,"state":"open","created_at":"2016-03-30T18:09:10Z","updated_at":"2016-04-14T20:54:21Z","due_on":"2016-04-23T07:00:00Z","closed_at":null},"comments":2,"created_at":"2016-04-14T17:29:28Z","updated_at":"2016-04-14T20:54:43Z","closed_at":null,"body":"Rancher Version:v1.0.1-rc7\r\nDocker Version: v1.11.0\r\nHost os version:  Ubuntu 15.10 \r\nNot able to see container stats , stuck in \"connecting\" state.\r\n\r\n<img width=\"1284\" alt=\"screen shot 2016-04-14 at 10 24 48 am\" src=\"https://cloud.githubusercontent.com/assets/4266958/14537282/24d6c5f2-022b-11e6-9b42-204ee136a11d.png\">\r\n\r\nThis might be relating to the following validation tests reporting failures that \"per_cpu_usage\" is missing in container_stats\r\n\r\n```\r\n cattlevalidationtest.core.test_container.test_container_stats\r\n Error Details\r\nassert 'per_cpu_usage' in ''\r\n Stack Trace\r\nclient = <cattle.Client object at 0x7ff83bb139d0>, test_name = 'test-170912'\r\n\r\n    def test_container_stats(client, test_name):\r\n        cleanup_items = []\r\n        try:\r\n            container = client.create_container(name=test_name,\r\n                                                imageUuid=TEST_IMAGE_UUID,\r\n                                                networkMode=MANAGED_NETWORK,\r\n                                                attachStdin=True,\r\n                                                attachStdout=True,\r\n                                                tty=True,\r\n                                                command='/bin/bash')\r\n            cleanup_items.append(container)\r\n            container = client.wait_success(container)\r\n    \r\n>           assert_stats(container)\r\n\r\ntests/validation/cattlevalidationtest/core/test_container.py:210: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n\r\ncontainer = {'tty': True, 'hostname': None, 'dataVolumes': [], 'registryCredentialId': None, 'createdTS': 1460610395000, 'labels':...'/bin/bash'], 'entryPoint': None, 'createIndex': None, 'dnsSearch': [u'rancher.internal'], 'ports': None, 'user': None}\r\n\r\n    def assert_stats(container):\r\n        stats = container.stats()\r\n        conn = ws.create_connection(stats.url + '?token=' + stats.token,\r\n                                    timeout=10)\r\n        result = conn.recv()\r\n>       assert 'per_cpu_usage' in result\r\nE       assert 'per_cpu_usage' in ''\r\n\r\ntests/validation/cattlevalidationtest/core/test_container.py:224: AssertionError\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/210145296","html_url":"https://github.com/rancher/rancher/issues/4406#issuecomment-210145296","issue_url":"https://api.github.com/repos/rancher/rancher/issues/4406","id":210145296,"user":{"login":"deniseschannon","id":11410997,"avatar_url":"https://avatars.githubusercontent.com/u/11410997?v=3","gravatar_id":"","url":"https://api.github.com/users/deniseschannon","html_url":"https://github.com/deniseschannon","followers_url":"https://api.github.com/users/deniseschannon/followers","following_url":"https://api.github.com/users/deniseschannon/following{/other_user}","gists_url":"https://api.github.com/users/deniseschannon/gists{/gist_id}","starred_url":"https://api.github.com/users/deniseschannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniseschannon/subscriptions","organizations_url":"https://api.github.com/users/deniseschannon/orgs","repos_url":"https://api.github.com/users/deniseschannon/repos","events_url":"https://api.github.com/users/deniseschannon/events{/privacy}","received_events_url":"https://api.github.com/users/deniseschannon/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T20:54:43Z","updated_at":"2016-04-14T20:54:43Z","body":"We will only be supporting Docker 1.10.3 with v1.0.1. Moving to next release"}}