Re: [Openstack] parameterizing server creation

2018-03-26 Thread Sashan Govender
resource > properties: > image: "someimage" > index: "%index%" > > (Assumed that there is a registry as below: > > resource_registry: > myresource: myresourcefile.yaml > > I know this is patchy, but I think provides

[Openstack] parameterizing server creation

2018-03-26 Thread Sashan Govender
Hi I have a HOT file that has 4 Nova::Server resources. They differences between them are minimal and, when I look at the file, I see a lot of duplication. How can I reduce this. I've tried fiddling with the 'repeat' intrinsic and StructuredConfig but with no luck. I basically want to create a loo

Re: [Openstack] compiler for heat templates

2018-03-20 Thread Sashan Govender
Compiler's probably the wrong word in the subject - I just meant 'something that can do type checking'. On Tue, 20 Mar 2018 at 19:53 Sashan Govender wrote: > Hi > > Is there a way to check heat templates. At the moment I run one and it > errors at runtime when, for e

[Openstack] compiler for heat templates

2018-03-20 Thread Sashan Govender
Hi Is there a way to check heat templates. At the moment I run one and it errors at runtime when, for example an something expects a string but gets a list. For example in this case of an OS::Heat::SoftwareConfig resource, the config attribute below expects a string, which is why str_replace works

Re: [Openstack] requirements on a user to create an image in glance

2018-02-18 Thread Sashan Govender
it with your other projects > >  dal mio iPhone X > > Il giorno 17 feb 2018, alle ore 00:49, Sashan Govender > ha scritto: > > Hi > > What requirements must an openstack user meet to be able to create images > in glance. I can create an image as a user as shown below but w

[Openstack] requirements on a user to create an image in glance

2018-02-17 Thread Sashan Govender
Hi What requirements must an openstack user meet to be able to create images in glance. I can create an image as a user as shown below but when I try to list the images as the same user it is not shown. xsasgov@deimos:sles12.2 test-utils/cloud/cloud-tool master $ glance --os-user-domain-name Defa

Re: [Openstack] Openstack manual setup

2018-01-30 Thread Sashan Govender
Hi I setup an openstack system on my latpop using kvm and these instructions for Centos 7: https://docs.openstack.org/newton/install-guide-rdo/ It's a long process (about a weeks worth of work if you're new to it and doing it full-time). Some issues I had were with the database sync commands (eg:

Re: [Openstack] Could not determine a suitable URL for the plugin

2018-01-16 Thread Sashan Govender
satisfy their requirements. Some features will not work as > expected. > > This sounds like the right place to dig deeper. I would enable debug > logs and see if there are more hints and then try to resolve this. > > > > Zitat von Sashan Govender : > > > On Tue, Jan 1

Re: [Openstack] Could not determine a suitable URL for the plugin

2018-01-16 Thread Sashan Govender
On Tue, Jan 16, 2018 at 7:48 PM Eugen Block wrote: Thanks for the help. Could you also paste the output of "openstack compute service list" > and "openstack network agent list"? I'd like to see if the nova and > neutron services are all up and running. > > [sashan@controller ~]$ openstack networ

Re: [Openstack] Could not determine a suitable URL for the plugin

2018-01-15 Thread Sashan Govender
teresting in nova-compute.log? > > Regards, > Eugen > > > Zitat von Sashan Govender : > > > Hi > > > > I've setup an openstack system based on the instructions here: > > > > https://docs.openstack.org/newton/ > > > > I'm trying

[Openstack] Could not determine a suitable URL for the plugin

2018-01-14 Thread Sashan Govender
Hi I've setup an openstack system based on the instructions here: https://docs.openstack.org/newton/ I'm trying to launch an instance: $ . demo-openrc $ openstack server create --flavor m1.nano --image cirros --nic net-id=da77f469-f594-42f6-ab18-8b907b3359e4 --security-group default --key-name m

Re: [Openstack] expected tables in database after sync

2018-01-04 Thread Sashan Govender
ot;) So it's failing because there are no tables in the glance db. Which brings me back to my original question, what is ' su -s /bin/sh -c "glance-manage db_sync" glance' meant to do? On Fri, Jan 5, 2018 at 11:55 AM Sashan Govender wrote: > Hi > > I'm goin

[Openstack] expected tables in database after sync

2018-01-04 Thread Sashan Govender
Hi I'm going through the glance installation guide here: https://docs.openstack.org/newton/install-guide-rdo/glance-install.html The last step is: su -s /bin/sh -c "glance-manage db_sync" glance What tables should I expect in the glance database? After executing that command above, this is what