[Openstack] [heat][Designate] Struggling to create DNS records for created instances

Kaz Shinohara ksnhr.tech at gmail.com
Sat Jul 22 05:46:19 UTC 2017


Hi Lance,

Just a quick question, have you tried "depends_on" ?
Also looks the error what you got indicates your posted properties for
"instance_record" includes not supported one.

Regards,
Kaz


On Jul 22, 2017 1:19 AM, "Lance Haig" <lance at haigmail.com> wrote:

Hi,


I have the following instance code

server1:
  type: OS::Nova::Server
  properties:
    name: Server1
    image: { get_param: image }
    flavor: { get_param: flavor }
    key_name: { get_param: key_name }
    networks:
      - port: { get_resource: server1_port }


and I am trying to create a DNS record from the output of the Instance.

  instance_record:
    type: OS::Designate::Record
    properties:
      data: { get_attr: [ instance, first_address ] }
      description: { get_attr: [instance, name] }
      domain: { get_param: dns_zone }
      name: { get_attr: [instance, name] }
      type: "A"

For some reason it is giving me an error

resources.instance_stack: Went to status CREATE_FAILED due to "BadRequest:
resources.instance_record: Provided object does not match schema"

Is it possible to use the output from Nova Server to populate the DNS
record?


Regards

Lance


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170722/ad247a19/attachment.html>


More information about the Openstack mailing list