{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/2236","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/2236/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/2236/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/2236/events","html_url":"https://github.com/lxc/lxd/issues/2236","id":167355741,"number":2236,"title":"Allow FQDN as container name?","user":{"login":"candlerb","id":44789,"avatar_url":"https://avatars.githubusercontent.com/u/44789?v=3","gravatar_id":"","url":"https://api.github.com/users/candlerb","html_url":"https://github.com/candlerb","followers_url":"https://api.github.com/users/candlerb/followers","following_url":"https://api.github.com/users/candlerb/following{/other_user}","gists_url":"https://api.github.com/users/candlerb/gists{/gist_id}","starred_url":"https://api.github.com/users/candlerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/candlerb/subscriptions","organizations_url":"https://api.github.com/users/candlerb/orgs","repos_url":"https://api.github.com/users/candlerb/repos","events_url":"https://api.github.com/users/candlerb/events{/privacy}","received_events_url":"https://api.github.com/users/candlerb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-25T12:36:36Z","updated_at":"2016-10-06T02:26:23Z","closed_at":"2016-07-25T15:28:22Z","body":"* Distribution: ubuntu\r\n* Distribution version: 16.04.1\r\n\r\n~~~\r\napicompat: 0\r\nauth: trusted\r\nenvironment:\r\n  addresses: []\r\n  architectures:\r\n  - x86_64\r\n  - i686\r\n  certificate: <<snip>>\r\n  certificatefingerprint: <<snip>>\r\n  driver: lxc\r\n  driverversion: 2.0.3\r\n  kernel: Linux\r\n  kernelarchitecture: x86_64\r\n  kernelversion: 4.4.0-31-generic\r\n  server: lxd\r\n  serverpid: 2699\r\n  serverversion: 2.0.3\r\n  storage: dir\r\n  storageversion: \"\"\r\nconfig: {}\r\npublic: false\r\n~~~\r\n\r\n# Issue description\r\n\r\nIt appears that lxd does not allow container names which are FQDNs.\r\n\r\nHowever it is very desirable to be able to name containers this way, given that an FQDN may already have been allocated - and if it has, it will be globally unique.\r\n\r\nFAILS:\r\n\r\n~~~\r\n$ lxc launch ubuntu:16.04 netbox.int.example.net\r\nCreating netbox.int.example.net\r\nRetrieving image: 100%\r\nerror: Container name isn't a valid hostname.\r\n~~~\r\n\r\nSucceeds:\r\n\r\n~~~\r\n$ lxc launch ubuntu:16.04 netbox\r\nCreating netbox\r\nStarting netbox\r\n~~~\r\n"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/251851774","html_url":"https://github.com/lxc/lxd/issues/2236#issuecomment-251851774","issue_url":"https://api.github.com/repos/lxc/lxd/issues/2236","id":251851774,"user":{"login":"tardich","id":20807320,"avatar_url":"https://avatars.githubusercontent.com/u/20807320?v=3","gravatar_id":"","url":"https://api.github.com/users/tardich","html_url":"https://github.com/tardich","followers_url":"https://api.github.com/users/tardich/followers","following_url":"https://api.github.com/users/tardich/following{/other_user}","gists_url":"https://api.github.com/users/tardich/gists{/gist_id}","starred_url":"https://api.github.com/users/tardich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tardich/subscriptions","organizations_url":"https://api.github.com/users/tardich/orgs","repos_url":"https://api.github.com/users/tardich/repos","events_url":"https://api.github.com/users/tardich/events{/privacy}","received_events_url":"https://api.github.com/users/tardich/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T02:26:23Z","updated_at":"2016-10-06T02:26:23Z","body":"Not from what I can read. Specifically, lxc help list shows:\r\n\r\nLists the available resources.\r\n\r\nlxc list [resource] [filters] [--format table|json] [-c columns] [--fast]\r\n\r\nThe filters are:\r\n* A single keyword like \"web\" which will list any container with a name starting by \"web\".\r\n* A regular expression on the container name. (e.g. .*web.*01$)\r\n* A key/value pair referring to a configuration item. For those, the namespace can be abreviated to the smallest unambiguous identifier:\r\n * \"user.blah=abc\" will list all containers with the \"blah\" user property set to \"abc\".\r\n * \"u.blah=abc\" will do the same\r\n * \"security.privileged=1\" will list all privileged containers\r\n * \"s.privileged=1\" will do the same\r\n* A regular expression matching a configuration item or its value. (e.g. volatile.eth0.hwaddr=00:16:3e:.*)\r\n\r\nColumns for table format are:\r\n* 4 - IPv4 address\r\n* 6 - IPv6 address\r\n* a - architecture\r\n* c - creation date\r\n* n - name\r\n* p - pid of container init process\r\n* P - profiles\r\n* s - state\r\n* S - number of snapshots\r\n* t - type (persistent or ephemeral)\r\n\r\nDefault column layout: ns46tS\r\nFast column layout: nsacPt\r\n\r\nYou can see that columns do not allow anything else than: 4, 6, a, c, n, p, P, s, S, and t\r\n\r\nThe regular expression matching a config item (for example: volatile.eth0.hwaddr=00:16:3e:.*) allows to filter the output. That's, from what I can see and test, a search filter, not a new field to show. And I'd really like to be able to show those fields with lxc list, not just search them."}}
{"actor":{"display_login":"tardich"}}