Uploaded image for project: 'Project FiFo'
  1. FIFO-1135

Compression not active after package change

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 0.8.3
    • Fix Version/s: 0.8.3, 0.9.0
    • Component/s: chunter
    • Labels:
      None
    • Environment:

      PI 20160421T151114Z

      Description

      I cloned a package in the FiFo-Gui with the only change being "compression: lz4" and changed the package for an lx-zone to this new package. It seems that the change is not reflected on the hypervisor.

      zfs get compression zones/05e3880b-8770-460a-abe1-c5f8cb523c62
      NAME                                        PROPERTY     VALUE     SOURCE
      zones/05e3880b-8770-460a-abe1-c5f8cb523c62  compression  off       local
      
      vmadm get 05e3880b-8770-460a-abe1-c5f8cb523c62 | json package_name
      07f8ef70-66ac-4f98-9feb-6545838f5cac
      
      fifoadm packages get -j 07f8ef70-66ac-4f98-9feb-6545838f5cac
      {
        "compression": "lz4",
        "cpu_cap": 600,
        "hv_resources": [],
        "metadata": [],
        "name": "pack4-deploy1-fixed",
        "org_resources": [],
        "quota": 100,
        "ram": 8192,
        "requirements": [
          {
            "attribute": "uuid",
            "condition": "=:=",
            "value": "068324c4-a669-4692-a463-4f0c1a7177dc",
            "weight": "must"
          }
        ],
        "uuid": "07f8ef70-66ac-4f98-9feb-6545838f5cac"
      }
      

      The same result after rebooting the zone. In the json-specification of the zone, there is no "zfs_root_compression" field.

      Here are the chunter logs during the pacakge change.

      2017-01-03 10:36:37.245 [info] <0.6516.124>@chunter_vmadm:update:259 <<"Updating of VM '05e3880b-8770-460a-abe1-c5f8cb523c62' started.">>
      2017-01-03 10:36:37.245 [info] <0.6516.124>@chunter_vmadm:update:260 vmadm:update
      2017-01-03 10:36:39.078 [info] <0.6516.124>@chunter_vm_fsm:handle_event:658 [05e3880b-8770-460a-abe1-c5f8cb523c62] Has type: zone.
      2017-01-03 10:36:39.099 [info] <0.6516.124>@fwadm:fwadm:184 [fwadm] /usr/sbin/fwadm args: ["list","--json"]
      2017-01-03 10:36:39.427 [info] <0.6516.124>@chunter_vm_fsm:handle_event:762 [vm:05e3880b-8770-460a-abe1-c5f8cb523c62()] Updating FW rules, adding [] deleting [].
      2017-01-03 10:36:39.427 [info] <0.6516.124>@fwadm:fwadm:184 [fwadm] /usr/sbin/fwadm args: ["list","--json"]
      2017-01-03 10:36:39.755 [info] <0.6516.124>@fwadm:fwadm:184 [fwadm] /usr/sbin/fwadm args: ["stop",<<"05e3880b-8770-460a-abe1-c5f8cb523c62">>]
      
      

        Attachments

          Activity

            People

            • Assignee:
              heinz Heinz N. Gies
              Reporter:
              Angelina Angelina Müller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: