<div dir="ltr">No application listening 5900 on compute node. </div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/30 Mahardhika <span dir="ltr"><<a href="mailto:mahardika.gilang@andalabs.com" target="_blank">mahardika.gilang@andalabs.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>
      <p><font face="Times New Roman, Times, serif">You should check on
          machine that running compute node (nova-compute), it will be
          /qemu-system-x </font></p>
      <p><font face="Times New Roman, Times, serif">#netstat -tulpn</font></p><div><div class="h5">
      <br>
      On 7/30/2013 9:52 AM, sam lee wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">I doesn't find any application listening port 5900
        on controller node, Do I miss something?</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/7/29 Wangpan <span dir="ltr"><<a href="mailto:hzwangpan@corp.netease.com" target="_blank">hzwangpan@corp.netease.com</a>></span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div style="BORDER-LEFT-WIDTH:0px;BORDER-RIGHT-WIDTH:0px;BORDER-BOTTOM-WIDTH:0px;MARGIN:12px;LINE-HEIGHT:1.3;BORDER-TOP-WIDTH:0px" marginheight="0" marginwidth="0">
              <div><font color="#000000" face="宋体" size="3">vnc is
                  supported by qemu, so we needn't to install a
                  vnc-server into instance.</font></div>
              <div>you may check the vnc connection by connecting it
                directly on the host by a vnc client,</div>
              <div>1. virsh dumpxml ${instance-uuid}</div>
              <div>2. get the vnc port: like 5900 or 59XX</div>
              <div>3. get the vnc bind address: like 127.0.0.1 or
                0.0.0.0(same as the vncserver_listen = 127.0.0.1
                in nova.conf)</div>
              <div>4. make a port forwarding to the host by ssh and set
                the proxy in vnc client if your vncserver_listen =
                127.0.0.1</div>
              <div>5. set the target ip address to the host of instance
                and the vnc port 59XX to the vnc client and connect to
                the instance</div>
              <div> </div>
              <div><graphics type='vnc' port='5900' autoport='yes'
                listen='127.0.0.1' keymap='en-us'><br>
                      <listen type='address' address='127.0.0.1'/><br>
                    </graphics></div>
              <div> </div>
              <div> </div>
              <div>if this is ok, then may be the vncproxy type you
                config is wrong, there are two types :'novnc' and
                'xvpvnc', and in my env, the 'novnc' is used,</div>
              <div>the novnc service need be installed on the host,</div>
              <div>then you can get the vnc-console by 'nova
                get-vnc-console ${instance-uuid} novnc',</div>
              <div><a href="mailto:hzwangpan@myhost:%7E$" target="_blank">hzwangpan@myhost:~$</a>
                nova get-vnc-console
                e4975b9f-95d0-4223-8df9-7d4f017b5de7 novnc<br>
+-------+-------------------------------------------------------------------------------------+<br>
                | Type  |
                Url                                                                                
                |<br>
+-------+-------------------------------------------------------------------------------------+<br>
                | novnc | <a href="http://xxx.xxx.xxx.xxx:6080/vnc_auto.html?token=45fc8fc6-4488-4b4f-9b20-53de67d9ef8d" target="_blank">http://xxx.xxx.xxx.xxx:6080/vnc_auto.html?token=45fc8fc6-4488-4b4f-9b20-53de67d9ef8d</a>
                |<br>
+-------+-------------------------------------------------------------------------------------+</div>
              <div>the ip of Url is same as the config
                novncproxy_base_url = <a href="http://xxx.xxx.xxx.xxx:6080/vnc_auto.html" target="_blank">http://xxx.xxx.xxx.xxx:6080/vnc_auto.html</a> in
                the nova.conf.</div>
              <div>then you can try to open the url in the browser like
                google chrome of firefox(html5/websocket should be
                supported).</div>
              <div>the vnc console will be open if there is no error.</div>
              <div> </div>
              <div> </div>
              <div align="left"><font color="#c0c0c0" face="Verdana">2013-07-29</font></div>
              <div align="left"><font face="Verdana">
                  <hr style="min-height:2px;WIDTH:122px" align="left" size="2"><span><font color="#888888">
                    </font></span></font></div>
              <span><font color="#888888">
                  <div align="left"><font color="#c0c0c0" face="Verdana"><span>Wangpan</span></font></div>
                  <div><font face="Verdana">
                      <hr>
                    </font></div>
                  <div><font face="Verdana"><strong>发件人:</strong>Mahardhika
                      <<a href="mailto:mahardika.gilang@andalabs.com" target="_blank">mahardika.gilang@andalabs.com</a>></font></div>
                  <div><font face="Verdana"><strong>发送时间:</strong>2013-07-29 16:07</font></div>
                  <div><font face="Verdana"><strong>主题:</strong>Re:
                      [Openstack] can not access vm via vnc(grizzly)</font></div>
                  <div><font face="Verdana"><strong>收件人:</strong>"sam
                      lee"<<a href="mailto:lixq2000@gmail.com" target="_blank">lixq2000@gmail.com</a>>,"openstack"<<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>></font></div>

                  <div><font face="Verdana"><strong>抄送:</strong></font></div>
                </font></span>
              <div>
                <div>
                  <div> </div>
                  <div><font face="Verdana">
                      <div>Have you tried to used console on horizon
                        dashboard? vnc must be installed on instance
                        first, like tiger-vnc<br>
                        On 7/29/2013 2:53 PM, sam lee wrote:<br>
                      </div>
                      <blockquote type="cite">
                        <div dir="ltr">yes.</div>
                        <div class="gmail_extra"><br>
                          <br>
                          <div class="gmail_quote">2013/7/29 Mahardhika
                            <span dir="ltr"><<a href="mailto:mahardika.gilang@andalabs.com" target="_blank">mahardika.gilang@andalabs.com</a>></span><br>
                            <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"> <br>
                              <div text="#000000" bgcolor="#FFFFFF">
                                <div>Does the nova novnc start well?
                                  <div>
                                    <div><br>
                                      On 7/29/2013 2:14 PM, sam lee
                                      wrote:<br>
                                    </div>
                                  </div>
                                </div>
                                <blockquote type="cite">
                                  <div>
                                    <div>
                                      <div dir="ltr"><span style="FONT-SIZE:14px;FONT-FAMILY:arial,sans-serif">Hi
                                          all,</span>
                                        <div style="FONT-SIZE:14px;FONT-FAMILY:arial,sans-serif"><br>
                                        </div>
                                        <div style="FONT-SIZE:14px;FONT-FAMILY:arial,sans-serif"> 
                                                I am installing
                                          openstack grizzly on redhat
                                          6.4. when I created a
                                          instances successfully and
                                          tried to access it via vnc, it
                                          had no response. the log file
                                          xvpvncproxy.log shows an error
                                          as below:</div>
                                        <div style="FONT-SIZE:14px;FONT-FAMILY:arial,sans-serif"><br>
                                        </div>
                                        <blockquote style="FONT-SIZE:14px;BORDER-TOP:medium none;FONT-FAMILY:arial,sans-serif;BORDER-RIGHT:medium none;BORDER-BOTTOM:medium none;PADDING-BOTTOM:0px;PADDING-TOP:0px;PADDING-LEFT:0px;MARGIN:0px 0px 0px 40px;BORDER-LEFT:medium none;PADDING-RIGHT:0px">

                                          <blockquote style="BORDER-TOP:medium none;BORDER-RIGHT:medium none;BORDER-BOTTOM:medium none;PADDING-BOTTOM:0px;PADDING-TOP:0px;PADDING-LEFT:0px;MARGIN:0px 0px 0px 40px;BORDER-LEFT:medium none;PADDING-RIGHT:0px">

                                            Host: <a href="http://172.16.2.91:6081/" target="_blank">172.16.2.91:6081</a></blockquote>
                                          <blockquote style="BORDER-TOP:medium none;BORDER-RIGHT:medium none;BORDER-BOTTOM:medium none;PADDING-BOTTOM:0px;PADDING-TOP:0px;PADDING-LEFT:0px;MARGIN:0px 0px 0px 40px;BORDER-LEFT:medium none;PADDING-RIGHT:0px">

                                            Referer: <a href="http://172.16.2.91/dashboard/project/instances/e1f21ec1-7dfd-452b-ab3e-88ecfabc0929/" target="_blank">http://172.16.2.91/dashboard/project/instances/e1f21ec1-7dfd-452b-ab3e-88ecfabc0929/</a></blockquote>

                                          <blockquote style="BORDER-TOP:medium none;BORDER-RIGHT:medium none;BORDER-BOTTOM:medium none;PADDING-BOTTOM:0px;PADDING-TOP:0px;PADDING-LEFT:0px;MARGIN:0px 0px 0px 40px;BORDER-LEFT:medium none;PADDING-RIGHT:0px">

                                            User-Agent: Mozilla/5.0
                                            (Windows NT 6.1)
                                            AppleWebKit/537.31 (KHTML,
                                            like Gecko)
                                            Chrome/26.0.1410.64
                                            Safari/537.31</blockquote>
                                          <blockquote style="BORDER-TOP:medium none;BORDER-RIGHT:medium none;BORDER-BOTTOM:medium none;PADDING-BOTTOM:0px;PADDING-TOP:0px;PADDING-LEFT:0px;MARGIN:0px 0px 0px 40px;BORDER-LEFT:medium none;PADDING-RIGHT:0px">

                                            2013-07-29 10:35:18.231 3111
                                            INFO nova.XCP VNC
                                            Proxy.wsgi.server [-]
                                            Traceback (most recent call
                                            last):</blockquote>
                                          <blockquote style="BORDER-TOP:medium none;BORDER-RIGHT:medium none;BORDER-BOTTOM:medium none;PADDING-BOTTOM:0px;PADDING-TOP:0px;PADDING-LEFT:0px;MARGIN:0px 0px 0px 40px;BORDER-LEFT:medium none;PADDING-RIGHT:0px">

                                              File
                                            "/usr/lib/python2.6/site-packages/eventlet/wsgi.py",
                                            line 393, in
                                            handle_one_response</blockquote>
                                          <blockquote style="BORDER-TOP:medium none;BORDER-RIGHT:medium none;BORDER-BOTTOM:medium none;PADDING-BOTTOM:0px;PADDING-TOP:0px;PADDING-LEFT:0px;MARGIN:0px 0px 0px 40px;BORDER-LEFT:medium none;PADDING-RIGHT:0px">

                                                for data in result:</blockquote>
                                          <blockquote style="BORDER-TOP:medium none;BORDER-RIGHT:medium none;BORDER-BOTTOM:medium none;PADDING-BOTTOM:0px;PADDING-TOP:0px;PADDING-LEFT:0px;MARGIN:0px 0px 0px 40px;BORDER-LEFT:medium none;PADDING-RIGHT:0px">

                                            TypeError: 'NoneType' object
                                            is not iterable</blockquote>
                                        </blockquote>
                                        <div style="FONT-SIZE:14px;FONT-FAMILY:arial,sans-serif"><br>
                                        </div>
                                        <span style="FONT-SIZE:14px;FONT-FAMILY:arial,sans-serif">Anyone
                                          has encountered the same
                                          question before? thanks in
                                          advance.</span><br>
                                      </div>
                                      <br>
                                      <fieldset></fieldset>
                                      <br>
                                    </div>
                                  </div>
                                  <pre>_______________________________________________
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><span><font color="#888888">
</font></span></pre>
                                  <span></span></blockquote>
                                <span><font color="#888888"><br>
                                  </font></span><br>
                              </div>
                            </blockquote>
                          </div>
                        </div>
                      </blockquote>
                      <br>
                      <br>
                      <div>-- <br>
                        Regards,<br>
                        Mahardhika Gilang<br>
                        <br>
                        <strong>PT. Andalabs Technology </strong><br>
                        Gedung Gravira<br>
                        Jl. Cideng Barat no. 54<br>
                        Jakarta Pusat 10150<br>
                        <br>
                        HP : 0852 139 55861<br>
                        Email : <a href="mailto:mahardika.gilang@andalabs.com" target="_blank">mahardika.gilang@andalabs.com</a>
                      </div>
                    </font></div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <div><br>
    </div>
  </div></div></div>

</blockquote></div><br></div>