centenor's profile - activity

2016-09-14 23:29:08 -0600 received badge  Famous Question (source)
2016-07-21 11:22:56 -0600 received badge  Popular Question (source)
2016-07-20 06:38:11 -0600 asked a question Is it possible to use Cinder as the machines drive?

Hello,

We are currently running OpenStack Liberty in a test environment to test out all of the functionality. We have 4 separate servers a controlloler, compute, storage node, and object storage node. One thing I have noticed however is that every VM that is created is using the space in the compute node rather than the storage node. Is it possible to create a VM so that it uses volumes created through Cinder as its drives?

I know that there's an option to attach a volume once the VM is created but i'm curious if there is anything I can do to attach the VM to that volume before creation

I am trying to do all this through the Horizon Dashboard

Thank you!

2016-07-12 21:55:07 -0600 received badge  Self-Learner (source)
2016-07-12 21:55:07 -0600 received badge  Teacher (source)
2016-07-12 13:56:42 -0600 received badge  Notable Question (source)
2016-07-11 22:55:25 -0600 received badge  Famous Question (source)
2016-07-11 19:57:16 -0600 commented question openstack liberty horizon default login?

I'm assuming that you put "default" in the domain as part of logging onto the dashboard? It has you create that domain during the install guide. If that's still not working keystone might have not been setup properly. I would recommend checking keystone logs after a failed login attempt

2016-07-11 19:49:14 -0600 received badge  Supporter (source)
2016-07-11 19:48:32 -0600 commented question Unable to reach private network router

I'm trying to ping from the internal public network but that isn't working. The private router has the internal public network's gateway as it's external gateway, so that is why i'm confused as to why I can't reach the internal private network from the internal public network

2016-07-11 19:37:30 -0600 answered a question Openstack Installer Public IP of Horizon

As long as the server you installed the all-in-one setup on has a public IP, you should be able to reach the Horizon dashboard.

You should be able to connect by going to http://your_ip/dashboard

If that is not working it might be a misconfiguration in /etc/openstack-dashboard/local_settings file. There is an option in that file that is OPENSTACK_HOST. The value for that should be OPENSTACK_HOST = "controller"

Let me know if that doesn't work

2016-07-11 19:31:10 -0600 received badge  Popular Question (source)
2016-07-11 19:24:28 -0600 commented answer Unable to reach private network router

I've tried recreate the private network about 2-3 times using the private project steps in the liberty guide but i'm never able to hit the Gateway. My data network range is192.168.1.0/24. I defined the private range as 10.0.0.0/24 so they are two separate networks.Public range is 192.168.1.100 - 200

2016-07-11 16:09:16 -0600 commented answer Unable to reach private network router

Yes, I did run those two commands as part of the guide for setting up the private project network.On the guide it has me set it up this way:

neutron router-interface-add router private
neutron router-gateway-set router public
2016-07-11 13:57:01 -0600 asked a question Unable to reach private network router

Hi everyone,

I'm setting up OpenStack Liberty by following the install guide on the website. Everything is working great with the public network, but for some reason I am unable to get anything to work in the private network. We followed the steps for the self service provider networks but we can't seem to get it to work. I am unable to ping the gateway but i'm not seeing any errors popping up in the neutron server log. The private network for our setup is 10.0.0.0/24

Link to private project network part of guideL

http://docs.openstack.org/liberty/install-guide-rdo/launch-instance-networks-private.html (http://docs.openstack.org/liberty/ins...)

Here are a few outputs I thought would be helpful for people to see:

IP netns

qrouter-e1a43dc0-57a0-4231-bf38-cb69a66e20a7 (id: 2)
qdhcp-b2d35ed1-01c3-4050-a8ce-6011d4f2f41a (id: 1)
qdhcp-f03e2e8a-cadc-4d7f-8ad6-3651aac26d00 (id: 0)

neutron router-port-list router

+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                            |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| 5ecdea30-bcb6-45c1-8a9f-e3b0e433ff64 |      | fa:16:3e:31:71:3c | {"subnet_id": "54776291-ac99-4acf-bef3-43dc20044046", "ip_address": "192.168.1.101"} |
| 776a440c-5cdd-42cb-a232-68e9d431e29e |      | fa:16:3e:1a:bc:0e | {"subnet_id": "9f3d6d90-68f3-4a40-80cd-422a916a1756", "ip_address": "10.0.0.1"}      |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+

neutron subnet-list

+--------------------------------------+---------+----------------+----------------------------------------------------+
| id                                   | name    | cidr           | allocation_pools                                   |
+--------------------------------------+---------+----------------+----------------------------------------------------+
| 54776291-ac99-4acf-bef3-43dc20044046 | public  | 192.168.1.0/24 | {"start": "192.168.1.100", "end": "192.168.1.200"} |
| 9f3d6d90-68f3-4a40-80cd-422a916a1756 | private | 10.0.0.0/24    | {"start": "10.0.0.2", "end": "10.0.0.254"}         |
+--------------------------------------+---------+----------------+----------------------------------------------------+

I'm trying to ping 10.0.0.1, which is the gateway for the private but that isn't working. I've also tried to set a static route on the virtual router that is Destination - 192.168.1.0/24 and next hop is 192.168.1.1 (This might be incorrect but I believe that the correct static route to set)

Any help would be appreciated! Let me know if anyone needs anything from any log file or other outputs

2016-07-10 22:49:39 -0600 commented question Failing to create VM - Error code 500

Found the issue! The [neutron] section in nova.conf wasn't configured on the compute node so it kept causing that issue

2016-07-10 22:49:12 -0600 answered a question Failing to create VM - Error code 500

I was able to figure out the issue thanks to some help! The solution to this issue was that the [neutron] section was only configured in the controller. It needs to be configured on both controller & compute to work properly so that the compute node knows where to authenticate to. Since it wasn't set it kept trying to authenticate to itself and failing on building a VM.

2016-07-10 21:57:37 -0600 commented question Failing to create VM - Error code 500

Just double checked the nova.conf file on the controller and everything seems good. The url points to http://serenity:9696 & auth_url points to http://serenity:35357. The guide doesn't go over setting those options on the compute node for nova.conf on there

2016-07-10 16:05:52 -0600 received badge  Editor (source)
2016-07-10 16:03:11 -0600 commented answer Failing to create VM - Error code 500

Keystone endpoints seem correct from my end. Attaching image to original post

2016-07-10 16:02:50 -0600 commented question Failing to create VM - Error code 500

I checked the neutron server.log & everything seems good there. I'm not seeing any errors. Just the occasional accepted logs and network timeouts

2016-07-10 11:32:36 -0600 received badge  Notable Question (source)
2016-07-10 09:15:57 -0600 received badge  Popular Question (source)
2016-07-08 10:44:52 -0600 asked a question Failing to create VM - Error code 500

Hello everyone,

I am new to OpenStack and am running into an issue with creating VM's using the sample CirrOS that is included in the install. We have Horizon up and running and the flavor that we are using is an m1.tiny so I don't believe it's a resource issue on our compute node. Also, we are running OpenStack Liberty

The error reads - Build of instance e7c95f2b-0234-41cc-938b-79921f0add59 aborted: Could not clean up failed build, not rescheduling.

It's not complaining about not finding a host or lack of resources so I am not really sure what is causing this error. I've tried looking through different nova logs and have run nova service-list on the controller and everything looks okay from that end.

Are there other commands that I am unaware of that we should try or something in the logs that I'm not noticing? Let me know if you need me to post any specific logs on here, not sure which one to post

One reoccuring error that I was able to find was this in the nova-compute log when the instance fails to create

ConnectionRefused: Unable to establish connection to http://127.0.0.1:9696/v2.0/extensions.json (http://127.0.0.1:9696/v2.0/extensions...)

Keystone endpoint list -

+----------------------------------+-----------+--------------+--------------+---------+-----------+--------------------------------------------+
| ID                               | Region    | Service Name | Service Type | Enabled | Interface | URL                                        |
+----------------------------------+-----------+--------------+--------------+---------+-----------+--------------------------------------------+
| 156835a7362c41f5bfed651ada4bdab6 | RegionOne | neutron      | network      | True    | admin     | http://serenity:9696                       |
| 17827c13ee154fd887ff350466ae10df | RegionOne | cinderv2     | volumev2     | True    | internal  | http://serenity:8776/v2/%(tenant_id)s      |
| 5d11a2b46ed84391b36cb55deb648906 | RegionOne | keystone     | identity     | True    | public    | http://serenity:5000/v2.0                  |
| 6633beca33574cc2beddacbfc2d7ee91 | RegionOne | nova         | compute      | True    | internal  | http://serenity:8774/v2/%(tenant_id)s      |
| 6af6272c87d4424c898a33987ef9f97e | RegionOne | cinderv2     | volumev2     | True    | admin     | http://serenity:8776/v2/%(tenant_id)s      |
| 78da260fafe04e8d82acd49f09e71b45 | RegionOne | glance       | image        | True    | public    | http://serenity:9292                       |
| 7da9dcf6ec7a447880489d399a17c1b9 | RegionOne | swift        | object-store | True    | public    | http://serenity:8080/v1/AUTH_%(tenant_id)s |
| 869899a4572047b1b348dc87f67b96a4 | RegionOne | swift        | object-store | True    | internal  | http://serenity:8080/v1/AUTH_%(tenant_id)s |
| 887aef20ce25428a87865dad02d76a06 | RegionOne | neutron      | network      | True    | public    | http://serenity:9696                       |
| 8d6c19e384c14001b749537489627f28 | RegionOne | nova         | compute      | True    | admin     | http://serenity:8774/v2/%(tenant_id)s      |
| 969487b56eca478381b09b3775d1d1e6 | RegionOne | glance       | image        | True    | internal  | http://serenity:9292                       |
| a0c294ea26004d72943bed6fe024cd0b | RegionOne | cinderv2     | volumev2     | True    | public    | http://serenity:8776/v2/%(tenant_id)s      |
| a7a9e2601ddc4080b939de7177ea16aa | RegionOne | cinder       | volume       | True    | internal  | http://serenity:8776/v1/%(tenant_id)s      |
| bdde4307754a41b6a19e1d75e8d4c6a8 | RegionOne | cinder       | volume       | True    | public    | http://controller:8776/v1/%(tenant_id)s    |
| be5297ae78a8455d9674c8965bbfa791 | RegionOne | neutron      | network      | True    | internal  | http://serenity:9696                       |
| c2d4abb7f6d94a10934675d6acb85fd2 | RegionOne | keystone     | identity     | True    | internal  | http://serenity:5000/v2.0                  |
| cc24a5e20abb49d7aa884dc7b79b60bd | RegionOne | nova         | compute      | True    | public    | http://serenity:8774/v2/%(tenant_id)s      |
| db6887cbeb0f44819f98fd983f1dacb8 | RegionOne | swift        | object-store | True    | admin     | http://serenity:8080/v1                    |
| ddcac1edc0954861a458538cc44773e9 | RegionOne | cinder       | volume       | True    | public    | http://serenity:8776/v1/%(tenant_id)s      |
| e2bd2c034c7c48238ce99188d6fa8a3d | RegionOne | cinder       | volume       | True    | admin     | http://serenity:8776/v1/%(tenant_id)s      |
| eef569081feb4543a0a16d0f780d636e | RegionOne | keystone     | identity     | True    | admin     | http://serenity:5000/v2.0                  |
| fad5ec4eaabb4bb5a7b6245acd1efa7c | RegionOne | glance       | image        | True    | admin     | http://serenity:9292                       |
+----------------------------------+-----------+--------------+--------------+---------+-----------+--------------------------------------------+

Couple of lines from neutron server log. They seem to be okay to me, but I can't spin a VM in the public or private subnet.

2016-07-10 16 ...
(more)