{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/4706","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/4706/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/4706/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/4706/events","html_url":"https://github.com/lxc/lxd/issues/4706","id":336613514,"node_id":"MDU6SXNzdWUzMzY2MTM1MTQ=","number":4706,"title":"Container description vanishes after migration","user":{"login":"DeadlyMercury","id":30111954,"node_id":"MDQ6VXNlcjMwMTExOTU0","avatar_url":"https://avatars3.githubusercontent.com/u/30111954?v=4","gravatar_id":"","url":"https://api.github.com/users/DeadlyMercury","html_url":"https://github.com/DeadlyMercury","followers_url":"https://api.github.com/users/DeadlyMercury/followers","following_url":"https://api.github.com/users/DeadlyMercury/following{/other_user}","gists_url":"https://api.github.com/users/DeadlyMercury/gists{/gist_id}","starred_url":"https://api.github.com/users/DeadlyMercury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeadlyMercury/subscriptions","organizations_url":"https://api.github.com/users/DeadlyMercury/orgs","repos_url":"https://api.github.com/users/DeadlyMercury/repos","events_url":"https://api.github.com/users/DeadlyMercury/events{/privacy}","received_events_url":"https://api.github.com/users/DeadlyMercury/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-28T13:06:46Z","updated_at":"2018-06-28T13:50:25Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nGithub issues are used for bug reports. For support questions, please use [our forum](https://discuss.linuxcontainers.org).\r\n\r\nPlease fill the template below as it will greatly help us track down your issue and reproduce it on our side.  \r\nFeel free to remove anything which doesn't apply to you and add more information where it makes sense.\r\n-->\r\n\r\n# Required information\r\n\r\n * Distribution: Ubuntu\r\n * Distribution version: 18.04\r\n * The output of \"lxc info\" or if that fails:\r\n   * Kernel version: 4.13\r\n   * LXC version: 3.0\r\n   * LXD version: 3.0\r\n   * Storage backend in use: zfs\r\n\r\n# Issue description\r\nDescription field vanish if container moved to another node. I was making some works on my nodes so migrating all containers between nodes. And now I have no descriptions at my containers at all, and that is depressing me :(\r\nI want description held if ct was moved or copied.\r\n\r\nAlso I don't understand how to set description with command like \"lxc config set ct description\"... There is no hint for that and description is unknown key. Maybe it could not be done like that?\r\n\r\n# Steps to reproduce\r\n\r\n 1. Create ct!\r\n`# lxc launch stretch test`\r\n 2. Set description!\r\n`# lxc config edit test`\r\n 3. Read it!\r\n```\r\n# lxc list -c ns4SPd\r\n+--------+---------+------+-----------+----------+--------------------------+\r\n|  NAME  |  STATE  | IPV4 | SNAPSHOTS | PROFILES |       DESCRIPTION        |\r\n+--------+---------+------+-----------+----------+--------------------------+\r\n| bl-adm | STOPPED |      | 0         | default  |                          |\r\n+--------+---------+------+-----------+----------+--------------------------+\r\n| test   | RUNNING |      | 0         | default  | my marvelous description |\r\n+--------+---------+------+-----------+----------+--------------------------+\r\n```\r\n 4. Break it!\r\n```\r\n# lxc stop test && lxc move test node02: && lxc move node02:test test\r\n# lxc list -c ns4SPd\r\n+--------+---------+------+-----------+----------+-------------+\r\n|  NAME  |  STATE  | IPV4 | SNAPSHOTS | PROFILES | DESCRIPTION |\r\n+--------+---------+------+-----------+----------+-------------+\r\n| bl-adm | STOPPED |      | 0         | default  |             |\r\n+--------+---------+------+-----------+----------+-------------+\r\n| test   | STOPPED |      | 0         | default  |             |\r\n+--------+---------+------+-----------+----------+-------------+\r\n```\r\n\r\n _5. Set it again... for all containers on all nodes... via \"config edit\"... Don't cry!_\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/401041642","html_url":"https://github.com/lxc/lxd/issues/4706#issuecomment-401041642","issue_url":"https://api.github.com/repos/lxc/lxd/issues/4706","id":401041642,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTA0MTY0Mg==","user":{"login":"stgraber","id":2230599,"node_id":"MDQ6VXNlcjIyMzA1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2230599?v=4","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T13:50:25Z","updated_at":"2018-06-28T13:50:25Z","author_association":"MEMBER","body":"The description is an attribute of containerArgs, so I suspect there's a place where we don't set that field properly for migrated containers... It's odd because I remember fixing something like this before."}}
{"actor":{"display_login":"stgraber"}}