Commit Graph

107 Commits

Author SHA1 Message Date
Zuul aa59eb069a Merge "Update doc & comment about auth" 2023-06-30 18:10:40 +00:00
Zuul b3acef86f3 Merge "Add IP_VERSION in template, set default as ipv4 only" 2023-06-30 18:09:43 +00:00
Xingjian Zhang 3155394109 Add IP_VERSION in template, set default as ipv4 only
For some environments (include mine), ipv6 instructions in stack.sh does not work.

Change-Id: I4b5c69f57191628664450330a08248aae05c2813
2023-02-27 12:40:45 +00:00
Xingjian Zhang 0d166a8a32 Update doc & comment about auth
Change-Id: I12e2ca5c550e82d880b0a4ccd8491bc57b6ae70d
2023-02-27 09:47:51 +00:00
Xingjian Zhang 8fbf1740fe Update git repo url to opendev
Change-Id: I2bd3fc3d86333cc6cba78f0f7003e310e8005a88
2023-02-27 09:41:11 +00:00
Chao Zhang 8b300b8c44 Update vagrant box version
Devstack master(Victoria) has dropped xenial distro, switch base box
version to bionic.

Bionic has puppet5 as default puppet version, which has faster puppet
class running in parallel, so devstack and grenade repos were being
checked out while /home/stack dir were still being created, impose puppet
class ordering.

Change-Id: I89af65ca8c53aa41407ed7e4ca0edef88daae3b9
2020-08-04 12:06:23 +02:00
Ghanshyam Mann 566a3afe75 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38554

Change-Id: I5c4cf120b06135acd3103d234b170c639b65e1df
2020-04-20 12:12:58 -05:00
Brian Haley eb992f36d8 Change to use --remote-ip with security group rules
--src-ip was deprecated in 2016, change to use --remote-ip.
Related to https://review.opendev.org/#/c/613644/

Change-Id: I6b9f17c94bdf9de070d5f2e32e97dff600a3545a
2019-06-10 15:56:10 +00:00
OpenDev Sysadmins 8e6e640f1e OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:40:12 +00:00
Abel Navarro e0623b03c3 Update APT before installing puppet
Installing puppet would fail in with some base boxes. A simple 'apt-get
update' will fix that situation.

Change-Id: I53bc8fc72700a165471a19882d64506d7180dfc0
2017-12-05 17:17:54 +01:00
Jim Riordan b4365bed49 update default box to ubuntu/xenial64; add puppet
since Change-Id: I6617283afd798af37e64913b7865cea3c8a62aba the devstack installer
no longer supports trusty and xenial does not have puppet installed by
default

Related-Bug: 1599531
Change-Id: Ic59a768983430149e3f3a4de65606d649bb17693
2017-06-01 12:02:11 +10:00
Jim Riordan 323306a8d9 make internal interface names configurable from config.yaml
Change-Id: Ia018f3a71073a7cfdb093096ba313292909f2675
2017-06-01 12:02:06 +10:00
Jim Riordan 20b2965fd9 make vagrant user configurable from config.yaml
RELATED_BUG: 1569237
RELATED_BUG: 1589721

Change-Id: I57b5c9ea124b071c6d31b8c825c9cb1d2e89a8ce
2017-06-01 12:02:04 +10:00
Andreas Jaeger c109cd09a9 Replace obsolete vanity openstack.org URLs
Project specific URLs are obsolete, use docs.openstack.org - and use
https for that site.

Change-Id: I7e65282448974f1c72a0ac8eca3b97a29432ac28
2017-03-08 19:31:40 +01:00
Jenkins e7b036709e Merge "Add manager_extra_services to config.yaml and local.erb" 2017-03-06 13:48:25 +00:00
Jenkins cbedf6bcf4 Merge "Add use_ip_resolver to config.yaml" 2017-03-06 13:45:38 +00:00
Sviatoslav Sydorenko 2656879c55 Replace nova CLI commands w/ openstack CLI
* nova keypair-add --> openstack keypair create
* nova secgroup-add-rule --> openstack security group rule create

Change-Id: I0bc577754bd97b4db91f610756881cb9ce163a87
2016-07-12 18:51:36 +03:00
Sviatoslav Sydorenko ad67271514 Work around invalid public key issue
I've faced with inability of keystone to recognize a public key
inside of `~stack/.ssh/autorized_keys` file. This happened because
of puppet writing three-line comment stating it was generated
automatically. With this fix it works fine.

Changes, I've done:
- Move public key path into separate variable
- Write public key into tmp file and pass it to `nova keypair-add`

Change-Id: I827b7e1695f61ef2742137195866cb2deb4a390f
2016-07-12 18:23:00 +03:00
Andreas Jaeger e15d17e0ed Use git.openstack.org everywhere
Our official git master is at git.openstack.org, update places
that use github instead.

Change-Id: I21deb1246c4d83c6c8baaeb4dc45d78f2157460a
2015-12-30 12:34:08 +01:00
Jenkins 262398f2c6 Merge "Advise about vagrant-cachier in the README" 2015-11-04 14:22:39 +00:00
Michal Rostecki 8485e2c0bd Remove Cirros URL from IMAGE_URLS
Devstack introduced DOWNLOAD_DEFAULT_IMAGES setting which
by default is True and extends IMAGE_URLS variable with
some default images, including Cirros. devstack-vagrant
also extends IMAGE_URLS with Cirros URL. This results in
error about duplicate entries in this variable.

Change-Id: I86f1ca5b9bef73e41657ce6fec17dd378d9e33ef
Closes-Bug: #1497533
2015-09-19 12:43:03 +02:00
enricobacis 4a3f15cb2d Advise about vagrant-cachier in the README
Change-Id: Id3857481cac17540e02420849f0b5fc83339a2ab
2015-09-09 13:18:28 +02:00
enricobacis 6c753a8243 Add use_ip_resolver to config.yaml
In order to use vagrant-hostmanager's ip_resolver even when
use_bridge is not false.

Change-Id: I7f09e26318d177fca4cdca6577b927f923dd7a1b
2015-09-09 12:54:27 +02:00
enricobacis 4eea7f3820 Add manager_extra_services to config.yaml and local.erb
Specify the additional services to enable on the manager node

Change-Id: I3154f0ca7ab4489a2510fe4f302f8a9fbfb87bd1
2015-09-09 10:49:52 +00:00
Hiroshi Miura 2fb1e4e8ea update cirros version
- update cirros to recent 0.3.4 as same version as devstack
- README: explain extra_images puppet config

Change-Id: Idc275d19a6e54212500b860bf4a0e476b60d4c69
Signed-off-by: Hiroshi Miura <miurahr@nttdata.co.jp>
2015-07-21 11:05:07 +00:00
Jerry Zhao f748559f8f Fix hostmanger ip resolver exception when guest is not really up
The bug is discussed here:
https://github.com/smdahlen/vagrant-hostmanager/issues/121
so use the suggested workaround in ip resolver to catch the error.

Change-Id: Ibac510ca9aef57b508036266987b136d95771074
2015-06-10 20:21:19 -07:00
Eric Wright b32412fa2e Updated repeatble to repeatable in README.md
Change-Id: If6064e7ed7bb89cf3acd7350572d7bd0084e13dd
2015-04-08 16:07:20 -04:00
Tong Damon Da eab558e288 read ip from eth1 if using host-only network
If the the vms are using host-only network, then eth1 would be the
proper interface to retrieve ip of the vm. Without these lines, the
host manager will only add 127.0.0.1 to /etc/hosts file.

Change-Id: If2f825ebb9d6f7f096ce55e1bf070e5af91f5d45
2015-03-28 22:22:29 +08:00
Jenkins 1782ba1a5b Merge "Add extra-images puppet variable" 2015-02-18 15:38:42 +00:00
Geronimo Orozco 64ef7d6e38 Add extra-images puppet variable
If the user wants to use his own mirror to get extra images for glance
or wants to add more images not just the default cirros it can be done
using this custom variable on config.yaml

Change-Id: I121ba07f15427b926ddade36adfc60a89647a9d4
2015-01-07 11:22:30 -06:00
Geronimo Orozco d65fe587e3 Proxy settings fixes and improvements
When used proxy some extra settings has to be set in order to make the
environment work as expected.

  * Add hostname_manager, hostname_computer from yaml.conf file
  * Add user_domains to add customs domains/ips to no_proxy variable
  * Add manager ip/hostname to /etc/hosts if private ips is chosen
  * Add ipaddress_eth1 for no_proxy
  * Add compute and manager ips
  * Add https proxy
  * Add use https:// instead of git:// if http_proxy is enabled

Change-Id: I5ddde4dc510dc9aadff634515fa7d34371708de9
2015-01-05 22:43:59 -06:00
Christian Berendt c94d2b3479 Increase the readability of the configuration file
* document undocumented parameters
* group similiar parameters
* rename parameter 'stack_pass' to 'stack_password'
* use 'secretsecret' as default value for secrets ('secretsecret' is
  used in the OpenStack manuals as default value)
* add missing dots at the end of sentences
* use 79 chars per line

Change-Id: Ibc667c2375fe39443574e2c424033dd13479cba9
2014-11-06 10:01:28 +01:00
Jenkins 9026d4605d Merge "Mark 'manager' as primary machine" 2014-10-30 18:53:26 +00:00
Jenkins 3937c1f4ea Merge "Update/add/remove images" 2014-10-30 18:52:19 +00:00
Jenkins cd1b2f383e Merge "Do not use multiline strings for the 'stack_sshkey' option" 2014-10-30 18:51:50 +00:00
Jenkins 5420f201b1 Merge "Make it possible to use a hostonly-network instead of a bridge" 2014-10-30 18:51:19 +00:00
Jenkins e229dfc580 Merge "Make the used passwords configurable" 2014-10-30 18:51:05 +00:00
Jenkins e6720b9f84 Merge "Use the vagrant-proxyconf plugin to allow the usage of a HTTP proxy" 2014-10-30 18:50:52 +00:00
Christian Berendt 0bfa78e015 Add commands to the base module to update/upgrade Debian/Ubuntu systems
Change-Id: Ifb182e0429fe985bdc0182252f6803979cae8ff1
2014-10-08 11:00:56 +02:00
Christian Berendt 87407369ab Use the vagrant-proxyconf plugin to allow the usage of a HTTP proxy
Change-Id: Ibab09cdd9d8f2457035fb5cee1187936a454983c
2014-10-01 17:27:14 +02:00
Christian Berendt 93cb2899ae Make the used passwords configurable
Sometimes I used a devstack environment as public reachable demonstration
system and do not want to have 'pass' as password for the admin user.

Change-Id: I5af1c7e9121755a6b22dd6cbe52336f092229a03
2014-10-01 13:22:02 +02:00
Christian Berendt c9e799bf86 Do not use multiline strings for the 'stack_sshkey' option
Using multiline strings for the 'stack_sshkey' option results in the
following Puppt error:

Parameter key failed on Ssh_authorized_key[stack]: Key must not contain whitespace:

Change-Id: I41da285086af3fd90fb4887cd643d17ec52806a8
2014-09-30 14:22:03 +00:00
Christian Berendt b1e4ab7f07 Make it possible to use a hostonly-network instead of a bridge
Change-Id: Idfb6930e97ce5373abc35c14adb753c0a4a15579
2014-09-30 14:21:56 +00:00
Christian Berendt f06427dd28 Update/add/remove images
* remove Fedora-x86_64-20-20131211.1-sda, Fedora-x86_64-20-20140618-sda
  is already availabe because Heat is enabled
  (https://github.com/openstack-dev/devstack/blob/master/stackrc#L450)
* update version of CirrOS, latest version is 0.3.3
* add current Trusty image (trusty-server-cloudimg-amd64-disk1)

Change-Id: I3dc3a35724fca4fa98559eef275c1b3d818825d9
2014-09-30 16:21:43 +02:00
Christian Berendt 162b0b52e9 Mark 'manager' as primary machine
Mark 'manager' as primary machine to be able to use commands like
'vagrant ssh' without specifiying the machine name.

This will solve the issue 'This command requires a specific VM name
to target in a multi-VM environment.'.

Change-Id: I15143d54d69dc05146aa141594924e30d18ba54e
2014-09-30 14:19:43 +00:00
Jenkins 4a29af6db4 Merge "Use MongoDB as default backend for ceilometer" 2014-09-30 14:16:51 +00:00
Christian Berendt 3823ba2b8e Restructure and document the local configuration file
Change-Id: I5100a605ec197abf737278941c164b478a31a723
2014-09-30 07:59:59 +00:00
Christian Berendt 6b681b7904 Use MongoDB as default backend for ceilometer
Change-Id: I641512aedce4d05ac8a7da2b98beaf08e2fa5c56
2014-09-30 09:43:22 +02:00
Jenkins db6d680a06 Merge "Create symlinks/files in /home/vagrant" 2014-09-29 15:28:30 +00:00
Jenkins d174bea0ca Merge "Add suport for LDAP" 2014-09-29 15:28:12 +00:00