{"action":"closed","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/4418","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/4418/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/4418/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/4418/events","html_url":"https://github.com/lxc/lxd/issues/4418","id":311874489,"number":4418,"title":"lxd 3.0.0: can't add client.crt","user":{"login":"gaetanquentin","id":5774881,"avatar_url":"https://avatars1.githubusercontent.com/u/5774881?v=4","gravatar_id":"","url":"https://api.github.com/users/gaetanquentin","html_url":"https://github.com/gaetanquentin","followers_url":"https://api.github.com/users/gaetanquentin/followers","following_url":"https://api.github.com/users/gaetanquentin/following{/other_user}","gists_url":"https://api.github.com/users/gaetanquentin/gists{/gist_id}","starred_url":"https://api.github.com/users/gaetanquentin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaetanquentin/subscriptions","organizations_url":"https://api.github.com/users/gaetanquentin/orgs","repos_url":"https://api.github.com/users/gaetanquentin/repos","events_url":"https://api.github.com/users/gaetanquentin/events{/privacy}","received_events_url":"https://api.github.com/users/gaetanquentin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-06T07:35:41Z","updated_at":"2018-04-06T16:17:35Z","closed_at":"2018-04-06T16:17:35Z","author_association":"NONE","body":"## info\r\nversion: 3.0.0\r\npackage: snap\r\nubuntu 17.10\r\n\r\nconfig:\r\n  core.https_address: '[::]:8443'\r\n  core.trust_password: true\r\napi_extensions:\r\n- storage_zfs_remove_snapshots\r\n- container_host_shutdown_timeout\r\n- container_stop_priority\r\n- container_syscall_filtering\r\n- auth_pki\r\n- container_last_used_at\r\n- etag\r\n- patch\r\n- usb_devices\r\n- https_allowed_credentials\r\n- image_compression_algorithm\r\n- directory_manipulation\r\n- container_cpu_time\r\n- storage_zfs_use_refquota\r\n- storage_lvm_mount_options\r\n- network\r\n- profile_usedby\r\n- container_push\r\n- container_exec_recording\r\n- certificate_update\r\n- container_exec_signal_handling\r\n- gpu_devices\r\n- container_image_properties\r\n- migration_progress\r\n- id_map\r\n- network_firewall_filtering\r\n- network_routes\r\n- storage\r\n- file_delete\r\n- file_append\r\n- network_dhcp_expiry\r\n- storage_lvm_vg_rename\r\n- storage_lvm_thinpool_rename\r\n- network_vlan\r\n- image_create_aliases\r\n- container_stateless_copy\r\n- container_only_migration\r\n- storage_zfs_clone_copy\r\n- unix_device_rename\r\n- storage_lvm_use_thinpool\r\n- storage_rsync_bwlimit\r\n- network_vxlan_interface\r\n- storage_btrfs_mount_options\r\n- entity_description\r\n- image_force_refresh\r\n- storage_lvm_lv_resizing\r\n- id_map_base\r\n- file_symlinks\r\n- container_push_target\r\n- network_vlan_physical\r\n- storage_images_delete\r\n- container_edit_metadata\r\n- container_snapshot_stateful_migration\r\n- storage_driver_ceph\r\n- storage_ceph_user_name\r\n- resource_limits\r\n- storage_volatile_initial_source\r\n- storage_ceph_force_osd_reuse\r\n- storage_block_filesystem_btrfs\r\n- resources\r\n- kernel_limits\r\n- storage_api_volume_rename\r\n- macaroon_authentication\r\n- network_sriov\r\n- console\r\n- restrict_devlxd\r\n- migration_pre_copy\r\n- infiniband\r\n- maas_network\r\n- devlxd_events\r\n- proxy\r\n- network_dhcp_gateway\r\n- file_get_symlink\r\n- network_leases\r\n- unix_device_hotplug\r\n- storage_api_local_volume_handling\r\n- operation_description\r\n- clustering\r\n- event_lifecycle\r\n- storage_api_remote_volume_handling\r\n- nvidia_runtime\r\napi_status: stable\r\napi_version: \"1.0\"\r\nauth: trusted\r\npublic: false\r\nauth_methods:\r\n- tls\r\nenvironment:\r\n  addresses:\r\n  - 62.210.152.13:8443\r\n  - 10.90.123.8:8443\r\n  - 172.20.11.1:8443\r\n  - 172.20.10.1:8443\r\n  - 172.20.12.1:8443\r\n  - 172.17.0.1:8443\r\n  - 10.8.0.1:8443\r\n  - 10.8.0.1:8443\r\n  - 10.99.0.1:8443\r\n  architectures:\r\n  - x86_64\r\n  - i686\r\n  certificate: |\r\n    -----BEGIN CERTIFICATE-----\r\n    [ .. ]\r\n    -----END CERTIFICATE-----\r\n  certificate_fingerprint: ef3e1e725cf80e73691d182fc5ca6f862eb5789208ba817d8d3a8f49cb7f2109\r\n  driver: lxc\r\n  driver_version: 3.0.0\r\n  kernel: Linux\r\n  kernel_architecture: x86_64\r\n  kernel_version: 4.13.0-32-generic\r\n  server: lxd\r\n  server_pid: 6877\r\n  server_version: 3.0.0\r\n  storage: btrfs\r\n  storage_version: \"4.4\"\r\n  server_clustered: false\r\n  server_name: sd-57286\r\n\r\n\r\n# Issue description\r\nCan't add certificate. lxd says it can't find the file:\r\n\r\n /tmp$ lxc config trust add client.crt \r\nError: open client.crt: no such file or directory\r\n\r\n\r\nwhile the file exists and is readable.\r\n\r\n\r\n# Steps to reproduce\r\n\r\n 1. Step one\r\n\r\nverify the crt is readable:\r\n\r\n/tmp$ cat client.crt \r\n-----BEGIN CERTIFICATE-----\r\n[ .. ]\r\n-----END CERTIFICATE-----\r\n\r\n 2. Step two\r\n/tmp$ lxc config trust add client.crt \r\nError: open client.crt: no such file or directory\r\n\r\n\r\n# Information to attach\r\n\r\n"}}
{"actor":{"display_login":"brauner"}}