Ask Your Question

endre-karlson's profile - activity

2018-04-27 02:26:22 -0500 received badge  Teacher (source)
2015-07-24 15:05:04 -0500 received badge  Notable Question (source)
2015-07-24 15:05:04 -0500 received badge  Famous Question (source)
2015-07-24 15:05:04 -0500 received badge  Popular Question (source)
2015-06-16 02:50:37 -0500 received badge  Famous Question (source)
2015-06-16 02:50:37 -0500 received badge  Notable Question (source)
2015-06-16 02:50:37 -0500 received badge  Popular Question (source)
2014-09-14 09:03:48 -0500 received badge  Notable Question (source)
2014-09-14 09:03:48 -0500 received badge  Popular Question (source)
2012-10-12 09:05:37 -0500 asked a question DHCP requests arrives at the dhcp interface but no offer goes back

I have 1 node that's a combined controller and compute (cmp01) and 1 other that's compute only (cmp02).

On the controller when I dump on the DHCP interface I get while starting dhclient on the VM: root@cmp01:~# tcpdump -n -e -ttt -vvv -i tap8adb92d6-37 tcpdump: listening on tap8adb92d6-37, link-type EN10MB (Ethernet), capture size 65535 bytes 00:00:00.000000 fa:16:3e:63:12:d0 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from fa:16:3e:63:12:d0, length 300, xid 0xa387b426, secs 25, Flags [none] (0x0000) Client-Ethernet-Address fa:16:3e:63:12:d0 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Parameter-Request Option 55, length 17: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Domain-Name, Domain-Name-Server, Hostname, YD YS, NTP, MTU, Option 119 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252 NTP END Option 255, length 0 PAD Option 0, length 0, occurs 37 00:00:00.000186 fa:16:3e:31:b4:ae > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.60.3 tell 172.16.60.1, length 28 00:00:00.999291 fa:16:3e:31:b4:ae > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.60.3 tell 172.16.60.1, length 28 00:00:00.999976 fa:16:3e:31:b4:ae > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.60.3 tell 172.16.60.1, length 28 00:00:00.877279 fa:16:3e:63:12:d0 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: [udp sum ok] BOOTP/DHCP, Request from fa:16:3e:63:12:d0, length 300, xid 0xf96c2974, Flags [none] (0x0000) Client-Ethernet-Address fa:16:3e:63:12:d0 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message Option 53, length 1: Discover Parameter-Request Option 55, length 13: Subnet-Mask, BR, Time-Zone, Classless-Static-Route Domain-Name, Domain-Name-Server, Hostname, YD YS, NTP, MTU, Option 119 Default-Gateway END Option 255, length 0 PAD Option 0, length 0, occurs 41 00:00:02.658845 fa:16:3e:63:12:d0 > 33:33:00:00:00:16, ethertype IPv6 (0x86dd), length 110: (hlim 1, next-header Options (0) payload length: 56) :: > ff02::16: HBH (rtalert: 0x0000) (padn)[icmp6 sum ok] ICMP6, multicast listener report v2, 2 group record(s) [gaddr ff02::1:ff63:12d0 to_ex { }] [gaddr ff02::202 to_ex { }] 00:00:00.020400 fa:16:3e:63:12:d0 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: (tos 0x10, ttl 128, id 0, offset ... (more)

2012-10-08 18:24:51 -0500 answered a question Quantum / Folsom - Traffic is not tagged when leaving interfaces

Is there any help on this ?

2012-10-06 09:32:50 -0500 answered a question Ubuntu & Folsom -- Stuck with Nova -- "Please input your password for the keyring"

Add this to your .bashrc export OS_NO_CACHE=1

And try again Den 6. okt. 2012 11:06 skrev "neo0" question210500@answers.launchpad.net følgende:

New question #210500 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+question/210500 (https://answers.launchpad.net/nova/+q...)

I'm trying to install Openstack Folsom in Ubuntu 12.04 following trunk documents:

http://docs.openstack.org/trunk/openstack-compute/install/apt/content/compute-minimum-configuration-settings.html (http://docs.openstack.org/trunk/opens...)

It's fine with keystone and glance. I checked and both of them work great. After install all nova package and configuring, I run nova-manage db sync with no problem. But when I check:

$ nova-manage services list

it returned nothing.

I check with other command like:

$ nova image-list

then it ask for enter a password

"Please input your password for the keyring" "Wrong password for the keyring."

There is nothing in the /var/log/nova/

I've never ever in this situation. Here is my nova.conf

[DEFAULT]

LOGS/STATE

--verbose=True --logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova

AUTHENTICATION

--auth_strategy=keystone

SCHEDULER

--compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

VOLUMES

--volume_driver=nova.volume.driver.ISCSIDriver --volume_group=nova-volumes --volume_name_template=volume-%08x --iscsi_helper=tgtadm

DATABASE

--sql_connection=mysql://nova:nova@172.17.17.21/nova_db

COMPUTE

--libvirt_type=qemu --compute_driver=libvirt.LibvirtDriver --instance_name_template=instance-%08x --api_paste_config=/etc/nova/api-paste.ini --allow_resize_to_same_host=True

APIS

--osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions --ec2_dmz_host=172.17.17.21 --s3_host=172.17.17.21

RABBITMQ

--rabbit_host=172.17.17.21

GLANCE

--image_service=nova.image.glance.GlanceImageService --glance_api_servers=172.17.17.21:9292

NETWORK

--network_manager=nova.network.manager.VlanManager --force_dhcp_release=True --dhcpbridge_flagfile=/etc/nova/nova.conf --firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver

Change my_ip to match each host

--my_ip=172.17.17.21 --public_interface=eth0 --vlan_interface=eth0 --fixed_range=10.0.0.0/24

NOVNC CONSOLE

--novncproxy_base_url=http://172.17.17.21:6080/vnc_auto.html

Change vncserver_proxyclient_address and vncserver_listen to match each

compute host --vncserver_proxyclient_address=172.17.17.21 --vncserver_listen=172.17.17.21

[keystone_authtoken] --auth_host = 172.17.17.21 --auth_port = 35357 --auth_protocol = http --auth_uri = http://172.17.17.21:5000/ --admin_tenant_name =service --admin_user = nova --admin_password = nova

In this guide version, there is not require config admin_* after [filter:authtoken] in /etc/nova/api-paste.ini. I also changed these config, but it did not work.

What should I do?

Thank you!


You received this question notification because you are an answer contact for OpenStack Compute (nova).

2012-10-05 22:22:04 -0500 answered a question Quantum / Folsom - Traffic is not tagged when leaving interfaces

Still need this answered.

2012-10-05 22:18:51 -0500 answered a question Quantum / Folsom - Traffic is not tagged when leaving interfaces

Rather speaking Salvatore if I try to ping .1 or .2 which is the l3 / router and dhcp address from the VM it can't be pinged.

This is what I see on the controller: 00:00:00.000000 fa:16:3e:6a:97:92 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 60, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.59.1 tell 172.16.59.5, length 28

Compute dump:

00:00:00.000000 fa:16:3e:6a:97:92 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 46: vlan 60, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 172.16.59.1 tell 172.16.59.5, length 28

The VLAN stuff seems to be working fine but there's no real traffic that works since ICMP isn't getting though.

2012-10-05 21:16:35 -0500 asked a question Quantum / Folsom - Traffic is not tagged when leaving interfaces

My interface doesn't see any tagget traffic leaving it even though it says so using dump-flows on the bridge that it should.

My switch is configured with LACP and VLAN 60-100 in tagget mode.

http://paste.ubuntu.com/1262742/ < Some collected debug info for OVS, iptables, ip addr and ro + more.

2012-05-21 09:21:09 -0500 answered a question How to import a keypair?

ssh-rsa <long random="" string=""> <optional descriptive="" string="">

The format above.

Endre.

2012/5/21 Michael Lin question197936@answers.launchpad.net

New question #197936 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+question/197936 (https://answers.launchpad.net/nova/+q...)

Dear all,

I have a big question...

Anyone can teach me how to import a keypair?

I don't know what kind of data need to insert into the column "public key" (by dashboard or python-novaclient)?

Thanks for your kindly help :D

Michael Lin 2012.05.21


You received this question notification because you are an answer contact for OpenStack Compute (nova).

2012-05-10 09:32:48 -0500 answered a question Problem when using nova+quantum+openvswitch to create VM

What distribution are you running on and what version?

2012-05-02 10:45:05 -0500 asked a question Howto setup OVS with Ubuntu 12.04

I'm wondering on howto setup OVS with Quantum & Ubuntu 12.04?

I've tried adding this to qemu.conf:

cgroup_device_acl = [
   "/dev/null", "/dev/full", "/dev/zero",
   "/dev/random", "/dev/urandom",
   "/dev/ptmx", "/dev/kvm", "/dev/kqemu",
   "/dev/rtc", "/dev/hpet", "/dev/net/tun",
]

And also this udev rule:

KERNEL=="tun",                  MODE="0666", OPTIONS+="static_node=net/tun", GROUP="kvm"

Rebooted and tried to spawn guests but then I still get:

2012-05-02 11:38:41 ERROR nova.rpc.amqp [req-efd72ce0-e862-4b58-b82d-9fdac46840ff f0e22141b0404e7f9852cce01f6454de f8109734926d4b1c91d6e7b5d1cbd23a] Exception during message handling
2012-05-02 11:38:41 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in _process_data
2012-05-02 11:38:41 TRACE nova.rpc.amqp     rval = node_func(context=ctxt, **node_args)
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
2012-05-02 11:38:41 TRACE nova.rpc.amqp     return f(*args, **kw)
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function
2012-05-02 11:38:41 TRACE nova.rpc.amqp     sys.exc_info())
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-02 11:38:41 TRACE nova.rpc.amqp     self.gen.next()
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in decorated_function
2012-05-02 11:38:41 TRACE nova.rpc.amqp     return function(self, context, instance_uuid, *args, **kwargs)
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 651, in run_instance
2012-05-02 11:38:41 TRACE nova.rpc.amqp     do_run_instance()
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 945, in inner
2012-05-02 11:38:41 TRACE nova.rpc.amqp     retval = f(*args, **kwargs)
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 650, in do_run_instance
2012-05-02 11:38:41 TRACE nova.rpc.amqp     self._run_instance(context, instance_uuid, **kwargs)
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 451, in _run_instance
2012-05-02 11:38:41 TRACE nova.rpc.amqp     self._set_instance_error_state(context, instance_uuid)
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-02 11:38:41 TRACE nova.rpc.amqp     self.gen.next()
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 432, in _run_instance
2012-05-02 11:38:41 TRACE nova.rpc.amqp     self._deallocate_network(context, instance)
2012-05-02 11:38:41 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-05-02 11:38:41 TRACE nova.rpc.amqp     self.gen.next()
2012-05-02 11:38:41 TRACE nova.rpc.amqp ...
(more)
2012-04-24 23:48:24 -0500 asked a question Nova - snat pr project

Does nova network support pr project SNAT towards the routing_source_ip or just for the fixed_range?

I saw earlier that my installation made 1 snat rule pr project but now it doesn't..

I thought it could do 1 snat for each network create via nova-manage

2011-10-27 13:34:49 -0500 answered a question ERROR:django_openstack.dash:Exception in instance index

I run diablo to on Nova, but I'm unable to use dashboard from trunk :(

2011/10/27 Jim Yeh question176195@answers.launchpad.net:

Question #176195 on OpenStack Dashboard (Horizon) changed: https://answers.launchpad.net/horizon/+question/176195 (https://answers.launchpad.net/horizon...)

Jim Yeh posted a new comment: Yes. I run on Diablo. I use apt-get for most of package. Keystone, openstackx and dashboard installed from source.


You received this question notification because you are a direct subscriber of the question.

2011-10-27 12:52:17 -0500 answered a question ERROR:django_openstack.dash:Exception in instance index

Are you running on Diablo nova Jim?

2011-10-26 22:23:49 -0500 asked a question Errors with Dashboard trunk and nova diablo

I asked Devin yesterday if I should be able to use Dashboard trunk with Nova diablo and he said it should be ok though i get these in nova-api.log when doing actions in DB: 2011-10-26 22:19:02,506 DEBUG routes.middleware [-] No route matched for POST /os-keypairs

and several others, missing something?

2011-10-26 21:37:33 -0500 answered a question ERROR:django_openstack.dash:Exception in instance index

I can second this, i'm getting the same error with it, the problem seems to be that it looks for something it can't find in nova?

2011-10-24 13:34:36 -0500 answered a question Connection refused errors with dashboard

NVM, wrong endpoints.

2011-10-24 13:23:40 -0500 answered a question Connection refused errors with dashboard

Where is it that it get's the urls from ?

Endre

2011-10-24 13:23:02 -0500 asked a question Connection refused errors with dashboard

My config file: http://paste.pocoo.org/show/497334/

Errors I get are: EBUG:django.db.backends:(0.000) SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = 18d17b15bfa193d24fed94dfaf970c0b AND "django_session"."expire_date" > 2011-10-24 13:20:46.344452 ); args=('18d17b15bfa193d24fed94dfaf970c0b', u'2011-10-24 13:20:46.344452') DEBUG:django_openstack.api:extras_api connection created using token "f9b82b24-9b4e-4250-a4a2-12ef0e7faabf" and url "http://127.0.0.1:8774/v1.1" ERROR:django_openstack.dash:ApiException in instance usage Traceback (most recent call last): File "/root/horizon/django-openstack/django_openstack/dash/views/instances.py", line 176, in usage usage = api.usage_get(request, tenant_id, datetime_start, datetime_end) File "/root/horizon/django-openstack/django_openstack/api.py", line 324, in inner return f(args, *kwargs) File "/root/horizon/django-openstack/django_openstack/api.py", line 710, in usage_get return Usage(extras_api(request).usage.get(tenant_id, start, end)) File "/root/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/extras/usage.py", line 15, in get return self._get("/extras/usage/%s?start=%s&end=%s" % (tenant_id, start.isoformat(), end.isoformat()), "usage") File "/root/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/base.py", line 36, in _get resp, body = self.api.connection.get(url) File "/root/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py", line 78, in get return self._cs_request(url, 'GET', *kwargs) File "/root/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py", line 63, in _cs_request *kwargs) File "/root/horizon/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py", line 48, in request raise exceptions.from_response(resp, body) BadRequest: [Errno 111] ECONNREFUSED (HTTP 400) DEBUG:django_openstack.api:auth_api connection created using url "http://keystone.stack.lan:5000/v2.0/" /root/horizon/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/template/loaders/filesystem.py:58: DeprecationWarning: 'django.template.loaders.filesystem.load_template_source' is deprecated; use 'django.template.loaders.filesystem.Loader' instead. DeprecationWarning /root/horizon/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/template/loaders/app_directories.py:71: DeprecationWarning: 'django.template.loaders.app_directories.load_template_source' is deprecated; use 'django.template.loaders.app_directories.Loader' instead. DeprecationWarning [24/Oct/2011 13:20:46] "GET /dash/ HTTP/1.1" 200 3182 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/jquery.min.js HTTP/1.1" 200 85259 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/jquery-ui.min.js HTTP/1.1" 200 199939 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/jquery.quicksearch.js HTTP/1.1" 200 3369 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/jquery.example.min.js HTTP/1.1" 200 2030 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/jquery.chosen.js HTTP/1.1" 200 29832 [24/Oct/2011 13:20:46] "GET /static/dashboard/js/form_examples.js HTTP/1.1" 200 1518 [24/Oct/2011 13:20:49] "GET /static/dashboard/js/application.js HTTP/1.1" 200 1562 [24/Oct/2011 13:20:49] "GET /static/dashboard/css/style.css HTTP/1.1" 200 19746 [24/Oct/2011 13:20:49] "GET /static/dashboard/css/chosen.css HTTP/1.1" 200 12639 [24/Oct/2011 ... (more)

2010-11-22 11:28:33 -0500 answered a question Is there any web interface to manage & instantiate vm images ?

EC2 API ?

2010/11/22 Soren Hansen question135025@answers.launchpad.net

Question #135025 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/135025 (https://answers.launchpad.net/nova/+q...)

Status: Open => Answered

Soren Hansen proposed the following answer: 2010/11/22 Amit Dang question135025@answers.launchpad.net:

New question #135025 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+question/135025 (https://answers.launchpad.net/nova/+q...)

Is there any web interface to manage & instantiate VM images?

Not shipped with Nova, no. There may be separate projects that provide this. Any web interface that speaks the HTTP query EC2 API should work with Nova.


Soren Hansen Ubuntu Developer http://www.ubuntu.com/ OpenStack Developer http://www.openstack.org/

You received this question notification because you are an answer contact for OpenStack Compute (nova).

2010-10-22 07:05:00 -0500 answered a question about install nova

If you are "root" at Centos you can just remove the 'sudo' from each line since it's only needed if you are running sudo'ed commands, if you want to install sudo do as 'root' user 'yum install sudo' and then continue the commands / steps in whatever guide you are following.

Regards Endre.

2010-10-20 12:02:16 -0500 answered a question Download link?

There's now an RC out, download it at the http://launchpad.net/nova/austin/austin-rc/+download/nova-2010.1.tar.gz (http://launchpad.net/nova/austin/aust...) link.

Endre.