Welcome, Guest
Username: Password: Remember me
Archived CloudStack Forums for reference purposes please direct all future inquiries to the Apache CloudStack mailing lists.

incubator.apache.org/cloudstack/mailing-lists.html

TOPIC: Can't add iso

Can't add iso 1 year 3 weeks ago #12722

  • BigLin
  • BigLin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Dear guys,

Management: 217.111.69.141 (DMZ)
Host: 217.111.69.142

I can’t add isos. CloudStack give the error “connected refused”. The iso is on the host.
SSVM can connect to every server:
root@v-2-VM:~# clear
root@v-2-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
First DNS server is  8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=50 time=24.147 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=50 time=25.959 ms
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 24.147/25.053/25.959/0.906 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
ERROR: NFS is not currently mounted
Try manually mounting from inside the VM
NFS server is  217.111.69.140
PING 217.111.69.140 (217.111.69.140): 56 data bytes
64 bytes from 217.111.69.140: icmp_seq=0 ttl=64 time=0.063 ms
64 bytes from 217.111.69.140: icmp_seq=1 ttl=64 time=0.043 ms
--- 217.111.69.140 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.043/0.053/0.063/0.000 ms
Good: Can ping NFS server
================================================
Management server is 217.111.69.141. Checking connectivity.
Good: Can connect to management server port 8250
================================================
Good: Java process is running
================================================
Tests Complete. Look for ERROR or WARNING above.
root@v-2-VM:~# wget http://217.111.69.142:443/CentOS_6.3.iso
--2012-09-28 08:23:17--  http://217.111.69.142:443/CentOS_6.3.iso
Connecting to 217.111.69.142:443... connected.
HTTP request sent, awaiting response... 217.111.69.140 - - [28/Sep/2012 10:23:19] "GET /CentOS_6.3.iso HTTP/1.0" 200 -
                   200 OK
Length: 4289386496 (4.0G) [application/octet-stream]
Saving to: “CentOS_6.3.iso.1”
10% [====>                                                     ] 435,264,584 85.6M/s  eta 32s     -

Managemen log:
2012-09-28 10:34:06,397 DEBUG [agent.transport.Request] (Timer-5:null) Seq 5-1394999331: Sending  { Cmd , MgmtId: 110887816844, via: 5, Ver: v1, Flags: 100011, [{"storage.DownloadProgressCommand":{"jobId":"efcc33d0-ca3c-45ab-8471-ba8d31edc6ef","request":"GET_STATUS","hvm":true,"description":"CentOS 6.3","maxDownloadSizeInBytes":53687091200,"id":206,"url":"http://217.111.69.142:443/CentOS_6.3.iso","format":"ISO","accountId":2,"name":"206-2-5f20cf3f-3aa2-3475-b5aa-c0937400d25b","secUrl":"nfs://217.111.69.141/home/export/secondary","wait":0}}] }
2012-09-28 10:34:06,404 DEBUG [agent.transport.Request] (AgentManager-Handler-2:null) Seq 5-1394999331: Processing:  { Ans: , MgmtId: 110887816844, via: 5, Ver: v1, Flags: 10, [{"storage.DownloadAnswer":{"jobId":"efcc33d0-ca3c-45ab-8471-ba8d31edc6ef","downloadPct":0,"errorString":"Connection refused","downloadStatus":"DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/3860f20e-4aea-3295-b8ac-8beaf5275de5/template/tmpl/2/206/dnld7571776526075777231tmp_","templateSize":0,"templatePhySicalSize":0,"result":false,"details":"Connection refused","wait":0}}] }

Why I can’t add the iso?

Thank you for helping :)



Portscan:
[root@skcs01 ~]# nmap -sV 217.111.69.142
Starting Nmap 5.51 ( http://nmap.org ) at 2012-09-28 10:28 CEST
skcs02.cs.veryhost.de - - [28/Sep/2012 10:28:47] code 501, message Unsupported method ('OPTIONS')
skcs02.cs.veryhost.de - - [28/Sep/2012 10:28:47] "OPTIONS / HTTP/1.0" 501 -
skcs02.cs.veryhost.de - - [28/Sep/2012 10:28:47] code 400, message Bad request syntax ('\x16\x03\x00\x00S\x01\x00\x00O\x03\x00?G\xd7\xf7\xba,\xee\xea\xb2`~\xf3\x00\xfd\x82{\xb9\xd5\x96\xc8w\x9b\xe6\xc4\xdb<=\xdbo\xef\x10n\x00\x00(\x00\x16\x00\x13\x00')
skcs02.cs.veryhost.de - - [28/Sep/2012 10:28:47] "SO?G▒▒,▒▒`~▒▒{▒Ֆ▒w▒▒▒▒<=▒o▒n(" 400 -
skcs02.cs.veryhost.de - - [28/Sep/2012 10:28:47] code 400, message Bad HTTP/0.9 request type ('\x80\x9e\x01\x03\x01\x00u\x00\x00\x00')
skcs02.cs.veryhost.de - - [28/Sep/2012 10:28:47] "▒▒u fedcb:985432/00 -
skcs02.cs.veryhost.de - - [28/Sep/2012 10:28:52] code 400, message Bad HTTP/0.9 request type ('l\x00')
skcs02.cs.veryhost.de - - [28/Sep/2012 10:28:52] "l
                                                   " 400 -
skcs02.cs.veryhost.de - - [28/Sep/2012 10:28:52] "GET / HTTP/1.0" 200 -
Nmap scan report for skcs02.cs.veryhost.de (217.111.69.142)
Host is up (0.000016s latency).
Not shown: 992 closed ports
PORT     STATE SERVICE VERSION
22/tcp   open  ssh     OpenSSH 5.3 (protocol 2.0)
111/tcp  open  rpcbind
443/tcp  open  http    SimpleHTTPServer 0.6 (Python 2.6.6)
2049/tcp open  rpcbind
5900/tcp open  vnc     VNC (protocol 3.8)
5901/tcp open  vnc     VNC (protocol 3.8)
5902/tcp open  vnc     VNC (protocol 3.8)
5903/tcp open  vnc     VNC (protocol 3.8)
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 11.32 seconds

iptables (disabled):
[root@skcs02 ~]# /etc/init.d/iptables status
Tabelle: filter
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination
Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination
[root@skcs02 ~]#

mount:
[root@skcs02 ~]# mount
/dev/mapper/vg_skcs02-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
/dev/mapper/vg_skcs02-lv_home on /home type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
217.111.69.141:/home/export/primary on /mnt/b90262e5-3c80-33ee-bef3-9cf72c1a3fab type nfs (rw,noac,vers=4,addr=217.111.69.141,clientaddr=217.111.69.142)
[root@skcs02 ~]#
Last Edit: 1 year 3 weeks ago by BigLin.
The administrator has disabled public write access.

Re: Can't add iso 1 year 3 weeks ago #12723

  • BigLin
  • BigLin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Sry, I had found the problem.
I forget to set "secstorage.allowed.internal.sites".

See the Tutorial
The administrator has disabled public write access.
Time to create page: 0.284 seconds

Open@Citrix

Citrix supports the open source community via developer support and evangeslism. We have a number of developers and evangelists that participate actively in the open source community in Apache Cloudstack, OpenDaylight, Xen Project and XenServer. We also conduct educational activities via the Build A Cloud events held all over the world. 

Connect