TritonDataCenter / illumos-joyent

Community developed and maintained version of the OS/Net consolidation
http://www.illumos.org/projects/illumos-gate
266 stars 109 forks source link

Zlogin <UUID> Error #27

Open atuljain opened 9 years ago

atuljain commented 9 years ago

Hello I am trying to login by zlogin cmd in smartOS , but it's raising me error

zlogin 20b8c32c-b800-4651-97bf-d99a7e4491b3

[Connected to zone '20b8c32c-b800-4651-97bf-d99a7e4491b3' pts/3] zlogin: makeutx failed

[Connection to zone '20b8c32c-b800-4651-97bf-d99a7e4491b3' pts/3 closed]

How can we resolve it

atuljain commented 9 years ago

Full description of zone

{ "zonename": "20b8c32c-b800-4651-97bf-d99a7e4491b3", "autoboot": true, "brand": "kvm", "limit_priv": "default,-file_link_any,-net_access,-proc_fork,-proc_info,-proc_session", "v": 1, "create_timestamp": "2015-01-20T07:24:03.819Z", "cpu_shares": 100, "zfs_io_priority": 100, "max_lwps": 2000, "max_physical_memory": 2048, "max_locked_memory": 2048, "max_swap": 2048, "billing_id": "00000000-0000-0000-0000-000000000000", "owner_uuid": "00000000-0000-0000-0000-000000000000", "resolvers": [ "172.22.77.77", "8.8.8.8" ], "ram": 1024, "vcpus": 1, "disks": [ { "path": "/dev/zvol/rdsk/zones/20b8c32c-b800-4651-97bf-d99a7e4491b3-disk0", "boot": true, "model": "virtio", "media": "disk", "image_size": 10240, "image_uuid": "6dde8b1a-0780-11e4-a57b-6b7ac24a7cd4", "zfs_filesystem": "zones/20b8c32c-b800-4651-97bf-d99a7e4491b3-disk0", "zpool": "zones", "size": 10240, "compression": "lz4", "refreservation": 10240, "block_size": 8192 } ], "nics": [ { "interface": "net1", "mac": "52:1d:5c:47:8d:43", "nic_tag": "external", "gateway": "172.22.77.66", "ip": "172.22.77.95", "netmask": "255.255.255.0", "model": "virtio", "primary": true } ], "alias": "tradebooxdeb", "uuid": "20b8c32c-b800-4651-97bf-d99a7e4491b3", "zone_state": "running", "zonepath": "/zones/20b8c32c-b800-4651-97bf-d99a7e4491b3", "zoneid": 12, "last_modified": "2015-01-20T11:02:09.000Z", "firewall_enabled": false, "server_uuid": "90022b03-3404-9205-6c06-4b0700080009", "platform_buildstamp": "20141113T164921Z", "state": "running", "boot_timestamp": "2015-01-20T10:48:36.000Z", "pid": 7593, "customer_metadata": {}, "internal_metadata": {}, "routes": {}, "tags": {}, "quota": 10, "zfs_root_compression": "lz4", "zfs_root_recsize": 131072, "zfs_filesystem": "zones/20b8c32c-b800-4651-97bf-d99a7e4491b3", "zpool": "zones", "snapshots": [] }

MerlinDMC commented 9 years ago

zlogin will not work on kvm branded zones. You'll want to connect via VNC by getting the host + port from vmadm info <uuid> vnc.

If you really think you need to tinker with the qemu process you can do so from the global zone - but honestly you probably don't want to.

atuljain commented 9 years ago

i can also not connect to vnc , it screenshot from 2015-01-20 17 02 58 screenshot from 2015-01-20 17 02 28

is raising me connection error

MerlinDMC commented 9 years ago

On the Mac I had problems using certain VNC clients ... I would try testing with a different one (Chicken on OSX works fine can't remember the java based ones)

atuljain commented 9 years ago

I tried it with vnc but still getting error

CConn: unable connect to socket: Connection timed out (110)

bahamat commented 9 years ago

I believe that the image you're using (debian-7, 20140709) supports the virtual serial console. You should be able to run vmadm console 20b8c32c-b800-4651-97bf-d99a7e4491b3 to get a login prompt.

atuljain commented 9 years ago

when i try to vmadm console that will not show anything , only blank screen

konobi commented 9 years ago

VNC is only available on the admin interface in the global zone. You'll need to setup some port forwarding with SSH.