Ask Your Question

dmnoriega's profile - activity

2019-02-01 07:47:26 -0500 received badge  Notable Question (source)
2019-01-23 14:16:00 -0500 asked a question What is the future of availability monitoring in TripleO?

I've noticed that the availability monitoring integration in TripleO using Sensu is marked for https://github.com/openstack/tripleo-heat-templates/blob/master/docker/services/sensu-client.yaml#L5 (deprecation post Rocky), but I do not see any blueprints detailing a replacement plan like there is for https://specs.openstack.org/openstack/tripleo-specs/specs/rocky/tripleo-rsyslog-remote-logging.html (fluentd to rsyslog for the logging integration). Where can I find information on what the roadmap is? Is this a feature that will be dropped and left to operators to implement?

2019-01-18 11:41:33 -0500 received badge  Popular Question (source)
2019-01-17 18:13:14 -0500 commented question TripleO UI doesn't apply NtpServer in Base resources configuration. Why?

I'm not familiar with using the UI, but the heat template parameter is NtpServer. If the UI saves the deploy data somewhere, maybe you can check if that is indeed being set.

2019-01-17 18:13:14 -0500 answered a question How to link a router from one project to a subnet in another project?

I haven't tested this, just an educated guess at how I'd try to do this:

Create the port in the network in question, though I'd try it without device and device-owner, and then attach it to the router in question with openstack router add port <port id>. I would also then add a static route to the router of the network in question so it knows how to route traffic back.

A potential pitfall is conflicting IP space, both projects would need to coordinate their IP usage.

2019-01-17 18:13:14 -0500 asked a question Can a neutron network be shared with only specific projects?

When creating a neutron network with the shared flag, all other projects can see and use that network, but is it possible to share a network with only specific projects?

2019-01-17 14:23:29 -0500 received badge  Autobiographer
2018-09-17 09:38:17 -0500 answered a question [Heat] cloud-init and colon+space

I've found that OS::Heat::CloudConfig does not like accepting data from str_replace, it always gives that is not a map error. I think it's how str_replace returns data, probably a literal string, when OS::Heat::CloudConfig is expecting yaml(or a map as it says).

This works for me(using your code as an example):

  n2-ci:
    type: OS::Heat::CloudConfig
    properties:
      cloud_config:
        runcmd:
          - str_replace:
              template: "NTFY --data-binary '{\"status\": \"SUCCESS\"}'"
                params:
                  NTFY: { get_attr: ['wait_handle', 'curl_cli'] }
2018-09-17 09:38:17 -0500 answered a question get_file in cloud_config runcmd

I tried the following:

base_config:
type: OS::Heat::CloudConfig
properties:
  cloud_config:
    runcmd: { get_file: <path/to/file> }

That did not work. Looking at the cloud-init logs, seems like the way the data is passed in, runcmd was trying to run each character of the file one at a time.

2018-09-05 18:23:30 -0500 received badge  Supporter (source)