Folks
Is below the expected behavior? Are the lxc-utils incompatible with lxd?
I have installed lxd 3.0.3.  I notice that as soon as I use commands from
lxc utils like lxc-ls --fancy and then use the commands of commands like
lxc info which were installed as part of the lxd package installation I get
errors like the ones shown below.  I have the exact same error if I use
other commands like  lxc-.... commands.

root@fan:/usr/share/doc/lxd# lxc-ls --fancy
root@fan:/usr/share/doc/lxd# lxc info
Error: cannot fetch node config from database: unexpected response type 6

The only way I could recover was to issue the *lxd shutdown* couple of
times followed by *lxc activateifneeded .*


root@fan:/usr/share/doc/lxd# lxd shutdown

^C
root@fan:/usr/share/doc/lxd# lxd shutdown
root@fan:/usr/share/doc/lxd# lxd activateifneeded
root@fan:/usr/share/doc/lxd# lxc info
config:
  core.https_address: 10.0.x.15:8443
  core.trust_password: true
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- candid_authentication
- candid_config
- candid_config_key
- usb_optional_vendorid
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses:
  - 10.0.2.15:8443
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIIFNzCCAx+gAwIBAgIQAc+............rnsE6WBB99nsR9KRqFkZx5Xo8u34
    xz0JBeZWWSPyx0vUcaSZqSo3NonYXAl88b7p/YQ03QaHTU1UT0PNbcmpRwXegsKY
   NTFzKsQ1BnD9EwIIkRalYlGVHcIayu/L3XpS/03okqB1DoK8yvTJNhf
    1xxgPGoRv9cBYX2MDBvFubQGKKrhp2KUTT3hTlovIARlGQmrw0AjZXuenA==
    -----END CERTIFICATE-----
  certificate_fingerprint: b7733de6e4886.........
  driver: lxc
  driver_version: 3.0.3
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.15.0-88-generic
  server: lxd
  server_pid: 12385
  server_version: 3.0.3
  storage: btrfs
  storage_version: 4.15.1
  server_clustered: true
  server_name: fan
  project: ""
root@fan:/usr/share/doc/lxd#
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to