Ask Your Question

ichavero's profile - activity

2016-08-10 23:18:45 -0600 answered a question i am new to openstack. i need to configure and install openstack on desktop using vm. from where should i start? any help would be helpfull

If you want to use CentOS you can try RDO with Packstack: https://www.rdoproject.org/install/qu...

2016-08-10 23:15:33 -0600 answered a question error installing openstack using packstack

Would you mind trying RDO? This is the current repo: https://repos.fedorapeople.org/repos/...

2016-04-25 12:32:04 -0600 received badge  Teacher (source)
2016-04-24 15:14:19 -0600 answered a question Packstack answer file vmware backend config

Packstack uses the nova module from the OpenStack Puppet Modules project, the nova::compute::vmware class sets the vmware configuration directives in the nova configuration file:


nova_config {
    'DEFAULT/compute_driver':     value => $compute_driver;
    'VMWARE/host_ip':             value => $host_ip;
    'VMWARE/host_username':       value => $host_username;
    'VMWARE/host_password':       value => $host_password;
    'VMWARE/cluster_name':        value => $cluster_name;
    'VMWARE/api_retry_count' :    value => $api_retry_count;
    'VMWARE/maximum_objects' :    value => $maximum_objects;
    'VMWARE/task_poll_interval' : value => $task_poll_interval;
    'VMWARE/use_linked_clone':    value => $use_linked_clone;
  }


 

https://github.com/openstack/puppet-nova/blob/master/manifests/compute/vmware.pp#L65 (https://github.com/openstack/puppet-n...)

Here's how packstack uses it:


class { '::nova::compute::vmware':
  host_ip       => hiera('CONFIG_VCENTER_HOST'),
  host_username => hiera('CONFIG_VCENTER_USER'),
  host_password => hiera('CONFIG_VCENTER_PASSWORD'),
  cluster_name  => $nova_vcenter_cluster_name,
}
 

https://github.com/openstack/packstack/blob/master/packstack/puppet/templates/nova_compute_vmware.pp#L2 (https://github.com/openstack/packstac...)

Since packstack sets only the values above, the module uses it's default values:


  $api_retry_count = 5,
  $maximum_objects = 100,
  $task_poll_interval = 5.0,
  $use_linked_clone = true,
  $wsdl_location = undef,
  $compute_driver = 'vmwareapi.VMwareVCDriver'
 

I hope this helps

2016-03-19 13:20:50 -0600 commented question Instances with large images sometimes fail to start/spawn

you should check if the libvirt log file gives you some more information

2016-03-19 12:57:05 -0600 answered a question Keystone verifying operations HTTP 500 in app.py

can you try sourcing a bash script that sets this variables and see if your problem persists?

unset OS_SERVICE_TOKEN
export OS_USERNAME=admin
export OS_PASSWORD=password
export OS_AUTH_URL=http://your_keystone_ip:5000/v2.0
export PS1='[\u@\h \W(keystone_admin)]\$ '

export OS_TENANT_NAME=admin
export OS_REGION_NAME=RegionOne
2015-06-15 10:33:39 -0600 answered a question Slow iperf performance between vms

i have found that setting the MTU to 1454 on the instances helps

2015-05-08 15:50:59 -0600 received badge  Autobiographer
2015-05-08 15:47:38 -0600 answered a question Which version of Fedora is recommended for Kilo installation

I've tried packstack + F21/CentOS 7.1/RHEL 7.1 + Kilo and it works

2015-01-27 15:29:21 -0600 received badge  Famous Question (source)
2015-01-27 15:29:21 -0600 received badge  Famous Question (source)
2015-01-02 16:17:47 -0600 received badge  Notable Question (source)
2014-12-31 14:28:27 -0600 commented answer Nova Docker Networking problem

i created a new router assigned to the admin tenant but it didn't create the qroute netns when i added the external gateway

2014-12-30 15:34:30 -0600 received badge  Popular Question (source)
2014-12-30 11:58:22 -0600 answered a question Nova Docker Networking problem

# docker ps
CONTAINER ID        IMAGE                                COMMAND             CREATED             STATUS              PORTS                  NAMES
9081b29f54bc        sotolitolabs/nginx-test-net:latest   "/usr/sbin/nginx"   10 hours ago        Up 10 hours                                nova-5f3309cf-06df-4969-8810-45bd917b3d4a   
 

# ip netns
9081b29f54bc276a87770f058013b33a86019bda747052f2e2ba350bea1b8573
6240bfee62fcfe2b8546b06bb051ee34a1e2476c1da8a231b0f54895ac2f7884
51a4a54efbb9185b9112b73bd354ee19c02e376df91d674e5cda59cef1da7ca5
89b59bf9f442a0d468d9d4d8c9370c53f8e4a3ba4d8affcd6be8b2dde84fff64
3e0514527a598ab9262a2d5353ee5fe3f0687dc8fbf8a16eb8f05388bcd6a23e
c39d11c069a81b1473c7961852daf691c0588d2e5ad467ff6b65b3eb5483ac3d
96759c5e11b3041c30750b95a8a1d68da2c0e7ea716b926361b948ed58e5d4e6
557c4e73d6cec26a89a569ba22414b54b016d855e88e85338e0640247cf028fa
d04079cd207db77604f8544d03f784da8235a55bd339baef03323e0fcb841231
69f35240de4fc1bf26a981f3db26ccc19903deac152144f2d34088e5c63b68de
990a92c1f5fc9f591285a3bb90fdeac9991aa96fd8fe1bb3f7facbaa165e018f
1e11bffe192e96568553a1e7ad80aacb9f8cc205c48eb358d3cded6be4d71b92
3a833584bb0459d84e25154d10443c87eaf0cc5cf58312cc3f3fd6f2e36236a4
qdhcp-f7f6b1c3-3431-4831-b32c-6a00811d7056
 

# ovs-vsctl show
2de4ca9a-78cc-426c-84d0-a43537c66d62
    Bridge br-tun
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-int
        fail_mode: secure
        Port "tapd2d0eea1-6a"
            tag: 1
            Interface "tapd2d0eea1-6a"
        Port br-int
            Interface br-int
                type: internal
        Port "tap6b2917cb-4c"
            tag: 1
            Interface "tap6b2917cb-4c"
        Port "tap7893b669-3e"
            tag: 1
            Interface "tap7893b669-3e"
        Port "tap38e65528-a9"
            tag: 1
            Interface "tap38e65528-a9"
        Port "tapdf6d26d4-c8"
            tag: 1
            Interface "tapdf6d26d4-c8"
        Port "tap451d2e6f-93"
            tag: 1
            Interface "tap451d2e6f-93"
        Port "tapc9b6577a-ac"
            tag: 1
            Interface "tapc9b6577a-ac"
        Port "tape4d2a4f7-36"
            tag: 1
            Interface "tape4d2a4f7-36"
        Port "tapd77a11f0-33"
            tag: 1
            Interface "tapd77a11f0-33"
        Port "tap2a930a1f-c5"
            tag: 1
            Interface "tap2a930a1f-c5"
        Port "tap5116e690-9a"
            tag: 1
            Interface "tap5116e690-9a"
        Port "tapbbe59188-ab"
            tag: 1
            Interface "tapbbe59188-ab"
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tapa24789ad-23"
            tag: 1
            Interface "tapa24789ad-23"
        Port "tap863eb9a3-46"
            tag: 4095
            Interface "tap863eb9a3-46"
                type: internal
    Bridge br-ex
        Port "eth0"
            Interface "eth0"
        Port "nsbbe59188-ab"
            Interface "nsbbe59188-ab"
        Port br-ex
            Interface br-ex
                type: internal
    ovs_version: "2.3.0"
 

Couldn't find the router in the ip netns output

I don't know what i did wrong here. But i guess this is the source of my problems How can i create this router??

This part i do have:


# ip netns exec qdhcp-f7f6b1c3-3431-4831-b32c-6a00811d7056 route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 tap863eb9a3-46
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 tap863eb9a3-46
 

# ip netns exec qdhcp-f7f6b1c3-3431-4831-b32c-6a00811d7056 ifconfig
lo: flags=73<up,loopback,running>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tap863eb9a3-46: flags=4163<up,broadcast,running,multicast>  mtu 1500
        inet 10.0.0.2  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe24:7b2c  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:24:7b:2c  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 648 (648.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 

Thanks!
Ivan

2014-12-29 12:11:55 -0600 asked a question Nova Docker Networking problem

Hello,

I've installed OpenStack with Docker as hypervisor on a cubietruck, everything seems to work ok but the container ip does not respond to pings nor respond to the service i'm running inside the container (nginx por 80).

I checked how nova created the container and it looks like everything is in place:

nova list

+--------------------------------------+---------------+--------+------------+-------------+----------------------+
| ID                                          | Name        | Status | Task State | Power State | Networks             |
+--------------------------------------+---------------+--------+------------+-------------+----------------------+
| 249df778-b2b6-490c-9dce-1126f8f337f3 | test_nginx_13 | ACTIVE | -          | Running     | public=192.168.1.135 |
+--------------------------------------+---------------+--------+------------+-------------+----------------------+
# docker ps
CONTAINER ID        IMAGE COMMAND             CREATED             STATUS PORTS                  NAMES
89b59bf9f442        sotolitolabs/nginx_arm:latest "/usr/sbin/nginx"   6 hours ago         Up 6 hours nova-249df778-b2b6-490c-9dce-1126f8f337f3

A funny thing that i noticed but i'm not really sure it's relevant, the docker container does not show network info when created by nova:

 # docker inspect 89b59bf9f442

.... unnecesary output....

"NetworkSettings": {
        "Bridge": "",
        "Gateway": "",
        "IPAddress": "",
        "IPPrefixLen": 0,
        "PortMapping": null,
        "Ports": null
    },
# neutron router-list

+--------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
| id                                   | name    | external_gateway_info | distributed | ha    |
+--------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
| f8dc7e15-1087-4681-b495-217ecfa95189 | router1 | {"network_id": "160add9a-2d2e-45ab-8045-68b334d29418", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "1ae33c0b-a04e-47b6-bdba-bbdf9a3ef14d", "ip_address": "192.168.1.120"}]} | False       | False |
+--------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
# neutron subnet-list

+--------------------------------------+----------------+----------------+----------------------------------------------------+
| id                                   | name           | cidr           | allocation_pools |
+--------------------------------------+----------------+----------------+----------------------------------------------------+
| 34995548-bc2b-4d33-bdb2-27443c01e483 | private_subnet | 10.0.0.0/24    | {"start": "10.0.0.2", "end": "10.0.0.254"} |
| 1ae33c0b-a04e-47b6-bdba-bbdf9a3ef14d | public_subnet  | 192.168.1.0/24 | {"start": "192.168.1.120", "end": "192.168.1.200"} |
+--------------------------------------+----------------+----------------+----------------------------------------------------+
# neutron port-list

+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| 863eb9a3-461c-4016-9bd1-7c4c7210db98 |      | fa:16:3e:24:7b:2c | {"subnet_id": "34995548-bc2b-4d33-bdb2-27443c01e483", "ip_address": "10.0.0.2"}      |
| bbe59188-ab4e-4b92-a578-bbc2d6759295 |      | fa:16:3e:1c:04:6a | {"subnet_id": "1ae33c0b-a04e-47b6-bdba-bbdf9a3ef14d", "ip_address": "192.168.1.135"} |
| c8b94a90-c7d1-44fc-a582-3370f5486d26 |      | fa:16:3e:6f:69:71 | {"subnet_id": "34995548-bc2b-4d33-bdb2-27443c01e483", "ip_address": "10.0.0.1"}      |
| f108b583-0d54-4388-bcc0-f8d1cbe6efd4 |      | fa:16:3e:bb:3a:1b | {"subnet_id": "1ae33c0b-a04e-47b6-bdba-bbdf9a3ef14d", "ip_address": "192.168.1.120"} |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+

the network namespace is being created:

 # ip netns exec 89b59bf9f442a0d468d9d4d8c9370c53f8e4a3ba4d8affcd6be8b2dde84fff64 ifconfig

lo: flags=73<up,loopback,running>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

nsbbe59188-ab: flags=4163<up,broadcast,running,multicast>  mtu 1500
        inet 192.168.1.135  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::f816:3eff:fe1c:46a  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:1c:04:6a  txqueuelen 1000  (Ethernet)
        RX packets 8  bytes 648 (648.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 648 (648.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

when i try a ping it does not return:

# ping -c3 192.168.1.135

PING 192.168.1.135 (192.168.1.135) 56(84) bytes of data.
From 192.168.1.65 icmp_seq=1 Destination Host Unreachable
From 192.168.1.65 icmp_seq=2 Destination Host Unreachable
From 192.168.1.65 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.135 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2008ms ...
(more)
2014-12-29 09:38:47 -0600 answered a question should nova-docker work on Juno?

The image that you export to glance needs to have exact same name as the docker image.

for example:

docker pull samalba/hipache

docker save samalba/hipache | glance image-create --is-public=True --container-format=docker --disk-format=raw --name samalba/hipache