Ask Your Question

jharley's profile - activity

2016-09-08 16:26:10 -0500 received badge  Self-Learner (source)
2016-09-08 16:26:10 -0500 received badge  Teacher (source)
2016-09-08 16:24:00 -0500 received badge  Good Question (source)
2015-02-13 05:15:32 -0500 received badge  Famous Question (source)
2015-02-06 11:09:19 -0500 received badge  Organizer (source)
2015-02-04 09:20:17 -0500 received badge  Notable Question (source)
2015-01-28 15:32:28 -0500 commented answer juno + centos 7 + ceph: how to add rbd support (nova)

If you had previously existing instances before making the changes to nova and cinder (I'm assuming you're booting from volume?), I think you may need to look into configuring multiple storage backends in cinder:

http://docs.openstack.org/admin-guide...

2015-01-28 13:02:59 -0500 received badge  Popular Question (source)
2015-01-28 13:02:23 -0500 received badge  Scholar (source)
2015-01-27 17:12:01 -0500 asked a question Launching a nova instance inside VMWare Fusion locks compute node

Until recently, myself and my co-wokers have been doing OpenStack development and testing inside VirtualBox VMs on our workstations. nova-compute is configured to use libvirt with qemu, and inside VirtualBox nova instances launch without issue. Switching the same configuration to a VMWare Fusion VM (same automated install and config.) causes the VM running nova-compute to 'lock up' and the instance to never come online. I've tested with Icehouse (2014.1.3) and Juno (2014.2.1). I've confirmed the same is true with a devstack (which sets up in qemu mode).

I have a basic Ubuntu 14.04.1 VM in Fusion and confirmed that I can launch QEMU (non accelerated) and KVM (accelerated w/VT-x) instances using the Fusion VM without any lockups. This leads me to believe that something about our VMX configuration (I have tried enabling VT-x and disabling VT-x without any change in behaviour), or something about nova-compute+libvirt working inside VMWare Fusion that is causing this to happen (especially since the same is true of devstack).

I have found many blog posts where people talk about using OpenStack and Nova with libvirt inside VMWare, so I'm sure this can work.. can anyone point me in the right direction?

2015-01-27 16:15:37 -0500 answered a question juno + centos 7 + ceph: how to add rbd support (nova)

I would recommend reading through the excellent document provided by Inktank:

http://ceph.com/docs/v0.80.5/rbd/rbd-...

2014-11-15 19:06:54 -0500 received badge  Famous Question (source)
2014-05-16 09:44:48 -0500 received badge  Nice Question (source)
2014-05-16 09:44:18 -0500 received badge  Popular Question (source)
2014-05-16 09:44:18 -0500 received badge  Notable Question (source)
2014-02-28 14:50:54 -0500 answered a question front nova-novncproxy with nginx

I'll answer my own question, just in case anyone else stumbles upon this issue and wants to solve it.

With the help of Firebug, I saw that the noVNC application was telling my browser to do a 'GET /websockify', with that hint in mind I tweaked my nginx configuration and it now looks something like this:

upstream nova-consoleproxy {
    server 127.0.0.1:6080 fail_timeout=0;
}     

location /websockify {
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-Host $host;
          proxy_set_header X-Forwarded-Server $host;
          proxy_set_header x-forwarded-proto https;
          proxy_set_header Host $host;
          proxy_http_version 1.1;
          proxy_read_timeout 86400;

          proxy_pass http://nova-consoleproxy;

          proxy_set_header Upgrade $http_upgrade;
          proxy_set_header Connection "upgrade";
        }

    location /console {
      rewrite ^/console/(.*) /$1 break;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-Host $host;
      proxy_set_header X-Forwarded-Server $host;
      proxy_set_header x-forwarded-proto https;
      proxy_set_header Host $host;
      proxy_http_version 1.1;
      proxy_read_timeout 86400;

      proxy_pass http://nova-consoleproxy;

      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection "upgrade";
    }
2014-02-28 09:05:39 -0500 received badge  Student (source)
2014-02-27 17:46:42 -0500 asked a question front nova-novncproxy with nginx

In order to deal with firewire rules and potentially restrictive environments, I want to proxy connections into noVNC on tcp/6080 with nginx. From what I can tell, I've setup nginx to properly proxy websockets but noVNC is returning 'Server disconnected (code: 1006)'. I can connect directly to the service just fine directly on 6080.

Has anyone got this to work in their environment?

My nginx config, for reference:

  location /console {
        rewrite ^/console/(.*) /$1 break;
        proxy_set_header x-forwarded-for $proxy_add_x_forwarded_for;
        proxy_set_header x-real-ip $remote_addr;
        proxy_set_header host $host;
        proxy_set_header x-forwarded-proto http;
        proxy_http_version 1.1;
        proxy_read_timeout 86400;

        proxy_pass http://127.0.0.1:6080;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }

With the intention of connecting to "http://mydashboardhost/console/vnc_auto.html?token=[...]" (nova's novncproxy_base_url property is set accordingly and 'nova get-vnc-console' returns a proper URL.

2013-10-22 20:25:02 -0500 received badge  Supporter (source)
2013-10-22 20:16:57 -0500 received badge  Editor