{"action":"created","issue":{"url":"https://api.github.com/repos/ganeti/ganeti/issues/220","repository_url":"https://api.github.com/repos/ganeti/ganeti","labels_url":"https://api.github.com/repos/ganeti/ganeti/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/ganeti/ganeti/issues/220/comments","events_url":"https://api.github.com/repos/ganeti/ganeti/issues/220/events","html_url":"https://github.com/ganeti/ganeti/issues/220","id":237700748,"number":220,"title":"instance-debootstrap needs to refuse too-small disk","user":{"login":"Ganeti-Issues-Migrator","id":29254221,"avatar_url":"https://avatars3.githubusercontent.com/u/29254221?v=3","gravatar_id":"","url":"https://api.github.com/users/Ganeti-Issues-Migrator","html_url":"https://github.com/Ganeti-Issues-Migrator","followers_url":"https://api.github.com/users/Ganeti-Issues-Migrator/followers","following_url":"https://api.github.com/users/Ganeti-Issues-Migrator/following{/other_user}","gists_url":"https://api.github.com/users/Ganeti-Issues-Migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/Ganeti-Issues-Migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ganeti-Issues-Migrator/subscriptions","organizations_url":"https://api.github.com/users/Ganeti-Issues-Migrator/orgs","repos_url":"https://api.github.com/users/Ganeti-Issues-Migrator/repos","events_url":"https://api.github.com/users/Ganeti-Issues-Migrator/events{/privacy}","received_events_url":"https://api.github.com/users/Ganeti-Issues-Migrator/received_events","type":"User","site_admin":false},"labels":[{"id":631678997,"url":"https://api.github.com/repos/ganeti/ganeti/labels/Component-instances","name":"Component-instances","color":"ededed","default":false},{"id":631648911,"url":"https://api.github.com/repos/ganeti/ganeti/labels/imported_from_google_code","name":"imported_from_google_code","color":"ededed","default":false},{"id":631648912,"url":"https://api.github.com/repos/ganeti/ganeti/labels/Status:Released","name":"Status:Released","color":"ededed","default":false},{"id":631648933,"url":"https://api.github.com/repos/ganeti/ganeti/labels/Type-Defect","name":"Type-Defect","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-06-22T00:29:02Z","updated_at":"2017-06-22T00:29:20Z","closed_at":null,"body":"Originally reported of Google Code with ID 164.\n\n```\non squeeze, with debootstrap from your git repository\r\n\r\nroot@testserver1:/usr/local/lib/ganeti/tools# gnt-cluster --version\r\ngnt-cluster (ganeti v2.4.2) 2.4.2\r\n\r\nroot@testserver1:/usr/local/lib/ganeti/tools# gnt-cluster version\r\nSoftware version: 2.4.2\r\nInternode protocol: 2040000\r\nConfiguration format: 2040000\r\nOS api version: 20\r\nExport interface: 0\r\n\r\n\r\nroot@testserver1:~# cd /usr/local/lib/ganeti/tools/\r\nroot@testserver1:/usr/local/lib/ganeti/tools# ./burnin -o debootstrap+default ganeti{1..3}                                 - Testing global parameters\r\n- Creating instances\r\n  * instance ganeti1\r\n    on testserver1.AAA.localdomain, testserver2.AAA.localdomain\r\n- Non-idempotent opcode failed, aborting\r\n- Error detected: opcode buffer follows:\r\n\r\n\r\n- Sun Jun  5 23:46:45 2011 * creating instance disks...\r\nSun Jun  5 23:46:48 2011 adding instance ganeti1.AAA.localdomain to cluster config\r\nSun Jun  5 23:46:48 2011  - INFO: Waiting for instance ganeti1.AAA.localdomain to sync disks.\r\nSun Jun  5 23:46:49 2011  - INFO: - device disk/0:  9.10% done, 28s remaining (estimated)\r\nSun Jun  5 23:47:17 2011  - INFO: Instance ganeti1.AAA.localdomain's disks are in sync.\r\nSun Jun  5 23:47:17 2011 * running the instance OS create scripts...\r\n\r\n- \r\n\r\n\r\n- Removing instances\r\nTraceback (most recent call last):\r\n  File \"./burnin\", line 1081, in <module>\r\n    main()\r\n  File \"./burnin\", line 1077, in main\r\n    return Burner().BurninCluster()\r\n  File \"./burnin\", line 989, in BurninCluster\r\n    self.BurnCreateInstances()\r\n  File \"./burnin\", line 228, in wrapper\r\n    val = fn(self, *args, **kwargs)\r\n  File \"./burnin\", line 248, in batched\r\n    val = fn(self, *args, **kwargs)\r\n  File \"./burnin\", line 583, in BurnCreateInstances\r\n    self.ExecOrQueue(instance, [op], post_process=remove_instance(instance))\r\n  File \"./burnin\", line 356, in ExecOrQueue\r\n    val = self.ExecOp(self.queue_retry, *ops) # pylint: disable-msg=W0142\r\n  File \"./burnin\", line 348, in ExecOp\r\n    return self.MaybeRetry(rval, \"opcode\", self._ExecOp, *ops)\r\n  File \"./burnin\", line 305, in MaybeRetry\r\n    val = fn(*args)\r\n  File \"./burnin\", line 330, in _ExecOp\r\n    results = cli.PollJob(job_id, cl=self.cl, feedback_fn=self.Feedback)\r\n  File \"/usr/local/lib/python2.6/dist-packages/ganeti/cli.py\", line 1708, in PollJob\r\n    return GenericPollJob(job_id, _LuxiJobPollCb(cl), reporter)\r\n  File \"/usr/local/lib/python2.6/dist-packages/ganeti/cli.py\", line 1530, in GenericPollJob\r\n    errors.MaybeRaise(msg)\r\n  File \"/usr/local/lib/python2.6/dist-packages/ganeti/errors.py\", line 448, in MaybeRaise\r\n    raise errcls, args\r\nganeti.errors.OpExecError: Could not add os for instance ganeti1.AAA.localdomain on node testserver1.AAA.localdomain: OS create script failed (exited with exit code 2), last lines in the log file:\r\ntar: ./dev/ram4: Cannot mknod: No such file or directory\r\ntar: ./dev/mpu401data: Cannot mknod: No such file or directory\r\ntar: ./dev/port: Cannot mknod: No such file or directory\r\ntar: ./dev/full: Cannot mknod: No such file or directory\r\ntar: ./dev/rmidi2: Cannot mknod: No such file or directory\r\ntar: ./dev/tty5: Cannot mknod: No such file or directory\r\ntar: ./dev/midi2: Cannot mknod: No such file or directory\r\ntar: ./dev/agpgart: Cannot mknod: No such file or directory\r\ntar: ./dev/mpu401stat: Cannot mknod: No such file or directory\r\ntar: ./dev/loop5: Cannot mknod: No such file or directory\r\ntar: ./dev/tty8: Cannot mknod: No such file or directory\r\ntar: ./dev/loop3: Cannot mknod: No such file or directory\r\ntar: ./dev/ram2: Cannot mknod: No such file or directory\r\ntar: ./dev/loop6: Cannot mknod: No such file or directory\r\ntar: ./dev/dsp1: Cannot mknod: No such file or directory\r\ntar: ./dev/midi02: Cannot mknod: No such file or directory\r\ntar: ./dev/fd: Cannot open: No such file or directory\r\ntar: ./dev/pts: Cannot mkdir: No such file or directory\r\ntar: ./dev/mem: Cannot mknod: No such file or directory\r\ntar: Exiting with failure status due to previous errors\r\n\n```\nOriginally added on 2011-06-05 21:51:30 +0000 UTC."},"comment":{"url":"https://api.github.com/repos/ganeti/ganeti/issues/comments/310241822","html_url":"https://github.com/ganeti/ganeti/issues/220#issuecomment-310241822","issue_url":"https://api.github.com/repos/ganeti/ganeti/issues/220","id":310241822,"user":{"login":"Ganeti-Issues-Migrator","id":29254221,"avatar_url":"https://avatars3.githubusercontent.com/u/29254221?v=3","gravatar_id":"","url":"https://api.github.com/users/Ganeti-Issues-Migrator","html_url":"https://github.com/Ganeti-Issues-Migrator","followers_url":"https://api.github.com/users/Ganeti-Issues-Migrator/followers","following_url":"https://api.github.com/users/Ganeti-Issues-Migrator/following{/other_user}","gists_url":"https://api.github.com/users/Ganeti-Issues-Migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/Ganeti-Issues-Migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ganeti-Issues-Migrator/subscriptions","organizations_url":"https://api.github.com/users/Ganeti-Issues-Migrator/orgs","repos_url":"https://api.github.com/users/Ganeti-Issues-Migrator/repos","events_url":"https://api.github.com/users/Ganeti-Issues-Migrator/events{/privacy}","received_events_url":"https://api.github.com/users/Ganeti-Issues-Migrator/received_events","type":"User","site_admin":false},"created_at":"2017-06-22T00:29:20Z","updated_at":"2017-06-22T00:29:20Z","body":"\n```\nthe console from one of the machines... I do not get to a login screen...\n\n    [    1.021874] md: raid5 personality registered for level 5\n    [    1.021879] md: raid4 personality registered for level 4\n    Success: loaded module raid456.\n    Success: loaded module raid5.\n    Success: loaded module raid6.\n    [    1.030420] md: raid10 personality registered for level 10\n    Success: loaded module raid10.\n    done.\n    Begin: Assembling all MD arrays ... mdadm: No arrays found in config\n    file or automatically\n    Failure: failed to assemble all arrays.\n    done.\n    [    1.047003] device-mapper: uevent: version 1.0.3\n    [    1.047501] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01)\n    initialised: dm-devel@redhat.com\n    done.\n    Begin: Running /scripts/local-premount ... done.\n    [    1.076390] kjournald starting.  Commit interval 5 seconds\n    [    1.076405] EXT3-fs: mounted filesystem with ordered data mode.\n    Begin: Running /scripts/local-bottom ... done.\n    done.\n    Begin: Running /scripts/init-bottom ... done.\n    modprobe: FATAL: Could not load\n    /lib/modules/2.6.32-5-xen-amd64/modules.dep: No such file or directory\n\n    INIT: version 2.86 booting\n    Mount point '/dev/shm' does not exist. Skipping mount. (warning).\n    Setting the system clock.\n    Cannot access the Hardware Clock via any known method.\n    Use the --debug option to see the details of our search for an\n    access method.\n    Unable to set System Clock to: Mon Jun 6 09:35:43 UTC 2011 (warning).\n    Activating swap...done.\n    Checking root file system...fsck 1.41.3 (12-Oct-2008)\n    /dev/xvda1: clean, 8624/65280 files, 45378/261056 blocks\n    done.\n    [    2.094280] EXT3 FS on xvda1, internal journal\n    Setting the system clock.\n    Cannot access the Hardware Clock via any known method.\n    Use the --debug option to see the details of our search for an\n    access method.\n    Unable to set System Clock to: Mon Jun 6 09:35:43 UTC 2011 (warning).\n    Cleaning up ifupdown....\n    Loading kernel modules...FATAL: Could not load\n    /lib/modules/2.6.32-5-xen-amd64/modules.dep: No such file or directory\n    Checking file systems...fsck 1.41.3 (12-Oct-2008)\n    done.\n    Setting kernel variables (/etc/sysctl.conf)...done.\n    Mounting local filesystems...done.\n    Activating swapfile swap...done.\n    Setting up networking....\n    Configuring network interfaces...done.\n    INIT: Entering runlevel: 2\n    Starting enhanced syslogd: rsyslogd.\n    Starting periodic command scheduler: crond.\n```\nOriginally added on 2011-06-06 09:40:59 +0000 UTC."}}
{"actor":{"display_login":"Ganeti-Issues-Migrator"}}