tar: unrecognized option ''--numeric-uid''

Bug #1236900 reported by Nicola Larosa
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyjuju
New
Undecided
Unassigned

Bug Description

While running in a Saucy KVM with a local environment deploying to LXC containers, running the command:

$ juju deploy --repository=. --config=openstack.cfg -n 2 local:ceph

using revno 65 of lp:charms/ceph , and then running "juju status" generates the following error (same output with Juju 1.15.1):

$ juju status
environment: local
machines:
  "0":
    agent-state: started
    agent-version: 1.14.1.1
    dns-name: 10.0.3.1
    instance-id: localhost
    series: saucy
  "1":
    agent-state-info: '(error: error executing "lxc-create": + ''['' amd64 == i686
      '']''; + ''['' amd64 ''!='' i386 -a amd64 ''!='' amd64 -a amd64 ''!='' armhf
      -a amd64 ''!='' armel '']''; + ''['' amd64 ''!='' i386 -a amd64 ''!='' amd64
      -a amd64 ''!='' armhf -a amd64 ''!='' armel '']''; + ''['' amd64 = amd64 -a
      amd64 ''!='' amd64 -a amd64 ''!='' i386 '']''; + ''['' amd64 = i386 -a amd64
      ''!='' i386 '']''; + ''['' amd64 = armhf -o amd64 = armel '']''; + ''['' released
      ''!='' daily -a released ''!='' released '']''; + ''['' -z /var/lib/lxc/ubuntu-local-machine-1
      '']''; ++ id -u; + ''['' 0 ''!='' 0 '']''; + config=/var/lib/lxc/ubuntu-local-machine-1/config;
      + ''['' -z /usr/lib/x86_64-linux-gnu/lxc '']''; + type ubuntu-cloudimg-query;
      ubuntu-cloudimg-query is /usr/bin/ubuntu-cloudimg-query; + type wget; wget is
      /usr/bin/wget; + cache=/var/cache/lxc/cloud-precise; + mkdir -p /var/cache/lxc/cloud-precise;
      + ''['' -n '''' '']''; ++ ubuntu-cloudimg-query precise released amd64 --format
      ''%{url}\n''; + url1=https://cloud-images.ubuntu.com/server/releases/precise/release-20131003/ubuntu-12.04-server-cloudimg-amd64.tar.gz;
      ++ sed -e ''s/.tar.gz/-root\0/''; ++ echo https://cloud-images.ubuntu.com/server/releases/precise/release-20131003/ubuntu-12.04-server-cloudimg-amd64.tar.gz;
      + url2=https://cloud-images.ubuntu.com/server/releases/precise/release-20131003/ubuntu-12.04-server-cloudimg-amd64-root.tar.gz;
      ++ basename https://cloud-images.ubuntu.com/server/releases/precise/release-20131003/ubuntu-12.04-server-cloudimg-amd64-root.tar.gz;
      + filename=ubuntu-12.04-server-cloudimg-amd64-root.tar.gz; + ''['' -n '''' '']'';
      + mkdir -p /var/lock/subsys/; + flock -x 200; + do_extract_rootfs; + cd /var/cache/lxc/cloud-precise;
      + ''['' 0 -eq 1 '']''; + trap wgetcleanup EXIT SIGHUP SIGINT SIGTERM; + ''[''
      ''!'' -f ubuntu-12.04-server-cloudimg-amd64-root.tar.gz '']''; + trap EXIT;
      + trap SIGHUP; + trap SIGINT; + trap SIGTERM; + echo ''Extracting container
      rootfs''; Extracting container rootfs; + mkdir -p /usr/lib/x86_64-linux-gnu/lxc;
      + cd /usr/lib/x86_64-linux-gnu/lxc; + tar --numeric-uid -xpzf /var/cache/lxc/cloud-precise/ubuntu-12.04-server-cloudimg-amd64-root.tar.gz;
      tar: unrecognized option ''--numeric-uid''; Try `tar --help'' or `tar --usage''
      for more information.; container creation template for ubuntu-local-machine-1
      failed; Error creating container ubuntu-local-machine-1)'
    instance-id: pending
    series: precise
  "2":
    agent-state-info: '(error: error executing "lxc-create": + ''['' amd64 == i686
      '']''; + ''['' amd64 ''!='' i386 -a amd64 ''!='' amd64 -a amd64 ''!='' armhf
      -a amd64 ''!='' armel '']''; + ''['' amd64 ''!='' i386 -a amd64 ''!='' amd64
      -a amd64 ''!='' armhf -a amd64 ''!='' armel '']''; + ''['' amd64 = amd64 -a
      amd64 ''!='' amd64 -a amd64 ''!='' i386 '']''; + ''['' amd64 = i386 -a amd64
      ''!='' i386 '']''; + ''['' amd64 = armhf -o amd64 = armel '']''; + ''['' released
      ''!='' daily -a released ''!='' released '']''; + ''['' -z /var/lib/lxc/ubuntu-local-machine-2
      '']''; ++ id -u; + ''['' 0 ''!='' 0 '']''; + config=/var/lib/lxc/ubuntu-local-machine-2/config;
      + ''['' -z /usr/lib/x86_64-linux-gnu/lxc '']''; + type ubuntu-cloudimg-query;
      ubuntu-cloudimg-query is /usr/bin/ubuntu-cloudimg-query; + type wget; wget is
      /usr/bin/wget; + cache=/var/cache/lxc/cloud-precise; + mkdir -p /var/cache/lxc/cloud-precise;
      + ''['' -n '''' '']''; ++ ubuntu-cloudimg-query precise released amd64 --format
      ''%{url}\n''; + url1=https://cloud-images.ubuntu.com/server/releases/precise/release-20131003/ubuntu-12.04-server-cloudimg-amd64.tar.gz;
      ++ sed -e ''s/.tar.gz/-root\0/''; ++ echo https://cloud-images.ubuntu.com/server/releases/precise/release-20131003/ubuntu-12.04-server-cloudimg-amd64.tar.gz;
      + url2=https://cloud-images.ubuntu.com/server/releases/precise/release-20131003/ubuntu-12.04-server-cloudimg-amd64-root.tar.gz;
      ++ basename https://cloud-images.ubuntu.com/server/releases/precise/release-20131003/ubuntu-12.04-server-cloudimg-amd64-root.tar.gz;
      + filename=ubuntu-12.04-server-cloudimg-amd64-root.tar.gz; + ''['' -n '''' '']'';
      + mkdir -p /var/lock/subsys/; + flock -x 200; + do_extract_rootfs; + cd /var/cache/lxc/cloud-precise;
      + ''['' 0 -eq 1 '']''; + trap wgetcleanup EXIT SIGHUP SIGINT SIGTERM; + ''[''
      ''!'' -f ubuntu-12.04-server-cloudimg-amd64-root.tar.gz '']''; + trap EXIT;
      + trap SIGHUP; + trap SIGINT; + trap SIGTERM; + echo ''Extracting container
      rootfs''; Extracting container rootfs; + mkdir -p /usr/lib/x86_64-linux-gnu/lxc;
      + cd /usr/lib/x86_64-linux-gnu/lxc; + tar --numeric-uid -xpzf /var/cache/lxc/cloud-precise/ubuntu-12.04-server-cloudimg-amd64-root.tar.gz;
      tar: unrecognized option ''--numeric-uid''; Try `tar --help'' or `tar --usage''
      for more information.; container creation template for ubuntu-local-machine-2
      failed; Error creating container ubuntu-local-machine-2)'
    instance-id: pending
    series: precise
services:
  ceph:
    charm: local:precise/ceph-100
    exposed: false
    relations:
      mon:
      - ceph
    units:
      ceph/0:
        agent-state: pending
        machine: "1"
      ceph/1:
        agent-state: pending
        machine: "2"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.