{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/1445","repository_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/1445/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/1445/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/1445/events","html_url":"https://github.com/rabbitmq/rabbitmq-server/issues/1445","id":280347442,"number":1445,"title":"total_memory_available_override_value missing from rabbit.schema","user":{"login":"tianon","id":161631,"avatar_url":"https://avatars1.githubusercontent.com/u/161631?v=4","gravatar_id":"","url":"https://api.github.com/users/tianon","html_url":"https://github.com/tianon","followers_url":"https://api.github.com/users/tianon/followers","following_url":"https://api.github.com/users/tianon/following{/other_user}","gists_url":"https://api.github.com/users/tianon/gists{/gist_id}","starred_url":"https://api.github.com/users/tianon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianon/subscriptions","organizations_url":"https://api.github.com/users/tianon/orgs","repos_url":"https://api.github.com/users/tianon/repos","events_url":"https://api.github.com/users/tianon/events{/privacy}","received_events_url":"https://api.github.com/users/tianon/received_events","type":"User","site_admin":false},"labels":[{"id":178461384,"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/labels/bug","name":"bug","color":"fc2929","default":true},{"id":178461410,"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/labels/effort-tiny","name":"effort-tiny","color":"a8d1ff","default":false}],"state":"closed","locked":false,"assignee":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars3.githubusercontent.com/u/1090?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"assignees":[{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars3.githubusercontent.com/u/1090?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/milestones/29","html_url":"https://github.com/rabbitmq/rabbitmq-server/milestone/29","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/milestones/29/labels","id":2964246,"number":29,"title":"3.7.1","description":null,"creator":{"login":"dumbbell","id":159804,"avatar_url":"https://avatars2.githubusercontent.com/u/159804?v=4","gravatar_id":"","url":"https://api.github.com/users/dumbbell","html_url":"https://github.com/dumbbell","followers_url":"https://api.github.com/users/dumbbell/followers","following_url":"https://api.github.com/users/dumbbell/following{/other_user}","gists_url":"https://api.github.com/users/dumbbell/gists{/gist_id}","starred_url":"https://api.github.com/users/dumbbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dumbbell/subscriptions","organizations_url":"https://api.github.com/users/dumbbell/orgs","repos_url":"https://api.github.com/users/dumbbell/repos","events_url":"https://api.github.com/users/dumbbell/events{/privacy}","received_events_url":"https://api.github.com/users/dumbbell/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"closed","created_at":"2017-12-07T11:46:41Z","updated_at":"2017-12-27T15:23:50Z","due_on":null,"closed_at":"2017-12-27T15:23:50Z"},"comments":6,"created_at":"2017-12-08T02:19:55Z","updated_at":"2018-05-10T15:29:02Z","closed_at":"2017-12-08T04:18:37Z","author_association":"NONE","body":"It appears that during the conversion to `rabbit.schema` (and the new cuttlefish config) that `total_memory_available_override_value` got lost (from https://github.com/rabbitmq/rabbitmq-server/pull/1234).\r\n\r\nI _believe_ the following is roughly the schema block necessary, but saying that my Erlang is rusty would be a massive understatement: :sweat_smile:\r\n\r\n```erlang\r\n{mapping, \"total_memory_available_override_value\", \"rabbit.total_memory_available_override_value\", [\r\n    {datatype, [integer, string]}]}.\r\n```\r\n\r\n(With both `integer` and `string` because it supports both a raw bytes value or a unit-ed value like `100M`, as noted in the PR which was merged and the docs snippet which describes this value: https://github.com/rabbitmq/rabbitmq-website/blob/12939a7168e268b6ad3df7330b427e7fa27d552f/site/configure.xml#L887-L902, https://github.com/rabbitmq/rabbitmq-server/blob/cbb34bbc93b8353a30739cc5f04a5cda20b727f6/docs/rabbitmq.config.example#L298-L300)\r\n\r\n* RabbitMQ version: 3.7.0\r\n* Erlang version: 20.1.7\r\n* RabbitMQ server and client application log files\r\n```\r\nBOOT FAILED\r\n===========\r\n\r\nConfig file generation failed 02:01:54.539 [error] You've tried to set total_memory_available_override_value, but there is no setting with that name.\r\n02:01:54.539 [error]   Did you mean one of these?\r\n02:01:54.572 [error]     memory_monitor_interval\r\n02:01:54.573 [error]     vm_memory_calculation_strategy\r\n02:01:54.573 [error]     vm_memory_high_watermark.absolute\r\n02:01:54.574 [error] Error generating configuration in phase transform_datatypes\r\n02:01:54.574 [error] Conf file attempted to set unknown variable: total_memory_available_override_value\r\n\r\n\r\nBOOT FAILED\r\n===========\r\n\r\nError description:\r\n    rabbit:start_it/1 line 458\r\n    rabbit:boot_error/2 line 858\r\n    rabbit_lager:log_locations/0 line 43\r\n    rabbit_lager:ensure_lager_configured/0 line 144\r\n    rabbit_lager:lager_configured/0 line 151\r\n    lager:list_all_sinks/0 line 317\r\n    lager_config:get/2 line 71\r\n    ets:lookup(lager_config, {'_global',handlers})\r\nexit:generate_config_file\r\nLog file(s) (may contain more information):\r\n\r\n{\"init terminating in do_boot\",generate_config_file}\r\ninit terminating in do_boot (generate_config_file)\r\n\r\nCrash dump is being written to: /var/log/rabbitmq/erl_crash.dump...done\r\n```\r\n* A runnable code sample, terminal transcript or detailed set of\r\n  instructions that can be used to reproduce the issue\r\n```console\r\n$ grep total /etc/rabbitmq/rabbitmq.conf\r\ntotal_memory_available_override_value = 2147483648\r\n```"},"comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/comments/388089132","html_url":"https://github.com/rabbitmq/rabbitmq-server/issues/1445#issuecomment-388089132","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/1445","id":388089132,"user":{"login":"michaelklishin","id":1090,"avatar_url":"https://avatars3.githubusercontent.com/u/1090?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelklishin","html_url":"https://github.com/michaelklishin","followers_url":"https://api.github.com/users/michaelklishin/followers","following_url":"https://api.github.com/users/michaelklishin/following{/other_user}","gists_url":"https://api.github.com/users/michaelklishin/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelklishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelklishin/subscriptions","organizations_url":"https://api.github.com/users/michaelklishin/orgs","repos_url":"https://api.github.com/users/michaelklishin/repos","events_url":"https://api.github.com/users/michaelklishin/events{/privacy}","received_events_url":"https://api.github.com/users/michaelklishin/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T15:29:02Z","updated_at":"2018-05-10T15:29:02Z","author_association":"OWNER","body":"This is not a support forum. Please take your questions to [rabbitmq-users](https://groups.google.com/forum/#!forum/rabbitmq-users) and provide more details."}}
{"actor":{"display_login":"michaelklishin"}}