Ask Your Question

runamuck's profile - activity

2020-07-15 11:45:31 -0600 received badge  Popular Question (source)
2020-07-15 11:45:31 -0600 received badge  Famous Question (source)
2020-07-15 11:45:31 -0600 received badge  Notable Question (source)
2020-06-09 06:47:14 -0600 received badge  Popular Question (source)
2020-06-09 06:47:14 -0600 received badge  Notable Question (source)
2019-06-26 04:17:17 -0600 received badge  Popular Question (source)
2019-06-19 15:41:30 -0600 asked a question How do I change change default_panel in horizon?

I just deployed OpenStack Rocky.

When I open the horizon dashboard and navigate to any project, it defaults to "Workbooks" and then emits an error.

I would like to set the default_panel to instances.

I followed the https://docs.openstack.org/horizon/latest/configuration/customizing.html (customization instructions) and added the following to /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py

import os

from django.utils.translation import ugettext_lazy as _

from horizon.utils import secret_key

from openstack_dashboard import exceptions
from openstack_dashboard.settings import HORIZON_CONFIG

## I added this to top of the file
from horizon import get_panel
##

DEBUG = False
TEMPLATE_DEBUG = DEBUG

<snip>

#DISALLOW_IFRAME_EMBED = True

HORIZON_CONFIG["disallow_iframe_embed"] = True

## I added this to the end of the file
project = get_dashboard("project")
project.default_panel = "instances"
##

I then navigated to the horizon GUI, logged in and it still defaults to "workbooks."

Did I configure this correctly? Do I need to re-start the horizon service for the change to take effect?

2019-06-06 09:15:00 -0600 asked a question Tripleo - Ironic Introspection assigns IP via DHCP but TFTP times out

I have an Undercloud Director VM that serves DHCP and TFTP.

During introspection, six Dell R640's successfully receive an IP address from DHCP but TFTP times out.

I used the TFTP client to verify that the target image exists on the server.

I did a TCP dump, and the Undercloud Director presents localhost.localdomain for Option 66 (TFTP)... could this be the problem?

12:19:49.304734 52:54:00:3c:13:56 > Broadcast, ethertype IPv4 (0x0800), length 368: (tos 0xc0, ttl 64, id 24928, offset 0, flags [none], proto UDP (17), length 354)
    10.152.111.15.bootps > 255.255.255.255.bootpc: [bad udp cksum 0xa410 -> 0x32b3!] BOOTP/DHCP, Reply, length 326, xid 0x2a3ebd51, Flags [Broadcast] (0x8000)
      Your-IP 10.152.111.66
      Server-IP 10.152.111.15
      Client-Ethernet-Address e4:43:4b:1f:ab:25
      Vendor-rfc1048 Extensions
        Magic Cookie 0x12341234
        DHCP-Message Option 53, length 1: Offer
        Server-ID Option 54, length 4: 10.152.111.15
        Lease-Time Option 51, length 4: 600
        TFTP Option 66, length 22: "localhost.localdomain^@"
        BF Option 67, length 14: "undionly.kpxe^@"
        RN Option 58, length 4: 300
        RB Option 59, length 4: 525
        Subnet-Mask Option 1, length 4: 255.255.255.0
        BR Option 28, length 4: 10.152.111.255
        Default-Gateway Option 3, length 4: 10.152.111.1

Here are the content's of the Undercloud director's ironic inspector's dnsmasq.conf

# cat /etc/ironic-inspector/dnsmasq.conf 
port=0
interface=br-ctlplane

log-dhcp
log-queries

dhcp-range=set:ctlplane-subnet,10.152.111.57,10.152.111.95,255.255.255.0,10m
dhcp-option=tag:ctlplane-subnet,option:router,10.152.111.1
dhcp-sequential-ip
dhcp-match=ipxe,175
dhcp-match=set:efi,option:client-arch,7
dhcp-match=set:efi,option:client-arch,9
dhcp-match=set:efi,option:client-arch,11
# Client is already running iPXE; move to next stage of chainloading
dhcp-boot=tag:ipxe,http://10.152.111.15:8088/inspector.ipxe
# Client is PXE booting over EFI without iPXE ROM; send EFI version of iPXE chainloader
dhcp-boot=tag:efi,tag:!ipxe,ipxe.efi
# Client is running PXE over BIOS; send BIOS version of iPXE chainloader
dhcp-boot=undionly.kpxe,localhost.localdomain,10.152.111.15

dhcp-hostsdir=/var/lib/ironic-inspector/dhcp-hostsdir

Note: I am running the Rocky release of TripleO.

2019-05-16 16:47:32 -0600 asked a question Can we set containerized_deployment per service?

I notice that the "switch from non-containerized to containerize" ceph-ansible https://github.com/ceph/ceph-ansible/blob/master/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml (playbook) sets the containerized_deployment parameter per service. Does this mean that we could deploy, for example, osd, manager and admin as containers, and then RGW as a bare metal service? Would that work?