{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1201","repository_url":"https://api.github.com/repos/cloudfoundry/bosh","labels_url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1201/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1201/comments","events_url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1201/events","html_url":"https://github.com/cloudfoundry/bosh/issues/1201","id":147460585,"number":1201,"title":"Bosh cannot update CF quotas","user":{"login":"mtekel","id":483891,"avatar_url":"https://avatars.githubusercontent.com/u/483891?v=3","gravatar_id":"","url":"https://api.github.com/users/mtekel","html_url":"https://github.com/mtekel","followers_url":"https://api.github.com/users/mtekel/followers","following_url":"https://api.github.com/users/mtekel/following{/other_user}","gists_url":"https://api.github.com/users/mtekel/gists{/gist_id}","starred_url":"https://api.github.com/users/mtekel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtekel/subscriptions","organizations_url":"https://api.github.com/users/mtekel/orgs","repos_url":"https://api.github.com/users/mtekel/repos","events_url":"https://api.github.com/users/mtekel/events{/privacy}","received_events_url":"https://api.github.com/users/mtekel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-11T15:12:44Z","updated_at":"2016-04-11T17:06:02Z","closed_at":"2016-04-11T17:06:02Z","body":"When you define quotas in CF manfest, e.g.\r\n```yaml\r\n    quota_definitions:\r\n      default:\r\n        memory_limit: 10240\r\n        non_basic_services_allowed: true\r\n        total_routes: 1000\r\n        total_services: 100\r\n```\r\nBOSH will create them. But when you change any values, BOSH will apply your changes - which will finish successfully, but the quota in CF will not be updated. In cc logs, you can find quota collision logs:\r\n```json\r\n{\r\n    \"data\": {\r\n        \"name\": \"default\",\r\n        \"values\": {\r\n            \"memory_limit\": 2048,\r\n            \"non_basic_services_allowed\": false,\r\n            \"total_routes\": 1000,\r\n            \"total_services\": 10\r\n        }\r\n    },\r\n    \"fiber_id\": 47214725162920,\r\n    \"file\": \"/var/vcap/data/packages/cloud_controller_ng/6d32e116fa47763d6885214954e0d737c28b29e5.1-aa02996eae5e64a4ff823957b8ec5baf64d0b2b5/cloud_controller_ng/lib/cloud_controller/seeds.rb\",\r\n    \"lineno\": 20,\r\n    \"log_level\": \"warn\",\r\n    \"message\": \"seeds.quota-collision\",\r\n    \"method\": \"block in create_seed_quota_definitions\",\r\n    \"process_id\": 10857,\r\n    \"source\": \"cc.seeds\",\r\n    \"thread_id\": 47214699944340,\r\n    \"timestamp\": 1460386421.1394439\r\n}\r\n```\r\nand\r\n```json\r\n{\r\n    \"data\": {\r\n        \"existing_quota_name\": \"default\"\r\n    },\r\n    \"fiber_id\": 47214725162920,\r\n    \"file\": \"/var/vcap/data/packages/cloud_controller_ng/6d32e116fa47763d6885214954e0d737c28b29e5.1-aa02996eae5e64a4ff823957b8ec5baf64d0b2b5/cloud_controller_ng/lib/cloud_controller/seeds.rb\",\r\n    \"lineno\": 46,\r\n    \"log_level\": \"warn\",\r\n    \"message\": \"seeds.system-domain-organization.collision\",\r\n    \"method\": \"create_seed_organizations\",\r\n    \"process_id\": 10857,\r\n    \"source\": \"cc.seeds\",\r\n    \"thread_id\": 47214699944340,\r\n    \"timestamp\": 1460386421.1927507\r\n}\r\n```\r\nCF release 228, BOSH version 253\r\n\r\nUpdating quotas with `cf update-quota` works normally."}}