Perl 6 - the future is here, just unevenly distributed

IRC log for #fuel, 2016-03-10

| Channels | #fuel index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:14 aglarendil_ joined #fuel
00:18 mescanef joined #fuel
00:25 vsedelnik joined #fuel
00:26 magicboiz joined #fuel
00:34 newbism joined #fuel
00:41 magicboiz joined #fuel
00:46 mwhahaha_ joined #fuel
00:47 evgenyl_ joined #fuel
00:48 dr_ joined #fuel
00:49 yantarou_ joined #fuel
01:25 vsedelnik joined #fuel
02:09 skamithi14 joined #fuel
02:26 vsedelnik joined #fuel
02:46 krypto joined #fuel
02:48 ilbot3 joined #fuel
02:48 Topic for #fuel is now Fuel 8.0 (Liberty) https://www.fuel-infra.org/ | Paste here http://paste.openstack.org/ | IRC logs http://irclog.perlgeek.de/fuel/
02:51 krypto joined #fuel
03:02 HeOS joined #fuel
03:10 claflico joined #fuel
03:27 vsedelnik joined #fuel
03:43 bapalm joined #fuel
04:27 vsedelnik joined #fuel
04:28 rongze joined #fuel
04:37 treaki__ joined #fuel
04:45 HeOS joined #fuel
04:46 v1k0d3n joined #fuel
04:51 skamithi13 joined #fuel
05:03 HeOS joined #fuel
05:19 fedexo joined #fuel
05:22 yahofcourse so i just had a three node cluster fall over completely because someone from networking fatfingered a command and took an entire chassis down
05:28 vsedelnik joined #fuel
05:46 evgenyl joined #fuel
05:46 mwhahaha joined #fuel
05:46 mescanef joined #fuel
05:46 aglarendil_ joined #fuel
05:50 javeriak joined #fuel
05:51 javeriak joined #fuel
05:55 javeriak_ joined #fuel
06:08 evgenyl joined #fuel
06:08 mwhahaha joined #fuel
06:08 mescanef joined #fuel
06:08 aglarendil_ joined #fuel
06:42 bapalm joined #fuel
06:47 v1k0d3n joined #fuel
06:48 vsedelnik joined #fuel
06:49 vsedelnik joined #fuel
07:01 fzhadaev joined #fuel
07:20 pbelamge joined #fuel
07:33 javeriak joined #fuel
07:42 pbrooko joined #fuel
07:53 e0ne joined #fuel
08:05 rongze joined #fuel
08:20 [HeOS] joined #fuel
08:24 zubchick joined #fuel
08:25 e0ne joined #fuel
08:32 pbrooko joined #fuel
08:35 permalac joined #fuel
08:37 rongze joined #fuel
08:39 ashtokolov joined #fuel
08:39 skath_ joined #fuel
08:40 sslypushenko joined #fuel
08:40 akasatkin joined #fuel
08:41 permalac joined #fuel
08:41 asaprykin joined #fuel
08:41 justif joined #fuel
08:42 kgalanov joined #fuel
08:42 teran joined #fuel
08:42 elemoine_ joined #fuel
08:42 igorbelikov joined #fuel
08:43 kdavyd joined #fuel
08:45 rongze_ joined #fuel
08:48 v1k0d3n joined #fuel
08:48 agordeev joined #fuel
08:50 holser_ joined #fuel
08:50 mmalchuk joined #fuel
08:50 tkhno joined #fuel
08:52 ogelbukh_ joined #fuel
08:56 pbrooko joined #fuel
08:56 neilus joined #fuel
09:00 permalac_ joined #fuel
09:04 magicboiz joined #fuel
09:21 pbrooko joined #fuel
09:33 e0ne joined #fuel
09:58 zubchick joined #fuel
10:03 HeOS joined #fuel
10:48 tzn joined #fuel
10:48 v1k0d3n joined #fuel
10:55 palexster joined #fuel
11:08 bapalm joined #fuel
11:10 magicboiz joined #fuel
11:20 neilus1 joined #fuel
11:44 bapalm joined #fuel
12:22 zubchick joined #fuel
12:23 skamithi14 joined #fuel
12:41 v1k0d3n joined #fuel
12:55 e0ne_ joined #fuel
13:06 thumpba joined #fuel
13:06 zubchick joined #fuel
13:18 kamsz joined #fuel
13:47 zubchick joined #fuel
13:56 thumpba joined #fuel
13:58 vsedelnik joined #fuel
14:00 neilus joined #fuel
14:08 skamithi13 joined #fuel
14:11 palexster joined #fuel
14:15 dslevin left #fuel
14:24 skamithi13 joined #fuel
14:38 vsedelni_ joined #fuel
14:43 pbelamge joined #fuel
14:51 pbelamge joined #fuel
14:52 javeriak joined #fuel
14:53 javeriak joined #fuel
14:57 blahRus joined #fuel
14:57 neilus joined #fuel
15:00 javeriak_ joined #fuel
15:39 blahRus joined #fuel
15:40 claflico joined #fuel
15:40 rongze joined #fuel
15:42 pumphouse joined #fuel
15:45 pumphouse joined #fuel
15:46 skamithi13 joined #fuel
15:52 angdraug joined #fuel
15:54 xarses joined #fuel
15:55 palexster joined #fuel
15:55 magicboiz joined #fuel
16:02 CheKoLyN joined #fuel
16:09 magicboiz joined #fuel
16:27 criss2016 joined #fuel
16:35 ericjwolf joined #fuel
16:35 ericjwolf Good morning.
16:36 ericjwolf Where si the document on how to use the new fuel-mirror tool?  I did a doc search and I do not see how to properly use it.
16:54 zubchick joined #fuel
17:01 tzn joined #fuel
17:11 HeOS joined #fuel
17:13 thumpba joined #fuel
17:19 xarses ericjwolf: there should be some information as part of the cli's help `--help`
17:19 xarses and I think there is something in the operations guide
17:21 xarses ericjwolf: https://docs.mirantis.com/openstack/fuel/fuel-master/operations.html#external-ubuntu-ops
17:21 xarses https://docs.mirantis.com/openstack/fuel/fuel-master/operations.html#configuring-repositories
17:21 xarses or
17:21 xarses https://www.mirantis.com/blog/using-fuel-control-repositories-openstack-deployment/
17:22 fedexo joined #fuel
17:44 krobzaur joined #fuel
17:48 zubchick joined #fuel
17:53 e0ne joined #fuel
17:54 skamithi13 joined #fuel
18:25 neophy joined #fuel
18:46 Billias joined #fuel
18:48 javeriak joined #fuel
18:53 javeriak_ joined #fuel
19:43 zubchick joined #fuel
19:43 akaszuba joined #fuel
19:59 javeriak joined #fuel
20:12 e0ne joined #fuel
20:15 vsedelnik joined #fuel
20:26 DevStok joined #fuel
20:26 DevStok which is the best way to restart HA environment?
20:35 ErikNeeley joined #fuel
20:37 dslevin joined #fuel
20:38 angdraug joined #fuel
20:50 thumpba joined #fuel
20:51 MathiasW joined #fuel
20:52 MathiasW Heya, is there any way to invoke the initial setup screen after installing?
20:52 MathiasW For some reason it didnt show up on itself
20:54 kozhukalov MathiasW: try /usr/local/sbin/bootstrap_admin_node.sh
20:55 kozhukalov this script launches fuelmenu command which provides configuration menu
20:56 MathiasW awesome thanks
20:56 MathiasW Will give it a try
20:58 DevStok before restart controllers
20:58 DevStok in HA
20:59 DevStok -I always stop corosync and pacemaker in order
20:59 DevStok is there any other thing to do ?
21:00 kozhukalov aglarendil: could you please help with HA env ^^ how to restart it correctly?
21:10 gariveradlt joined #fuel
21:11 tzn joined #fuel
21:12 neouf joined #fuel
21:31 MathiasW That script did not actually take me to the setup screen
21:31 zubchick joined #fuel
21:31 MathiasW :( Any other ways to launch the initial setup?
21:33 gariveradlt joined #fuel
21:34 kozhukalov this script is to launch a timer and suggest to run fuelmenu
21:35 kozhukalov if you do nothing while timer is running it skips launching fuelmenu
21:35 kozhukalov can you see this timer?
21:36 kozhukalov it is 15 secs
21:37 kozhukalov It should be something like this "Press a key to enter Fuel Setup (or press ESC to skip)... 0014"
21:37 kozhukalov MathiasW: ^
21:38 MathiasW No such thing
21:39 MathiasW And when i run the script it starts going through a shitton of scripts and so on and it spews out blue debug messages
21:39 MathiasW Ive seen the setup befor
21:39 MathiasW Just that it didnt load on this environment i am installing this time
21:39 MathiasW But yeah the message comes up
21:40 MathiasW this time it worked
21:40 MathiasW :)
21:40 MathiasW Second time i ran it
21:41 kozhukalov ok, nice to hear it works,
21:42 kozhukalov the experience differs from version to version
21:42 MathiasW running 8.0
21:43 MathiasW but this is 3rd full install i do
21:44 vsedelnik joined #fuel
21:44 kozhukalov in a nutshell this script bootstrap_admin_node.sh deploys fuel and this blue configuration interface is a part of deployment process
21:44 gardlt joined #fuel
21:44 kozhukalov the result of fuelmenu is the file /etc/fuel/astute.yaml
21:45 ericjwolf <@xarses> - All those reference the fuel-createmirror command.  In 8.0 this command is deprecated.  The new command is fuel-mirror.  But it is asking for groups and a few other options that are not documented.
21:45 kozhukalov where all the configuration data are put together
21:46 ericjwolf http://paste.openstack.org/show/490073/
21:46 kozhukalov then these configuration data (/etc/fuel/astute.yaml) are used when puppet is run
21:47 xarses MathiasW: the command to enter setup menu is `fuelmenu`
21:48 xarses afterwards, you may need / want to rebuild the containers depending on what you changed
21:48 kozhukalov ericjwolf:  right, fuel-createmirror is deprecated because it wasn't stable enough
21:48 ErikNeeley joined #fuel
21:49 kozhukalov fuel-mirror is the default tool for creating local mirrors
21:49 ErikNeeley joined #fuel
21:49 ericjwolf Yeah but none of the online docs show how to use it (at least that I have found).
21:50 ericjwolf it just says "run fuel-mirror"
21:51 kozhukalov ericjwolf: this script fuel-mirror downloads necessary packages (that are to be used during deployment) and then updates repository urls that then used in /etc/apt/sources.list
21:51 kozhukalov ericjwolf: maybe you are right, let me check
21:52 ericjwolf Thanks, I used the createmirror in 6.1 for my ubuntu install.  I want to create the local repo for this 8.0 setup.
21:52 ericjwolf 8.0 has really changed alot from 6.1
21:53 kozhukalov ericjwolf: yes, it is documentation bug, we'll fix it ASAP
21:53 kozhukalov let me help you with fuel-mirror
21:53 ericjwolf Do you have a cheatsheet for the fuel-mirror commands?
21:53 ericjwolf oh,
21:53 ericjwolf that would be great.
21:54 ericjwolf When I did my Ubuntu I modified from being a partial repo to a full because I install additional packages later on.  Can you do the same thing with this tool?
21:55 ericjwolf I was looking at the /etc/fuel-mirror config files and don't really see any config options.
21:56 kozhukalov fuel-mirror is kind of data driven and the default input data is here /usr/share/fuel-mirror
21:57 kozhukalov there you can list necessary packages
21:58 kozhukalov having this list fuel-mirror tries to resolve their dependencies recursively and then it downloads necessary packages with all their dependencies
21:59 kozhukalov so you can customize the content of your partial mirror
22:02 kozhukalov when you run fuel-mirror you should define so called group (it is nothing more than just a predefined named group of repos that need to be downloaded)
22:02 HeOS joined #fuel
22:03 kozhukalov if you need full mirror you can use debmirror or tools like this
22:03 gariveradlt joined #fuel
22:04 kozhukalov unfortunately there is no cheatsheet of something like this
22:05 ericjwolf So for the fuel-mirror, there is no --full options I guess.
22:06 kozhukalov right
22:06 kozhukalov this tool is for creating partial mirros
22:07 ericjwolf So what are the -P and -I options for?
22:08 kozhukalov in the future we will provide so called packetary that could be used for creating partial and full mirrors (and even mix them) in a very flexible way, but it will be available in Newton release
22:09 kozhukalov let me check these options
22:11 kozhukalov -I allows you to specify your own input data file
22:11 kozhukalov remember by default it uses files from /usr/share/fuel-mirror
22:12 ericjwolf I had a look at the /usr/share file and I see the groups mos and ubuntu.
22:12 kozhukalov right, that is just named groups of repos
22:12 ericjwolf I ran this:  fuel-mirror create -G mos
22:12 ericjwolf But got this error: fuel-mirror create: error: one of the arguments -I/--input-file -P/--pattern is required
22:13 kozhukalov right, -I is the custom input file, while -P is the short name (or pattern) of the built in input data file
22:14 kozhukalov it should be rpm or deb
22:14 kozhukalov no it should be centos or ubuntu
22:14 ericjwolf I got it now.
22:14 ericjwolf -P is the name of the file
22:15 ericjwolf but does not have to be the full name
22:15 kozhukalov right
22:15 ericjwolf ARG!
22:15 kozhukalov 'fuel-mirror -G mos -P ubuntu' should work
22:15 ericjwolf yes.
22:16 ericjwolf yes now the command runs.  so it tries to setup a http connection to the fuel server 10.20.0.2
22:16 ericjwolf is this the source for all the request to create the mirror?
22:16 ericjwolf because that is a local only IP.  but my fuel node has 2 interfaces.
22:17 ericjwolf if it uses that as a source then I need to get it to use my "public-ish" interface.
22:17 neilus joined #fuel
22:18 pbrzozowski joined #fuel
22:18 kozhukalov what is the output of the 'netstat -rn'?
22:18 ericjwolf Kernel IP routing table Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface 0.0.0.0         172.16.239.1    0.0.0.0         UG        0 0          0 eth1 10.20.0.0       0.0.0.0         255.255.255.0   U         0 0          0 eth0 172.16.239.0    0.0.0.0         255.255.255.0   U         0 0          0 eth1 172.17.0.0      0.0.0.0         255.255.0.0     U         0 0          0 docker0
22:19 pbrzozowski test
22:19 kozhukalov i think that the source address depends on the destination interface
22:19 ericjwolf Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
22:19 ericjwolf 0.0.0.0         172.16.239.1    0.0.0.0         UG        0 0          0 eth1
22:19 ericjwolf 10.20.0.0       0.0.0.0         255.255.255.0   U         0 0          0 eth0
22:19 ericjwolf 172.16.239.0    0.0.0.0         255.255.255.0   U         0 0          0 eth1
22:19 ericjwolf 172.17.0.0      0.0.0.0         255.255.0.0     U         0 0          0 docker0
22:19 ericjwolf My default route is 172.16.239.x
22:20 kozhukalov so when it tries to get archive.ubuntu.com it is to go via eth1
22:20 ericjwolf [root@fuel fuel-mirror]#  fuel-mirror create -P ubuntu  -G mos Starting new HTTP connection (1): 10.20.0.2 Starting new HTTP connection (1): 10.20.0.2 Starting new HTTP connection (1): 10.20.0.2 Starting new HTTP connection (1): 10.20.0.2
22:20 ericjwolf This is what I get when I run it.
22:21 kozhukalov does one of your interfaces have 172.16.239.x address?
22:21 ericjwolf yes
22:21 ericjwolf eth1
22:22 ericjwolf .201
22:23 kozhukalov ok, is it possible from you machine to connect to archive.ubuntu.com?
22:23 kozhukalov ping, or telnet, or wget?
22:24 kozhukalov just try 'wget http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Release'
22:24 ericjwolf yeap, I can to wget
22:25 ericjwolf we have a proxy.
22:25 ericjwolf That is a total pain in the rearend
22:25 kozhukalov and another question: are nginx and nailgun running on your node?
22:25 ericjwolf yes those processes are running
22:26 ericjwolf root     12840     1  0 Mar09 ?        00:00:01 /usr/bin/docker attach --no-stdin=true fuel-core-8.0-nginx
22:26 kozhukalov 10.20.0.2 is the address where nailgun should listen to connections
22:26 ericjwolf root     11953     1  0 Mar09 ?        00:00:01 /usr/bin/docker attach --no-stdin=true fuel-core-8.0-nailgun
22:26 ericjwolf yes 10.2.0.2 is the nailgun address.
22:26 ericjwolf that is the pxeboot network.
22:26 ericjwolf I did not modify those settings.
22:27 ericjwolf I only enabled eth1 for my "public" interface
22:27 kozhukalov and this script fuel-mirror is to change the release deb repsitories after creating them which are stored in nailgun database
22:27 ericjwolf yeah, after the script is done is will modify the ubuntu repo to point to the 10.20.0.2 repos created locally.
22:28 ericjwolf this I assumed was just like 6.1
22:28 kozhukalov yes, probably that is the reason why it tries to connect to 10.20.0.2
22:28 kozhukalov let me check it
22:35 kozhukalov ericjwolf: when you run fuel-mirror it tries to get some data from fuel rest api
22:35 ericjwolf One more thing, I modifed the /etc/fuel-mirror/config.yaml file to add my proxy settings but getting an error now:
22:35 ericjwolf [root@fuel fuel-mirror]#  fuel-mirror create -P ubuntu  -G mos while parsing a block mapping   in "/etc/fuel-mirror/config.yaml", line 1, column 1 expected <block end>, but found '<block mapping start>'   in "/etc/fuel-mirror/config.yaml", line 9, column 4
22:35 kozhukalov that is why it tries to connect to fuel address
22:36 kozhukalov probably you broke yaml indentation
22:36 kozhukalov yaml is sensitive to indentations
22:37 ericjwolf haha
22:38 ericjwolf My OAM designers would have known that.  Yeah, I only removed the # and did not remove the spaces.  Fixed.
22:38 ericjwolf appears to be working now
22:38 neilus joined #fuel
22:45 vsedelnik joined #fuel
22:46 ericjwolf Thanks for your help.
22:46 kozhukalov you are welcome, nice to know it works
22:46 kozhukalov we will fix documentation
23:15 _tzn joined #fuel
23:16 tzn_ joined #fuel
23:25 skamithi14 joined #fuel
23:38 skamithi13 joined #fuel
23:45 vsedelnik joined #fuel

| Channels | #fuel index | Today | | Search | Google Search | Plain-Text | summary