Ask Your Question

foo's profile - activity

2017-01-26 01:05:25 -0500 received badge  Famous Question (source)
2016-11-24 05:50:30 -0500 received badge  Notable Question (source)
2016-11-24 05:50:30 -0500 received badge  Famous Question (source)
2016-09-20 11:57:54 -0500 received badge  Teacher (source)
2016-09-20 11:57:54 -0500 received badge  Self-Learner (source)
2016-09-20 11:53:34 -0500 received badge  Notable Question (source)
2016-08-28 10:04:07 -0500 received badge  Popular Question (source)
2016-08-26 21:32:33 -0500 received badge  Editor (source)
2016-08-26 21:30:31 -0500 answered a question How do i get my gateway address in heat?

The information I was looking for was actually under OS::Neutron::Port

resources:
  port:
    type: OS::Neutron::Port
    properties:
      name: {"Fn::Join": ["-", [{ get_param: "OS::stack_name" }, "port"]]}
      network: { get_param: network }
...

outputs:
  gateway:
    value: { get_attr: [port, subnets, 0, gateway_ip] }
2016-08-25 17:04:37 -0500 asked a question How do i get my gateway address in heat?

I'm new to heat and i'm trying to find out what my gateway address is that was assigned by neutron. I've been able to get my ip and prefix information, but I'm not sure how to get my gateway. if someone has a basic yaml they can share that returns the VM's ip, prefix or netmask, and gateway address, that would be great. thanks in advance.

...
  port:
    type: OS::Neutron::Port
    properties:
      name: {"Fn::Join": ["-", [{ get_param: "OS::stack_name" }, "port"]]} 
      network: { get_param: network }
...

outputs:
  ip:
    value: { get_attr: [port, fixed_ips, 0, ip_address] }
  network:
    value: { get_attr: [port, subnets, 0, cidr] }
2016-07-25 22:34:12 -0500 received badge  Popular Question (source)
2016-07-18 21:13:32 -0500 commented answer which repo should i use for "openstack overcloud image build --all"

There are 2 logs that were produced and no images: "dib-agent-ramdisk.log dib-overcloud-full.log" At the end of the logs: ... File contains no section headers. file: file:///etc/yum.repos.d/centos-cloud-rdo.repo, line: 1 '\ ...

2016-07-18 21:08:52 -0500 answered a question which repo should i use for "openstack overcloud image build --all"
  1. I applied the 2 patches in the GIT
  2. FYI, neither patch had any reference to 'rdo-release', but the original files on my system did.
  3. I modified the curl line for rhel and centos to the one provided
  4. I exported the variables listed

After i ran "openstack overcloud image upload", no images were created.

There are 2 logs that were produced: "dib-agent-ramdisk.log dib-overcloud-full.log"

Both logs have the following at the end of their logs:

File contains no section headers. file: file:///etc/yum.repos.d/centos-cloud-rdo.repo, line: 1 '\n' Unmount /var/tmp/dib_build.hTTZhZKy/mnt/tmp/yum Unmount /var/tmp/dib_build.hTTZhZKy/mnt/tmp/in_target.d Unmount /var/tmp/dib_build.hTTZhZKy/mnt/tmp/ccache Unmount /var/tmp/dib_build.hTTZhZKy/mnt/sys Unmount /var/tmp/dib_build.hTTZhZKy/mnt/proc Unmount /var/tmp/dib_build.hTTZhZKy/mnt/dev/pts Unmount /var/tmp/dib_build.hTTZhZKy/mnt/dev [stack@undercloud images]$

Is this an upstream issue?

2016-07-18 13:09:04 -0500 asked a question which repo should i use for "openstack overcloud image build --all"

Hi, I've been trying to use the "stable" liberty repo in the tripleo docs to build my images for my deployment. But everytime i attempt to build the images, it never seems to build the "ironic" images. I'm trying to build the images from my undercloud:

sudo yum -y install epel-release
sudo curl -L -o /etc/yum.repos.d/delorean-liberty.repo https://trunk.rdoproject.org/centos7-liberty/current/delorean.repo
sudo curl -L -o /etc/yum.repos.d/delorean-deps-liberty.repo http://trunk.rdoproject.org/centos7-liberty/delorean-deps.repo
sudo yum -y install yum-plugin-priorities

===========================================

source /home/stack/stackrc
export NODE_DIST=centos7
export USE_DELOREAN_TRUNK=1
export DELOREAN_TRUNK_REPO="http://trunk.rdoproject.org/centos7-liberty/current/"
export DELOREAN_REPO_FILE="delorean.repo"
export RDO_RELEASE=liberty
openstack overcloud image build --all

============================================

[stack@undercloud images]$ openstack overcloud image upload
Required file "/home/stack/images/ironic-python-agent.initramfs" does not exist.
[stack@undercloud images]$

If i point my repo to the latest in the tripleo docs, i can get the images to build, but i get inconsistent deploys. What i mean by that is the image will deploy to the node, but on reboot of the overcloud VM, I get the error "not a correct xfs inode" on the console and its unrecoverable. The odd thing is that if i delete the stack and re-deploy, it might work the second or third time and be fine after the reboot.

My environment is being installed totally in a single node KVM environment. Any help would be appreciated. Thanks in advance.